I'm building a custom UI for my app and wondering if my results are expected.
I'm using VB.NET 2008 on XP and my target platforms are XP and above (so I'm on the .NET 2.0 deployment) and version 2.6.4.0
1. I set the control to UpdateType = OnlyCheck.
2. I have a variable, UpdateAvailable that I set through the UpdateAvailable event.
3. If there is an update available, I enable a download/update process. What I would like to do is offer: update now, update at closing, update at next startup.
4. I force an install with .InstallNow()
I monitor the events & have a timer (for testing) to check UpdateStepOn.
Events monitored: ProgressChanged, ReadyToBeInstalled, UpdateAvailable, UpToDate, DownloadingOrExtractingFailed, UpdateFailed, UpdateSuccessful.
I get:Downloading Update [Step]Extracting Update [Step]ReadyToBeInstalled [Event]
Nothing else happens. I close my app and on restarting it the update occurs.
Three questions:
1. Is there a property that I can check for update available?
2. I can tell that the update has been downloaded & extracted. Is there a method where I can push it to go ahead and install it on demand rather than on next startup?
3. When I use the control automatic process, there's a lag (in seconds) between closing the app and the wyBuild updating screen. Is there anything that can speed that up? The lag is noticeable and I can an end-user starting to click things thinking the app has gone to sleep.
One thing I noticed is that if I set the control to .Visible=false, when I .ForceCheckForUpdate() the control becomes visible and remains visible. If .Visible=true & .KeepHidden=true, the control is always visible. I have to set .Visible=false and .KeepHidden=true to keep the control on the form from ever showing. I don't know if this is expected.
I admit to being a rookie, but I can't find anything I've overlooked.
Thanks,
Mark.