Mercurial > trustbridge
comparison packaging/trustbridge.nsi @ 828:95e14add5c50
(issue11) Check minium supported windows version
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 24 Jul 2014 11:41:17 +0200 |
parents | 8fad91c654e2 |
children | 747a48996c1f |
comparison
equal
deleted
inserted
replaced
827:8de162b91a22 | 828:95e14add5c50 |
---|---|
28 !define MULTIUSER_INSTALLMODE_INSTDIR "${productname_short}" | 28 !define MULTIUSER_INSTALLMODE_INSTDIR "${productname_short}" |
29 | 29 |
30 !include "MultiUser.nsh" | 30 !include "MultiUser.nsh" |
31 !include "MUI2.nsh" | 31 !include "MUI2.nsh" |
32 !include "FileFunc.nsh" | 32 !include "FileFunc.nsh" |
33 !include "WinVer.nsh" | |
33 | 34 |
34 ;-------------------------------- | 35 ;-------------------------------- |
35 ;Version Information (for installer file properties) | 36 ;Version Information (for installer file properties) |
36 | 37 |
37 ;VIProductVersion "${version_number}" ;needs integer format: x.x.x.x | 38 ;VIProductVersion "${version_number}" ;needs integer format: x.x.x.x |
109 | 110 |
110 ;-------------------------------- | 111 ;-------------------------------- |
111 ; Install Functions | 112 ; Install Functions |
112 | 113 |
113 Function ".onInit" | 114 Function ".onInit" |
115 ${IfNot} ${AtLeastWinVista} | |
116 MessageBox MB_OK "Windows XP und ältere Windows Versionen werden von dieser Anwendung nicht unterstützt." | |
117 Quit | |
118 ${Endif} | |
119 | |
114 Var /GLOBAL is_update | 120 Var /GLOBAL is_update |
115 Var /GLOBAL changed_dir | 121 Var /GLOBAL changed_dir |
116 ${GetParameters} $R0 | 122 ${GetParameters} $R0 |
117 ClearErrors | 123 ClearErrors |
118 ${GetOptions} $R0 /UPDATE= $is_update | 124 ${GetOptions} $R0 /UPDATE= $is_update |