This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: SdAskOptions - hard limit of 4 options??
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 23, 2011
02:53 PM
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).
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).
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 23, 2011
04:13 PM
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.