PDA

View Full Version : Modifications to AskOptions Dialog



rhkrpc
05-17-2004, 07:38 AM
Can one add more check boxes to this dialog?

It appears that I can, but will the underlying function handle more than the original 9 checkbox maximum?

RobertDickau
05-17-2004, 08:28 AM
I believe you'd also need to modify the source for the dialog box, available as the file AskOptionsDlg.rul in your InstallShield X\Script\isrt\src directory; you can rename the file and the function, or make a private copy of the source in your project, or...

rhkrpc
05-18-2004, 07:08 AM
I took a look at this code, and the headers associated with it. Nothing jumps out at me where I can adjust the number of options up. I carefully added some checkboxes following the naming pattern and tried to access the additional options, but the compiler complains about a missing semicolon as soon as I add an extra option in the script and try to compile it.

This isn't critical, but I would be interested to see if this can be done for future reference. Currently we have a need for more than 9 items, but we have worked around it by bring two of these dialogs up. Some day it might be nice to get a way to do it in one dialog.