Property Reference


ARPINSTALLLOCATION Property

The ARPINSTALLLOCATION property is the full path to the application's primary folder.

Remarks

Typically needs to be set by a custom action.

Requirements

VersionWindows Installer 5.0 on Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003, Windows XP, and Windows 2000. See the Windows Installer Run-Time Requirements for information about the minimum Windows service pack that is required by a Windows Installer version.

See Also

Properties

Send comments about this topic to Microsoft

Build date: 11/12/2009

Tags :


Community Content

PADutchman
ARPINSTALLLOCATION appears to be available to set INSTALLDIR

I have found that, if I have a Component with a file at ARPINSTALLLOCATION, then msiexec actually sets INSTALLDIR to that value. So, I always includes a file, typically the license file, at that base location, so I have INSTALLDIR automagically set, since I sometimes need it for uninstall or reinstall processes.

Tags :

cyrildm
InstallLocation property returns empty string
To get the correct value from the InstallLocation property;


- Open your msi in Orca from Windows Installer SDK 4.5
- Edit the following row in CustomAction table:

(Action) (Type) (Source) (Target)


SetARPINSTALLLOCATIONProperty 51 ARPINSTALLLOCATION [INSTALLLOCATION]

-Save the msi.



Page view tracker