WiX Bootstrapper <p>I am trying to create an installer for a simple .NET WPF C# app. I am using VS 2013, and WiX 3.10.2. Following the steps in the Wix Tutotial/ .NET/ Bootstrapping I have created a Boostrap.exe which chains .NET web installer and the app Setup.msi.</p> <p><strong>EDIT</strong>: My goal is to understand how to configure the WiX Bootstrap and Setup projects for small updates, minor upgrades, and major upgrades scenarios.</p> <p>Out of the box, everything seems to work nice when I run a fresh install. However, when I run a fresh built Bootstrap.exe over an already existing installation a duplicate entry appears in the Apps &amp; features and no file is changed in the app target location - contrary to the expectation that the same entry should remain in the Apps &amp; features and the target location should be updated. <strong>EDIT</strong>: Looks like there may not be a way to change REINSTALLMODE? </p> <p>If I add a Product Id and then change the version of the Setup (minor upgrade), the Bootstrap fails with User cancelled installation? The log file shows "Error 0x80070642: Failed to perform minor upgrade of MSI package." <strong>EDIT</strong>: Inside the MSI log a SecureRepair fails with error code 39439E438 (?) probably because the stored hash value does not match the current... but that should be expected in a minor upgrade MSI, right?</p> <p>Are there recommended configurations between the Boostrapper and Setup WiX projects such that the small update, minor upgrade, and major upgrade use cases can be handled properly, or does the WiX Bootstrapper support ONLY major upgrades?</p> <p>I will continue to investigate and I'll post updates to my findings; </p> <p>Any hints are greatly appreciated, Thanks!</p> <p>Here are the source files which I barely changed from the WiX wizard generated code:</p> <p>--- Product.wxs ---</p> <pre><code>&lt;Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"&gt; &lt;Product Id="*" Name="SetupProject1 1.0.0.0" Language="1033" Version="1.0.0.0" Manufacturer="Acme" UpgradeCode="4c8a8cbf-e3d0-410c-8a8d-7e67eb4e7ff7"&gt; &lt;Package InstallerVersion="200" Compressed="yes" InstallScope="perUser" InstallPrivileges="limited" /&gt; &lt;MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /&gt; &lt;MediaTemplate /&gt; &lt;Feature Id="ProductFeature" Title="SetupProject1" Level="1"&gt; &lt;ComponentGroupRef Id="ProductComponents" /&gt; &lt;/Feature&gt; &lt;/Product&gt; &lt;Fragment&gt; &lt;Directory Id="TARGETDIR" Name="SourceDir"&gt; &lt;Directory Id="LocalAppDataFolder"&gt; &lt;Directory Id="AcmeFolder" Name="Acme"&gt; &lt;Directory Id="INSTALLFOLDER" Name="WpfApplication1" /&gt; &lt;/Directory&gt; &lt;/Directory&gt; &lt;/Directory&gt; &lt;/Fragment&gt; &lt;Fragment&gt; &lt;ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"&gt; &lt;Component Id="ProductComponent" Guid="8CA0B70F-39DA-4B4B-9104-46C58E26FCF4"&gt; &lt;CreateFolder/&gt; &lt;RemoveFolder Id="RemoveAcmeFolder" Directory="AcmeFolder" On="uninstall"/&gt; &lt;RemoveFolder Id="RemoveINSTALLFOLDER" On="uninstall" /&gt; &lt;RegistryValue Root="HKCU" Key="Software\Acme\WpfApplication1" Name="Version" Type="string" Value="[ProductVersion]" KeyPath="yes" /&gt; &lt;File Source="$(var.WpfApplication1.TargetPath)" KeyPath="no" /&gt; &lt;/Component&gt; &lt;/ComponentGroup&gt; &lt;/Fragment&gt; </code></pre> <p></p> <p>--- Bundle.wxs ---</p> <pre><code>&lt;Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"&gt; &lt;Bundle Name="Bootstrapper1 1.0.0.0" Version="1.0.0.0" Manufacturer="Acme" UpgradeCode="e1092cbb-9134-42fc-a9f2-652f95f361fd"&gt; &lt;BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" /&gt; &lt;Chain&gt; &lt;MsiPackage Name="Acme Setup" SourceFile="$(var.SetupProject1.TargetPath)" Vital="yes" /&gt; &lt;/Chain&gt; &lt;/Bundle&gt; </code></pre> <p></p>