Setup project - add uninstall

  • Thread starter Thread starter Seth Williams
  • Start date Start date
S

Seth Williams

In the Setup/deployment projects, how can you add an icon to the Programs
menu, to uninstall your application or dll?
 
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.
 
Back
Top