User Guide
513
! Script Function Call
(Optional.) Type the name of the function within the script to call.
! Run Script in Win64 Process
Mark this if the script file is 64-bit. If the script file is 32-bit, leave this cleared.
(Available only in 64-bit installations.)
Also see:
Guidelines for Calling VBScripts and JScripts on page 502
Guidelines for Custom Action Location on page 499
Using the Custom Action Properties Tab on page 534
Using the Custom Action Location Tab on page 532
Custom Action Type 5 in the Windows Installer SDK Help
Call JScript From Installed Files
This custom action runs code from a JScript file that is installed by this installation. Use
this to call the script file during installation, while leaving the file on the destination
computer as part of the installation.
Tips
! First add the file to be called to the Files page in Installation Expert.
! 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.
! Use the script to read and write properties to the installation.
! The destination computer must contain the script’s runtime.
Usage
Double-click the custom action and complete the Details tab:
! 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.
! Script File
Specify a script file to call during installation. It must have already been added to this
installation via the Files page.
! Script Function Call
(Optional.) Type the name of the function within the script to call.
! Run Script in Win64 Process
Mark this if the script file is 64-bit. If the script file is 32-bit, leave this cleared.
(Available only in 64-bit installations.)
Also see:
Guidelines for Calling VBScripts and JScripts on page 502
Guidelines for Custom Action Location on page 499
Using the Custom Action Properties Tab on page 534
Using the Custom Action Location Tab on page 532
Custom Action Type 21 in the Windows Installer SDK Help