Restart updated software
any idea how to start the updated software after the update is done? Best chocie without the UAC of tha updater (no admin).
See if the software is running before starting the update and end the process if necessary, update the binary, then use Shell.Execute() to start the updated program...
Ok. Where I have to call this? In the client script or inside the server script?
These tasks would be performed in the Server script, only after you know that a new version is available.
Hi. OK I use following code:
-- Tell the user that the update process is successful
if(Screen.Show("Update Successful")==SR_SUCCESS) then
Shell.Execute(g_InstalledFilePath, "open", "", "", SW_SHOWNORMAL);
But this do not work. Also SR_CANCEL (Close button seems to be a Cancel button) do not work.
How to now know when updater is ready?
Ok, after debug I found out that it is SR_LISTCOMPLETE. Maybe a SR_FINISH is a suggestion.