Skip to content

Commit 55db190

Browse files
committed
win,msi: prevent from installing on Windows Vista or earlier
Ref: #3804 PR-URL: #5167 Reviewed-By: rvagg - Rod Vagg <rod@vagg.org> Reviewed-By: joaocgreis - João Reis <reis@janeasystems.com>
1 parent 929b5b9 commit 55db190

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/msvs/msi/product.wxs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
Compressed="yes"
2424
InstallScope="perMachine"/>
2525

26+
<Condition Message="This application is only supported on Windows 7, Windows Server 2008 R2, or higher.">
27+
<![CDATA[Installed OR (VersionNT >= 601)]]>
28+
</Condition>
29+
2630
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes"/>
2731

2832
<MajorUpgrade AllowSameVersionUpgrades="yes"

0 commit comments

Comments
 (0)