SdFeatureMult Example

InstallShield 2014 » InstallScript Language Reference

Project: This information applies to the following project types:

InstallScript MSI



* InstallShield Example Script


* Demonstrates the SdFeatureMult 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;



    svDir   = TARGETDIR;

    szTitle = "Select Features";

    szMsg   = "Select the features you want to install on your computer.";


    // Display all top-level features available.

    SdFeatureMult (szTitle, szMsg, svDir, "");