Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Installer
Properties
Property Reference
 ARPINSTALLLOCATION Property

  Switch on low bandwidth view
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 Microsoft Windows service pack that is required by a Windows Installer version.

See Also

Properties

Send comments about this topic to Microsoft

Build date: 6/25/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
ARPINSTALLLOCATION appears to be available to set INSTALLDIR      PADutchman   |   Edit   |   Show History

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 What's this?: Add a tag
Flag as ContentBug
InstallLocation property returns empty string      cyrildm   |   Edit   |   Show History
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.


Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker