问题
I am creating a WIX Bootstrapper using WIX Burn. The resultant bundle "exe" will be consumed by another application or rather a MetaInstaller. Now the application executes the bundle as a process with arguments but we don't want to make any entry in ARP for the bundle.
Is there any way to achieve that?
回答1:
Yes. In the Bundle element, set these attributes
<Bundle DisableRemove="yes" DisableModify="yes"
DisableRemove
If the "DisableModify" attribute is also "yes" or "button" then the bundle will not be displayed in Progams and Features
You should note, however, WiX burn is a package manager. So you should ensure that your uninstallation process invokes it to clean up the bundle and unused non-Permanent packages.
来源:https://stackoverflow.com/questions/22626992/suppressing-arp-entry-for-wix-burn-bundle