I am using WiX 3.10 Burn to install .NET before my application that requires it in the following way:
<Chain>
<PackageGroupRef Id="NetFx45Web"/>
<MsiPackage Id="MyApplication" SourceFile="$(var.MyApplicationSetup.TargetPath)"/>
</Chain>
When running the installer, after .NET is installed, the MSI package displays a license page. If the license is declined by the user, the installer exits without installing anything except the .NET.
However, there is already an entry for MyApplication in 'Uninstall a program' in Windows, because of the .NET installation. .NET is listed in 'Uninstall a program' separately.
Is there any way to ensure that MyApplication is not listed when none of it was actually installed?