VersionNT64 is undefined on a 32-bit OS so Installed OR (SQLSYNCX64SEARCH > "0" AND VersionNT64) would be FALSE or (something AND FALSE) === FALSE which would cause the message to display.
-----Original Message----- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 19 December 2012 04:19 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registry search and condition message in installer Oops I should have said as well... The 32 bit version is checked and correct since it is installed so the logic is correct for the 32 bit check of <Property Id="SQLSYNCX86SEARCH" Value="0"> it's the 64bit check that is failing on the 32 bit OS -----Original Message----- From: Rob Mensching [mailto:r...@robmensching.com] Sent: December-18-12 7:19 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registry search and condition message in installer I always use a verbose log file to check the values of Properties since that where I usually make my mistakes. On Tue, Dec 18, 2012 at 3:14 PM, StevenOgilvie <sogil...@msn.com> wrote: > I have a 32 bit installer, it can run on a 32 bit or a 64 bit OS... > On the 32 bit OS only the 32 bit pre requisites are run, but on the 64 > bit OS both 32/64 bit pre requisites are run. > > The installer verifies that the pre requisites are installed (ya its > overkill but that is another story)... > > On a 64 bit machine all works fine, on a 32 bit OS I am running into > errors where the condition message displays even though it shouldn't, > I have been playing around with this for too long, what am I doing > wrong? thanks in advance... > > Registry check: > > <Property Id="SQLSYNCX86SEARCH" Value="0"> > <RegistrySearch Id="SQLSyncx86Search" > > > Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7AC8EF88-D996-4D47- B40C-4DD93E307481}" > Name="DisplayVersion" > Root="HKLM" > Type="raw" > Win64="no"/> > </Property> > > <Property Id="SQLSYNCX64SEARCH" Value="0"> > <RegistrySearch Id="SQLSyncx64Search" > > > Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A4E269C1-168D-40D3- 9ABD-57FE4D4DB537}" > Name="DisplayVersion" > Root="HKLM" > Type="raw" > Win64="yes"/> > </Property> > > Condition Message: > <Condition Message="Requires Microsoft Sync Framework 2.1 Core > Components > (x86) installed. To download the requirement please visit: > http://www.microsoft.com/en-us/download/default.aspx > then restart the $(var.ProductName) setup."> > < ! [ CDATA [Installed OR (SQLSYNCX86SEARCH > "0")]]> > </Condition> > <Condition Message="Requires Microsoft Sync Framework 2.1 Core > Components (x64) installed. To download the requirement please visit: > http://www.microsoft.com/en-us/download/default.aspx > then restart the $(var.ProductName) setup."> > < ! [CDATA [(Installed OR (SQLSYNCX64SEARCH > "0" AND VersionNT64)]]> > </Condition> > > BTW I have added spaces < ! [ CDATA because nabble doesn't like this > :) Steve > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Registry > -search-and-condition-message-in-installer-tp7582450.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ---------------------------------------------------------------------- > -------- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free > Trial Remotely access PCs and mobile devices and provide instant > support Improve your efficiency, and focus on delivering more > value-add services Discover what IT Professionals Know. Rescue > delivers http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching http://RobMensching.com LLC ----------------------------------------------------------------------------- - LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ----------------------------------------------------------------------------- - LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users