2

I have .Net product with msi installer implemented using WiX. Now it is possible to run several instances of my installer at the same time. I am wondering whether it's possible to restrict run more than one instance of installer at the same time?

Thanks.

Victor Haydin
  • 3,518
  • 2
  • 26
  • 41

1 Answers1

4

Only one .msi will install at a time, but you can open the UI of any number; nothing in MSI prevents it.

Bob Arnson
  • 21,377
  • 2
  • 40
  • 47
  • Actually the _MSIExecute Mutex also enforces one Install/Admin-UI sequence per process. – Christopher Painter Mar 29 '11 at 23:41
  • Arnson terseness again. I think you can open any number of setups with the GUI sequence showing simultaneously. I think the mutex is set at `InstallInitialize` (possibly sooner) and is released at `InstallFinalize`? Not that important, the overall message is clear: one install transaction at a time. – Stein Åsmul Sep 21 '18 at 22:21