We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Gogo
Posts: 8
Joined: Fri Aug 27, 2004 9:05 am

Problems with Unistall key in registry

Hello we have such a problem. When using Advance Installer 1.8 after installation of our software this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\our software guid

"InstallLocation" value is empty

We try to use this VBI script in "Custom Actions" - "Commit"

ARPINSTALLLOCATION=[INSTALLDIR]

But it is not executed.

Please advice how we can have this "InstallLocation" with the exact path of where our software was installed.

Thanks in advance!
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Looking's on my PS's registry that value is empty for most of the programs I have installed.

You should use the [TARGETDIR] Windows Installer property or you could author a registry key having [TARGETDIR] as its value.
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Gogo
Posts: 8
Joined: Fri Aug 27, 2004 9:05 am

Can you please explaim me with details (like on a moron :oops: ) how exact to use [TARGETDIR] in VBI script....
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Session.Property("TARGETDIR")
This code returns the value of TARGETDIR property.
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”