在主要的Inno Setup安装程序中同时后台运行辅助设置

huangapple go评论54阅读模式
英文:

Run secondary setup in background in parallel with main Inno Setup installer

问题

我想在我的主安装程序中添加第二个安装程序,因为我还需要安装驱动程序。但我希望它不会在主安装程序之前或之后启动,而是在后台运行并且无需用户交互。这可能吗?(我在Windows上)

我已经成功启动了主序列结束时的次要安装程序。

英文:

I would like to add a second installer to my main installer as I also need drivers to install. But I would like it not to launch before or after the main installer but to complete while running in the background and without user interaction. it's possible? (I am on Windows)

All I've managed to do is launch the secondary installer at the end of the main sequence.

答案1

得分: 1

I find it a bad idea overall. What if the parallel installation fails?


Anyway, just see https://stackoverflow.com/q/20752882/850848

You just need to change ewWaitUntilTerminated to ewNoWait in the Exec function call.

英文:

I find it a bad idea overall. What if the parallel installation fails?


Anyway, just see https://stackoverflow.com/q/20752882/850848

You just need to change ewWaitUntilTerminated to ewNoWait in the Exec function call.

huangapple
  • 本文由 发表于 2023年2月6日 19:35:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/75360791.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定