SdSetupCompleteError Example

InstallShield 2016 » InstallScript Language Reference

Project • This information applies to the following project types:

InstallScript
InstallScript MSI

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

*

* InstallShield Example Script

*

* Demonstrates the SdSetupCompleteError function.

*

* SdSetupCompleteError function displays a dialog to inform

* the end user that the installation was interrupted before it

* could be completed. It also informs the end user that the

* application has not been installed and that the target system

* was not modified.  This function is only available for MSI

* based projects.

*

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

 

#include "Ifx.h"

 

function OnBegin()

    STRING   szTitle, szMsg1, szMsg2;

begin

    // Set up parameters for call to SdSetupCompleteError.

    szTitle = "SdSetupCompleteError Example";

    szMsg1  = "";

    szMsg2  = "";  

    SdSetupCompleteError ( szTitle, szMsg1, szMsg2 );

 

end;