If I understand correctly this is what I asked about many moons ago. What I was told at the time as a possibility - which we implemented - is that one can "unbundle" and then parse the XML from one of the files:
Dim b As New Microsoft.Tools.WindowsInstallerXml.Unbinder Dim out As Microsoft.Tools.WindowsInstallerXml.Output = b.Unbind(fileName, Microsoft.Tools.WindowsInstallerXml.OutputType.Bundle, scratchDirectory) uc = ExeTools.GetUpgradeCodeByPath(String.Format(Globalization.CultureInfo.InvariantCulture(), "{0}ux\BootStrapperApplicationData.xml", scratchDirectory)) where scratchdirectory is where you want to unbundle and GetUpgradeCodeByPath is (error handling etc, omitted): Dim uc As String = String.Empty Dim tempXml As New XmlDocument tempXml.Load(applicationDataFile) If tempXml.ChildNodes(1).Name = "BootstrapperApplicationData" Then uc = tempXml.ChildNodes(1).ChildNodes(0).Attributes("UpgradeCode").InnerText End If Return uc Note that this is fairly slow and would probably be onerous if one had giant bundles (ours are tens of megabytes at most). I'm not sure how one would do this from a Burn bundle; might need custom. Keith Douglas Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6 Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6 keith.doug...@statcan.gc.ca Telephone | Téléphone 613-854-5589 Facsimile | Télécopieur 613-951-4674 Government of Canada | Gouvernement du Canada -----Original Message----- From: Marco Tognacci [mailto:mark...@live.it] Sent: April-28-15 5:48 PM To: WiX - users Subject: Re: [WiX-users] Detect condition for a Burn Package ? So at this moment, there isn't a way for doing this? > From: r...@firegiant.com > To: wix-users@lists.sourceforge.net > Date: Tue, 28 Apr 2015 21:18:56 +0000 > Subject: Re: [WiX-users] Detect condition for a Burn Package ? > > IIRC, there is a feature request open for that. > > _____________________________________________________________ > Short replies here. Complete answers over there: > http://www.firegiant.com/ > > > -----Original Message----- > From: Marco Tognacci [mailto:mark...@live.it] > Sent: Tuesday, April 28, 2015 1:55 PM > To: WiX - users > Subject: [WiX-users] Detect condition for a Burn Package ? > > I have a Burn package (setup1.exe) that have an UpgradeCode={GUID}I have used > this exe package inside another Burn setup (setup2.exe), in this package I > need to get the DetectCondition for the firt package (setup1.exe) is there > any way to get this condition? > <util:ProductSearch UpgradeCode="XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXXX" > Variable="Setup1_Installed" Result="state"/> I have tried this but it report > Setup1_Installed = 2 as not installed even if it is really installed,I have > read that this ProductSearch is only for the msi package, is right? > I have search on the registry the UpgradeCode and it appear in the > Uninstall section in a variable BundleUpgradeCode, But I don't know > how to check it as it is under a GUID code that is auto genrated > during setup of the setup1.exe Any way for doing this?Thanks > > > ---------------------------------------------------------------------- > -------- 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