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.
3 Answers
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.)
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