The Kinetic Jump site navigation header requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.

Welcome Guest Search | Active Topics | Log In | Register

Need fast start..please help Options
Benni1234
#1 Posted : Monday, November 14, 2011 3:56:54 AM
Rank: Member
Groups: Member

Joined: 11/14/2011
Posts: 2
Location: New York

Hello

We have a simple application and want to implement an auto updater. After loosing days of work with wyBuild (and finding two bugs in the process) we want to test something else (we = I, the boss is angry). So much to the whining...

What we have:

Visual Studio 2010 Windows Forms application, c#

What we want:

In the application , the user can click on a menu item (the menu is on our icon in the notification area) and then an update form should open. The user can download, update, install a possible update manually. If needed the application restarts (The user must give his OK).
The control is NOT on the main form (a limitiation of wyBuild). The main form is hidden. To my horror I read in the AppLife Updater help: "The UpdateDisplay control is designed to be placed on an application's main interface,....."

With which controls do I integrate an update Dialog in a subform of an application described in the scenario of our application above? It would be nice if I don't have to create my own pogressbar and such. Also I don't want to invent again all the logic for failed updates and the like.

After spending too much time with wyBuild I ask here someone to give me a tip for using Applife Update in our application. Of course I will deliver further informations if the scenario is unclear.

Many thanks in advance
Ben

 

brianh
#2 Posted : Monday, November 14, 2011 7:46:10 AM
Rank: Administration
Groups: Member, Administration

Joined: 5/24/2007
Posts: 362
Location: Minnesota

Hello Ben,

 

I'd be happy to help. AppLife Update is very flexible and I am certain that it will fulfill your updating requirements.

 

I am not quite sure what part of the AppLife Update help system you read, but I assure you that there is no requirement about a main form.  AppLife Update can update services, console apps, formless winforms, or your standard multi-form application from any part of the user interface.

 

Perhaps the quickest and easiest way to fulfill your stated requirements with AppLife Update would be to add an Update Controller control to your application to a scope that is maintained throughout the lifetime of your application. Then, in the clicked event handler of your own form button (launched from the system tray), simply call the UpdateInteractive method of the update controller.  This method launches a modal dialog that interacts with the user to check for, download, and apply an update.

 

The UpdateInteractive method is obviously synchronous in operation, so the user must wait for the download.  An alternative solution would be to use the UpdateNotifyIconDisplay control.  This control performs a background update check and interacts with the user through its own system tray icon. There are many options to its operation, and provides the advantage of downloading updates in the background so that the user doesn't have to wait when they elect to apply the update.

 

And finally, though you've stated you prefer not to write your own user experience code, I'll just state for completeness that the AppLife Update controller API provides the means to do so.

 

To minimize your evaluation time, I'd be happy to discuss AppLife Update with you and demonstrate its use via GoToMeeting. Just call our tech support line and ask for Brian.  612-486-9653.

Brian Haas
Kinetic Jump Software
Benni1234
#3 Posted : Tuesday, November 15, 2011 1:42:00 AM
Rank: Member
Groups: Member

Joined: 11/14/2011
Posts: 2
Location: New York

Hello Brian

Unbelievable! It just worked after 3 hours of work including testing! This product is so hot, my mouse got an erection! ;-)

Now I have to ask my boss for the dollars. Wish me luck.

Thanks
A relaxed Ben


Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.