Setup project - add uninstall

S

Seth Williams

In the Setup/deployment projects, how can you add an icon to the Programs
menu, to uninstall your application or dll?
 
P

Phil Wilson

The short answer is "why bother?" because you're supposed to use Add/Remove
Programs, where there are repair, modify oprtions and support information.
Adding a shortcut to uninstall basically means adding a shortcut that does
an msiexec /x {your product code guid} in such a way as to do the uninstall
but without leaving your code or the shortcut because you'll be adding it
with custom action code pointing to a program in a Visual Studio setup
project.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top