It’s basically all in the title, but I’l still explain further.
ClickOnce applications are meant by design to be easily installed without admin rights. However, to rollback a ClickOnce application to its previous version, you must use Add/Remove Programs feature, as explained in Microsoft documentation.
The problem is that in my enterprise, a specific policy prevents users from using this feature. Running appwiz.cpl as Administrator won’t help here because ClickOnce applications are installed by user.
So is there any other way to rollback a ClickOnce application to its previous version ?
Thanks for your answers.
You can write a small program that will do this. You can take the uninstall code found here. The uninstall will always display a dialog asking the user if he’s sure. The code searches that dialog for the OK button and clicks it. You could always modify this to look for the button (I can’t remember the text) that reverts a version, and select it, before clicking the OK button.