InstallShield und AdminStudio Schulungen Original-Kurse mit Zertifikat Hier klicken

InstallSite MSI FAQ Home Introduction Preparing Creating How To Runtime Issues Error Reference Deutsch MSI FAQ in Deutsch

Why aren't my [PropertyName] expressions being expanded?

Not every MSI field expands expressions of the form [PropertyName]. For example, the expression [INSTALLDIR] will be expanded if used as a registry key name or value, but [INSTALLDIR] will not be expanded if used as a shortcut description.

To determine if properties will be expanded, look in the MSI Help Library for the desired table (e.g., Registry Table) and field; if the field's Type is listed as "Formatted", properties in square brackets will be expanded. (Some additional MSI data types, such as RegPath, expand properties in square brackets; for details, see the MSI Help Library.)

Note also that fields with data type "Identifier" accept only properties, and therefore square brackets are unnecessary. For example, in the RemoveFile table the DirProperty field is of type Identifier, and so INSTALLDIR would be valid data for the field, but [INSTALLDIR] would not.

English News Discussions Windows Installer Related Tools More Help InstallScript About InstallSite Shop Site Search
deutsch Neuigkeiten Diskussionsgruppen Windows Installer MSI FAQ Artikel     Shop Suche

Copyright © by InstallSite Stefan Krueger. All rights reserved. Legal information.
Impressum/Imprint Datenschutzerklärung/Privacy Policy
By using this site you agree to the license agreement. Webmaster contact.