deleting registry key, using visual stusdio 2008 setup and deployment project in windows 7

Posted by Isuru on Stack Overflow See other posts from Stack Overflow or by Isuru
Published on 2010-03-21T04:46:44Z Indexed on 2010/03/21 4:51 UTC
Read the original article Hit count: 537

Hi,

I have created a setup and deployment project in visual studio 2008 pro. using visual C++, and in it I have two exe files which run under custom actions. One is running in commit and other in uninstall. Purpose is to add a registry key at install time and remove it at uninstall. It works perfectly on Windows XP but when I change to Windows 7 and run the setup, only the key-adding part works. The key doesn't get deleted at uninstall. But when I take the uninstall exe file out from the setup and run it separately on Windows 7, (not through the setup, by just double-clicking on the exe) it removes the registry entry perfectly. Any idea what the problem is???

Thanks and Regards.

© Stack Overflow or respective owner

Related posts about setup-deployment

Related posts about visual-studio-2008