Application does not restart after update

I am still trying to learn how the auto update process works. I have sucessfully created my update process following the tutorial, but one thing I have noticed is that my application does not restart after the update is complete. From reading the forum it seems this is a bug. I do have an exe file running after the update finishes and I have the wait for execution to complete flag set, so maybe that has something to do with it? I also have the close wyupdate on successful install set.

The other thing I read is that this can be worked around by having the user click the "Install now" button from the autoupdater. My problem is I have no idea where that is or how to get it into my application.

Are there instructions somewhere for this? If the problem with the application not restarting is a bug, is there a timeline when this might be fixed?

This bug has been fixed in wyBuild 2.6.18. Make sure you include wyUpdate 2.6.18 and AutomaticUpdater 2.6.18 in your app.

Thanks! That fixed it.

BTW - When I had my previous version of wyBuild check for updates (2.6.17.1 I think) it said it was up to date. I downloaded it again and it then knew that it needed to do an update.

One other observation - I have been uninstalling and then reinstalling my app to check out the updates (at least my tweaking the update build, not the actual changes in my app). What I have noticed is that sometimes it will go out and check for updates without me selecting the check for updates from the menu. I do have "Never check for updates" set, so I don't know why sometimes it just does it anyway. I think it usually happens after I install it and open it the first time.

When are you setting the UpdateType property? Have you set it in design time or in your form's constructor? Or have you set it elsewhere?

I did not realize there was a property on the autoupdater for the udpate type - it is set to automatic (I assume that is the default). If I want it to check only when the user selects it, what should it be? I obviously have not intentionally set it anywhere else. The only other thing I have set is the Never check for updates in wybuild.

You're controlling when wyBuild checks for updates to itself. (That is, with the setting you have now wyBuild will never check for updates to itself, you'll have to do it manually).

Oh, ok. I did not understand that. I will put it back to the recommended setting.

So for my autoupdater, it should be checkanddownload if I don't want it to automatically check?

If you don't want it to automatically check then set it to DoNothing.