question for registry keys entry for uninstallation

Got a problem you cannot solve? Try here.
Post Reply
ttcn2k4
Posts: 31
Joined: Wed Feb 01, 2012 10:04 am

question for registry keys entry for uninstallation

Post by ttcn2k4 »

Hi all:

We have a setup using 64bit setup template (ie. Set x64 - Native 64 bit Windows, AMD64 and EM64T Architectures - installation mode) and we found out after an installation, there are many keys with different uninstall string created in the registry.

EX:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{exe product id}
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{msi product id}
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Product_Title

and my questions are:

1- Is it possible to remove the 32-bit uninstall entry (the first one)? I have tried adding a delete registry command at the very end of the msicode, but it didn't work.

2- The third entry is used for the "Program and Features". If I remove it, our product entry will be disappear in "Add/Remove panel". If I delete the other (the second one), they cannot use the command that we embed to remove the app.
Is there any way that I can delete the third one and make the "Add/Remove info" using the second entry (using {msi product id}
) insteads?

Thanks.
Nhan
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: question for registry keys entry for uninstallation

Post by FrancescoT »

Dear Nhan,

actually on the fly, I do not remember exactly the relation between these reg keys.

Regarding the missed delete REG KEY command execution I can try to do a test later on ... and I will tell you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply