Windows Installer Editor Reference
5.
Complete the dialog box:
File Path
Specify the prerequisite file to be run before the main installation.
Command Line
Specify the command-line options to apply to the prerequisite file at run time.
If the prerequisite's launch conditions fail, stop the .MSI installation
Mark this to stop the main installation if the prerequisite file fails to run because
of its launch conditions.
Add Launch Conditions
Click this to add launch conditions to the prerequisite file.
The Prerequisite Launch Conditions dialog box appears. You can add launch
conditions for the destination computer's operating system, display settings,
and NT administrator rights. The prerequisite file runs only if all conditions are
true. Conditions you add appear in the Condition section. If your prerequisite
file is an .MSI, you cannot add launch conditions, but you can view its launch
conditions on the Prerequisite Launch Conditions dialog box.
To add a launch condition, select an option from both drop-down lists and
click Add. Repeat to add additional launch conditions.
To delete a launch condition, select it in the Condition section and click
Delete.
Click OK to save the launch conditions.
6.
Click OK on the Prerequisite Details dialog box.
The prerequisite file is added to the Prerequisites page. To edit or delete it, use the
right-click menu.
7.
If necessary, add a Windows Installer, .NET Framework, or runtime. See:
Adding a Windows Installer or .NET Framework Runtime
Adding a Runtime Prerequisite
8.
If a prerequisite file or runtime requires a restart, you might need to edit the
WiseScript to make the restart run smoothly. We recommend adding two Pause
actions for 1000 milliseconds after a prerequisite or runtime that requires a restart.
This works better than one Pause action for 2000 milliseconds. Adding the Pause
actions prevents the WiseScript from trying to start the next prerequisite or runtime
while the computer is shutting down.
9.
During installation, any runtimes you selected at the top of the Prerequisites page
run first, and then the prerequisite files and runtimes run in the order that they are
listed. To rearrange the order, select an item in the lower pane and click Move Up or
Move Down at the right of the page.
For each prerequisite file and runtime that you add in the lower pane, script is added to
the WiseScript that creates the installation's .EXE. You can edit this script to enhance
the functionality of the prerequisites.
See
Editing the WiseScript That Creates the Installation .EXE
If the build options for this installation are set to create an .EXE that launches an
external .MSI, then when this installation is compiled, the prerequisite .EXE is copied to
a subdirectory of the installation's project directory, named Msi_Name\FILEPATH1.
Organizing Your Installation Into Releases
on page 204
on page 201
on page 205.
203
Need help?
Do you have a question about the WINDOWS INSTALLER EDITOR 7.0 SP2 - REFERENCE FOR WISE INSTALLATION EXPRESS V1.0 and is the answer not in the manual?
Questions and answers