WriteRegistry and Uninstall Hive

Got a problem you cannot solve? Try here.
Post Reply
H4nd0
Posts: 92
Joined: Thu Nov 09, 2006 8:16 am
Location: Sydney, AU
Contact:

WriteRegistry and Uninstall Hive

Post by H4nd0 »

Another quick one (I hope!).

IA 6.24 creates the following reg key for our app:

HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{A77DC58D-BA1C-472A-8551-EFFC94A3CBC0}

The field InstallLocation is blank. If I attempt to use WriteRegistry to populate that key it doesn't work (either before or after Apply Install). I have to use "reg.exe" to get around that.

Should I Apply Install again, a second time? Any ideas what I might be doing wrong greatly appreciated?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

The field InstallLocation should contain the value of $TARGETDIR$. Is $TARGETDIR$ blank?
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
H4nd0
Posts: 92
Joined: Thu Nov 09, 2006 8:16 am
Location: Sydney, AU
Contact:

Post by H4nd0 »

Yes Michael, $TARGETDIR$ is definitely set.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Does the same thing happen with a Default Setup project?
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Dado
Posts: 1
Joined: Sun Feb 25, 2007 4:12 am

Post by Dado »

Hi, we have the same problem with our installer. InstallLocation is empty and UninstallString is missing in HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall

Do you have any suggestions, what might we be doing wrong?

Dado
Post Reply