I would expect DetectCondition="ub5Present" to work then. Have you tried 'NOT ub5Present = ""'?
Hopefully someone else will jump in and confirm the syntax. Neil -----Original Message----- From: Kenneth Porter [mailto:sh...@sewingwitch.com] Sent: 19 August 2013 10:22 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] ExePackage/@DetectCondition syntax --On Monday, August 19, 2013 7:42 AM +0000 Neil Sleightholm <n...@x2systems.com> wrote: > Just to be clear if DetectCondition is true it means the package is > already installed. In your case "ub5Present" has a value of > 'C:\Windows\system32\' does that mean it isn't installed? Empirically, it appears that utils:ComponentSearch sets the return value (in this case, ub5Present) to the component's key path if found, and to the empty string if not found. I'm now looking through the 3.7 source code for DetectCondition to see why condition 'ub5Present <> ""' evaluates to true when the string is empty. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users