Ok, so I worked with the WIX installer, and I'm working on creating a package to bootstrap the .NET platform. After a lot of reading the official material, I had problems launching any package. Finally, I decided to smash it to a minimum to try to figure out what happened. Here is my code:
<?xml version="1.0"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Bundle Version="1.0.0.0" UpgradeCode="{0e0055fe-ce30-4b84-8b98-6a73128ff93d}"> <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense"/> <Chain> <MsiPackage Id="NewPackage" SourceFile="C:\TestInstall.msi"/> </Chain> </Bundle> </Wix>
It works successfully, but when I run it, I get the message "This installation package cannot be opened. Contact your application vendor to ensure that it is a valid Windows Installer package."
I suppose I missed some basic play, but for life I canβt understand what it is. What else do I need to add for the created MSI to work correctly?
EDIT: found the answer. Visual Studio 2012 does not compile Bundles correctly with WIX 3.6.
source share