[wix-users] looking to see if "version" of a pre requisite is installed
Steve Ogilvie
sogilvie at msn.com
Tue Aug 25 10:38:46 PDT 2015
Hi,
A product I am working on installs various Microsoft “pre
requisites”. Once being:
<!-- Check for Microsoft Sync Framework 2.1 Core Components
x86 -->
<Property
Id="SQLSYNCX86SEARCH" Secure="yes" 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>
And a condition check:
<Condition
Message="$(var.PlatformProductName) requires Microsoft Sync Framework 2.1
Core Components (x86). Please install the pre-requisite, then restart the
setup.">
<![CDATA[(Installed OR (SQLSYNCX86SEARCH > "0" AND NOT
VersionNT64) OR (VersionNT64))]]>
</Condition>
This was working great until a “newer” version of SQL Sync came
out…
I need to look for Microsoft Sync Framework 2.1 Core
Components version 2.1.1648.0 and greater…
Is there an easy way to look up without knowing the Product
GUID?
is that right?
Cheers,
Steve
More information about the wix-users
mailing list