SdFinishUpdateEx

InstallShield 2014 » InstallScript Language Reference

Project: This information applies to the following project types:

InstallScript
InstallScript MSI

The SdFinishUpdateEx function at the end of your installation displays a dialog that indicates that the installation is complete. The dialog includes the option to check for application updates.

Note: SdFinishUpdateEx does not check for updates; to check for updates, add FlexNet Connect API calls in your InstallScript code. For more information, see the FlexNet Connect SDK documentation.

Syntax

SdFinishUpdateEx ( szTitle, szMsg1, szMsg2, szOpt1, szOpt2, bDefOption );

Parameters

SdFinishUpdateEx Parameters

Parameter

Description

szTitle

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

szMsg1

Specifies the text to display at the top of the dialog, informing the user about the end of the installation. To display the default instructions for this dialog, pass a null string ("") in this parameter.

szMsg2

Specifies the text to display at the bottom of the dialog, providing information to the end user about what to do next. To display the default instructions for this dialog, pass a null string ("") in this parameter.

szOpt1

Specifies the text to display beside the first radio button. To display the default instructions ("Yes, check for program updates. (Recommended)\nPlease ensure that you're connected to the Internet before you proceed."), pass a null string ("") in this parameter.

szOpt2

Specifies the text to display beside the second radio button. To display the default instructions ("No, skip this step."), pass a null string ("") in this parameter.

bDefOption

Specifies the option button that is selected by default. Pass one of the following predefined constants in this parameter:

TRUE—Specifies the first option button as the default selection.
FALSE—Specifies the second option button as the default selection.

Return Values

SdFinishUpdateEx Return Values

Return Value

Description

TRUE

Indicates that the Check for program updates option button is selected.

FALSE

Indicates that the Skip this step option is selected.

Note: Because SdFinishUpdateEx announces the end of the installation, the Back button is disabled.

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