View Installer Script

The VBScript file WiLstScr.vbs is provided in the Windows SDK Components for Windows Installer Developers. This sample script demonstrates the Windows Installer script viewer.

The sample demonstrates the use of:

Using this sample requires the CScript.exe version of Windows Script Host. To use CScript.exe to run this sample, type a command at the command prompt using the following syntax. Help is displayed if the first argument is /? or if too few arguments are specified. To redirect the output to a file, end the command line with VBS > [path to file]. The sample returns a value of 0 for success, 1 if help is invoked, and 2 if the script fails.

cscript WiLstScr.vbs [path to Windows Installer execution script]

Specify the path to the installer execution script.

For additional scripting examples, see Windows Installer Scripting Examples. For sample utilities that do not require Windows Script Host, see Windows Installer Development Tools.