WIX Toolset Bundle does not detect package that was just installed

115 Views Asked by At

I am creating a super simple bootstrapper project that installs just 1 MSI.

Install works perfectly, but when I do an uninstall from (ARP), the package just installed is not detected, so it is not removed, but the bootstrapper is removed from ARP, making it seem like the product is gone.

I have to run the EXE again, which makes it seem like an install is happening, but when the MSI is executed, it shows the options to change or remove the product (as is expected).

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
 xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
 xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">

<Bundle Name="Bed Occupancy Monitoring"
      Version="$(var.PRODUCTVERSION)"
      Manufacturer=""
      UpgradeCode="4346DC9B-5B4D-4301-A8A6-EE4ED4C001DB">

<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
  <bal:WixStandardBootstrapperApplication
    LicenseUrl=""
    ThemeFile="HyperlinkLargeTheme.xml"
    LocalizationFile="HyperlinkTheme.wxl"
    LogoFile="Logo.png"
    SuppressOptionsUI="yes"
    ShowVersion="yes"/>
</BootstrapperApplicationRef>

<Chain>
  <MsiPackage Id="BedOccupancy"
              SourceFile="$(var.Installer.TargetPath)"
              DisplayName="Bed Occupancy $(var.PRODUCTVERSION)"
              DisplayInternalUI="yes"
              Permanent="no"
              Visible="no"/>
</Chain>
  </Bundle>
</Wix>
0

There are 0 best solutions below