I know that there are many questions about auto updating, but all of them requires external programs or big works with servers that are not useful for my specific case.
I need to update my WPF application in a custom way: I want to control which users will have to update it and which users will not (I have server, backends, and selecting which users will have an update is not a problem).
The point is that my users might have very different versions and I need to control to which version they will be updated to.
The practical example:
two users have both version 1.0
the last version is 1.5
I want one of them to be updated to version 1.5 and the other one to be updated to 1.3
In the above mentioned example, can I simply download the 1.3 version of the installer for one user, the 1.5 for the other one, close the application and run the downloaded installer as administrator all programmatically?
But most importantly, will this approach work? Running the downloaded installer generated with clickonce (for example) will correctly update the whole application?
This solution looks very simple and quick, and I would know if that could be a possible way to manage my updates.
Notes:
- This is a B to B application, so I don't actually care about security problems, I just need to have the full control on my updates.
- I can use FTP, webapi, ... to download the new installer.
Is this tecnically possible?
Thanks