Registry problem, can't seem to find correct key

Got a problem you cannot solve? Try here.
Ton_B
Posts: 115
Joined: Wed Nov 16, 2005 8:34 am
Location: Netherlands
Contact:

Registry problem, can't seem to find correct key

Postby Ton_B » Wed Sep 20, 2006 10:15 am

I've came across this problem before, see: Add Additional data to Add/Remove programs list

Jimo, found the solution for the proble, on how to add additional information to the "Add/Remove program" window.

But I'm having trouble finding the correct registry keys.

It seems IA 6 creates it's own reg.key in:
HKLM\\Software\\Microsoft\\Windows\\Currentversion\\Uninstall\The key created will be something like this:
{2AE36F8B-71B6-4579-B1A3-97591A1E8F45}

Inside this key, all of the values filled out in the options-dialog, such as Publisher and version etc. will be placed here.

Bu I really do not want to use this "number" but simply create a name sucht as "HKLM\\Software\\Microsoft\\Windows\\Currentversion\\Uninstall\\$TITLE$
In that case I can add some additional informaton, like Readme, to the add/remove program window.

Does someone has any idea how I can detect that long number or, how I can change the numer into $TITLE$

Thanx.

Ton.
Ton Blokhuizen
Tooling Engineer
BMA BV - Netherlands
[i]BMA: leading the way in obstetrical data management
http://www.bma-mosos.nl[/i]

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Sep 20, 2006 2:16 pm

Actually, this is not an accurate observation. InstallAware does use the $TITLE$ location for its Control Panel Add-Remove listing. The other location you noticed are the entries that Windows Installer creates, which cannot be supressed. Supressing or damaging those entries can hurt the installation state of your product - so don't do that. Just write to $TITLE$ instead.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

Ton_B
Posts: 115
Joined: Wed Nov 16, 2005 8:34 am
Location: Netherlands
Contact:

Postby Ton_B » Thu Sep 21, 2006 2:02 am

I did create some keys inside the HKLM\\...\\$TITLE$ key, but these values are not shown in the add/remove program list.
The MSI setup will create a key like {2AE36F8B-71B6-4579-B1A3-97591A1E8F45} But these values are not used for showing information in the Add/Remove program window.
Instead, information from the key in HKEY_CURRENT_USER\\...\\$TITLE$ are used.

Why are these valus stored inside Current users instead of Local machine ????
When running the .Exe setup it will be stored inside the HKLM, but running the .MSI setup, suddenly it will be stored inside HKCU ?
Ton Blokhuizen
Tooling Engineer
BMA BV - Netherlands
[i]BMA: leading the way in obstetrical data management
http://www.bma-mosos.nl[/i]

mka
Posts: 3
Joined: Mon Oct 06, 2014 5:00 am

Re: Registry problem, can't seem to find correct key

Postby mka » Wed Jun 01, 2016 4:40 am

A very old thread, but I have the same question; why HKCU when using MSI?
I have tried explicit to set ALLUSER=TRUE.
--mka

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

Re: Registry problem, can't seem to find correct key

Postby FrancescoT » Wed Jun 01, 2016 11:31 am

Dear Mka,

the UNISTALL key gets Always stored under HKLM when ALLUSER is TRUE... just verified with installing a MSI package.

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


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot], Wolfgang Guertl and 103 guests