]> git.sesse.net Git - vlc/commitdiff
msi: prevent installation on Windows 2000 and older (close #6638)
authorLudovic Fauvet <etix@videolan.org>
Tue, 9 Apr 2013 13:32:46 +0000 (15:32 +0200)
committerLudovic Fauvet <etix@videolan.org>
Tue, 9 Apr 2013 18:11:14 +0000 (20:11 +0200)
extras/package/win32/msi/product.wxs

index c1a8ec47c67b09615218793656296decf0426559..6d7ac7876cfbcf376569217b8e22905526830753 100644 (file)
             InstallerVersion='200'
             Compressed='yes' />
 
+        <Condition Message="This application is only supported on Windows XP or higher.">
+            <![CDATA[Installed OR (VersionNT >= 501)]]>
+        </Condition>
+
         <MajorUpgrade Schedule="afterInstallInitialize" DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit."/>
 
         <Icon Id="vlc.ico" SourceFile="$(var.SourceDir)/vlc.ico"/>