NSIS切换器具有多标准案例

时间:2020-09-18 19:15:07

标签: scripting switch-statement nsis

我可以像在JavaScript中那样在NSIS switch中使用多标准case吗?

 ${Switch} $0
   ${Case} 2
     DetailPrint "Connection to server failed: $0"
     Abort      
   ${Break}      
   ${Case} 1          
   ${Case} 3
   ${Case} "timeout"   
     DetailPrint "Database creating failed: $0"
     Abort   
   ${Break}          
 ${EndSwitch}

0 个答案:

没有答案