Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 NSIS 安装程序。如何使用参数检测启动 NSIS 安装程序?
例如installer.exe /DEBUG
installer.exe /DEBUG
获取选项:
!include FileFunc.nsh !include LogicLib.nsh Function .onInit ${GetParameters} $0 ClearErrors ${GetOptions} $0 "/DEBUG" $1 ${IfNot} ${Errors} MessageBox mb_ok "Debug" ${EndIf} FunctionEnd