Click here to Skip to main content
15,881,559 members

Comments by MarkLTX (Top 1 by date)

MarkLTX 1-Feb-14 21:17pm View    
Sorry, I don't know that. It's not something built in to ClickOnce. You'll probably have to do something manually in your code.

Once installed, the app will have a registry key under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall. You'll probably need to search for the right key based on the value of DisplayName, Publisher or some other value inside those keys. Once you identify which key belongs to your app, extract the UninstallString value and execute it. That's what I was able to find with a Google search, but I've never actually tried it.