Long time ago I created a Window Service program that was installed via "setup project installer". It's a "project template" used to create a msi file /setup.exe .
Since I wasn't enough experienced back then, the way I implemented auto-updates was by running a task daily to check for newer versions on my server. When I have a newer version, I would usually make the Window Service:
- Download the update files
- Run an EXE program that was apart of the update files
- The EXE stops the service first, puts the files in the program's folder and starts the service again.
If any error happens during the update, the EXE logs that, reverts the old files back, and starts the Window Service.
So far, the "manual" auto-updates is working fine, but I didn't know if there was an option to add auto-updates via "setup project installer".
Is such option available in the setup project installer?
If there is, how do I implement it?