cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SDFeatureDialog not showing size(only with required feature)

SDFeatureDialog not showing size(only with required feature)

Description:
This article will discuss about SDFeatureDialog not showing size(only with required feature)

Replication Step:

1. Create Installscript MSI project.
2. Create Features like aaa,bbb,ccc and also add component then add files.
3. Create Feature named ddd(without include component)
4. Add the Following code in an InstallScript View,
function OnBegin()
STRING szTitle, szMsg, svDir;
begin
svDir = TARGETDIR;
szTitle = "Select Features";
szMsg = "Select the features you want to install on your computer.";
SdFeatureDialog2 (szTitle, szMsg, svDir, "");
end;

5. Goto Feature ddd-> Required Features-> add the features aaa,bbb and ccc
6. Build and run the project.

 

ddd.PNG

Enunciation:

When any feature is selected, its required features are automatically selected.ex: When 'ddd' is selected, all of its required features are also selected and grayed out to indicate those are required features. Hence It will be confusing with the total size required if sizes are shown for the main feature and as well as for its required features especially when one feature is set as a required feature for multiple features.

SdFeatureTree (szTitle, szMsg, svDir, "", 2); dialog can be used instead of SDFeatureDialog.
https://docs.revenera.com/installshield26helplib/LangRef/LangrefSdFeatureTree_example.htm?Highlight=SdFeatureTree

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Jul 22, 2021 05:24 AM
Updated by:
Contributors