Skip to content

Commit

Permalink
win,msi: prevent from installing on Windows Vista or earlier
Browse files Browse the repository at this point in the history
Ref: #3804

PR-URL: #5167
Reviewed-By: rvagg - Rod Vagg <rod@vagg.org>
Reviewed-By: joaocgreis - João Reis <reis@janeasystems.com>
  • Loading branch information
orangemocha committed Mar 18, 2016
1 parent 929b5b9 commit 55db190
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/msvs/msi/product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 55db190

Please sign in to comment.