InstallShield 2016 » InstallScript Language Reference
Note • To call this function in a Basic MSI setup, you must first create a custom action for the entry-point function, execute the custom action in a sequence or as the result of a dialog's control event, and then build the release.
/*--------------------------------------------------------------*\
*
* InstallShield Example Script
*
* Demonstrates the functions SdProductName.
*
* The function SdProductName is called to set the product name to
* substitute for the %P place holder, which is embedded in the
* message strings passed to Sd dialogs.
*
\*--------------------------------------------------------------*/
#include "Ifx.h"
function OnBegin()
STRING szProductName, szTitle;
begin
// Set the product name to substitute for the %P place holder.
szProductName = "My Application";
SdProductName (szProductName);
// Disable the Back button in setup dialogs.
Disable (BACKBUTTON);
// Display the SdWelcome dialog. The null string in parameter
// two specifies the default message, which uses the %P place holder.
szTitle = "SdProductName Example";
SdWelcome (szTitle, "");
end;
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |