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