|InstallSite MSI FAQ||Home||Introduction||Preparing||Creating||How To||Runtime Issues||Error Reference||MSI FAQ in Deutsch|
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.
|News||Discussions||Windows Installer||Related Tools||More Help||InstallScript||About InstallSite||Shop||Site Search|
|Neuigkeiten||Diskussionsgruppen||Windows Installer||MSI FAQ||Artikel||Shop||Suche|
Copyright © by InstallSite Stefan
Krueger. All rights reserved. Legal
By using this site you agree to the license agreement. Webmaster contact.