Click here to Skip to main content
15,908,775 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am doing a windows application in C#. When it runs first time it will set a registry value. How can I remove this registry value when unistalling my application.
Posted
Updated 21-Sep-10 18:33pm
v2

1 solution

I guess, if you right click on your install project, View -> Registry, you can add a registry key to the list.
The key has properties (right click -> Properties) AlwaysCreate, and DeleteAtUninstall, which should perform what you need in Registry table. Don't add a value to the key, set AlwaysCreate to false, and DeleteAtUninstall to true.
Will this do?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900