Page 1 of 1

WriteRegistry and Uninstall Hive

Posted: Fri Feb 09, 2007 9:45 am
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?

Posted: Fri Feb 09, 2007 1:43 pm
by MichaelNesmith
The field InstallLocation should contain the value of $TARGETDIR$. Is $TARGETDIR$ blank?

Posted: Sat Feb 10, 2007 4:56 am
by H4nd0
Yes Michael, $TARGETDIR$ is definitely set.

Posted: Sat Feb 10, 2007 2:20 pm
by MichaelNesmith
Does the same thing happen with a Default Setup project?

Posted: Thu Mar 01, 2007 2:13 am
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