Setting Properties And Applying Transforms In The Debugger; Setting And Clearing Debugger Breakpoints - Symantec WINDOWS INSTALLER EDITOR 7.0 SP2 - REFERENCE FOR WISE INSTALLATION STUDIO V1.0 Installation Manual

Table of Contents

Advertisement

Setting Properties and Applying Transforms in the Debugger

Setting and Clearing Debugger Breakpoints

Windows Installer Editor Reference
The installation is saved and compiled if you made changes since the last compile.
You are prompted to select an .MSI if you defined more than one release. The
debugger window opens.
3.
Set breakpoints if desired.
See
Setting and Clearing Debugger
4.
To run the installation, do one of the following:
Run through the actions
Select Debug menu > Go. This executes all actions up to the first breakpoint, if
any. As each action is processed, a white arrow appears to its left. When the
installation pauses at a dialog box for end user input, the white arrow stops at
the next action to be processed.
Run one action at a time
Select Debug menu > Step Over or Step Into to execute only the action with the
arrow to its left. After the action is processed, the arrow moves to the next line
and the debugger waits for another command.
Use Step Into if the installation contains one or more custom actions that call
VBScript, and you have the VBScript Debugger or Visual Studio with InterDev
installed. This opens the VBScript Debugger or Visual Studio and lets you debug
the VBScript. When you are finished, you can return to the installation in the
Debugger for Windows Installer.
Step Over runs VBScript actions but does not open the VBScript Debugger.
Run to a selected action
Select the action, then select Debug menu > Run to Selection. This executes all
the actions up to the selected action. After the actions are processed, the arrow
moves to the selected action and the debugger waits for another command.
5.
To stop the installation, select Debug menu > Stop Debugging or click Cancel in the
installation's user interface.
You can set properties and apply transforms to installations that you test in the
debugger by running the debugger (Debugger.exe) from the command prompt and
using standard Windows Installer command-line options.
Examples:
To change the value of a public property:
path\debugger.exe /package path\package_name INSTALLLEVEL=1
To apply a transform to the installation package using the TRANSFORMS property:
path\debugger.exe /package path\package_name
TRANSFORMS=path\transform_name.mst
For more information on using Windows Installer command-line options, search for
"Command-Line Options for the Microsoft Windows Installer Tool Msiexec.exe" in the
MSDN Library (msdn.microsoft.com/library).
A breakpoint is a place in the installation where you temporarily halt the execution. You
set breakpoints in the Actions pane of the debugger. When you set a breakpoint and
Debugger for Windows Installer
Breakpoints.
489

Advertisement

Table of Contents
loading

This manual is also suitable for:

Windows installer editor 7.0 sp2

Table of Contents