Symantec WINDOWS INSTALLER EDITOR 7.0 SP2 - REFERENCE FOR WISE INSTALLATION STUDIO V1.0 Installation Manual page 533

Table of Contents

Advertisement

Windows Installer Editor Reference
Tips
You must have an ASP or CGI program set up to accept data from HTTP POST
operations.
The computer running the installation must have a valid Internet connection (such
as dial-up networking).
If you place this action in the User Interface or Execute Immediate sequences, you
can use formatted text strings, such as [PROPERTY], in the Destination URL and
Text to Post fields. However, because of Windows Installer limitations, if you place
it in the Execute Deferred sequence, you must hard-code the destination and source
paths.
See
Guidelines for Custom Action Location
Windows Installer SDK Help.
Because of Windows Installer limitations, to display progress bar text to the user,
you must place the action in the Execute Deferred sequence.
To give end users control over whether to post data to your HTTP server, put this
custom action in a conditional block. Set the conditional block so that it only posts
data if the end user has agreed to this posting. Example: Add a check box the user
marks to accept posting of data. Associate the check box with a property and set up
the conditional block to run if the property is true.
To create a condition, use an If Statement.
See
If Statement
on page 528.
Usage
Double-click the custom action and complete the dialog box:
Destination URL
The URL of the CGI program or ASP page that will accept the posted data.
Text to Post
The text to post should be one or more lines in the format field=data, where field is
the name of the field expected by the Web application, and data is the data to
populate the field. If a line does not appear to contain a field name followed by =, it
is assumed to be a continuation of the previous line, and the data on the two lines is
concatenated and sent with a single field identifier. For information on using
formatted text, see the tips above.
Error Handling
Determines how errors in the posting operation are handled.
Ignore Errors
The script continues regardless of any errors.
Abort Installation
The installation stops if the posting operation cannot be completed.
Progress Bar Text
Enter text to display in the progress bar while data is posted to the server. This
action must be placed in the Execute Deferred sequence for progress bar text to
work.
See also:
Download File From Internet
on page 505 and Formatted in the
on page 524
Custom Action Reference
533

Advertisement

Table of Contents
loading

This manual is also suitable for:

Windows installer editor 7.0 sp2

Table of Contents