WriteRegistry and Uninstall Hive

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

WriteRegistry and Uninstall Hive

Postby H4nd0 » Fri Feb 09, 2007 9:45 am

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:

Postby MichaelNesmith » Fri Feb 09, 2007 1:43 pm

The field InstallLocation should contain the value of $TARGETDIR$. Is $TARGETDIR$ blank?
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

H4nd0
Posts: 92
Joined: Thu Nov 09, 2006 8:16 am
Location: Sydney, AU
Contact:

Postby H4nd0 » Sat Feb 10, 2007 4:56 am

Yes Michael, $TARGETDIR$ is definitely set.

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

Postby MichaelNesmith » Sat Feb 10, 2007 2:20 pm

Does the same thing happen with a Default Setup project?
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

Dado
Posts: 1
Joined: Sun Feb 25, 2007 4:12 am

Postby Dado » Thu Mar 01, 2007 2:13 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 104 guests