How to initiate an uninstall of a ClickOnce app, from within the app?
- by dwolvin
Can I reliably initiate the un-installation of a ClickOnce app, from within the app?
In other words, I want to give the user a big "Uninstall Me Now" button on one of the forms. When a user clicks the button, I want to start the windows uninstall process for this app, and perhaps close the app.
Reason: We are dead-ending a ClickOnce app and want to make it as easy to remove as it was to install. We don't want to send them down the path to "Add or Remove Programs" and risk them getting lost or distracted.
Can this be done reliably?