I have WiX 3.6 (Oct 2011) installer for my application. My application requires another service to be installed in the system. I added an MSI file to my installer this way:
<Fragment>
<PackageGroup Id="MyService" >
<MsiPackage Id="MyService" Name="MyService" SourceFile="MyService.msi" DisplayInternalUI="yes" EnableFeatureSelection="yes">
</MsiPackage>
</PackageGroup>
</Fragment>
<Fragment>
<ComponentGroup Id="APPFILES">
...
</Fragment>
The installer works fine, but this additional MSI file is not installing. What am I missing?
msi file is stored in the Windows Installer cache. Every update to the product such as a hotfix, a cumulative update, or a service pack setup, also stores the relevant . msp or . msi file in the Windows Installer cache.
Create Msi from Exe Using Free MSI Wrapper 1. In the Source Folder field, specify the folder with the EXE file that you want to convert to MSI. 2. In the Target Path field, specify the default folder in which the created MSI will be installed.
You cannot install one MSI from another MSI. What you need to do is create a bootstrapper (link appears dead now, possible suitable replacement link) that installs each MSI in sequence. Wix 3.6 has a built-in bootstrapper called Burn.
Here is another helpful link, courtesy of Matt Clarkson.
Make sure you are using Burn: http://robmensching.com/blog/posts/2009/7/14/Lets-talk-about-Burn
An MSI cannot include another MSI, so you should also get an EXE file. Make sure you launch the installation through that EXE
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With