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