Just another bit of information, my feature line looks something like this:
<Feature Id="AAA" Title="AAA" Description="This feature installs AAA" Level="100" AllowAdvertise="no" InstallDefault="local"> If AllowAdvertise is set to "no", how is it on patching my installed state is "Advertise"? Could someone explain what "Advertise" means, and why my patch fails sometimes because it's in that state? Thanks, George -----Original Message----- From: George Fleming [mailto:gef...@microsoft.com] Sent: Monday, May 19, 2014 2:13 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] What does '&' and '!' inside CDATA[] do? Based on suggestions given, I did more research on this issue. As I mentioned earlier, my custom action looks something like this: <Custom Action='_xxx' After='_yyy'> <![CDATA[!AAA=3 And PATCH And BBB=0]]> </Custom> Where AAA is a feature that should be installed (and I guess that's what !AAA=3 checks for). However, in my log I see this: Feature: AAA; Installed: Advertise; Request: Reinstall; Action: Reinstall "Advertise", from documention, is state "1". My guess is that's why it fails to patch. What does "Advertise" state mean? George -----Original Message----- From: Phil Wilson [mailto:phildgwil...@gmail.com] Sent: Wednesday, May 14, 2014 10:28 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] What does '&' and '!' inside CDATA[] do? I'd install the patch creating a verbose log, if you've not already done so, and verify that the values of the other properties in the expression are as expected. If it's deferred then it must be after InstallInitialize, so it will be after CostFinalize as required. Your original post also asked how to determine the current state of the AAA feature, to which the short answer is that you need a way to know that the existing installed product that's being patched did in fact install that feature. The verbose log should say something about the feature state as absent, present etc. --------------- Phil Wilson On Tue, May 13, 2014 at 4:21 PM, George Fleming <gef...@microsoft.com> wrote: > Yes, AAA is a feature, and Custom Action is executed in deferred stage. > > I have problems when I patch on top of another patched version; but it's ok > if I patch on a un-patched version. > > -----Original Message----- > From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] > Sent: Tuesday, May 13, 2014 2:35 PM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] What does '&' and '!' inside CDATA[] do? > > Is AAA a feature? > > -----Original Message----- > From: George Fleming [mailto:gef...@microsoft.com] > Sent: Tuesday, May 13, 2014 2:33 PM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] What does '&' and '!' inside CDATA[] do? > > Thanks for the link. > > I'm trying to debug a situation where the Custom Action is not executing as > expected. In the example below, where !AAA=3 should be true, but it appears > not to be. How do I debug in this case? How do I determine the current > state of AAA? > > Thanks, > > George > > -----Original Message----- > From: Phil Wilson [mailto:phildgwil...@gmail.com] > Sent: Monday, May 12, 2014 10:27 AM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] What does '&' and '!' inside CDATA[] do? > > Scroll down here for explanations about the stated of various features and > components: > > http://msdn.microsoft.com/en-us/library/aa368012(v=vs.85).aspx > --------------- > Phil Wilson > > > On Mon, May 12, 2014 at 10:14 AM, George Fleming <gef...@microsoft.com> wrote: >> Does anyone know the meaning of '!' and '&' in front of "AAA" below? >> >> <Custom Action='_xxx' After='_yyy'> >> <![CDATA[!AAA=3 And PATCH And BBB=0]]> >> </Custom> >> >> <Custom Action='_zzz' After='_xxx'> >> <![CDATA[&AAA=3 And CCC<>1 And DDD=1]]> >> </Custom> >> >> Thanks, >> >> George >> >> --------------------------------------------------------------------- >> - >> -------- "Accelerate Dev Cycles with Automated Cross-Browser Testing >> - For FREE Instantly run your Selenium tests across 300+ browser/OS >> combos. >> Get unparalleled scalability from the best Selenium testing platform >> available Simple to use. Nothing to install. Get started now for free." >> http://p.sf.net/sfu/SauceLabs >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------- > -------- "Accelerate Dev Cycles with Automated Cross-Browser Testing - > For FREE Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------- > -------- "Accelerate Dev Cycles with Automated Cross-Browser Testing - > For FREE Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------------- > -------- "Accelerate Dev Cycles with Automated Cross-Browser Testing - > For FREE Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------- > -------- "Accelerate Dev Cycles with Automated Cross-Browser Testing - > For FREE Instantly run your Selenium tests across 300+ browser/OS > combos. > Get unparalleled scalability from the best Selenium testing platform > available Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users