boris_here
我想自定义NSIS脚本-例如,删除“ Finish Page”并在安装后立即运行应用程序(使用辅助安装程序)。
我使用修改scrpt :include: build/installer.nsh
。
安装后会打开myApp,但“完成”页面仍然存在。
!include MUI2.nsh
!macro customInstall
ExecWait '"$INSTDIR\myapp.exe" /sw'
!macroend
我的意思是我不想显示gif所示的完成myApp安装的最后一页。
任何帮助表示赞赏。
boris_here
最后,我在build / installer.nsh中做到了:
!macro RunApp
${StdUtils.ExecShellAsUser} $0 "$launchLink" "open" ""
!macroend
!macro customInstall
!insertmacro RunApp
!insertmacro quitSuccess
!macroend
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
编辑于
我来说两句