让安装包在安装完成后打开网页
让NSIS安装包在安装完成后打开网页,可使用以下代码:
1 2 3 4 5 6 7 8 9 10 | !define MUI_FINISHPAGE_RUN "$INSTDIR\IMETool.exe" !define MUI_FINISHPAGE_RUN_TEXT "运行程序" !define MUI_FINISHPAGE_SHOWREADME !define MUI_FINISHPAGE_SHOWREADME_FUNCTION Info !define MUI_FINISHPAGE_SHOWREADME_TEXT "打开主页" !insertmacro MUI_PAGE_FINISH Function Info ExecShell "open" " http://az.eliang.com" Functionend |