Adding A Runtime Prerequisite - Symantec WINDOWS INSTALLER EDITOR 8.0 Reference

Hide thumbs Also See for WINDOWS INSTALLER EDITOR 8.0:
Table of Contents

Advertisement

Adding a Runtime Prerequisite

Windows Installer Editor Reference
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.
If you need to distribute a runtime with an application, you can use the Prerequisites
page to add the runtime to run before the main installation. A runtime is added as an
include script to the WiseScript that creates the installation .EXE. Unlike prerequisite
files, you do not set command-line options or launch conditions for a runtime because
any options are built into the runtime.
A runtime is always included in the installation .EXE, even if .EXE that launches
external .MSI is selected on the Build Options page.
Before you can add a runtime to an installation, you must add the runtime files to your
computer. To download many of the runtimes, select Help menu > Download
Redistributables and mark Other Vendors' Web Sites. If a runtime is not available
from Download Redistributables, you must download it directly from the vendor's Web
site.
Note
The options on the Prerequisites page are unavailable if Do not create an .EXE file is
selected from .EXE Options on the Build Options page.
Organizing Your Installation Into Releases
on page 201
on page 198
on page 202.
201

Advertisement

Table of Contents
loading

Table of Contents