Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Have Visual Studio Setup Project retain registry key on uninstall?

How do I get a Visual Studio Setup Project to:

  • create a registry key only if it doesn't exist
  • not remove the key on uninstall
like image 761
DaveO Avatar asked Nov 26 '11 11:11

DaveO


1 Answers

Right-click on the Registry key in the setup project and select Properties.

1) To only create the registry key if it doesn't exist, ensure AlwaysCreate is False.

2) To not remove the key on uninstall, ensure DeleteAtUninstall is False.

like image 81
competent_tech Avatar answered Oct 13 '22 11:10

competent_tech