Symantec WISE INSTALLATION EXPRESS 7.0 SP2 - GETTING STARTED GUIDE V1.0 Getting Started Manual page 33

Table of Contents

Advertisement

Wise Installation Studio/Express Getting Started Guide
Advanced Tutorial: Using MSI Script in a Windows Installer Installation
Custom Action Name
Enter: DisplayMessageBox
DLL File
Enter: SystemFolder\user32.dll
The predefined SystemFolder directory holds a path to the \System32 directory.
All predefined directories are listed in the Directory table in Setup Editor >
Tables tab.
Function Name
Enter: MessageBoxA (case-sensitive), which is the name of a function within
User32.dll.
Parameters List
In the parameters list, use the Add button to add the four parameters listed
below. Click OK on the DLL Parameter Details dialog box after entering each
parameter.
First parameter:
Parameter type: long
Value Source: Constant with NULL value
Because Constant with NULL value passes a value of NULL regardless of
the parameter type, the Details tab displays Not applicable for the
parameter type.
Second parameter:
Parameter type: string pointer
Value Source: Property
Property Name: Enter: INSTALLDIR
Third parameter:
Parameter type: string pointer
Value Source: Constant
Constant Value: Enter: The value of INSTALLDIR is:
Fourth parameter:
Parameter type: long
Value Source: Constant
Constant Value: Enter: 0
9.
Leave the defaults for the Return fields and the Properties tab. The dialog box
should look like this:
33

Advertisement

Table of Contents
loading

Table of Contents