You have to tell your installer not to overwrite wyUpdate. wyUpdate has its own self-updating mechanism. See: How to make a custom version of wyUpdate.
Dear All,
we added wyUpdate.exe and client.wyc to our application installer, so that both files are copied into the application's program directory during the installation.Inside wyBuild, we added the complete application installer and selected "Execute", so that wyUpdate.exe starts our installer.
Now we have a batch file that first starts wyUpdate.exe and then our application. Thus, if no update is available, our application is started immediately, and if an update is available, the update is installed and after this the application is started.
The remaining problem is the following:wyUpdate.exe downloads and starts our installer, and the installer in turn tries to overwrite wyUpdate.exe during the installation. Of course, Windows does not allow overwriting a running program and displays an error message.
Can anyone give me a hint how to avoid this conflict?
I already thought of the batch file creating a copy of wyUpdate and executing this copy, but this would raise an error message is the user does not have admin rights.
Best regards,Markus
You have to tell your installer not to overwrite wyUpdate. wyUpdate has its own self-updating mechanism. See: How to make a custom version of wyUpdate.