how to change checkbox property in installscript?

1k Views Asked by At

ive made dialog that shows two checkboxes.

i made the dialog with AskOptions function, like this :

nResult = AskOptions(NONEXCLUSIVE,szProduct ,
                     "Install Client", Client,
                     "Install Server",Server);

now, i have condition that check if the user has administrator privileges , if he doesnt has , i want to disable the second (server) checkbox.

how should i change his "Enabled" property through installscript ?

thanks,

shacharsa

1

There are 1 best solutions below

1
On

The better way is modify AskOptions dialogs' source code.