how to create a wix bootstrapper application that

2019-06-24 02:56发布

I have 2 installation packages that are prerequisites for our application. Both of these are downloaded from the vendor as self extracting executables containing the actual setup.exe and hundreds of files and folders required for the installation. When I run the sfx exe using an exepackage in the bootstrapper application it will run the extraction portion then kick off the installation setup.exe and then close the extraction exe while the installation is still going. This causes the next exepackage to try to run prematurely and ends up with a messy install.

Is there a way to work around this using wix? I have tried using a standard setup that runs a custom action to extract the files and setup.exe then run the installation exe then wait until the installation exe is terminated before moving on to the second package but the installation setup.exe gets stuck and does not continue until initiating wix installer's msiexec is terminated.

I am suprised not to see this issue brought up in stackoverflow so I am hoping that I am overthinking it and there is a simple way to do this. Thanks in advance.

1条回答
我只想做你的唯一
2楼-- · 2019-06-24 03:39

If anyone is interested, I extracted everything for SFX that I need. Then I created my own SFX from the extracted files using WinRAR. WinRAR SFX options give me the ability to keep the SFX process running until the rest of the installation portion is finished. This keeps the bootstrap application simple.

查看更多
登录 后发表回答