installer: check windows version 7 or higher

This commit is contained in:
Bill Zissimopoulos 2022-10-07 14:09:19 +01:00
parent a2e92207c5
commit c187209159

View File

@ -25,6 +25,11 @@
DowngradeErrorMessage="A newer version of $(var.MyProductName) is already installed." />
<Media Id="1" Cabinet="$(var.MyProductName).cab" EmbedCab="yes" />
<!-- Determine if we are on Win7 or above. -->
<Condition Message="$(var.MyProductName) requires Windows version 7 or higher in order to be installed.">
<![CDATA[Installed OR (VersionNT >= 601)]]>
</Condition>
<!-- Determine if the old WinFsp installer that did not support upgrades is installed. -->
<Property Id="OLDVERSIONINSTALLED">
<ProductSearch UpgradeCode="$(var.OldVersionUpgradeCode)" Minimum="0.0.0.0" />