Creating Registry Keys with Setup if key doesn't exist.
-
Hi Experts, I have developed a winApp in C# 2.0. I have created Setup of the application that creates required registry keys into the registry. I want these keys should not be deleted when application is uninstalled. I have set
DeleteOnUninstall
Property to false in the setup project. Still if application is uninstalled the keys are getting deleted. I dont know how to overcome these problem Please help me out!!!!!!!!!!111 Thanks And Regards, Paramhans Dubey -
Hi Experts, I have developed a winApp in C# 2.0. I have created Setup of the application that creates required registry keys into the registry. I want these keys should not be deleted when application is uninstalled. I have set
DeleteOnUninstall
Property to false in the setup project. Still if application is uninstalled the keys are getting deleted. I dont know how to overcome these problem Please help me out!!!!!!!!!!111 Thanks And Regards, Paramhans DubeyDid you read this on MSDN [^]? If a registry key has values, the key will be removed when all values are removed regardless of the DeleteAtUninstall property setting.
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
Did you read this on MSDN [^]? If a registry key has values, the key will be removed when all values are removed regardless of the DeleteAtUninstall property setting.
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
Hi Manas, Thanks for your reply. I tried the link given by you but unable to connect to MSDN site. Anyways Can you guide me further? Can you please tell me how can I avoid these keys beeing deleted? Actually I want to keep track of the application installation on tha machine, like how many times this application has been installed to the machine, etc. Its part of licensing of the application. Please help me Thakns And Regards. Paramhans Dubey.