summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlexis Campailla <alexis@janeasystems.com>2016-02-09 20:31:46 +0100
committerAlexis Campailla <alexis@janeasystems.com>2016-03-18 02:59:05 +0100
commit55db19074dc35be99a610009f9fe9bb27ec4a5c6 (patch)
treed4b2fdec6c1eb91efa80cb2643443036ae80be1d /tools
parent929b5b92a505436c82ea84d1c0097f6b58ae1a9e (diff)
downloadandroid-node-v8-55db19074dc35be99a610009f9fe9bb27ec4a5c6.tar.gz
android-node-v8-55db19074dc35be99a610009f9fe9bb27ec4a5c6.tar.bz2
android-node-v8-55db19074dc35be99a610009f9fe9bb27ec4a5c6.zip
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>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/msvs/msi/product.wxs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/msvs/msi/product.wxs b/tools/msvs/msi/product.wxs
index bdda1a19c1..eed53e4710 100755
--- a/tools/msvs/msi/product.wxs
+++ b/tools/msvs/msi/product.wxs
@@ -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"