我正在使用 nsis 编写安装程序。在“.onInit”上,我正在检查必备软件是否存在,并基于此我想启用或禁用组件页面的“下一步”按钮。这是我正在尝试的
Function .onInit
${If} $JavaExists == false ;check if java is installed
${OrIf} $TomcatExists == false ;check if tomcat is installed
${OrIf} $MysqlExists == false ;check if mysql is installed
;code to disable next button of component page
${EndIf}
FunctionEnd