Hi I have to delete reg key while uninstalling ..So i have to write code for it
Please if anybody can help me out
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Niradhip ChakrabortyPosted Jan 10, 2008, 4:56 PM
You can do it by using the registry editory of the installer, to add a key to the registry when the application is installed, and mark that key to be removed when your application is uninstalled.
If you're placing the values you're adding into a key which is shared, then instead, simply add a second subkey underneath that shared key, and place the values in there. My argument here is that if you can remove the values then they are clearly under your control, so why not go ahead and place them in a subkey and just delete that.
The registry editor of the installer is accessible of the solution explorer when you have an installer project open.
Hope this will help u.