المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to remove a registry key during un-install (with the VS Setup Project)



C# Programming
06-17-2010, 11:21 PM
Hi all!

I have an application which provides the user with an option to start my application automaticly at windows startup (using the registry HKEY_CURRENT_USER\Software.....\Run) and this works excellent; whenever a user wants to run the application at startup I simply create the registry entry and everything works fine.

However if the user wishes to un-install my application the registry key will still be present in the registry.....

Does anyone have a good idea how to remove the registry key during un-install? (I use the built-in VS Installer Project)

Thanks!