SdBitmap Example

InstallShield 2016 » InstallScript Language Reference

Project • This information applies to the following project types:

InstallScript
InstallScript MSI

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

*

* InstallShield Example Script

*

* Demonstrates the SdBitmap function.

*

* Note: Before running this script, set the defined constant

*       BITMAP_FILE so that it references a bitmap file

*       included in the Support Files/Billboards view.

*

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

 

// The bitmap to display.

#define BITMAP_FILE SUPPORTDIR ^ "MyBitmap.bmp"

 

// The title to use for the SdBitmap dialog.

#define TITLE_TEXT "SdBitmap Example"

 

#include "Ifx.h"

 

function OnBegin()

begin

   // Disable the Back button in setup dialogs.

   Disable (BACKBUTTON);

  

   // Display the specified bitmap in a dialog.  Pass a

   // null string in the second parameter because the dialog

   // has not been customized to display a message,

   SdBitmap (TITLE_TEXT, "", BITMAP_FILE);

 

end;