Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bootstrapper and Setup in Add/Remove Programs

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?

like image 690
Ranjith Venkatesh Avatar asked Aug 18 '13 13:08

Ranjith Venkatesh


1 Answers

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

like image 67
Isaiah4110 Avatar answered Sep 20 '22 17:09

Isaiah4110