DaveO
DaveO

Reputation: 1989

Have Visual Studio Setup Project retain registry key on uninstall?

How do I get a Visual Studio Setup Project to:

Upvotes: 5

Views: 3546

Answers (1)

competent_tech
competent_tech

Reputation: 44931

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.

Upvotes: 5

Related Questions