In your wyBuild project go to File -> Properties -> wyUpdate and check "Close wyUpdate on successful update" checkbox.
Currently, if we use the option to execute after installing an update, this launches while the wyupdate is still displayed. So from the user's perspective, there isn't a clean transfer from the updater to the application, as one would expect.
Short of us writing a shim that delays some period of time, or searches for a window that appears to be the update window and waiting for it to close, or some other similar delay-action executable, is there a way to get a smoother more integrated transition from app->wyupdate->app again?
Here is the XML we use to try to run the app after the update:
<Files dir="basedir\bin"> <File source="INSTALL_PROGRAM_FILES\bin\EXECUTABLE.exe" elevation="not" execute="after" startstyle="normal" waitforexit="false" retrollback="false" /> </Files>
In your wyBuild project go to File -> Properties -> wyUpdate and check "Close wyUpdate on successful update" checkbox.
This is a minor, icing type feature, so... take my feedback with a grain of salt. 🙂
...but, I would prefer that the user be able to see & acknowledge the "Updated to version X.Y.Z. Successful" before our app launches.
In fact... I'd really like a way to offer to relaunch our app or not, at this point. As a user, I want to see a check box saying "Restart [name] application on exit" (or some such), which, by default is checked, but can be unchecked, and our app is only launched if the user closes wyUpdate with that check box checked.
Much as many installers do - running the app after install / update seems like a natural next step - but only after you've fully seen any errors/warnings/messages or just simply seen for certain that it happened.
If wyUpdate auto-closes, as you suggest, and I walked away from my PC while it was doing the update - and I've been distracted by 10 things since... then I get back and it isn't at all obvious if happened, failed, or what? I might not even recall if I started the update (I meant to... but sometimes I mean to do things but forget to - don't you?)
At any rate, it would be a really nice feature to have - a very specific setting for wyBuild to tell wyUpdate to show a 'run app' check box, whether to default to yes/no, and a way to tell wyBuild precisely what command to execute in order to restart the app (as I may need to specify an argument, or set the elevation, etc., as we can for the arbitrary run commands that you do already allow for).
Thanks for taking time out of your day to read the above. And thanks for a very useful product. 🤓