Mercurial > mxd2map
annotate contrib/installer/MXD2map-installer.nsi @ 277:b2df9936d4f8
* doku/source/conf.py, contrib/installer/MXD2map-installer.nsi:
Bumped version-number to 1.0
author | Stephan Holl <stephan.holl@intevation.de> |
---|---|
date | Thu, 06 Oct 2011 12:31:05 +0200 |
parents | 713ea6f42e55 |
children | 4051c39757db |
rev | line source |
---|---|
266
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
1 ; NSIS script to build Windows installer of MXD2map |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
2 ; |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
3 ; Copyright (c) 2011 by Intevation GmbH, Germany <info@intevation.de> |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
4 ; |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
5 ; This file is part of MXD2map. |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
6 ; |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
7 ; This program is free software under the LGPL (>=v2.1) |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
8 ; Read the file LICENCE.txt coming with the software for details |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
9 ; or visit http://www.gnu.org/licenses/ if it does not exist. |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
10 ; |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
11 ; MXD2map has been developed on behalf of the |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
12 ; Bundesamt fuer Seeschifffahrt und Hydrographie (BSH) in Hamburg |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
13 ; by Intevation GmbH. |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
14 ; |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
15 ; Authors: |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
16 ; Raimund Renkert <raimund.renkert@intevation.de> |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
17 ; Bjoern Schilberg <bjoern.schilberg@intevation.de> |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
18 ; Stephan Holl <stephan.holl@intevation.de> |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
19 ; |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
20 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
21 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
22 ; Product defines ------------ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
23 !define PRODUCT_NAME "MXD2map" |
277
b2df9936d4f8
* doku/source/conf.py, contrib/installer/MXD2map-installer.nsi:
Stephan Holl <stephan.holl@intevation.de>
parents:
266
diff
changeset
|
24 !define PRODUCT_VERSION "1.0" |
266
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
25 !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\mxd2map" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
26 !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
27 !define PRODUCT_UNINST_ROOT_KEY "HKLM" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
28 !define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
29 ; --------------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
30 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
31 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
32 ; MUI 2 compatible ---------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
33 !include "MUI2.nsh" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
34 !include "Sections.nsh" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
35 !include "InstallOptions.nsh" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
36 ; --------------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
37 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
38 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
39 ; MUI Settings -------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
40 !define MUI_ABORTWARNING |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
41 !define MUI_ICON "favicon.ico" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
42 !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
43 !define MUI_HEADERIMAGE |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
44 !define MUI_HEADERIMAGE_BITMAP "logo_wide.bmp" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
45 !define MUI_WELCOMEPAGE_TITLE_3LINES |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
46 !define MUI_FINISHPAGE_TITLE_3LINES |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
47 !define MUI_FINISHPAGE_TEXT $(TXT_FIN) |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
48 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
49 ; Language selection dialog settings |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
50 !define MUI_LANGDLL_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
51 !define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
52 !define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
53 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
54 ; Check for Admin |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
55 !define MUI_PAGE_CUSTOMFUNCTION_SHOW PrintNonAdminWarning |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
56 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
57 ; Welcome page |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
58 !insertmacro MUI_PAGE_WELCOME |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
59 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
60 ; License page |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
61 !insertmacro MUI_PAGE_LICENSE "LICENCE.txt" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
62 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
63 ; Components page |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
64 !define MUI_COMPONENTSPAGE_SMALLDESC |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
65 !insertmacro MUI_PAGE_COMPONENTS |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
66 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
67 ; Directory page |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
68 !insertmacro MUI_PAGE_DIRECTORY |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
69 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
70 ; Start menu page |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
71 var ICONS_GROUP |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
72 !define MUI_STARTMENUPAGE_NODISABLE |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
73 !define MUI_STARTMENUPAGE_DEFAULTFOLDER "MXD2map" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
74 !define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
75 !define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
76 !define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${PRODUCT_STARTMENU_REGVAL}" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
77 !insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
78 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
79 ; Instfiles page |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
80 !insertmacro MUI_PAGE_INSTFILES |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
81 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
82 ; Uninstaller pages |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
83 !define MUI_PAGE_CUSTOMFUNCTION_SHOW un.PrintNonAdminWarning |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
84 !insertmacro MUI_UNPAGE_INSTFILES |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
85 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
86 ; Language files |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
87 !insertmacro MUI_LANGUAGE "English" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
88 !insertmacro MUI_LANGUAGE "German" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
89 ; --------------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
90 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
91 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
92 ; Language strings ---------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
93 LangString DESC_SEC_MXD2MAP ${LANG_ENGLISH} \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
94 "MXD2map is a converter for ArcGIS MXD-files into UMN MapServer Mapfiles." |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
95 LangString DESC_SEC_MXD2MAP ${LANG_GERMAN} \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
96 "MXD2map wird zur Erzeugung von UMN MapServer- Konfigurationsdateien aus ArcGIS MXD-Dateien verwendet." |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
97 LangString DESC_SEC_EXAMPLES ${LANG_ENGLISH} \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
98 "The examples show how to use and configure MXD2map." |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
99 LangString DESC_SEC_EXAMPLES ${LANG_GERMAN} \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
100 "Die Beispiele zeigen, wie MXD2map benutzt und konfiguriert werden kann." |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
101 LangString UN_PRE ${LANG_ENGLISH} \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
102 "Do you want to remove $(^Name) and all of its components?" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
103 LangString UN_PRE ${LANG_GERMAN} \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
104 "M�chten Sie $(^Name) mit allen Komponenten deinstallieren?" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
105 LangString UN_POST ${LANG_ENGLISH} "Uninstall of $(^Name) successful." |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
106 LangString UN_POST ${LANG_GERMAN} "Deinstallation von $(^Name) erfolgreich." |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
107 LangString MISSING_ARCGIS ${LANG_ENGLISH} \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
108 "ArcGIS is not installed. Please install an ArcGIS Environment first." |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
109 LangString MISSING_ARCGIS ${LANG_GERMAN} \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
110 "ArcGIS ist nicht installiert. Bitte installieren Sie eine ArcGIS Umgebung." |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
111 LangString TXT_DOC ${LANG_ENGLISH} "Documentation" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
112 LangString TXT_DOC ${LANG_GERMAN} "Dokumentation" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
113 LangString TXT_ADMIN ${LANG_ENGLISH} \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
114 "Warning: Administrator permissions required for the installation of ${PRODUCT_NAME}." |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
115 LangString TXT_ADMIN ${LANG_GERMAN} \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
116 "Achtung: F�r die Installation von ${PRODUCT_NAME} werden Administratorrechte ben�tigt." |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
117 LangString TXT_ADMIN_UN ${LANG_ENGLISH} \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
118 "Warning: Administrator permissions required for the uninstallation of ${PRODUCT_NAME}." |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
119 LangString TXT_ADMIN_UN ${LANG_GERMAN} \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
120 "Achtung: F�r die Deinstallation von ${PRODUCT_NAME} werden Administratorrechte ben�tigt." |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
121 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
122 ; --------------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
123 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
124 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
125 ; Install settings ---------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
126 Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
127 OutFile "${PRODUCT_NAME}-${PRODUCT_VERSION}.exe" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
128 InstallDir "$PROGRAMFILES\${PRODUCT_NAME}" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
129 InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
130 ShowInstDetails show |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
131 ShowUnInstDetails show |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
132 RequestExecutionLevel admin |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
133 ; --------------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
134 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
135 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
136 ; MXD2map ------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
137 Section "MXD2map" SEC01 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
138 SectionIn RO |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
139 SetOutPath "$INSTDIR" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
140 SetShellVarContext all |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
141 SetOverwrite ifnewer |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
142 File "LICENCE.txt" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
143 File /r "bin\*.*" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
144 File "favicon.ico" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
145 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
146 ReadEnvStr $R0 "HOMEDRIVE" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
147 ReadEnvStr $R1 "HOMEPATH" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
148 CreateDirectory "$R0$R1\MXD2map" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
149 CreateDirectory "$R0$R1\MXD2map\logs" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
150 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
151 !insertmacro MUI_STARTMENU_WRITE_BEGIN Application |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
152 CreateDirectory "$SMPROGRAMS\$ICONS_GROUP" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
153 CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\MXD2map Shell.lnk" \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
154 "$INSTDIR\MXD2map-Shell.bat" "" "$INSTDIR\favicon.ico" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
155 CreateShortCut "$DESKTOP\MXD2map Shell.lnk" \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
156 "$INSTDIR\MXD2map-Shell.bat" "" "$INSTDIR\favicon.ico" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
157 CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\$(TXT_DOC).lnk"\ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
158 "http://mxd2map.org/documentation/index.html" "" "$INSTDIR\favicon.ico" 0 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
159 !insertmacro MUI_STARTMENU_WRITE_END |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
160 SectionEnd |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
161 ; --------------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
162 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
163 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
164 ; Examples ------------------ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
165 Section "Examples" SEC02 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
166 SetOverwrite ifnewer |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
167 SetShellVarContext all |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
168 File /r "example\*.*" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
169 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
170 ReadEnvStr $R0 "HOMEDRIVE" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
171 ReadEnvStr $R1 "HOMEPATH" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
172 CreateDirectory "$R0$R1\MXD2map\example" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
173 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
174 !insertmacro MUI_STARTMENU_WRITE_BEGIN Application |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
175 CreateDirectory "$SMPROGRAMS\$ICONS_GROUP" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
176 CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Run Example.lnk" \ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
177 "$INSTDIR\RunExample.bat" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
178 !insertmacro MUI_STARTMENU_WRITE_END |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
179 SectionEnd |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
180 ; --------------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
181 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
182 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
183 ; Section descriptions ------ |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
184 !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
185 !insertmacro MUI_DESCRIPTION_TEXT ${SEC01} $(DESC_SEC_MXD2MAP) |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
186 !insertmacro MUI_DESCRIPTION_TEXT ${SEC02} $(DESC_SEC_EXAMPLES) |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
187 !insertmacro MUI_FUNCTION_DESCRIPTION_END |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
188 ; --------------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
189 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
190 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
191 ; Icons --------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
192 Section -AdditionalIcons |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
193 !insertmacro MUI_STARTMENU_WRITE_BEGIN Application |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
194 CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" "$INSTDIR\uninst.exe" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
195 !insertmacro MUI_STARTMENU_WRITE_END |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
196 SectionEnd |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
197 ; --------------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
198 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
199 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
200 ; Post install -------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
201 Section -Post |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
202 WriteUninstaller "$INSTDIR\uninst.exe" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
203 WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
204 WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
205 WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
206 WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
207 WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
208 SectionEnd |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
209 ; --------------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
210 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
211 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
212 ; Uninstall ----------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
213 Section Uninstall |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
214 SetShellVarContext all |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
215 !insertmacro MUI_STARTMENU_GETFOLDER "Application" $ICONS_GROUP |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
216 RMDir /r "$SMPROGRAMS\$ICONS_GROUP" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
217 RMDir /r "$INSTDIR" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
218 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
219 Delete "$DESKTOP\MXD2map Shell.lnk" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
220 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
221 DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
222 DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
223 SetAutoClose true |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
224 SectionEnd |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
225 ; --------------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
226 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
227 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
228 ; On startup ---------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
229 Function .onInit |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
230 ; Check to see if ArcGIS installed |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
231 ReadRegStr $R0 HKLM "SOFTWARE\ESRI\ArcGIS\" "InstallDir" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
232 StrCmp $R0 "" +2 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
233 IfFileExists "$R0*.*" Installed +1 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
234 messagebox MB_DEFBUTTON1|MB_OK $(MISSING_ARCGIS) |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
235 Quit |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
236 Installed: |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
237 ; Continue installing the MXD2map converter. |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
238 FunctionEnd |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
239 ; --------------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
240 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
241 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
242 ; On uninstaller startup ---- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
243 Function un.onInit |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
244 ; Ask for removal. |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
245 !insertmacro MUI_UNGETLANGUAGE |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
246 MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 $(UN_PRE) IDYES +2 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
247 Abort |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
248 FunctionEnd |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
249 ; --------------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
250 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
251 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
252 ; On uninstaller succuss ---- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
253 Function un.onUninstSuccess |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
254 ; Close window and show success dialog |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
255 HideWindow |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
256 MessageBox MB_ICONINFORMATION|MB_OK $(UN_POST) |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
257 FunctionEnd |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
258 ; --------------------------- |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
259 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
260 Function PrintNonAdminWarning |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
261 ClearErrors |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
262 UserInfo::GetName |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
263 IfErrors leave |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
264 POP $0 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
265 UserInfo::GetAccountType |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
266 POP $1 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
267 StrCmp $1 "Admin" leave +1 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
268 MessageBox MB_OK|MB_ICONEXCLAMATION "$(TXT_ADMIN)" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
269 Quit |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
270 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
271 leave: |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
272 FunctionEnd |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
273 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
274 Function un.PrintNonAdminWarning |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
275 ClearErrors |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
276 UserInfo::GetName |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
277 IfErrors leave |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
278 POP $0 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
279 UserInfo::GetAccountType |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
280 POP $1 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
281 StrCmp $1 "Admin" leave +1 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
282 MessageBox MB_OK|MB_ICONEXCLAMATION "$(TXT_ADMIN_UN)" |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
283 Quit |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
284 |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
285 leave: |
713ea6f42e55
Added missing files and removed libraries.
Administrator@vbox-server2003.hq.intevation.de
parents:
diff
changeset
|
286 FunctionEnd |