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
How do I get a Visual Studio Setup Project to:
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.