如何在installscript中更改checkbox属性?

时间:2021-11-28 22:39:15

ive made dialog that shows two checkboxes.

我做了一个显示两个复选框的对话框。

i made the dialog with AskOptions function, like this :

我使用AskOptions函数进行了对话,如下所示:

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 ?

我应该如何通过installscript更改其“Enabled”属性?

thanks,

谢谢,

shacharsa

shacharsa

1 个解决方案

#1


0  

The better way is modify AskOptions dialogs' source code.

更好的方法是修改AskOptions对话框的源代码。

#1


0  

The better way is modify AskOptions dialogs' source code.

更好的方法是修改AskOptions对话框的源代码。