I know this is a little off the subject, but are you the original author of the WiX File? In either case, you need to spend some time Renaming or at least commenting the code so that people working after you know what Feature AAA installs. Same with BBB etc.
In some Cases decoding variables will help you rewrite the logic, thereby removing the need for the ! and & operators in the first place. On another note, as a hunch, I would say you have a failure due to AND PATCH And BBB = 0. If the Patch has been applied previously and you still want this to work BBB must be >= whatever the patch you wrote sets BBB to when Finished. Here is a perfect valid reason to rewrite logic. Store the Patch level and BBB in a registry key then have the installer fetch the value. If the Value isnt what you expect, do something else, i.e. "The patch is already installed" Carter Quoting Phil Wilson <phildgwil...@gmail.com>: > 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. ------------------------------------------------------------------------------ "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