shacharsa
shacharsa

Reputation: 381

how to change checkbox property in installscript?

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

Upvotes: 1

Views: 1013

Answers (1)

Kevin Wan
Kevin Wan

Reputation: 440

The better way is modify AskOptions dialogs' source code.

Upvotes: 0

Related Questions