[wix-users] Detect Bundle Version by UpgradeCode

Hoover, Jacob Jacob.Hoover at greenheck.com
Tue Feb 6 18:35:48 PST 2018


Using a BAF or a custom BA?  Is this a related bundle or just some "random bundle"?

RelatedBundle will provide a callback for OnDetectRelatedBundle.

Dutil's butil has BundleEnumRelatedBundle which would accomplish this if you are writing native code. - Ref: https://github.com/wixtoolset/wix3/blob/develop/src/libs/dutil/butil.cpp

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Edwin Castro via wix-users
Sent: Tuesday, February 6, 2018 4:49 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Edwin Castro <egcastr at gmail.com>
Subject: [wix-users] Detect Bundle Version by UpgradeCode

I need to detect an installed bundle by upgrade code and determine its version. util:ProductSearch doesn't seem to work with upgrade code for bundles. wix:RelatedBundle doesn't seem to provide access to version information if it can detect another bundle by upgrade code. How can I detect another bundle by upgrade code and get its version?

--
Edwin G. Castro

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list