I have reduced potential problems affecting the users client to installing a downloaded update.
Specifically, when moving the files into their final location. Most likely, a security exception. If the move of either the updater or client files fails at any time during that process, the client would be corrupted.
The client installs updater files and the updater installs client files.
I can send a boolean to the client on startup that would tell it that the startup is clean, which could overcome the updater being corrupted. This would allow the client to simply delete the downloaded updater files and rerun the check for updates.
However, if something fails moving client files into place, I don’t see how to recover from that.
I could notify the user a critical error has occurred and they must re-install the client is all I can come up with.
Wondering how the pay to play installers handle that.