Windows Installer Basics: Properties |
Properties are used by Windows Installer to supply information to you about all sorts of things about the computer, operating system and user, for example "system folder properties" describe per-user and per-machine directory locations. They are similar to "variables" in a program in that they hold information which may vary, see the "Formatted Strings" section for how they can be used.
Properties are stored in the "Property" table and may also be initialized by Windows Installer processing or specified on the command line. Their value can be "tested" in conditions and can be written to ini files, registry etc.
Some MAKEMSI commands that set properties are:
Windows Installer also creates properties for all directory keys listed in the "Directory" table.
Types of Properties |
There are three types of properties (identified by the case of the characters in its name):
It is recommended that you should not set or update variables of this type! Although from what I can see Microsoft don't follow this standard in their example "uisample.msi"!
You may wish to read the "Not All PUBLIC Properties are Supported by MSIEXEC.EXE" section.
More Information / Examples |
See the "sample properties" section for some specific examples that were captured during an install.
Some property related pages are:
Links to Property Related Resources |