[英]How detect launch NSIS installer with arguments
I have NSIS installer. 我有NSIS安装程序。 How detect launch NSIS installer with arguments?
如何使用参数检测启动NSIS安装程序?
For example installer.exe /DEBUG
例如
installer.exe /DEBUG
GetOptions : GetOptions :
!include FileFunc.nsh
!include LogicLib.nsh
Function .onInit
${GetParameters} $0
ClearErrors
${GetOptions} $0 "/DEBUG" $1
${IfNot} ${Errors}
MessageBox mb_ok "Debug"
${EndIf}
FunctionEnd
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.