Section userSoftware
MessageBox MB_YESNO|MB_ICONQUESTION "Insert user software DVD in to drive and click Yes to install User Software or click No to Proceed" /SD IDNO IDYES yes IDNO no
yes:
AutoCloseWindow true
SetRebootFlag false
Call installUserSoftware
no:
;do nothing
SectionEnd
部分:“userSoftware”错误:命令 AutoCloseWindow 在部分中无效
这是我在使用 AutoCloseWindow 时遇到的错误。我要做的就是在安装服务器软件后,如果用户选择安装客户端软件,服务器软件的安装应该会消失,而不要求用户点击完成按钮。
我给的代码我只是在测试 AutoCloseWindow 或 SetAutoClose 是如何工作的,但我所拥有的只是一个错误!