0
我在我的WiX安装程序上有一个CustomAction,我将它配置为在安装这些文件后执行。WiX CustomAction shell命令
<CustomAction Id="shellex" Directory="TARGETDIR" Impersonate="no" ExeCommand="cmd.exe /k notepad" Return="check" />
<InstallExecuteSequence>
<Custom Action="shellex" After="InstallFiles" />
</InstallExecuteSequence>
实际上,在安装结束时,notepad.exe启动,但安装程序在最后被阻止。
我想记事本启动并完成安装程序。
哦,我测试了这个参数,我以为它没有工作,因为安装程序关闭,记事本打开,但启动记事本的控制台不关闭。如何关闭这个控制台窗口? – Neyoh
您可以尝试使用WiX qtexec,安静的exe文件,或者几行vbscript来运行记事本。 – PhilDW