SdWelcome Example

InstallShield 2019 » InstallScript Language Reference

Project • This information applies to the following project types:

InstallScript
InstallScript MSI

/*--------------------------------------------------------------*\

*

* InstallShield Example Script

*

* Demonstrates the function SdWelcome.

*

* The SdWelcome function displays a dialog that welcomes

* the end user.

*

\*--------------------------------------------------------------*/

 

#include "ifx.h"

 

function OnBegin()

    STRING  szTitle, szProductName;

begin

    

    // Disable the Back button in setup dialogs.

    Disable (BACKBUTTON);

    

    // Set the product name to substitute for the %P place holder.

    szProductName = "My Application";

    SdProductName (szProductName);

    

    szTitle = "SdWelcome Example";

      

    // Display the SdWelcome dialog. The null string in parameter

    // two specifies the default message, which uses the %P place holder.

    SdWelcome (szTitle, "");

    

end;