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

How to disable the Next button

Hi all.
I have dialog where is present checkbox, next button, cancel button and back button. I want at a choice checkbox the button next go in disable.

Please help me....

P.S. My project - InstallScript.
Labels (1)
0 Kudos
(5) Replies
RobertDickau
Flexera Alumni

It's kind of tricky, but for an InstallScript sample please see (for example) the source file SdLicense2Dlg.rul in your InstallShield distribution; it contains a function for conditionally disabling the Next button.
0 Kudos
gvoozz
Level 3

RobertDickau wrote:
It's kind of tricky, but for an InstallScript sample please see (for example) the source file SdLicense2Dlg.rul in your InstallShield distribution; it contains a function for conditionally disabling the Next button.


Thanks !!! 😄
0 Kudos
SyraDidelez
Level 3

Can this be done in an MSI project ?

I have the checkbox disabled by default
-by removing the associated property from the porperty table

BUT: the next button only gets enabled the SECOND time I toggle the checkbox on .....

funny .

anyone ?

PS: I don't now if I am doing this as it should, is there any "official" and right way to do that ?
0 Kudos
RobertDickau
Flexera Alumni

For a start, perhaps see "Using Check Boxes in Windows Installer" in the Tips & Tricks page: http://www.acresso.com/products/installation/installshield.htm?tabContent=/products/installation/installshield/res_4744.htm.

If that doesn't help, perhaps post your control conditions and such?
0 Kudos
SyraDidelez
Level 3

now it works
-it was yet another missing part in the manual ...

Thank you Robert
0 Kudos