Windows Installer Editor Reference
485
Custom Action Reference
Run WiseScript From Installed Files
This custom action runs a WiseScript .EXE that is installed by this installation.
If you use both WiseScript and Windows Installer technology, you can integrate them
with this custom action. Use this to leverage past WiseScripts or to gain access to
unique WiseScript technology.
Tips
z
In the WiseScript, use special script actions—Get Windows Installer Property, Set
Windows Installer Property, and Evaluate Windows Installer Condition—to
communicate between the Windows Installer installation and the WiseScript. For
details, see the WiseScript documentation.
z
If the WiseScript being called uses a Set Windows Installer Property action, place
this custom action in the User Interface or Execute Immediate sequence.
z
Before you add this custom action, add the file to be called to the Files page in
Installation Expert.
z
Shaded areas of MSI Script indicate restricted placement for this custom action;
because this custom action calls an installed file, it must run after files are installed.
Usage
Double-click the custom action and complete the Details tab:
z
Custom Action Name
Enter a unique name that begins with a letter or underscore. It can contain numbers
and periods. It must not match the name of any Windows Installer standard action.
See Standard Actions Reference in the Windows Installer SDK Help.
z
WiseScript .EXE File
Specify an executable file contained in this installation that was compiled in a
WiseScript Editing tool. Optionally, you can use the Options button below.
z
Options button
Browse for WiseScript
Select a WiseScript .EXE file on your hard drive or network and place its path in
the WiseScript .EXE File field.
Create New WiseScript
Open a new WiseScript in WiseScript Editor.
Edit Existing WiseScript
If you specified a WiseScript .EXE in the WiseScript .EXE File field, and that
.EXE has a corresponding .WSE file with the same name in the same folder as
the .EXE, this option opens that .WSE file in WiseScript Editor. This option is
unavailable if the WiseScript .EXE File field is empty or if a corresponding
.WSE file does not exist for the specified .EXE file.
z
Command Line
(Optional) Enter the command-line options to send to the .EXE. Example: Enter /s
to make the WiseScript run silently. For a list of valid command-line options, see the
WiseScript documentation.
See also: