InstallShield 2015 » InstallScript Language Reference
Project: This information applies to the following project types:
• | InstallScript |
• | InstallScript MSI |
/*--------------------------------------------------------------*\
*
* InstallShield Example Script
*
* Demonstrates the SdAskOptionsList function with the
* NONEXCLUSIVE and EXCLUSIVE options.
*
\*--------------------------------------------------------------*/
// Define strings. In a real setup you would define these in your string
// tables and precede each constant with @ to use them in your script.
#define COMP_SELECT_TITLE "Select Components"
#define COMP_SELECT_MSG "Select components to install."
#define MY_FEATURE_NAME "DefaultFeature"
#include "ifx.h"
function OnFirstUIBefore()
begin
// Disable the Back button in setup dialogs.
Disable (BACKBUTTON);
// Let user select from top-level components, nonexclusively.
SdAskOptionsList(COMP_SELECT_TITLE, COMP_SELECT_MSG + " NONEXCLUSIVE", "", NONEXCLUSIVE);
// Let user select from subcomponents of MY_FEATURE_NAME, exclusively.
SdAskOptionsList(COMP_SELECT_TITLE, COMP_SELECT_MSG + " EXCLUSIVE", MY_FEATURE_NAME, EXCLUSIVE);
end;
InstallShield 2015 Help LibraryJune 2015 |
Copyright Information | Contact Us |