User Guide
409
Conditions
WiseFixConditions
Wise Solutions has created a special merge module, WiseFixConditions (CondFix.msm),
that fixes certain Windows Installer limitations:
Add CondFix.msm to an installation if:
! You add a component condition that checks the installed state of a component or
feature.
! (Windows 9x installations only.) You create a component condition based on a
property that is set during the UI Sequence. Example: The end user can set a
property by marking a checkbox or entering text in an installation dialog.
The Wise for Windows Installer installation places CondFix.msm in the default merge
modules directory, or you can download it with the Download Redistributables wizard.
See Downloading Redistributable Files on page 39. This merge module appears on the
Select Merge Module dialog when you add a merge module on the Merge Modules page.
If you don’t see it, you’ve marked the Do not show merge modules from the
Default Merge Module Directory checkbox in Wise Options. See Setting Merge
Module Directories on page 52.
Also see: Using Conditions With Features on page 115
Creating Conditions With Condition Builder
Use the Condition Builder dialog to build conditions that test the installed state of
components and features and the value of properties and environment variables. You
can access the Condition Builder dialog from different areas of Wise for Windows
Installer. See Where Can You Use Conditions? on page 406.
CHECKBOX_IS_MARKED You make a checkbox and associate the property
CHECKBOX_IS_MARKED with it, and during
installation, the end user marks the checkbox.
VersionNT The installation is running on Windows NT 4, 2000,
or XP.
Version9X AND NOT Installed The installation is running on Windows 95, 98, or
Me, and the application is not yet installed.
Condition The Condition Is True If