0

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.

StayOnTarget
  • 11,743
  • 10
  • 52
  • 81
Zamb.S
  • 1
  • 2
  • If you run it as a parallel task, what benefit does that have over running it serially? Does it really save a significant amount of time? Is it worth the extra complexity? – StayOnTarget Feb 07 '23 at 14:08
  • well I would like to provide a "clean" installer that simply installs the program, while the extra drivers install them in the default positions without the user intervening, being indispensable drivers – Zamb.S Feb 09 '23 at 13:25
  • @Zamb.S I do not think that explains why you need it to run in parallel. – Martin Prikryl Feb 09 '23 at 14:37
  • @MartinPrikryl ok, maybe i misspoke when i talk about running in parallel, what i really want to do is provide the possibility to necessarily install the drivers before launching the main installation. If possible, I would also like to make sure that these drivers are installed automatically without the need for the user to intervene. – Zamb.S Feb 15 '23 at 14:02
  • Then the link in my answer should work for you. – Martin Prikryl Feb 15 '23 at 14:31
  • thanks @MartinPrikryl, I would like to ask you another thing about this, how is it possible to force the abort if the driver installation fails? – Zamb.S Feb 21 '23 at 10:09

1 Answers1

1

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


Anyway, just see How can I install .NET framework as a prerequisite using Inno Setup?

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

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992