SdFinishEx Example
InstallShield 2026 » InstallScript Language Reference
Project:
| • | InstallScript |
| • | InstallScript MSI |
/*--------------------------------------------------------------*\
*
* InstallShield Example Script
*
* Demonstrates the function SdFinishEx.
*
* The SdFinishEx function calls either SdFinish or SdFinishReboot
* to display a dialog informing the end user that the
* installation is complete and giving the user information or
* options. If the system variable BATCH_INSTALL is equal to
* FALSE (0), indicating that no locked files were encountered
* during the setup, SdFinishEx calls SdFinish to display the
* dialog. If BATCH_INSTALL is equal to a non-zero value,
* SdFinishEx calls SdFinishReboot to display the dialog.
*
\*--------------------------------------------------------------*/
#include "Ifx.h"
function OnBegin()
STRING szTitle, szMsg1, szMsg2, szOption1, szOption2;
NUMBER bOpt1, bOpt2;
begin
bOpt1 = FALSE;
bOpt2 = FALSE;
szMsg1 = SdLoadString(IFX_SDFINISH_MSG1);
SdFinishEx(szTitle, szMsg1, szMsg2, szOption1, szOption2, bOpt1, bOpt2);
end;