I use WiX to install my .msi, I create a WiX Bundle using the Bundle element. I try not to show the Bundle in "Add / Remove programs", so I set the properties of the Bundle element as follows:
<Bundle Name="$(var.ProductName)" Version="!(bind.packageVersion.MSIPackage)"
Manufacturer="$(var.ProductManufacturer)" UpgradeCode="$(var.UpgradeCode)"
DisableRemove="yes" DisableModify="yes" DisableRepair="yes">
DisableRemove, DisableModify and DisableRepair for "yes" launched the Bundle in the "Add or Remove Programs" section.
My problem is that when I uninstall my application, the application uninstalls correctly, but the bundle remains hidden, so it causes some problems when trying to install another version of the application, for example, the new bundle detects that there are other bundles installed and performs some version checking and etc.
So my question is: is it possible, when an application removed from "Add or Remove Programs" also removes the Hidden Package?
Diego source
share