SdWelcomeMaint

InstallShield 2014 » InstallScript Language Reference

Project: This information applies to the following project types:

InstallScript
InstallScript MSI

The SdWelcomeMaint function displays a dialog that is intended for use at the beginning of a maintenance setup (that is, the re-running of a setup that has already been run). The dialog contains Modify, Repair, and Remove option buttons.

Syntax

SdWelcomeMaint (szTitle, szMsg, nType);

Parameters

SdWelcomeMaint Parameters

Parameter

Description

szTitle

Specifies the title of the dialog. To display the default title ("Welcome"), pass a null string ("") in this parameter.

szMsg

Specifies the message to display in the dialog. To display the default instructions for this dialog, pass a null string ("") in this parameter.

nType

Specifies which option button is the default selection. Pass one of the following predefined constants in this parameter:

MODIFY—The Modify button is the default selection.
REPAIR—The Repair button is the default selection.
REMOVEALL—The Remove button is the default selection.

Return Values

SdWelcomeMaint Return Values

Return Value

Description

MODIFY (301)

Indicates that the Modify button was selected when the end user clicked the Next button.

REPAIR (302)

Indicates that the Repair button was selected when the end user clicked the Next button.

REMOVEALL (303)

Indicates that the Remove button was selected when the end user clicked the Next button.

Additional Information

To view an example of this or other dialogs for your installation, use the Dialog Sampler. In InstallShield, on the Tools menu, point to InstallScript, then click Standard Dialog Sampler or Skinned Dialog Sampler.

See Also