Quantcast
Channel: Flexera Community Forums
Viewing all articles
Browse latest Browse all 4553

Registry keys not removed during complete uninstall (IS 2014 Installscript Project)

$
0
0
Hi,

I am currently working on an IS 2014 Installscript project. The installer creates the following new registry keys at run-time :

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CompanyName\ProductName\ProductVersion

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\GUID


The first key appears to be created by default by the Installshield project without further specifications by the project designer. The second one is the Add/Remove programs information that is used to register the program in the Windows Control Panel.

When I do a complete uninstall of the software through the Add/Remove programs interface, the installer removes files and performs actions exactly as specified, but it does not remove the two aforementioned registry keys. My program is still registered in the Add/Remove programs view since the corresponding registry key is still present on the system. When I try to uninstall again, I get a message box that informs me that Windows cannot find the uninstall package for my program and asks me if I would like to remove the program from the Add/Remove programs list. When I click 'Yes', the \Microsoft\Windows\CurrentVersion\Uninstall\GUID is removed from the system. This indicates that the uninstall packages for my program are removed from the system upon uninstalling. The OnMaintUIBefore(), OnMoveData() and OnMaintUIAfter() functions are as provided by default.

If anyone has encountered the same problem and can therefore shed some light on this issue, it would be much appreciated. Otherwise, I might resort to removing the registry keys manually via the RegDBDeleteKey function, but I would like to know if there is a built-in solution.

Thanks for your help!

Viewing all articles
Browse latest Browse all 4553

Trending Articles