How to include prerequisites with msi/Setup.exe in WIX

I have removed the default setup.exe from Visual Studio and used the MSI file and dependencies from Visual Studio to create a WiX 3.6 Bootstrapper: <?xml version=”1.0″ encoding=”UTF-8″?> <Wix xmlns=”http://schemas.microsoft.com/wix/2006/wi” xmlns:bal=”http://schemas.microsoft.com/wix/BalExtension” xmlns:util=”http://schemas.microsoft.com/wix/UtilExtension”> <Bundle Name=”My Application” Version=”1.0″ IconSourceFile =”E:\logo.ico” Manufacturer=”My company” UpgradeCode=”4dcab09d-baba-4837-a913-1206e4c2e743″> <BootstrapperApplicationRef Id=”WixStandardBootstrapperApplication.RtfLicense”> <bal:WixStandardBootstrapperApplication LicenseFile=”E:\License.rtf” SuppressOptionsUI =”yes” LogoFile =”logo.ico” /> </BootstrapperApplicationRef> <Chain> <ExePackage SourceFile =”ReportViewer\ReportViewer.exe” … Read more

WiX – Install Prerequisites and 3rd party applications

See the WiX 3.7 docs on “Building Installation Package Bundles”. If you are using MSBuild, SharpDevelop or Visual Studio (non-Express), you can use the WiX Bootstrapper project template. If you prefer to call the toolset command-line tools yourself, they are candle and light, just like for building MSI files. See the WiX 3.7 docs on … Read more

Wix and .NET Framework (prerequisites)

UPDATE Aug 2017: This very nice answer now appears outdated. Please also read the other answers in the “thread” for a few different “bootstrapper options”. The MSI package created by Wix is not able to do that. Windows Installer is rather limited and one MSI file (your installer) is not allowed to call another MSI … Read more