How to initiate an uninstall of a ClickOnce app, from within the app?
Posted
by dwolvin
on Stack Overflow
See other posts from Stack Overflow
or by dwolvin
Published on 2010-04-19T23:54:52Z
Indexed on
2010/04/20
0:03 UTC
Read the original article
Hit count: 210
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?
© Stack Overflow or respective owner