nsis 调用bat

我们都知道可以是用:

ExecWait ""

但是为了隐藏控制台窗口的话可以使用ExecCmd plug-in插件

: nsExec::Exec "XX.bat"

  另外一种不显示dos窗口的方式:

action command [parameters] [SW_SHOWDEFAULT | SW_SHOWNORMAL | SW_SHOWMAXIMIZED | SW_SHOWMINIMIZED | SW_HIDE]

例如:

ExecShell "ipconfig" SW_HIDE
原文地址:https://www.cnblogs.com/nishilunhui/p/2658918.html