win,msi: prevent from installing on Windows Vista or earlier

Ref: https://github.com/nodejs/node/issues/3804

PR-URL: https://github.com/nodejs/node/pull/5167
Reviewed-By: rvagg - Rod Vagg <rod@vagg.org>
Reviewed-By: joaocgreis - João Reis <reis@janeasystems.com>
This commit is contained in:
Alexis Campailla 2016-02-09 20:31:46 +01:00
parent 929b5b92a5
commit 55db19074d

View File

@ -23,6 +23,10 @@
Compressed="yes"
InstallScope="perMachine"/>
<Condition Message="This application is only supported on Windows 7, Windows Server 2008 R2, or higher.">
<![CDATA[Installed OR (VersionNT >= 601)]]>
</Condition>
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes"/>
<MajorUpgrade AllowSameVersionUpgrades="yes"