문제

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