Editing the WiseScript That Creates the Installation .EXE
Windows Installer Editor Reference
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 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.
Warning
Make sure the .EXE options on the Build Options page are set correctly before you edit
the WiseScript. If you change the .EXE options after you edit the WiseScript, you will
lose all the changes you made to the script.
To edit the WiseScript
1.
Select Installation Expert > Prerequisites page.
2.
Add prerequisites as needed.
See
Adding Prerequisites to a Release
3.
Click Edit Script at the right of the page.
See
Setting Build Options for a Release
If you have not previously edited the script, a warning message appears. Click Yes.
The installation is saved and compiled and the WiseScript that creates the
installation's .EXE opens in WiseScript Editor.
The name of the WiseScript file for the default release is the installation name with
the extension .WSE. The WiseScript files for additional releases are named for the
release.
Warning
Don't change the name of the WiseScript file. It must have this name to create an
.EXE that includes your edits.
4.
Edit the WiseScript as needed and save it.
The next time you compile the installation, an .EXE is generated using the
WiseScript file that you edited.
5.
Thoroughly test the WiseScript to make sure it executes as expected.
To reset the WiseScript
1.
Click Reset Script at the right of the page.
This button is enabled only if you have used the Edit Script button.
A warning message appears.
2.
Click Yes.
Organizing Your Installation Into Releases
on page 205.
on page 200.
on page 199.
205
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