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!

Bart

Variables

Advanced Installer uses several variables like [targetdir] and [publisher].
Where can I find a list of available variables, what do they cover and where are they set. Can I add my own variables and if so how ? Are they case sensitive ?
dorel
Posts: 25
Joined: Mon Oct 18, 2004 8:13 am

Hi Bart,
Advanced Installer uses Windows Installer properties. These properties are case SENSITIVE. The complete list of these properties can be found in MSDN at
ms-help://MS.MSDNQTR.2003FEB.1033/msi/setup/property_reference.htm
Adavnced Installer uses TARGETDIR property but not publisher. You can use any WI property inside AdvancedInstaller in any filed of type Formatted. In the current version you can not add your own properties.
Dorel Pislan
Advanced Installer Team
http://www.advancedinstaller.com
Wing

WI properties do not work

Most of the WI properties are treat as "UPPER" case, we use specify another path


ABCD.msi /log c:\a.log TARGETDIR="x:\swe 2" CommonAppDataFolder="x:\jre 2"

i.e. AI will pass it to msi as "COMMONAPPDATAFOLDER"

see the log

Property(C): ProductName = SWE
Property(C): jre1_DIR = C:\Documents and Settings\All Users\Application Data\jre1\
Property(C): CommonAppDataFolder = C:\Documents and Settings\All Users\Application Data\
Property(C): SourceDir = C:\everyone\testinstaller\
Property(C): PackageCode = {314672BC-1EC1-4B96-9B07-322785FA9CD5}
Property(C): ProductState = -1
Property(C): PackagecodeChanging = 1
Property(C): COMMONAPPDATAFOLDER = x:\jre 2
Property(C): CURRENTDIRECTORY = C:\everyone\testinstaller
Property(C): CLIENTUILEVEL = 0
Property(C): CLIENTPROCESSID = 3524
Property(C): VersionDatabase = 200

Return to “Common Problems”