Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

InstallLocation always blank

127 views
Skip to first unread message

robert...@gmail.com

unread,
Mar 28, 2008, 2:26:44 PM3/28/08
to
Can you tell me why my InstallLocation is always blank. If I check
the corresponding registry entry at HKLM\Software\Microsoft\Windows
\CurrentVersion\Uninstall\{<GUID>} it is always blank. The rest of
the properties shown at that registry entry are correct (such as
Manufacturer, ProductName, etc.). What prevents InstallLocation from
being set? My install completes without any errors.

If I try to get InstallLocation's value using scripting objects, it
too is blank (as you'd expect since the registry entry is blank).

Thanks.

Phil Wilson

unread,
Mar 28, 2008, 8:09:08 PM3/28/08
to
Unfortunately this doesn't get set by default - it needs the install to set
the ARPINSTALLLOCATION property, typically to TARGETDIR.
--
Phil Wilson
[MVP Windows Installer]

<robert...@gmail.com> wrote in message
news:39e01214-4682-4e1c...@n58g2000hsf.googlegroups.com...

Kalle Olavi Niemitalo

unread,
Mar 29, 2008, 2:39:22 AM3/29/08
to
robert...@gmail.com writes:

> Can you tell me why my InstallLocation is always blank. If I check
> the corresponding registry entry at HKLM\Software\Microsoft\Windows
> \CurrentVersion\Uninstall\{<GUID>} it is always blank. The rest of
> the properties shown at that registry entry are correct (such as
> Manufacturer, ProductName, etc.). What prevents InstallLocation from
> being set? My install completes without any errors.

Windows Installer sets the InstallLocation registry value from
the ARPINSTALLLOCATION property, which is blank by default.
You should define a custom action that sets this property.

robert...@gmail.com

unread,
Mar 31, 2008, 11:52:06 AM3/31/08
to
Thanks for the answers. It worked!

On Mar 28, 11:39 pm, Kalle Olavi Niemitalo <k...@iki.fi> wrote:

0 new messages