MSI Conditions

HOME
UP

 

MSI Conditions

Use Conditions to Execute Custom Actions

Condition
Description
REMOVE~=”ALL” Check if we're uninstalling:
NOT REMOVE~=”ALL” Check if we're not uninstalling
REINSTALL  
InstallMode~="Complete"  
MaintenanceMode~="Modify" Modify Mode running
MaintenanceMode~="Repair" Repair Mode running
MaintenanceMode~="Remove" Remove Mode running (see also REMOVE~="All"
Version9x Windows 9x, ME
VersionNT Windows NT, >2000, XP
NOT Installed First Time Installation
Installed Already installed?
Installed AND REMOVE="ALL" Already installed an supposed to be uninstalled
SystemLanguageID=1031 running German OS Interface
OutOfDiskSpace We're out of DiskSpace
PhysicalMemory>256 Do we have enough RAM?
   
   
   
AFTERREBOOT We're running after a Reboot

 

If a property values does not exist Condition returns false.

"Instr" Operators for Conditions

very nice to compare Strings

Operator
Description
Example
>< left string contains the right string. INSTALLDIR><"Program Files""
<< left string starts with the right string. INSTALLDIR<<"C:\"
>> left string ends with the right string. INSTALLDIR>>":\"

(c) by Wolfgang Zerzawy 07-Mai-08 12:11   

XING