I have a Bundle that installs and uninstalls VC 2012 redist. Its working fine if there was no VC 2012 redist installed previously. if there is a VC 2012 redist already installed, then while uninstalling my bundle, it uninstalls the VC 2012 redist as well. All I want is that it must not uninstall the VC 2012 redist if it was previously installed. I was trying to use the variable element with persisted attribute set to "yes". But I am not sure how it works. any pointers to this is greatly appreciated.
相关问题
- How does the setup bootstrapper detect if prerequi
- Wix: How can I set, at runtime, the text to be dis
- Wix variable name formats with spaces and other ch
- WiX: Multiple MSI files?
- Help with one step build all projects + installer
相关文章
- chained msi's/Bootstrapper/prerequisite?
- How do I require a value in a textbox in a Wix cus
- How to prevent WiX bundle with same UpgradeCode/Ve
- How do I pass a default 'install location'
- Running msiexec from a service (Local System accou
- Can I use msilib or other Python libraries to extr
- WIX 3.8 msiexec.exe /quiet Error 1603
- Wix Harvest: Same Component/File ID when files are
Are you using the ExePackage element to install the redist?
If so, there is a "Permanent" element that you can set to prevent it from being uninstalled when the bundle is removed.
Bundles can reference count contained packages. Add a
Provides
element from theWixDependencyExtension
and the Bundles that use the sameProvides
element will correct reference count.Unfortunately, VCRedist doesn't document a standard
Provides
key so there is no real way to correctly reference count the package. Thus, the VCRedist team expects you to mark it Permanent.