Вопрос

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?

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top