Removal Function Broken on Vista

Topics: Developer Forum, Project Management Forum, User Forum
Aug 23, 2008 at 11:15 AM
The Removal & uninstall functions are broken when the utility is run on Vista, It is able to install any utility however it is unable to uninstall anything.
Aug 23, 2008 at 1:02 PM
Edited Aug 23, 2008 at 1:04 PM
Can be fixed easily, It does require two versions of the installer, one for 32bit Vista and another for 64bit vista

32bit Vista will work with default source code and does not require this modification.

To enable the uninstaller to properly uninstall the installed applications...

change this line
RegistryKey uninstallKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall");

To This Line
RegistryKey uninstallKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall");

Then the uninstaller will work correctly!