I believe the confusion you are having stems from the usage of util:ProductSearch inside your BA. That search would mirror the functionality of the ProductSearch within a MSI, which only populates the Upgrade table in the MSI with the Upgrade code of a MSI. Windows Installer only knows or cares about Windows Installer based installs, so it's going to use Msi* API's to query based on the upgrade code.
In short, util:ProductSearch is working as intended, but it isn't intended to work with a bundle upgrade code. -----Original Message----- From: Marco Tognacci [mailto:mark...@live.it] Sent: Sunday, May 17, 2015 4:10 PM To: WiX - users Subject: Re: [WiX-users] R: Extend ProductSearch for working with Burn exe Package Is there any mistake in my code or is there a bug in the util:ProductSearch extension?How can I make this code working?Thanks > > From: mark...@live.it > > To: wix-users@lists.sourceforge.net > > Date: Wed, 13 May 2015 01:02:45 +0200 > > Subject: Re: [WiX-users] R: Extend ProductSearch for working with > > Burn exe Package > > > > I have used util:ProductSearch to detect condition for my BurnPackage, but > > it doesn't work, I use the last official release 3.9R2, the variable > > assigned is equal to 2 (absent) even if the package is installed (I can > > check manually the registry and I can find the UpgradeCode of the package > > in a variable BundleUpgradeCode inside the installed product sections) > > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" > > xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> <Fragment> > > <util:ProductSearch UpgradeCode="{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" > > Variable="MyBurnPackage_Installed" Result="state" /> <PackageGroup > > Id="MyBurnPackageGroup"> <ExePackage Id="MyBurnPackage" Cache="no" > > Compressed="no" Permanent="yes" Vital="yes" > > SourceFile="..\Externals\MyBurnPackage.exe" Name="MyBurnPackage.exe" > > DetectCondition="MyBurnPackage_Installed > 2"/> </PackageGroup> > > </Fragment> </Wix> > > Is there any mistake in my code or is there a bug in the > > util:ProductSearch extension?How can I make this code working?Thanks > > > > > From: jocoo...@jackhenry.com > > > To: wix-users@lists.sourceforge.net > > > Date: Mon, 11 May 2015 12:52:57 +0000 > > > Subject: Re: [WiX-users] R: Extend ProductSearch for working with Burn > > > exe Package > > > > > > I think there is some confusion. 1) util:ProductSearch works with > > > Burn/Bundle. Whether it will do exactly what you want (as pointed out by > > > Phil) is another matter, but it does work. 2) the standard ProductSearch > > > is desiged to work in the WiX schema and is not suitable for Burn/Bundle. > > > 3) As is pointed out, there are very few limitations if you write a > > > custom BA. That would be my recommendation too. > > > > > > -- > > > John Merryweather Cooper > > > Senior Software Engineer | Integration Development Group | > > > Enterprise Notification Service Jack Henry & Associates, Inc.® | > > > Lenexa, KS 66214 | Ext: 431050 |jocoo...@jackhenry.com > > > > > > > > > > > > -----Original Message----- > > > From: Marco Tognacci [mailto:mark...@live.it] > > > Sent: Monday, May 11, 2015 2:06 AM > > > To: General discussion about the WiX toolset. > > > Subject: [WiX-users] R: Extend ProductSearch for working with Burn > > > exe Package > > > > > > I have user the Extension ProductSearch from UtilExtension, and this only > > > works for msi packages, any other suggestion? > > > > > > Inviata dal mio Windows Phone > > > ________________________________ > > > Da: Phill Hogland<mailto:phogl...@rimage.com> > > > Inviato: 09/05/2015 16:56 > > > A: > > > wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge > > > .net> > > > Oggetto: Re: [WiX-users] Extend ProductSearch for working with > > > Burn exe Package > > > > > > "ProductSearch element works only with msi package," is true of the > > > wix:ProductSearch (which can only be used in a msi context). However in > > > another thread to answer your question John suggested that you look at > > > util:ProductSearch (which is a Bundle related WixExtension). > > > > > > I have not needed any of this when including a Burn bundle in a Burn > > > bundle. > > > As others have responded, look at the RelatedBundle support already in > > > Burn. > > > > > > With regard to finding a Bundle from a non-wix application I have > > > previously detailed for you the approach that my legacy setup uses to to > > > find a child bundle (which relies on defining Bundle/@dep: ProviderKey, > > > getting the BundleId in the mba, and passing it to a chained MSI for > > > storage in a known location in the registry). Also in other threads on > > > this issue Jacob has provided another approach related to using dutil > > > functions. > > > > > > I don't think that your current line of thinking, trying to"extend" a MSI > > > ProductSearch CA to work in Burn, is even possible. > > > > > > > > > > > > -- > > > View this message in context: > > > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Exte > > > nd-ProductSearch-for-working-with-Burn-exe-Package-tp7600271p76002 > > > 72.html Sent from the wix-users mailing list archive at > > > Nabble.com. > > > > > > ------------------------------------------------------------------ > > > ------------ One dashboard for servers and applications across > > > Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ > > > applications Performance metrics, stats and reports that give you > > > Actionable Insights Deep dive visibility with transaction tracing using > > > APM Insight. > > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------ > > > ------------ One dashboard for servers and applications across > > > Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ > > > applications Performance metrics, stats and reports that give you > > > Actionable Insights Deep dive visibility with transaction tracing using > > > APM Insight. > > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > NOTICE: This electronic mail message and any files transmitted > > > with it are intended exclusively for the individual or entity to > > > which it is addressed. The message, together with any attachment, may > > > contain confidential and/or privileged information. > > > Any unauthorized review, use, printing, saving, copying, > > > disclosure or distribution is strictly prohibited. If you have > > > received this message in error, please immediately advise the sender by > > > reply email and delete all copies. > > > ------------------------------------------------------------------ > > > ------------ One dashboard for servers and applications across > > > Physical-Virtual-Cloud Widest out-of-the-box monitoring support > > > with 50+ applications Performance metrics, stats and reports that > > > give you Actionable Insights Deep dive visibility with transaction > > > tracing using APM Insight. > > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -------------------------------------------------------------------- > > ---------- One dashboard for servers and applications across > > Physical-Virtual-Cloud Widest out-of-the-box monitoring support with > > 50+ applications Performance metrics, stats and reports that give > > you Actionable Insights Deep dive visibility with transaction > > tracing using APM Insight. > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------- > -------- One dashboard for servers and applications across > Physical-Virtual-Cloud Widest out-of-the-box monitoring support with > 50+ applications Performance metrics, stats and reports that give you > Actionable Insights Deep dive visibility with transaction tracing > using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users