Bootstrapper and Setup in Add/Remove Programs
Asked Answered
C

1

9

I have a custom bootstrapper CustomBA and an application setup AppSetup.

I only want the AppSetup to be visible in the Add/Remove Programs so I removed the name of the Bootstrapper. This ensures that it is not there in the Add/Remove Programs.

I have a custom uninstaller for the AppSetup which is called from a program menu shortcut. This however does not remove the Bootstrapper entry in the Registry.

Should I add a custom action to remove the bootstrapper registry entry or is there a more direct approach?

Cronyism answered 18/8, 2013 at 13:22 Comment(0)
R
8

The documentation says this, have you set these Attributes (DisableModify & DisableRemove) in your bundle?

If the "DisableModify" attribute is also "yes" or "button" then the bundle will not be displayed in Progams and Features and another mechanism (such as registering as a related bundle addon) must be used to ensure the bundle can be removed.

DisableRemove YesNoType Determines whether the bundle can be removed via the Programs and Features (also known as Add/Remove Programs). If the value is "yes" then the "Uninstall" button will not be displayed. The default is "no" which ensures there is an "Uninstall" button to remove the bundle. If the "DisableModify" attribute is also "yes" or "button" then the bundle will not be displayed in Progams and Features and another mechanism (such as registering as a related bundle addon) must be used to ensure the bundle can be removed.

LINK

Ricard answered 18/8, 2013 at 14:15 Comment(3)
This only answers part of the question, as DisableRemove="yes" DisableModify="yes" disables the bootstrapper from showing up in Programs and Features, but it does not answer the second part of the question, which is how to display the user's AppSetup (other MSI package) in Programs and Features (something I am also interested in doing).Plumlee
And I think the answer to that it to set Visible on the MsiPackage element: wixtoolset.org/documentation/manual/v3/xsd/wix/msipackage.htmlPlumlee
This only removes Remove and Modify buttons. If you uninstall the package then rerun the bundle installation it will ask if you would like to modify or uninstall, because it's still installed.Darbies

© 2022 - 2024 — McMap. All rights reserved.