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

SdAskOptions - hard limit of 4 options??

I only found some very old posts about this, such as:

http://community.installshield.com/showthread.php?t=57960

I just tried adding a 5th option to this dialog, but only 4 display. I am building the options list with this code:

MEDIA = "OptionsList";
FeatureAddItem(MEDIA, szOptionMsg1, 0, bOption1);
FeatureAddItem(MEDIA, szOptionMsg2, 0, bOption2);
FeatureAddItem(MEDIA, szOptionMsg3, 0, bOption3);
FeatureAddItem(MEDIA, szOptionMsg4, 0, bOption4);
FeatureAddItem(MEDIA, szOptionMsg5, 0, bOption5);

(before calling the dialog).

I noticed if I customize the dialog it only shows 4 checkboxes. I could try customizing and adding a 5th, but I'd be interested in hearing if people have had success going this route.

I would prefer not switching to SdAskOptionsList, as we prefer the look of the other dialog (and it's not clear that dialog won't have the same 4-item limit anyway).

In case it matters, this is a pure Installscript project (not IS-MSI).
Labels (1)
0 Kudos
(1) Reply
BrHartmann
Level 7

Ok, I customized and added a 5th checkbox to the dialog, adjusted some of the component names to be consistent with the other checkboxes, and it seems to work fine in testing. I was worried that a custom dialog script file would be required, but thankfully that is not necessary.
0 Kudos