[vlc-commits] msi: prevent installation on Windows 2000 and older (close #6638)

Ludovic Fauvet git at videolan.org
Tue Apr 9 20:14:32 CEST 2013


vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Tue Apr  9 15:32:46 2013 +0200| [cc2b665e5f1398f4564eebffd6957db304a8e090] | committer: Ludovic Fauvet

msi: prevent installation on Windows 2000 and older (close #6638)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cc2b665e5f1398f4564eebffd6957db304a8e090
---

 extras/package/win32/msi/product.wxs |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/extras/package/win32/msi/product.wxs b/extras/package/win32/msi/product.wxs
index c1a8ec4..6d7ac78 100644
--- a/extras/package/win32/msi/product.wxs
+++ b/extras/package/win32/msi/product.wxs
@@ -38,6 +38,10 @@
             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"/>



More information about the vlc-commits mailing list