Reputation: 4197
I do not want to display my bundle in Programs and features. But when uninstalling it should be removed along with the MSIs. In order to hide the the bundle I can set disableModify property to yes. This will hide the bundle. But this will disable the uninstall feature for the bundle. That is not what I want. Because How can I hide the bundle from Programs and Features and still uninstall it during an uninstall? Please advice.
Upvotes: 1
Views: 2012
Reputation: 21
The Visible="yes" will show you the installed packages separately.
<MsiPackage Id="Dependency1" SourceFile="your.msi" Cache="no" Visible="yes" DisplayInternalUI="yes" EnableFeatureSelection="yes" />
Upvotes: 2
Reputation: 812
See this answer about handling MSI and MSP in bundles
It sounds like the behavior you are after.
Note that that answer is for WiX 3.9 or later
Upvotes: 0
Reputation: 20772
From the perspective of the bundle, there is no "app", only 0 or more packages.
From the perspective of a package installer (e.g., .msi), there is no bundle. It could have been installed/referenced by 0 or more bundles and/or installed manually or some other system.
Uninstalling a package "breaks" the bundle. It could be repaired or uninstalled with the same bundle version itself but it can't be repaired by installing a lower versioned bundle.
The most straightforward approach is to hide your application-specific packages from Programs and Features and let the users view the bundle as "the application". (Any packages your bundle treats as permanent should typically not be hidden.)
Upvotes: 1