AnOldSoul
AnOldSoul

Reputation: 4197

How to enable uninstall for a Wix bundle and still hide it from Programs and features?

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

Answers (3)

mkgame
mkgame

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

RobG
RobG

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

Tom Blodget
Tom Blodget

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

Related Questions