lonewolf32
Level 5

Uninstall leaves entry in Programs and Features

I have an Installshield 2012 (installscript) build that seems to uninstall successfully, but does not get removed from "Programs and Features". I am suspecting this is related to 64-bit OSes specifically since the problem does not occur on 32 bit Win7 but does occur on Server 2008 R2. I am working on getting a 64-bit Win7 to verify.

The build is created on Server 2008 R2 using Installshield 2012. I even stripped down the build to minimal script, so its not any crazy code that I am running.

Has anyone seen this behavior?

Is there ANY fat chance that moving to the Spring edition would help?

Thanks!
Labels (1)
0 Kudos
1 Reply
lonewolf32
Level 5

I figured this one out. I was using the following line to make all of my registry entries go to the 64-bit area of the Registry:
REGDB_OPTIONS = REGDB_OPTIONS | REGDB_OPTION_WOW64_64KEY;

I was calling this in OnBegin, and leaving it that way the entire time. Apparently it also affects the registry entries that are created to display in Add/Remove (although the product DOES show up there...?)

Anyway I more selectively use this command, only when I am actually creating Registry entries, and then reset the bit when I am done.

To reset, use:
REGDB_OPTIONS = REGDB_OPTIONS & ~REGDB_OPTION_WOW64_64KEY;

Thanks!
0 Kudos