InstallShield 2015 » InstallScript Language Reference
Project: This information applies to the following project types:
• | InstallScript |
• | InstallScript MSI |
/*--------------------------------------------------------------*\
*
* InstallShield Example Script
*
* Demonstrates the SdFeatureTree function.
*
* This example script displays a dialog that lets the user
* select features and subfeatures, view feature descriptions,
* and see the amount of space required for the selected features
* and the space available on the destination folder.
*
* Comments: To run this example script, create a project (or
* insert into a project) with several features
* and/or subfeatures with components containing
* files.
*
\*--------------------------------------------------------------*/
#include "Ifx.h"
function OnBegin()
STRING szTitle, szMsg, svDir;
begin
svDir = TARGETDIR;
szTitle = "Select Features";
szMsg = "Select the features you want to install on your computer.";
// Display all top-level features available, with third- and
// lower-level subfeatures to be closed in the tree control
// when the dialog is first displayed.
SdFeatureTree (szTitle, szMsg, svDir, "", 2);
end;
InstallShield 2015 Help LibraryJune 2015 |
Copyright Information | Contact Us |