![Symantec WINDOWS INSTALLER EDITOR 8.0 Скачать руководство пользователя страница 202](http://html.mh-extra.com/html/symantec/windows-installer-editor-8-0/windows-installer-editor-8-0_reference_1418944202.webp)
Windows Installer Editor Reference
202
Organizing Your Installation Into Releases
See
Setting Build Options for a Release
on page 193.
To add a runtime to an installation
1. Select Installation Expert > Prerequisites page.
2. From Current Release, select a release.
3. Click Add at the right of the page and select Runtime.
The Runtime Details dialog box appears.
4. To add a runtime, mark its check box.
For many runtimes, an additional dialog box appears where you specify settings for
the runtime.
5. If a runtime-specific dialog box appears, complete it and click OK.
6. Click OK on the Runtime Details dialog box.
The runtime is added to the Prerequisites page. To edit or delete it, use the right-
click menu.
7. If necessary, add a Windows Installer or .NET Framework runtime, or a prerequisite
file. See:
Adding a Windows Installer or .NET Framework Runtime
on page 198
Adding a Prerequisite File
on page 200
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
on page 202.
Editing the WiseScript That Creates the Installation .EXE
If you select an option on the Build Options page to create an .EXE, a WiseScript project
file (.WSE) is generated, which is used to compile the .EXE. After you add prerequisite
files or runtimes to an installation on the Prerequisites page, you can edit this WiseScript
to enhance the functionality of the prerequisites.
You can also edit this WiseScript if you select Install the .MSI into an SVS layer on
the Build Options page. In this case, you might edit this WiseScript to change the .MSI
command line by changing the MSICMDLINE variable or to set the value of properties.