Wix Custom Action Sequence

后端 未结 2 818
南旧
南旧 2020-12-07 06:05

I have tried to make installation to my software, and this Software has some prerequisites. I made a Bootstrapper wix for them and trying to run them alone not in the Main W

相关标签:
2条回答
  • 2020-12-07 06:59

    It is a little bit unclear if you made a WiX Burn bundle already? If you did, then you already have the solution: run the MSI files in sequence via your Burn bootstrapper and not in parallel or recursively using custom actions.


    As already stated by Phil, Windows Installer allows only one InstallExecuteSequence to run at a time. There is one such sequence in every MSI file - and a mutex is set every time one is triggered. This prevents other MSI files from starting another such sequence until the first one is done.

    In technical terms this is done to allow all changes made to the system to be possible to roll back as a "change transaction" along the lines of what happens in a database transaction.


    One of the key reasons to use a WiX Burn bootstrapper is to avoid this technical MSI problem. There are also other reasons such as to allow kicking off EXE files and other installable files that are not in MSI format. Here is a sample Burn project: https://github.com/frederiksen/Classic-WiX-Burn-Theme. And also: The official Burn documentation.

    0 讨论(0)
  • 2020-12-07 07:07

    That error 0x80070652 is "another installation is in progress". You cannot run recursive MSI install or simultaneous MSI installs - your MSI cannot call another MSI-based install, and neither can you run two MSI-based installs at the same time. It's hard to tell from the (partial?) log what MSI-based installed are happening at the same time.

    0 讨论(0)
提交回复
热议问题