diff options
Diffstat (limited to 'linden')
-rwxr-xr-x[-rw-r--r--] | linden/indra/copy_win_scripts/start-client.py | 2 | ||||
-rw-r--r-- | linden/indra/newview/installers/windows/installer_template.nsi | 1968 | ||||
-rw-r--r-- | linden/indra/newview/installers/windows/lang_de.nsi | 114 | ||||
-rw-r--r-- | linden/indra/newview/installers/windows/lang_en-us.nsi | 104 | ||||
-rw-r--r-- | linden/indra/newview/installers/windows/lang_ja.nsi | 114 | ||||
-rw-r--r-- | linden/indra/newview/installers/windows/lang_ko.nsi | 114 | ||||
-rw-r--r-- | linden/indra/newview/res/viewerRes.rc | 576 | ||||
-rw-r--r-- | linden/indra/win_updater/updater.cpp | 10 |
8 files changed, 1501 insertions, 1501 deletions
diff --git a/linden/indra/copy_win_scripts/start-client.py b/linden/indra/copy_win_scripts/start-client.py index 5f7ff2f..ea2b67a 100644..100755 --- a/linden/indra/copy_win_scripts/start-client.py +++ b/linden/indra/copy_win_scripts/start-client.py | |||
@@ -32,7 +32,7 @@ def start_client(grid, slurl, build_config, my_args): | |||
32 | f = open("start-client.log", "w") | 32 | f = open("start-client.log", "w") |
33 | print >>f, "Viewer startup arguments:" | 33 | print >>f, "Viewer startup arguments:" |
34 | llstart.start("viewer", "../../newview", | 34 | llstart.start("viewer", "../../newview", |
35 | "%s/newview/%s/secondlife-bin.exe" % (build_path, build_config), | 35 | "%s/newview/%s/imprudence-bin.exe" % (build_path, build_config), |
36 | viewer_args, f) | 36 | viewer_args, f) |
37 | f.close() | 37 | f.close() |
38 | 38 | ||
diff --git a/linden/indra/newview/installers/windows/installer_template.nsi b/linden/indra/newview/installers/windows/installer_template.nsi index ec4fd85..9da45dc 100644 --- a/linden/indra/newview/installers/windows/installer_template.nsi +++ b/linden/indra/newview/installers/windows/installer_template.nsi | |||
@@ -1,984 +1,984 @@ | |||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; secondlife setup.nsi | 2 | ;; imprudence setup.nsi |
3 | ;; Copyright 2004-2007, Linden Research, Inc. | 3 | ;; Copyright 2004-2007, Linden Research, Inc. |
4 | ;; For info, see http://www.nullsoft.com/free/nsis/ | 4 | ;; For info, see http://www.nullsoft.com/free/nsis/ |
5 | ;; | 5 | ;; |
6 | ;; NSIS 2.22 or higher required | 6 | ;; NSIS 2.22 or higher required |
7 | ;; Author: James Cook, Don Kjer, Callum Prentice | 7 | ;; Author: James Cook, Don Kjer, Callum Prentice |
8 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 8 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
9 | 9 | ||
10 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 10 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
11 | ;;; Detect NSIS compiler version | 11 | ;;; Detect NSIS compiler version |
12 | !define "NSIS${NSIS_VERSION}" | 12 | !define "NSIS${NSIS_VERSION}" |
13 | !ifdef "NSISv2.02" | "NSISv2.03" | "NSISv2.04" | "NSISv2.05" | "NSISv2.06" | 13 | !ifdef "NSISv2.02" | "NSISv2.03" | "NSISv2.04" | "NSISv2.05" | "NSISv2.06" |
14 | ;; before 2.07 defaulted lzma to solid (whole file) | 14 | ;; before 2.07 defaulted lzma to solid (whole file) |
15 | SetCompressor lzma | 15 | SetCompressor lzma |
16 | !else | 16 | !else |
17 | ;; after 2.07 required /solid for whole file compression | 17 | ;; after 2.07 required /solid for whole file compression |
18 | SetCompressor /solid lzma | 18 | SetCompressor /solid lzma |
19 | !endif | 19 | !endif |
20 | 20 | ||
21 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 21 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
22 | ;; Compiler flags | 22 | ;; Compiler flags |
23 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 23 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
24 | SetOverwrite on ; overwrite files | 24 | SetOverwrite on ; overwrite files |
25 | SetCompress auto ; compress iff saves space | 25 | SetCompress auto ; compress iff saves space |
26 | SetDatablockOptimize off ; only saves us 0.1%, not worth it | 26 | SetDatablockOptimize off ; only saves us 0.1%, not worth it |
27 | XPStyle on ; add an XP manifest to the installer | 27 | XPStyle on ; add an XP manifest to the installer |
28 | 28 | ||
29 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 29 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
30 | ;;; Project flags | 30 | ;;; Project flags |
31 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 31 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
32 | 32 | ||
33 | %%VERSION%% | 33 | %%VERSION%% |
34 | 34 | ||
35 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 35 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
36 | ;; - language files - one for each language (or flavor thereof) | 36 | ;; - language files - one for each language (or flavor thereof) |
37 | ;; (these files are in the same place as the nsi template but the python script generates a new nsi file in the | 37 | ;; (these files are in the same place as the nsi template but the python script generates a new nsi file in the |
38 | ;; application directory so we have to add a path to these include files) | 38 | ;; application directory so we have to add a path to these include files) |
39 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 39 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
40 | !include "%%SOURCE%%\installers\windows\lang_de.nsi" | 40 | !include "%%SOURCE%%\installers\windows\lang_de.nsi" |
41 | !include "%%SOURCE%%\installers\windows\lang_en-us.nsi" | 41 | !include "%%SOURCE%%\installers\windows\lang_en-us.nsi" |
42 | !include "%%SOURCE%%\installers\windows\lang_ja.nsi" | 42 | !include "%%SOURCE%%\installers\windows\lang_ja.nsi" |
43 | !include "%%SOURCE%%\installers\windows\lang_ko.nsi" | 43 | !include "%%SOURCE%%\installers\windows\lang_ko.nsi" |
44 | 44 | ||
45 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 45 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
46 | ;; Tweak for different servers/builds (this placeholder is replaced by viewer_manifest.py) | 46 | ;; Tweak for different servers/builds (this placeholder is replaced by viewer_manifest.py) |
47 | %%GRID_VARS%% | 47 | %%GRID_VARS%% |
48 | 48 | ||
49 | Name ${INSTNAME} | 49 | Name ${INSTNAME} |
50 | 50 | ||
51 | SubCaption 0 $(LicenseSubTitleSetup) ; override "license agreement" text | 51 | SubCaption 0 $(LicenseSubTitleSetup) ; override "license agreement" text |
52 | 52 | ||
53 | BrandingText " " ; bottom of window text | 53 | BrandingText " " ; bottom of window text |
54 | Icon %%SOURCE%%\res\install_icon.ico ; our custom icon | 54 | Icon %%SOURCE%%\res\install_icon.ico ; our custom icon |
55 | UninstallIcon %%SOURCE%%\res\uninstall_icon.ico ; our custom icon | 55 | UninstallIcon %%SOURCE%%\res\uninstall_icon.ico ; our custom icon |
56 | WindowIcon on ; show our icon in left corner | 56 | WindowIcon on ; show our icon in left corner |
57 | BGGradient off ; no big background window | 57 | BGGradient off ; no big background window |
58 | CRCCheck on ; make sure CRC is OK | 58 | CRCCheck on ; make sure CRC is OK |
59 | InstProgressFlags smooth colored ; new colored smooth look | 59 | InstProgressFlags smooth colored ; new colored smooth look |
60 | ShowInstDetails nevershow ; no details, no "show" button | 60 | ShowInstDetails nevershow ; no details, no "show" button |
61 | SetOverwrite on ; stomp files by default | 61 | SetOverwrite on ; stomp files by default |
62 | AutoCloseWindow true ; after all files install, close window | 62 | AutoCloseWindow true ; after all files install, close window |
63 | 63 | ||
64 | InstallDir "$PROGRAMFILES\${INSTNAME}" | 64 | InstallDir "$PROGRAMFILES\${INSTNAME}" |
65 | InstallDirRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "" | 65 | InstallDirRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "" |
66 | !ifdef UPDATE | 66 | !ifdef UPDATE |
67 | DirText $(DirectoryChooseTitle) $(DirectoryChooseUpdate) | 67 | DirText $(DirectoryChooseTitle) $(DirectoryChooseUpdate) |
68 | !else | 68 | !else |
69 | DirText $(DirectoryChooseTitle) $(DirectoryChooseSetup) | 69 | DirText $(DirectoryChooseTitle) $(DirectoryChooseSetup) |
70 | !endif | 70 | !endif |
71 | 71 | ||
72 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 72 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
73 | ;;; Variables | 73 | ;;; Variables |
74 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 74 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
75 | Var INSTPROG | 75 | Var INSTPROG |
76 | Var INSTEXE | 76 | Var INSTEXE |
77 | Var INSTFLAGS | 77 | Var INSTFLAGS |
78 | Var LANGFLAGS | 78 | Var LANGFLAGS |
79 | Var INSTSHORTCUT | 79 | Var INSTSHORTCUT |
80 | 80 | ||
81 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 81 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
82 | ;;; Sections | 82 | ;;; Sections |
83 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 83 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
84 | Section "" ; (default section) | 84 | Section "" ; (default section) |
85 | 85 | ||
86 | SetShellVarContext all ; install for all users (if you change this, change it in the uninstall as well) | 86 | SetShellVarContext all ; install for all users (if you change this, change it in the uninstall as well) |
87 | 87 | ||
88 | ; Start with some default values. | 88 | ; Start with some default values. |
89 | StrCpy $INSTFLAGS "${INSTFLAGS}" | 89 | StrCpy $INSTFLAGS "${INSTFLAGS}" |
90 | StrCpy $INSTPROG "${INSTNAME}" | 90 | StrCpy $INSTPROG "${INSTNAME}" |
91 | StrCpy $INSTEXE "${INSTEXE}" | 91 | StrCpy $INSTEXE "${INSTEXE}" |
92 | StrCpy $INSTSHORTCUT "${SHORTCUT}" | 92 | StrCpy $INSTSHORTCUT "${SHORTCUT}" |
93 | 93 | ||
94 | IfSilent +2 | 94 | IfSilent +2 |
95 | Goto NOT_SILENT | 95 | Goto NOT_SILENT |
96 | Call CheckStartupParams ; Figure out where, what and how to install. | 96 | Call CheckStartupParams ; Figure out where, what and how to install. |
97 | NOT_SILENT: | 97 | NOT_SILENT: |
98 | Call CheckWindowsVersion ; warn if on Windows 98/ME | 98 | Call CheckWindowsVersion ; warn if on Windows 98/ME |
99 | Call CheckIfAdministrator ; Make sure the user can install/uninstall | 99 | Call CheckIfAdministrator ; Make sure the user can install/uninstall |
100 | Call CheckIfAlreadyCurrent ; Make sure that we haven't already installed this version | 100 | Call CheckIfAlreadyCurrent ; Make sure that we haven't already installed this version |
101 | Call CloseSecondLife ; Make sure we're not running | 101 | Call CloseSecondLife ; Make sure we're not running |
102 | Call RemoveNSIS ; Check for old NSIS install to remove | 102 | Call RemoveNSIS ; Check for old NSIS install to remove |
103 | 103 | ||
104 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 104 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
105 | ;;; Don't remove cache files during a regular install, removing the inventory cache on upgrades results in lots of damage to the servers. | 105 | ;;; Don't remove cache files during a regular install, removing the inventory cache on upgrades results in lots of damage to the servers. |
106 | ;Call RemoveCacheFiles ; Installing over removes potentially corrupted | 106 | ;Call RemoveCacheFiles ; Installing over removes potentially corrupted |
107 | ; VFS and cache files. | 107 | ; VFS and cache files. |
108 | 108 | ||
109 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 109 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
110 | ;;; Need to clean out shader files from previous installs to fix DEV-5663 | 110 | ;;; Need to clean out shader files from previous installs to fix DEV-5663 |
111 | Call RemoveOldShaders | 111 | Call RemoveOldShaders |
112 | 112 | ||
113 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 113 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
114 | ;;; Need to clean out old XUI files that predate skinning | 114 | ;;; Need to clean out old XUI files that predate skinning |
115 | Call RemoveOldXUI | 115 | Call RemoveOldXUI |
116 | 116 | ||
117 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 117 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
118 | ;;; Clear out old releasenotes.txt files. These are now on the public wiki. | 118 | ;;; Clear out old releasenotes.txt files. These are now on the public wiki. |
119 | Call RemoveOldReleaseNotes | 119 | Call RemoveOldReleaseNotes |
120 | 120 | ||
121 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 121 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
122 | ;;; Files | 122 | ;;; Files |
123 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 123 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
124 | ;; This placeholder is replaced by the complete list of all the files in the installer, by viewer_manifest.py | 124 | ;; This placeholder is replaced by the complete list of all the files in the installer, by viewer_manifest.py |
125 | %%INSTALL_FILES%% | 125 | %%INSTALL_FILES%% |
126 | 126 | ||
127 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 127 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
128 | ; If this is a silent update, we don't need to re-create these shortcuts or registry entries. | 128 | ; If this is a silent update, we don't need to re-create these shortcuts or registry entries. |
129 | IfSilent POST_INSTALL | 129 | IfSilent POST_INSTALL |
130 | 130 | ||
131 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 131 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
132 | ; Shortcuts in start menu | 132 | ; Shortcuts in start menu |
133 | CreateDirectory "$SMPROGRAMS\$INSTSHORTCUT" | 133 | CreateDirectory "$SMPROGRAMS\$INSTSHORTCUT" |
134 | SetOutPath "$INSTDIR" | 134 | SetOutPath "$INSTDIR" |
135 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\$INSTSHORTCUT.lnk" \ | 135 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\$INSTSHORTCUT.lnk" \ |
136 | "$INSTDIR\$INSTEXE" "$INSTFLAGS" | 136 | "$INSTDIR\$INSTEXE" "$INSTFLAGS" |
137 | 137 | ||
138 | !ifdef MUSEUM | 138 | !ifdef MUSEUM |
139 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\$INSTSHORTCUT Museum.lnk" \ | 139 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\$INSTSHORTCUT Museum.lnk" \ |
140 | 140 | ||
141 | "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple" | 141 | "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple" |
142 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\$INSTSHORTCUT Museum Spanish.lnk" \ | 142 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\$INSTSHORTCUT Museum Spanish.lnk" \ |
143 | 143 | ||
144 | "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple -spanish" | 144 | "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple -spanish" |
145 | !endif | 145 | !endif |
146 | 146 | ||
147 | WriteINIStr "$SMPROGRAMS\$INSTSHORTCUT\SL Create Trial Account.url" \ | 147 | WriteINIStr "$SMPROGRAMS\$INSTSHORTCUT\SL Create Trial Account.url" \ |
148 | "InternetShortcut" "URL" \ | 148 | "InternetShortcut" "URL" \ |
149 | "http://www.secondlife.com/registration/" | 149 | "http://www.secondlife.com/registration/" |
150 | WriteINIStr "$SMPROGRAMS\$INSTSHORTCUT\SL Your Account.url" \ | 150 | WriteINIStr "$SMPROGRAMS\$INSTSHORTCUT\SL Your Account.url" \ |
151 | "InternetShortcut" "URL" \ | 151 | "InternetShortcut" "URL" \ |
152 | "http://www.secondlife.com/account/" | 152 | "http://www.secondlife.com/account/" |
153 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\SL Scripting Language Help.lnk" \ | 153 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\SL Scripting Language Help.lnk" \ |
154 | "$INSTDIR\lsl_guide.html" | 154 | "$INSTDIR\lsl_guide.html" |
155 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\Uninstall $INSTSHORTCUT.lnk" \ | 155 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\Uninstall $INSTSHORTCUT.lnk" \ |
156 | '"$INSTDIR\uninst.exe"' '/P="$INSTPROG"' | 156 | '"$INSTDIR\uninst.exe"' '/P="$INSTPROG"' |
157 | 157 | ||
158 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 158 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
159 | ; Other shortcuts | 159 | ; Other shortcuts |
160 | SetOutPath "$INSTDIR" | 160 | SetOutPath "$INSTDIR" |
161 | CreateShortCut "$DESKTOP\$INSTSHORTCUT.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS" | 161 | CreateShortCut "$DESKTOP\$INSTSHORTCUT.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS" |
162 | CreateShortCut "$INSTDIR\$INSTSHORTCUT.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS" | 162 | CreateShortCut "$INSTDIR\$INSTSHORTCUT.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS" |
163 | CreateShortCut "$INSTDIR\Uninstall $INSTSHORTCUT.lnk" \ | 163 | CreateShortCut "$INSTDIR\Uninstall $INSTSHORTCUT.lnk" \ |
164 | '"$INSTDIR\uninst.exe"' '/P="$INSTPROG"' | 164 | '"$INSTDIR\uninst.exe"' '/P="$INSTPROG"' |
165 | 165 | ||
166 | !ifdef MUSEUM | 166 | !ifdef MUSEUM |
167 | CreateShortCut "$DESKTOP\$INSTSHORTCUT Museum.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple" | 167 | CreateShortCut "$DESKTOP\$INSTSHORTCUT Museum.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple" |
168 | 168 | ||
169 | CreateShortCut "$DESKTOP\$INSTSHORTCUT Museum Spanish.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple -spanish" | 169 | CreateShortCut "$DESKTOP\$INSTSHORTCUT Museum Spanish.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple -spanish" |
170 | 170 | ||
171 | CreateShortCut "$INSTDIR\$INSTSHORTCUT Museum.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple" | 171 | CreateShortCut "$INSTDIR\$INSTSHORTCUT Museum.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple" |
172 | 172 | ||
173 | CreateShortCut "$INSTDIR\$INSTSHORTCUT Museum Spanish.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple -spanish" | 173 | CreateShortCut "$INSTDIR\$INSTSHORTCUT Museum Spanish.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple -spanish" |
174 | 174 | ||
175 | !endif | 175 | !endif |
176 | 176 | ||
177 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 177 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
178 | ; Write registry | 178 | ; Write registry |
179 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" "$INSTDIR" | 179 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" "$INSTDIR" |
180 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Version" "${VERSION_LONG}" | 180 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Version" "${VERSION_LONG}" |
181 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" "$INSTFLAGS" | 181 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" "$INSTFLAGS" |
182 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" "$INSTSHORTCUT" | 182 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" "$INSTSHORTCUT" |
183 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" "$INSTEXE" | 183 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" "$INSTEXE" |
184 | WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" "DisplayName" "$INSTPROG (remove only)" | 184 | WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" "DisplayName" "$INSTPROG (remove only)" |
185 | WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" "UninstallString" '"$INSTDIR\uninst.exe" /P="$INSTPROG"' | 185 | WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" "UninstallString" '"$INSTDIR\uninst.exe" /P="$INSTPROG"' |
186 | 186 | ||
187 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 187 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
188 | ; Write URL registry info | 188 | ; Write URL registry info |
189 | WriteRegStr HKEY_CLASSES_ROOT "${URLNAME}" "(default)" "URL:Second Life" | 189 | WriteRegStr HKEY_CLASSES_ROOT "${URLNAME}" "(default)" "URL:Second Life" |
190 | WriteRegStr HKEY_CLASSES_ROOT "${URLNAME}" "URL Protocol" "" | 190 | WriteRegStr HKEY_CLASSES_ROOT "${URLNAME}" "URL Protocol" "" |
191 | WriteRegStr HKEY_CLASSES_ROOT "${URLNAME}\DefaultIcon" "" '"$INSTDIR\$INSTEXE"' | 191 | WriteRegStr HKEY_CLASSES_ROOT "${URLNAME}\DefaultIcon" "" '"$INSTDIR\$INSTEXE"' |
192 | WriteRegExpandStr HKEY_CLASSES_ROOT "${URLNAME}\shell\open\command" "" '"$INSTDIR\$INSTEXE" $INSTFLAGS -url "%1"' | 192 | WriteRegExpandStr HKEY_CLASSES_ROOT "${URLNAME}\shell\open\command" "" '"$INSTDIR\$INSTEXE" $INSTFLAGS -url "%1"' |
193 | 193 | ||
194 | Goto WRITE_UNINST | 194 | Goto WRITE_UNINST |
195 | 195 | ||
196 | POST_INSTALL: | 196 | POST_INSTALL: |
197 | ; Run a post-executable script if necessary. | 197 | ; Run a post-executable script if necessary. |
198 | Call PostInstallExe | 198 | Call PostInstallExe |
199 | 199 | ||
200 | WRITE_UNINST: | 200 | WRITE_UNINST: |
201 | ; write out uninstaller | 201 | ; write out uninstaller |
202 | WriteUninstaller "$INSTDIR\uninst.exe" | 202 | WriteUninstaller "$INSTDIR\uninst.exe" |
203 | 203 | ||
204 | ; end of default section | 204 | ; end of default section |
205 | SectionEnd | 205 | SectionEnd |
206 | 206 | ||
207 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 207 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
208 | ; PostInstallExe | 208 | ; PostInstallExe |
209 | ; This just runs any post installation scripts. | 209 | ; This just runs any post installation scripts. |
210 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 210 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
211 | Function PostInstallExe | 211 | Function PostInstallExe |
212 | push $0 | 212 | push $0 |
213 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "PostInstallExe" | 213 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "PostInstallExe" |
214 | ;MessageBox MB_OK '$0' | 214 | ;MessageBox MB_OK '$0' |
215 | ExecWait '$0' | 215 | ExecWait '$0' |
216 | pop $0 | 216 | pop $0 |
217 | FunctionEnd | 217 | FunctionEnd |
218 | 218 | ||
219 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 219 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
220 | ; CheckStartupParameters | 220 | ; CheckStartupParameters |
221 | ; Sets INSTFLAGS, INSTPROG, and INSTEXE. | 221 | ; Sets INSTFLAGS, INSTPROG, and INSTEXE. |
222 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 222 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
223 | Function CheckStartupParams | 223 | Function CheckStartupParams |
224 | push $0 | 224 | push $0 |
225 | push $R0 | 225 | push $R0 |
226 | 226 | ||
227 | ; Look for a registry entry with info about where to update. | 227 | ; Look for a registry entry with info about where to update. |
228 | Call GetProgramName | 228 | Call GetProgramName |
229 | pop $R0 | 229 | pop $R0 |
230 | StrCpy $INSTPROG "$R0" | 230 | StrCpy $INSTPROG "$R0" |
231 | StrCpy $INSTEXE "$R0.exe" | 231 | StrCpy $INSTEXE "$R0.exe" |
232 | 232 | ||
233 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" | 233 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" |
234 | ; If key doesn't exist, skip install | 234 | ; If key doesn't exist, skip install |
235 | IfErrors ABORT | 235 | IfErrors ABORT |
236 | StrCpy $INSTDIR "$0" | 236 | StrCpy $INSTDIR "$0" |
237 | 237 | ||
238 | ; We now have a directory to install to. Get the startup parameters and shortcut as well. | 238 | ; We now have a directory to install to. Get the startup parameters and shortcut as well. |
239 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" | 239 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" |
240 | IfErrors +2 | 240 | IfErrors +2 |
241 | StrCpy $INSTFLAGS "$0" | 241 | StrCpy $INSTFLAGS "$0" |
242 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" | 242 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" |
243 | IfErrors +2 | 243 | IfErrors +2 |
244 | StrCpy $INSTSHORTCUT "$0" | 244 | StrCpy $INSTSHORTCUT "$0" |
245 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" | 245 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" |
246 | IfErrors +2 | 246 | IfErrors +2 |
247 | StrCpy $INSTEXE "$0" | 247 | StrCpy $INSTEXE "$0" |
248 | Goto FINISHED | 248 | Goto FINISHED |
249 | 249 | ||
250 | ABORT: | 250 | ABORT: |
251 | MessageBox MB_OK $(CheckStartupParamsMB) | 251 | MessageBox MB_OK $(CheckStartupParamsMB) |
252 | Quit | 252 | Quit |
253 | 253 | ||
254 | FINISHED: | 254 | FINISHED: |
255 | ;MessageBox MB_OK "INSTPROG: $INSTPROG, INSTEXE: $INSTEXE, INSTFLAGS: $INSTFLAGS" | 255 | ;MessageBox MB_OK "INSTPROG: $INSTPROG, INSTEXE: $INSTEXE, INSTFLAGS: $INSTFLAGS" |
256 | pop $R0 | 256 | pop $R0 |
257 | pop $0 | 257 | pop $0 |
258 | FunctionEnd | 258 | FunctionEnd |
259 | 259 | ||
260 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 260 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
261 | ;; | 261 | ;; |
262 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 262 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
263 | Function un.CheckStartupParams | 263 | Function un.CheckStartupParams |
264 | push $0 | 264 | push $0 |
265 | push $R0 | 265 | push $R0 |
266 | 266 | ||
267 | ; Look for a registry entry with info about where to update. | 267 | ; Look for a registry entry with info about where to update. |
268 | Call un.GetProgramName | 268 | Call un.GetProgramName |
269 | pop $R0 | 269 | pop $R0 |
270 | StrCpy $INSTPROG "$R0" | 270 | StrCpy $INSTPROG "$R0" |
271 | StrCpy $INSTEXE "$R0.exe" | 271 | StrCpy $INSTEXE "$R0.exe" |
272 | 272 | ||
273 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" | 273 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" |
274 | ; If key doesn't exist, skip install | 274 | ; If key doesn't exist, skip install |
275 | IfErrors ABORT | 275 | IfErrors ABORT |
276 | StrCpy $INSTDIR "$0" | 276 | StrCpy $INSTDIR "$0" |
277 | 277 | ||
278 | ; We now have a directory to install to. Get the startup parameters and shortcut as well. | 278 | ; We now have a directory to install to. Get the startup parameters and shortcut as well. |
279 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" | 279 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" |
280 | IfErrors +2 | 280 | IfErrors +2 |
281 | StrCpy $INSTFLAGS "$0" | 281 | StrCpy $INSTFLAGS "$0" |
282 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" | 282 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" |
283 | IfErrors +2 | 283 | IfErrors +2 |
284 | StrCpy $INSTSHORTCUT "$0" | 284 | StrCpy $INSTSHORTCUT "$0" |
285 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" | 285 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" |
286 | IfErrors +2 | 286 | IfErrors +2 |
287 | StrCpy $INSTEXE "$0" | 287 | StrCpy $INSTEXE "$0" |
288 | Goto FINISHED | 288 | Goto FINISHED |
289 | 289 | ||
290 | ABORT: | 290 | ABORT: |
291 | MessageBox MB_OK $(CheckStartupParamsMB) | 291 | MessageBox MB_OK $(CheckStartupParamsMB) |
292 | Quit | 292 | Quit |
293 | 293 | ||
294 | FINISHED: | 294 | FINISHED: |
295 | ;MessageBox MB_OK "INSTPROG: $INSTPROG, INSTEXE: $INSTEXE, INSTFLAGS: $INSTFLAGS" | 295 | ;MessageBox MB_OK "INSTPROG: $INSTPROG, INSTEXE: $INSTEXE, INSTFLAGS: $INSTFLAGS" |
296 | pop $R0 | 296 | pop $R0 |
297 | pop $0 | 297 | pop $0 |
298 | FunctionEnd | 298 | FunctionEnd |
299 | 299 | ||
300 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 300 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
301 | ;;; After install completes, offer readme file | 301 | ;;; After install completes, offer readme file |
302 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 302 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
303 | Function .onInstSuccess | 303 | Function .onInstSuccess |
304 | MessageBox MB_YESNO \ | 304 | MessageBox MB_YESNO \ |
305 | $(InstSuccesssQuestion) /SD IDYES IDNO NoReadme | 305 | $(InstSuccesssQuestion) /SD IDYES IDNO NoReadme |
306 | ; Assumes SetOutPath $INSTDIR | 306 | ; Assumes SetOutPath $INSTDIR |
307 | Exec '"$INSTDIR\$INSTEXE" $INSTFLAGS' | 307 | Exec '"$INSTDIR\$INSTEXE" $INSTFLAGS' |
308 | NoReadme: | 308 | NoReadme: |
309 | FunctionEnd | 309 | FunctionEnd |
310 | 310 | ||
311 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 311 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
312 | ; Remove old NSIS version. Modifies no variables. | 312 | ; Remove old NSIS version. Modifies no variables. |
313 | ; Does NOT delete the LindenWorld directory, or any | 313 | ; Does NOT delete the LindenWorld directory, or any |
314 | ; user files in that directory. | 314 | ; user files in that directory. |
315 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 315 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
316 | Function RemoveNSIS | 316 | Function RemoveNSIS |
317 | Push $0 | 317 | Push $0 |
318 | ; Grab the installation directory of the old version | 318 | ; Grab the installation directory of the old version |
319 | DetailPrint $(RemoveOldNSISVersion) | 319 | DetailPrint $(RemoveOldNSISVersion) |
320 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" | 320 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" |
321 | 321 | ||
322 | ; If key doesn't exist, skip uninstall | 322 | ; If key doesn't exist, skip uninstall |
323 | IfErrors NO_NSIS | 323 | IfErrors NO_NSIS |
324 | 324 | ||
325 | ; Clean up legacy beta shortcuts | 325 | ; Clean up legacy beta shortcuts |
326 | Delete "$SMPROGRAMS\Second Life Beta.lnk" | 326 | Delete "$SMPROGRAMS\Second Life Beta.lnk" |
327 | Delete "$DESKTOP\Second Life Beta.lnk" | 327 | Delete "$DESKTOP\Second Life Beta.lnk" |
328 | Delete "$SMPROGRAMS\Second Life.lnk" | 328 | Delete "$SMPROGRAMS\Second Life.lnk" |
329 | 329 | ||
330 | ; Clean up old newview.exe file | 330 | ; Clean up old newview.exe file |
331 | Delete "$INSTDIR\newview.exe" | 331 | Delete "$INSTDIR\newview.exe" |
332 | 332 | ||
333 | ; Intentionally don't delete the stuff in | 333 | ; Intentionally don't delete the stuff in |
334 | ; Documents and Settings, so we keep the user's settings | 334 | ; Documents and Settings, so we keep the user's settings |
335 | 335 | ||
336 | NO_NSIS: | 336 | NO_NSIS: |
337 | Pop $0 | 337 | Pop $0 |
338 | FunctionEnd | 338 | FunctionEnd |
339 | 339 | ||
340 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 340 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
341 | ; Make sure we're not on Windows 98 / ME | 341 | ; Make sure we're not on Windows 98 / ME |
342 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 342 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
343 | Function CheckWindowsVersion | 343 | Function CheckWindowsVersion |
344 | DetailPrint "Checking Windows version..." | 344 | DetailPrint "Checking Windows version..." |
345 | Call GetWindowsVersion | 345 | Call GetWindowsVersion |
346 | Pop $R0 | 346 | Pop $R0 |
347 | ; Just get first two characters, ignore 4.0 part of "NT 4.0" | 347 | ; Just get first two characters, ignore 4.0 part of "NT 4.0" |
348 | StrCpy $R0 $R0 2 | 348 | StrCpy $R0 $R0 2 |
349 | ; Blacklist certain OS versions | 349 | ; Blacklist certain OS versions |
350 | StrCmp $R0 "95" win_ver_bad | 350 | StrCmp $R0 "95" win_ver_bad |
351 | StrCmp $R0 "98" win_ver_bad | 351 | StrCmp $R0 "98" win_ver_bad |
352 | StrCmp $R0 "ME" win_ver_bad | 352 | StrCmp $R0 "ME" win_ver_bad |
353 | StrCmp $R0 "NT" win_ver_bad | 353 | StrCmp $R0 "NT" win_ver_bad |
354 | Return | 354 | Return |
355 | win_ver_bad: | 355 | win_ver_bad: |
356 | MessageBox MB_YESNO $(CheckWindowsVersionMB) IDNO win_ver_abort | 356 | MessageBox MB_YESNO $(CheckWindowsVersionMB) IDNO win_ver_abort |
357 | Return | 357 | Return |
358 | win_ver_abort: | 358 | win_ver_abort: |
359 | Quit | 359 | Quit |
360 | FunctionEnd | 360 | FunctionEnd |
361 | 361 | ||
362 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 362 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
363 | ; Make sure the user can install/uninstall | 363 | ; Make sure the user can install/uninstall |
364 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 364 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
365 | Function CheckIfAdministrator | 365 | Function CheckIfAdministrator |
366 | DetailPrint $(CheckAdministratorInstDP) | 366 | DetailPrint $(CheckAdministratorInstDP) |
367 | UserInfo::GetAccountType | 367 | UserInfo::GetAccountType |
368 | Pop $R0 | 368 | Pop $R0 |
369 | StrCmp $R0 "Admin" is_admin | 369 | StrCmp $R0 "Admin" is_admin |
370 | MessageBox MB_OK $(CheckAdministratorInstMB) | 370 | MessageBox MB_OK $(CheckAdministratorInstMB) |
371 | Quit | 371 | Quit |
372 | is_admin: | 372 | is_admin: |
373 | Return | 373 | Return |
374 | FunctionEnd | 374 | FunctionEnd |
375 | 375 | ||
376 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 376 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
377 | ;; | 377 | ;; |
378 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 378 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
379 | Function un.CheckIfAdministrator | 379 | Function un.CheckIfAdministrator |
380 | DetailPrint $(CheckAdministratorUnInstDP) | 380 | DetailPrint $(CheckAdministratorUnInstDP) |
381 | UserInfo::GetAccountType | 381 | UserInfo::GetAccountType |
382 | Pop $R0 | 382 | Pop $R0 |
383 | StrCmp $R0 "Admin" is_admin | 383 | StrCmp $R0 "Admin" is_admin |
384 | MessageBox MB_OK $(CheckAdministratorUnInstMB) | 384 | MessageBox MB_OK $(CheckAdministratorUnInstMB) |
385 | Quit | 385 | Quit |
386 | is_admin: | 386 | is_admin: |
387 | Return | 387 | Return |
388 | FunctionEnd | 388 | FunctionEnd |
389 | 389 | ||
390 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 390 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
391 | ; Checks to see if the current version has already been installed (according to the registry). | 391 | ; Checks to see if the current version has already been installed (according to the registry). |
392 | ; If it has, allow user to bail out of install process. | 392 | ; If it has, allow user to bail out of install process. |
393 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 393 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
394 | Function CheckIfAlreadyCurrent | 394 | Function CheckIfAlreadyCurrent |
395 | Push $0 | 395 | Push $0 |
396 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Version" | 396 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Version" |
397 | StrCmp $0 ${VERSION_LONG} 0 DONE | 397 | StrCmp $0 ${VERSION_LONG} 0 DONE |
398 | MessageBox MB_OKCANCEL $(CheckIfCurrentMB) /SD IDOK IDOK DONE | 398 | MessageBox MB_OKCANCEL $(CheckIfCurrentMB) /SD IDOK IDOK DONE |
399 | Quit | 399 | Quit |
400 | 400 | ||
401 | DONE: | 401 | DONE: |
402 | Pop $0 | 402 | Pop $0 |
403 | Return | 403 | Return |
404 | FunctionEnd | 404 | FunctionEnd |
405 | 405 | ||
406 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 406 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
407 | ; Close the program, if running. Modifies no variables. | 407 | ; Close the program, if running. Modifies no variables. |
408 | ; Allows user to bail out of install process. | 408 | ; Allows user to bail out of install process. |
409 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 409 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
410 | Function CloseSecondLife | 410 | Function CloseSecondLife |
411 | Push $0 | 411 | Push $0 |
412 | FindWindow $0 "Second Life" "" | 412 | FindWindow $0 "Imprudence" "" |
413 | IntCmp $0 0 DONE | 413 | IntCmp $0 0 DONE |
414 | MessageBox MB_OKCANCEL $(CloseSecondLifeInstMB) IDOK CLOSE IDCANCEL CANCEL_INSTALL | 414 | MessageBox MB_OKCANCEL $(CloseSecondLifeInstMB) IDOK CLOSE IDCANCEL CANCEL_INSTALL |
415 | 415 | ||
416 | CANCEL_INSTALL: | 416 | CANCEL_INSTALL: |
417 | Quit | 417 | Quit |
418 | 418 | ||
419 | CLOSE: | 419 | CLOSE: |
420 | DetailPrint $(CloseSecondLifeInstDP) | 420 | DetailPrint $(CloseSecondLifeInstDP) |
421 | SendMessage $0 16 0 0 | 421 | SendMessage $0 16 0 0 |
422 | 422 | ||
423 | LOOP: | 423 | LOOP: |
424 | FindWindow $0 "Second Life" "" | 424 | FindWindow $0 "Imprudence" "" |
425 | IntCmp $0 0 DONE | 425 | IntCmp $0 0 DONE |
426 | Sleep 500 | 426 | Sleep 500 |
427 | Goto LOOP | 427 | Goto LOOP |
428 | 428 | ||
429 | DONE: | 429 | DONE: |
430 | Pop $0 | 430 | Pop $0 |
431 | Return | 431 | Return |
432 | FunctionEnd | 432 | FunctionEnd |
433 | 433 | ||
434 | 434 | ||
435 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 435 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
436 | ; Delete files in Documents and Settings\<user>\SecondLife\cache | 436 | ; Delete files in Documents and Settings\<user>\SecondLife\cache |
437 | ; Delete files in Documents and Settings\All Users\SecondLife\cache | 437 | ; Delete files in Documents and Settings\All Users\SecondLife\cache |
438 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 438 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
439 | ;Function RemoveCacheFiles | 439 | ;Function RemoveCacheFiles |
440 | ; | 440 | ; |
441 | ;; Delete files in Documents and Settings\<user>\SecondLife | 441 | ;; Delete files in Documents and Settings\<user>\SecondLife |
442 | ;Push $0 | 442 | ;Push $0 |
443 | ;Push $1 | 443 | ;Push $1 |
444 | ;Push $2 | 444 | ;Push $2 |
445 | ; DetailPrint $(RemoveCacheFilesDP) | 445 | ; DetailPrint $(RemoveCacheFilesDP) |
446 | ; | 446 | ; |
447 | ; StrCpy $0 0 ; Index number used to iterate via EnumRegKey | 447 | ; StrCpy $0 0 ; Index number used to iterate via EnumRegKey |
448 | ; | 448 | ; |
449 | ; LOOP: | 449 | ; LOOP: |
450 | ; EnumRegKey $1 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" $0 | 450 | ; EnumRegKey $1 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" $0 |
451 | ; StrCmp $1 "" DONE ; no more users | 451 | ; StrCmp $1 "" DONE ; no more users |
452 | ; | 452 | ; |
453 | ; ReadRegStr $2 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\$1" "ProfileImagePath" | 453 | ; ReadRegStr $2 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\$1" "ProfileImagePath" |
454 | ; StrCmp $2 "" CONTINUE 0 ; "ProfileImagePath" value is missing | 454 | ; StrCmp $2 "" CONTINUE 0 ; "ProfileImagePath" value is missing |
455 | ; | 455 | ; |
456 | ; ; Required since ProfileImagePath is of type REG_EXPAND_SZ | 456 | ; ; Required since ProfileImagePath is of type REG_EXPAND_SZ |
457 | ; ExpandEnvStrings $2 $2 | 457 | ; ExpandEnvStrings $2 $2 |
458 | ; | 458 | ; |
459 | ; ; When explicitly uninstalling, everything goes away | 459 | ; ; When explicitly uninstalling, everything goes away |
460 | ; RMDir /r "$2\Application Data\SecondLife\cache" | 460 | ; RMDir /r "$2\Application Data\SecondLife\cache" |
461 | ; | 461 | ; |
462 | ; CONTINUE: | 462 | ; CONTINUE: |
463 | ; IntOp $0 $0 + 1 | 463 | ; IntOp $0 $0 + 1 |
464 | ; Goto LOOP | 464 | ; Goto LOOP |
465 | ; DONE: | 465 | ; DONE: |
466 | ;Pop $2 | 466 | ;Pop $2 |
467 | ;Pop $1 | 467 | ;Pop $1 |
468 | ;Pop $0 | 468 | ;Pop $0 |
469 | ; | 469 | ; |
470 | ;; Delete files in Documents and Settings\All Users\SecondLife | 470 | ;; Delete files in Documents and Settings\All Users\SecondLife |
471 | ;Push $0 | 471 | ;Push $0 |
472 | ; ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" "Common AppData" | 472 | ; ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" "Common AppData" |
473 | ; StrCmp $0 "" +2 | 473 | ; StrCmp $0 "" +2 |
474 | ; RMDir /r "$0\SecondLife\cache" | 474 | ; RMDir /r "$0\SecondLife\cache" |
475 | ;Pop $0 | 475 | ;Pop $0 |
476 | ; | 476 | ; |
477 | ;; Delete filse in C:\Windows\Application Data\SecondLife | 477 | ;; Delete filse in C:\Windows\Application Data\SecondLife |
478 | ;; If the user is running on a pre-NT system, Application Data lives here instead of | 478 | ;; If the user is running on a pre-NT system, Application Data lives here instead of |
479 | ;; in Documents and Settings. | 479 | ;; in Documents and Settings. |
480 | ;RMDir /r "$WINDIR\Application Data\SecondLife\cache" | 480 | ;RMDir /r "$WINDIR\Application Data\SecondLife\cache" |
481 | ; | 481 | ; |
482 | ;FunctionEnd | 482 | ;FunctionEnd |
483 | 483 | ||
484 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 484 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
485 | ;;; Delete the installed shader files | 485 | ;;; Delete the installed shader files |
486 | ;;; Since shaders are in active development, we'll likely need to shuffle them | 486 | ;;; Since shaders are in active development, we'll likely need to shuffle them |
487 | ;;; around a bit from build to build. This ensures that shaders that we move | 487 | ;;; around a bit from build to build. This ensures that shaders that we move |
488 | ;;; or rename in the dev tree don't get left behind in the install. | 488 | ;;; or rename in the dev tree don't get left behind in the install. |
489 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 489 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
490 | Function RemoveOldShaders | 490 | Function RemoveOldShaders |
491 | 491 | ||
492 | ;; Remove old shader files first so fallbacks will work. see DEV-5663 | 492 | ;; Remove old shader files first so fallbacks will work. see DEV-5663 |
493 | RMDir /r "$INSTDIR\app_settings\shaders\*" | 493 | RMDir /r "$INSTDIR\app_settings\shaders\*" |
494 | 494 | ||
495 | FunctionEnd | 495 | FunctionEnd |
496 | 496 | ||
497 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 497 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
498 | ;;; Delete the installed XUI files | 498 | ;;; Delete the installed XUI files |
499 | ;;; We've changed the directory hierarchy for skins, putting all XUI and texture | 499 | ;;; We've changed the directory hierarchy for skins, putting all XUI and texture |
500 | ;;; files under a specific skin directory, i.e. skins/default/xui/en-us as opposed | 500 | ;;; files under a specific skin directory, i.e. skins/default/xui/en-us as opposed |
501 | ;;; to skins/xui/en-us. Need to clean up the old path when upgrading | 501 | ;;; to skins/xui/en-us. Need to clean up the old path when upgrading |
502 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 502 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
503 | Function RemoveOldXUI | 503 | Function RemoveOldXUI |
504 | 504 | ||
505 | ;; remove old XUI and texture files | 505 | ;; remove old XUI and texture files |
506 | RmDir /r "$INSTDIR\skins\html" | 506 | RmDir /r "$INSTDIR\skins\html" |
507 | RmDir /r "$INSTDIR\skins\xui" | 507 | RmDir /r "$INSTDIR\skins\xui" |
508 | RmDir /r "$INSTDIR\skins\textures" | 508 | RmDir /r "$INSTDIR\skins\textures" |
509 | Delete "$INSTDIR\skins\*.txt" | 509 | Delete "$INSTDIR\skins\*.txt" |
510 | 510 | ||
511 | FunctionEnd | 511 | FunctionEnd |
512 | 512 | ||
513 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 513 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
514 | ;;; Remove any releasenotes files. | 514 | ;;; Remove any releasenotes files. |
515 | ;;; We are no longer including release notes with the viewer. This will delete | 515 | ;;; We are no longer including release notes with the viewer. This will delete |
516 | ;;; any that were left behind by an older installer. Delete will not fail if | 516 | ;;; any that were left behind by an older installer. Delete will not fail if |
517 | ;;; the files do not exist | 517 | ;;; the files do not exist |
518 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 518 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
519 | Function RemoveOldReleaseNotes | 519 | Function RemoveOldReleaseNotes |
520 | 520 | ||
521 | ;; remove releasenotes.txt file from application directory, and the shortcut | 521 | ;; remove releasenotes.txt file from application directory, and the shortcut |
522 | ;; from the start menu. | 522 | ;; from the start menu. |
523 | Delete "$SMPROGRAMS\$INSTSHORTCUT\SL Release Notes.lnk" | 523 | Delete "$SMPROGRAMS\$INSTSHORTCUT\SL Release Notes.lnk" |
524 | Delete "$INSTDIR\releasenotes.txt" | 524 | Delete "$INSTDIR\releasenotes.txt" |
525 | 525 | ||
526 | FunctionEnd | 526 | FunctionEnd |
527 | 527 | ||
528 | 528 | ||
529 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 529 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
530 | ; Delete files in Documents and Settings\<user>\SecondLife | 530 | ; Delete files in Documents and Settings\<user>\SecondLife |
531 | ; Delete files in Documents and Settings\All Users\SecondLife | 531 | ; Delete files in Documents and Settings\All Users\SecondLife |
532 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 532 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
533 | Function un.DocumentsAndSettingsFolder | 533 | Function un.DocumentsAndSettingsFolder |
534 | 534 | ||
535 | ; Delete files in Documents and Settings\<user>\SecondLife | 535 | ; Delete files in Documents and Settings\<user>\SecondLife |
536 | Push $0 | 536 | Push $0 |
537 | Push $1 | 537 | Push $1 |
538 | Push $2 | 538 | Push $2 |
539 | 539 | ||
540 | DetailPrint "Deleting files in Documents and Settings folder" | 540 | DetailPrint "Deleting files in Documents and Settings folder" |
541 | 541 | ||
542 | StrCpy $0 0 ; Index number used to iterate via EnumRegKey | 542 | StrCpy $0 0 ; Index number used to iterate via EnumRegKey |
543 | 543 | ||
544 | LOOP: | 544 | LOOP: |
545 | EnumRegKey $1 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" $0 | 545 | EnumRegKey $1 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" $0 |
546 | StrCmp $1 "" DONE ; no more users | 546 | StrCmp $1 "" DONE ; no more users |
547 | 547 | ||
548 | ReadRegStr $2 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\$1" "ProfileImagePath" | 548 | ReadRegStr $2 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\$1" "ProfileImagePath" |
549 | StrCmp $2 "" CONTINUE 0 ; "ProfileImagePath" value is missing | 549 | StrCmp $2 "" CONTINUE 0 ; "ProfileImagePath" value is missing |
550 | 550 | ||
551 | ; Required since ProfileImagePath is of type REG_EXPAND_SZ | 551 | ; Required since ProfileImagePath is of type REG_EXPAND_SZ |
552 | ExpandEnvStrings $2 $2 | 552 | ExpandEnvStrings $2 $2 |
553 | 553 | ||
554 | ; If uninstalling a normal install remove everything | 554 | ; If uninstalling a normal install remove everything |
555 | ; Otherwise (preview/dmz etc) just remove cache | 555 | ; Otherwise (preview/dmz etc) just remove cache |
556 | StrCmp $INSTFLAGS "" RM_ALL RM_CACHE | 556 | StrCmp $INSTFLAGS "" RM_ALL RM_CACHE |
557 | RM_ALL: | 557 | RM_ALL: |
558 | RMDir /r "$2\Application Data\SecondLife" | 558 | RMDir /r "$2\Application Data\SecondLife" |
559 | GoTo CONTINUE | 559 | GoTo CONTINUE |
560 | RM_CACHE: | 560 | RM_CACHE: |
561 | RMDir /r "$2\Application Data\SecondLife\Cache" | 561 | RMDir /r "$2\Application Data\SecondLife\Cache" |
562 | Delete "$2\Application Data\SecondLife\user_settings\settings_windlight.xml" | 562 | Delete "$2\Application Data\SecondLife\user_settings\settings_windlight.xml" |
563 | 563 | ||
564 | CONTINUE: | 564 | CONTINUE: |
565 | IntOp $0 $0 + 1 | 565 | IntOp $0 $0 + 1 |
566 | Goto LOOP | 566 | Goto LOOP |
567 | DONE: | 567 | DONE: |
568 | 568 | ||
569 | Pop $2 | 569 | Pop $2 |
570 | Pop $1 | 570 | Pop $1 |
571 | Pop $0 | 571 | Pop $0 |
572 | 572 | ||
573 | ; Delete files in Documents and Settings\All Users\SecondLife | 573 | ; Delete files in Documents and Settings\All Users\SecondLife |
574 | Push $0 | 574 | Push $0 |
575 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" "Common AppData" | 575 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" "Common AppData" |
576 | StrCmp $0 "" +2 | 576 | StrCmp $0 "" +2 |
577 | RMDir /r "$0\SecondLife" | 577 | RMDir /r "$0\SecondLife" |
578 | Pop $0 | 578 | Pop $0 |
579 | 579 | ||
580 | ; Delete filse in C:\Windows\Application Data\SecondLife | 580 | ; Delete filse in C:\Windows\Application Data\SecondLife |
581 | ; If the user is running on a pre-NT system, Application Data lives here instead of | 581 | ; If the user is running on a pre-NT system, Application Data lives here instead of |
582 | ; in Documents and Settings. | 582 | ; in Documents and Settings. |
583 | RMDir /r "$WINDIR\Application Data\SecondLife" | 583 | RMDir /r "$WINDIR\Application Data\SecondLife" |
584 | 584 | ||
585 | FunctionEnd | 585 | FunctionEnd |
586 | 586 | ||
587 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 587 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
588 | ; Close the program, if running. Modifies no variables. | 588 | ; Close the program, if running. Modifies no variables. |
589 | ; Allows user to bail out of uninstall process. | 589 | ; Allows user to bail out of uninstall process. |
590 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 590 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
591 | Function un.CloseSecondLife | 591 | Function un.CloseSecondLife |
592 | Push $0 | 592 | Push $0 |
593 | FindWindow $0 "Second Life" "" | 593 | FindWindow $0 "Imprudence" "" |
594 | IntCmp $0 0 DONE | 594 | IntCmp $0 0 DONE |
595 | MessageBox MB_OKCANCEL $(CloseSecondLifeUnInstMB) IDOK CLOSE IDCANCEL CANCEL_UNINSTALL | 595 | MessageBox MB_OKCANCEL $(CloseSecondLifeUnInstMB) IDOK CLOSE IDCANCEL CANCEL_UNINSTALL |
596 | 596 | ||
597 | CANCEL_UNINSTALL: | 597 | CANCEL_UNINSTALL: |
598 | Quit | 598 | Quit |
599 | 599 | ||
600 | CLOSE: | 600 | CLOSE: |
601 | DetailPrint $(CloseSecondLifeUnInstDP) | 601 | DetailPrint $(CloseSecondLifeUnInstDP) |
602 | SendMessage $0 16 0 0 | 602 | SendMessage $0 16 0 0 |
603 | 603 | ||
604 | LOOP: | 604 | LOOP: |
605 | FindWindow $0 "Second Life" "" | 605 | FindWindow $0 "Imprudence" "" |
606 | IntCmp $0 0 DONE | 606 | IntCmp $0 0 DONE |
607 | Sleep 500 | 607 | Sleep 500 |
608 | Goto LOOP | 608 | Goto LOOP |
609 | 609 | ||
610 | DONE: | 610 | DONE: |
611 | Pop $0 | 611 | Pop $0 |
612 | Return | 612 | Return |
613 | FunctionEnd | 613 | FunctionEnd |
614 | 614 | ||
615 | 615 | ||
616 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 616 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
617 | ; | 617 | ; |
618 | ; Delete the stored password for the current Windows user | 618 | ; Delete the stored password for the current Windows user |
619 | ; DEV-10821 -- Unauthorised user can gain access to an SL account after a real user has uninstalled | 619 | ; DEV-10821 -- Unauthorised user can gain access to an SL account after a real user has uninstalled |
620 | ; | 620 | ; |
621 | Function un.RemovePassword | 621 | Function un.RemovePassword |
622 | 622 | ||
623 | DetailPrint "Removing Second Life password" | 623 | DetailPrint "Removing Second Life password" |
624 | 624 | ||
625 | SetShellVarContext current | 625 | SetShellVarContext current |
626 | Delete "$APPDATA\SecondLife\user_settings\password.dat" | 626 | Delete "$APPDATA\SecondLife\user_settings\password.dat" |
627 | SetShellVarContext all | 627 | SetShellVarContext all |
628 | 628 | ||
629 | FunctionEnd | 629 | FunctionEnd |
630 | 630 | ||
631 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 631 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
632 | ;;; Delete the installed files | 632 | ;;; Delete the installed files |
633 | ;;; This deletes the uninstall executable, but it works | 633 | ;;; This deletes the uninstall executable, but it works |
634 | ;;; because it is copied to temp directory before running | 634 | ;;; because it is copied to temp directory before running |
635 | ;;; | 635 | ;;; |
636 | ;;; Note: You must list all files here, because we only | 636 | ;;; Note: You must list all files here, because we only |
637 | ;;; want to delete our files, not things users left in the | 637 | ;;; want to delete our files, not things users left in the |
638 | ;;; application directories. | 638 | ;;; application directories. |
639 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 639 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
640 | Function un.ProgramFiles | 640 | Function un.ProgramFiles |
641 | 641 | ||
642 | ;; Remove mozilla file first so recursive directory deletion doesn't get hung up | 642 | ;; Remove mozilla file first so recursive directory deletion doesn't get hung up |
643 | Delete "$INSTDIR\app_settings\mozilla\components" | 643 | Delete "$INSTDIR\app_settings\mozilla\components" |
644 | 644 | ||
645 | ;; This placeholder is replaced by the complete list of files to uninstall by viewer_manifest.py | 645 | ;; This placeholder is replaced by the complete list of files to uninstall by viewer_manifest.py |
646 | %%DELETE_FILES%% | 646 | %%DELETE_FILES%% |
647 | 647 | ||
648 | ;; Optional/obsolete files. Delete won't fail if they don't exist. | 648 | ;; Optional/obsolete files. Delete won't fail if they don't exist. |
649 | Delete "$INSTDIR\dronesettings.ini" | 649 | Delete "$INSTDIR\dronesettings.ini" |
650 | Delete "$INSTDIR\message_template.msg" | 650 | Delete "$INSTDIR\message_template.msg" |
651 | Delete "$INSTDIR\newview.pdb" | 651 | Delete "$INSTDIR\newview.pdb" |
652 | Delete "$INSTDIR\newview.map" | 652 | Delete "$INSTDIR\newview.map" |
653 | Delete "$INSTDIR\SecondLife.pdb" | 653 | Delete "$INSTDIR\SecondLife.pdb" |
654 | Delete "$INSTDIR\SecondLife.map" | 654 | Delete "$INSTDIR\SecondLife.map" |
655 | Delete "$INSTDIR\comm.dat" | 655 | Delete "$INSTDIR\comm.dat" |
656 | Delete "$INSTDIR\*.glsl" | 656 | Delete "$INSTDIR\*.glsl" |
657 | Delete "$INSTDIR\motions\*.lla" | 657 | Delete "$INSTDIR\motions\*.lla" |
658 | Delete "$INSTDIR\trial\*.html" | 658 | Delete "$INSTDIR\trial\*.html" |
659 | Delete "$INSTDIR\newview.exe" | 659 | Delete "$INSTDIR\newview.exe" |
660 | ;; Remove entire help directory | 660 | ;; Remove entire help directory |
661 | Delete "$INSTDIR\help\Advanced\*" | 661 | Delete "$INSTDIR\help\Advanced\*" |
662 | RMDir "$INSTDIR\help\Advanced" | 662 | RMDir "$INSTDIR\help\Advanced" |
663 | Delete "$INSTDIR\help\basics\*" | 663 | Delete "$INSTDIR\help\basics\*" |
664 | RMDir "$INSTDIR\help\basics" | 664 | RMDir "$INSTDIR\help\basics" |
665 | Delete "$INSTDIR\help\Concepts\*" | 665 | Delete "$INSTDIR\help\Concepts\*" |
666 | RMDir "$INSTDIR\help\Concepts" | 666 | RMDir "$INSTDIR\help\Concepts" |
667 | Delete "$INSTDIR\help\welcome\*" | 667 | Delete "$INSTDIR\help\welcome\*" |
668 | RMDir "$INSTDIR\help\welcome" | 668 | RMDir "$INSTDIR\help\welcome" |
669 | Delete "$INSTDIR\help\*" | 669 | Delete "$INSTDIR\help\*" |
670 | RMDir "$INSTDIR\help" | 670 | RMDir "$INSTDIR\help" |
671 | 671 | ||
672 | Delete "$INSTDIR\uninst.exe" | 672 | Delete "$INSTDIR\uninst.exe" |
673 | RMDir "$INSTDIR" | 673 | RMDir "$INSTDIR" |
674 | 674 | ||
675 | IfFileExists "$INSTDIR" FOLDERFOUND NOFOLDER | 675 | IfFileExists "$INSTDIR" FOLDERFOUND NOFOLDER |
676 | 676 | ||
677 | FOLDERFOUND: | 677 | FOLDERFOUND: |
678 | MessageBox MB_YESNO $(DeleteProgramFilesMB) IDNO NOFOLDER | 678 | MessageBox MB_YESNO $(DeleteProgramFilesMB) IDNO NOFOLDER |
679 | RMDir /r "$INSTDIR" | 679 | RMDir /r "$INSTDIR" |
680 | 680 | ||
681 | NOFOLDER: | 681 | NOFOLDER: |
682 | 682 | ||
683 | FunctionEnd | 683 | FunctionEnd |
684 | 684 | ||
685 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 685 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
686 | ;;; Uninstall settings | 686 | ;;; Uninstall settings |
687 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 687 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
688 | UninstallText $(UninstallTextMsg) | 688 | UninstallText $(UninstallTextMsg) |
689 | ShowUninstDetails show | 689 | ShowUninstDetails show |
690 | 690 | ||
691 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 691 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
692 | ;;; Uninstall section | 692 | ;;; Uninstall section |
693 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 693 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
694 | Section Uninstall | 694 | Section Uninstall |
695 | 695 | ||
696 | ; Start with some default values. | 696 | ; Start with some default values. |
697 | StrCpy $INSTFLAGS "" | 697 | StrCpy $INSTFLAGS "" |
698 | StrCpy $INSTPROG "${INSTNAME}" | 698 | StrCpy $INSTPROG "${INSTNAME}" |
699 | StrCpy $INSTEXE "${INSTEXE}" | 699 | StrCpy $INSTEXE "${INSTEXE}" |
700 | StrCpy $INSTSHORTCUT "${SHORTCUT}" | 700 | StrCpy $INSTSHORTCUT "${SHORTCUT}" |
701 | Call un.CheckStartupParams ; Figure out where, what and how to uninstall. | 701 | Call un.CheckStartupParams ; Figure out where, what and how to uninstall. |
702 | Call un.CheckIfAdministrator ; Make sure the user can install/uninstall | 702 | Call un.CheckIfAdministrator ; Make sure the user can install/uninstall |
703 | 703 | ||
704 | ; uninstall for all users (if you change this, change it in the install as well) | 704 | ; uninstall for all users (if you change this, change it in the install as well) |
705 | SetShellVarContext all | 705 | SetShellVarContext all |
706 | 706 | ||
707 | ; Make sure we're not running | 707 | ; Make sure we're not running |
708 | Call un.CloseSecondLife | 708 | Call un.CloseSecondLife |
709 | 709 | ||
710 | ; Clean up registry keys (these should all be !defines somewhere) | 710 | ; Clean up registry keys (these should all be !defines somewhere) |
711 | DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" | 711 | DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" |
712 | DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" | 712 | DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" |
713 | DeleteRegKey HKEY_LOCAL_MACHINE "Software\Linden Research, Inc.\Installer Language" | 713 | DeleteRegKey HKEY_LOCAL_MACHINE "Software\Linden Research, Inc.\Installer Language" |
714 | 714 | ||
715 | ; Clean up shortcuts | 715 | ; Clean up shortcuts |
716 | Delete "$SMPROGRAMS\$INSTSHORTCUT\*.*" | 716 | Delete "$SMPROGRAMS\$INSTSHORTCUT\*.*" |
717 | RMDir "$SMPROGRAMS\$INSTSHORTCUT" | 717 | RMDir "$SMPROGRAMS\$INSTSHORTCUT" |
718 | 718 | ||
719 | Delete "$DESKTOP\$INSTSHORTCUT.lnk" | 719 | Delete "$DESKTOP\$INSTSHORTCUT.lnk" |
720 | Delete "$INSTDIR\$INSTSHORTCUT.lnk" | 720 | Delete "$INSTDIR\$INSTSHORTCUT.lnk" |
721 | Delete "$INSTDIR\Uninstall $INSTSHORTCUT.lnk" | 721 | Delete "$INSTDIR\Uninstall $INSTSHORTCUT.lnk" |
722 | 722 | ||
723 | ; Clean up cache and log files. | 723 | ; Clean up cache and log files. |
724 | ; Leave them in-place for non AGNI installs. | 724 | ; Leave them in-place for non AGNI installs. |
725 | 725 | ||
726 | !ifdef UNINSTALL_SETTINGS | 726 | !ifdef UNINSTALL_SETTINGS |
727 | Call un.DocumentsAndSettingsFolder | 727 | Call un.DocumentsAndSettingsFolder |
728 | !endif | 728 | !endif |
729 | 729 | ||
730 | ; remove stored password on uninstall | 730 | ; remove stored password on uninstall |
731 | Call un.RemovePassword | 731 | Call un.RemovePassword |
732 | 732 | ||
733 | Call un.ProgramFiles | 733 | Call un.ProgramFiles |
734 | 734 | ||
735 | SectionEnd ; end of uninstall section | 735 | SectionEnd ; end of uninstall section |
736 | 736 | ||
737 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 737 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
738 | ; (From the NSIS wiki, DK) | 738 | ; (From the NSIS wiki, DK) |
739 | ; GetParameterValue | 739 | ; GetParameterValue |
740 | ; | 740 | ; |
741 | ; Usage: | 741 | ; Usage: |
742 | ; !insertmacro GetParameterValue "/L=" "1033" | 742 | ; !insertmacro GetParameterValue "/L=" "1033" |
743 | ; pop $R0 | 743 | ; pop $R0 |
744 | ; | 744 | ; |
745 | ; Returns on top of stack | 745 | ; Returns on top of stack |
746 | ; | 746 | ; |
747 | ; Example command lines: | 747 | ; Example command lines: |
748 | ; foo.exe /S /L=1033 /D=C:\Program Files\Foo | 748 | ; foo.exe /S /L=1033 /D=C:\Program Files\Foo |
749 | ; or: | 749 | ; or: |
750 | ; foo.exe /S "/L=1033" /D="C:\Program Files\Foo" | 750 | ; foo.exe /S "/L=1033" /D="C:\Program Files\Foo" |
751 | ; gpv "/L=" "1033" | 751 | ; gpv "/L=" "1033" |
752 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 752 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
753 | 753 | ||
754 | !macro GetParameterValue SWITCH DEFAULT | 754 | !macro GetParameterValue SWITCH DEFAULT |
755 | Push $0 | 755 | Push $0 |
756 | Push $1 | 756 | Push $1 |
757 | Push $2 | 757 | Push $2 |
758 | Push $3 | 758 | Push $3 |
759 | Push $4 | 759 | Push $4 |
760 | 760 | ||
761 | ;$CMDLINE='"My Setup\Setup.exe" /L=1033 /S' | 761 | ;$CMDLINE='"My Setup\Setup.exe" /L=1033 /S' |
762 | Push "$CMDLINE" | 762 | Push "$CMDLINE" |
763 | Push '${SWITCH}"' | 763 | Push '${SWITCH}"' |
764 | !insertmacro StrStr | 764 | !insertmacro StrStr |
765 | Pop $0 | 765 | Pop $0 |
766 | StrCmp "$0" "" gpv_notquoted | 766 | StrCmp "$0" "" gpv_notquoted |
767 | ;$0='/L="1033" /S' | 767 | ;$0='/L="1033" /S' |
768 | StrLen $2 "$0" | 768 | StrLen $2 "$0" |
769 | Strlen $1 "${SWITCH}" | 769 | Strlen $1 "${SWITCH}" |
770 | IntOp $1 $1 + 1 | 770 | IntOp $1 $1 + 1 |
771 | StrCpy $0 "$0" $2 $1 | 771 | StrCpy $0 "$0" $2 $1 |
772 | ;$0='1033" /S' | 772 | ;$0='1033" /S' |
773 | Push "$0" | 773 | Push "$0" |
774 | Push '"' | 774 | Push '"' |
775 | !insertmacro StrStr | 775 | !insertmacro StrStr |
776 | Pop $1 | 776 | Pop $1 |
777 | StrLen $2 "$0" | 777 | StrLen $2 "$0" |
778 | StrLen $3 "$1" | 778 | StrLen $3 "$1" |
779 | IntOp $4 $2 - $3 | 779 | IntOp $4 $2 - $3 |
780 | StrCpy $0 $0 $4 0 | 780 | StrCpy $0 $0 $4 0 |
781 | Goto gpv_done | 781 | Goto gpv_done |
782 | 782 | ||
783 | gpv_notquoted: | 783 | gpv_notquoted: |
784 | Push "$CMDLINE" | 784 | Push "$CMDLINE" |
785 | Push "${SWITCH}" | 785 | Push "${SWITCH}" |
786 | !insertmacro StrStr | 786 | !insertmacro StrStr |
787 | Pop $0 | 787 | Pop $0 |
788 | StrCmp "$0" "" gpv_done | 788 | StrCmp "$0" "" gpv_done |
789 | ;$0='/L="1033" /S' | 789 | ;$0='/L="1033" /S' |
790 | StrLen $2 "$0" | 790 | StrLen $2 "$0" |
791 | Strlen $1 "${SWITCH}" | 791 | Strlen $1 "${SWITCH}" |
792 | StrCpy $0 "$0" $2 $1 | 792 | StrCpy $0 "$0" $2 $1 |
793 | ;$0=1033 /S' | 793 | ;$0=1033 /S' |
794 | Push "$0" | 794 | Push "$0" |
795 | Push ' ' | 795 | Push ' ' |
796 | !insertmacro StrStr | 796 | !insertmacro StrStr |
797 | Pop $1 | 797 | Pop $1 |
798 | StrLen $2 "$0" | 798 | StrLen $2 "$0" |
799 | StrLen $3 "$1" | 799 | StrLen $3 "$1" |
800 | IntOp $4 $2 - $3 | 800 | IntOp $4 $2 - $3 |
801 | StrCpy $0 $0 $4 0 | 801 | StrCpy $0 $0 $4 0 |
802 | Goto gpv_done | 802 | Goto gpv_done |
803 | 803 | ||
804 | gpv_done: | 804 | gpv_done: |
805 | StrCmp "$0" "" 0 +2 | 805 | StrCmp "$0" "" 0 +2 |
806 | StrCpy $0 "${DEFAULT}" | 806 | StrCpy $0 "${DEFAULT}" |
807 | 807 | ||
808 | Pop $4 | 808 | Pop $4 |
809 | Pop $3 | 809 | Pop $3 |
810 | Pop $2 | 810 | Pop $2 |
811 | Pop $1 | 811 | Pop $1 |
812 | Exch $0 | 812 | Exch $0 |
813 | !macroend | 813 | !macroend |
814 | 814 | ||
815 | ; And I had to modify StrStr a tiny bit. | 815 | ; And I had to modify StrStr a tiny bit. |
816 | ; Possible upgrade switch the goto's to use ${__LINE__} | 816 | ; Possible upgrade switch the goto's to use ${__LINE__} |
817 | 817 | ||
818 | !macro STRSTR | 818 | !macro STRSTR |
819 | Exch $R1 ; st=haystack,old$R1, $R1=needle | 819 | Exch $R1 ; st=haystack,old$R1, $R1=needle |
820 | Exch ; st=old$R1,haystack | 820 | Exch ; st=old$R1,haystack |
821 | Exch $R2 ; st=old$R1,old$R2, $R2=haystack | 821 | Exch $R2 ; st=old$R1,old$R2, $R2=haystack |
822 | Push $R3 | 822 | Push $R3 |
823 | Push $R4 | 823 | Push $R4 |
824 | Push $R5 | 824 | Push $R5 |
825 | StrLen $R3 $R1 | 825 | StrLen $R3 $R1 |
826 | StrCpy $R4 0 | 826 | StrCpy $R4 0 |
827 | ; $R1=needle | 827 | ; $R1=needle |
828 | ; $R2=haystack | 828 | ; $R2=haystack |
829 | ; $R3=len(needle) | 829 | ; $R3=len(needle) |
830 | ; $R4=cnt | 830 | ; $R4=cnt |
831 | ; $R5=tmp | 831 | ; $R5=tmp |
832 | ; loop; | 832 | ; loop; |
833 | StrCpy $R5 $R2 $R3 $R4 | 833 | StrCpy $R5 $R2 $R3 $R4 |
834 | StrCmp $R5 $R1 +4 | 834 | StrCmp $R5 $R1 +4 |
835 | StrCmp $R5 "" +3 | 835 | StrCmp $R5 "" +3 |
836 | IntOp $R4 $R4 + 1 | 836 | IntOp $R4 $R4 + 1 |
837 | Goto -4 | 837 | Goto -4 |
838 | ; done; | 838 | ; done; |
839 | StrCpy $R1 $R2 "" $R4 | 839 | StrCpy $R1 $R2 "" $R4 |
840 | Pop $R5 | 840 | Pop $R5 |
841 | Pop $R4 | 841 | Pop $R4 |
842 | Pop $R3 | 842 | Pop $R3 |
843 | Pop $R2 | 843 | Pop $R2 |
844 | Exch $R1 | 844 | Exch $R1 |
845 | !macroend | 845 | !macroend |
846 | 846 | ||
847 | Function GetProgramName | 847 | Function GetProgramName |
848 | !insertmacro GetParameterValue "/P=" "SecondLife" | 848 | !insertmacro GetParameterValue "/P=" "Imprudence" |
849 | FunctionEnd | 849 | FunctionEnd |
850 | 850 | ||
851 | Function un.GetProgramName | 851 | Function un.GetProgramName |
852 | !insertmacro GetParameterValue "/P=" "SecondLife" | 852 | !insertmacro GetParameterValue "/P=" "Imprudence" |
853 | FunctionEnd | 853 | FunctionEnd |
854 | 854 | ||
855 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 855 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
856 | ; (From the NSIS documentation, JC) | 856 | ; (From the NSIS documentation, JC) |
857 | ; GetWindowsVersion | 857 | ; GetWindowsVersion |
858 | ; | 858 | ; |
859 | ; Based on Yazno's function, http://yazno.tripod.com/powerpimpit/ | 859 | ; Based on Yazno's function, http://yazno.tripod.com/powerpimpit/ |
860 | ; Updated by Joost Verburg | 860 | ; Updated by Joost Verburg |
861 | ; | 861 | ; |
862 | ; Returns on top of stack | 862 | ; Returns on top of stack |
863 | ; | 863 | ; |
864 | ; Windows Version (95, 98, ME, NT x.x, 2000, XP, 2003) | 864 | ; Windows Version (95, 98, ME, NT x.x, 2000, XP, 2003) |
865 | ; or | 865 | ; or |
866 | ; '' (Unknown Windows Version) | 866 | ; '' (Unknown Windows Version) |
867 | ; | 867 | ; |
868 | ; Usage: | 868 | ; Usage: |
869 | ; Call GetWindowsVersion | 869 | ; Call GetWindowsVersion |
870 | ; Pop $R0 | 870 | ; Pop $R0 |
871 | ; ; at this point $R0 is "NT 4.0" or whatnot | 871 | ; ; at this point $R0 is "NT 4.0" or whatnot |
872 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 872 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
873 | Function GetWindowsVersion | 873 | Function GetWindowsVersion |
874 | 874 | ||
875 | Push $R0 | 875 | Push $R0 |
876 | Push $R1 | 876 | Push $R1 |
877 | 877 | ||
878 | ReadRegStr $R0 HKLM \ | 878 | ReadRegStr $R0 HKLM \ |
879 | "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion | 879 | "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion |
880 | 880 | ||
881 | IfErrors 0 lbl_winnt | 881 | IfErrors 0 lbl_winnt |
882 | 882 | ||
883 | ; we are not NT | 883 | ; we are not NT |
884 | ReadRegStr $R0 HKLM \ | 884 | ReadRegStr $R0 HKLM \ |
885 | "SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber | 885 | "SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber |
886 | 886 | ||
887 | StrCpy $R1 $R0 1 | 887 | StrCpy $R1 $R0 1 |
888 | StrCmp $R1 '4' 0 lbl_error | 888 | StrCmp $R1 '4' 0 lbl_error |
889 | 889 | ||
890 | StrCpy $R1 $R0 3 | 890 | StrCpy $R1 $R0 3 |
891 | 891 | ||
892 | StrCmp $R1 '4.0' lbl_win32_95 | 892 | StrCmp $R1 '4.0' lbl_win32_95 |
893 | StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98 | 893 | StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98 |
894 | 894 | ||
895 | lbl_win32_95: | 895 | lbl_win32_95: |
896 | StrCpy $R0 '95' | 896 | StrCpy $R0 '95' |
897 | Goto lbl_done | 897 | Goto lbl_done |
898 | 898 | ||
899 | lbl_win32_98: | 899 | lbl_win32_98: |
900 | StrCpy $R0 '98' | 900 | StrCpy $R0 '98' |
901 | Goto lbl_done | 901 | Goto lbl_done |
902 | 902 | ||
903 | lbl_win32_ME: | 903 | lbl_win32_ME: |
904 | StrCpy $R0 'ME' | 904 | StrCpy $R0 'ME' |
905 | Goto lbl_done | 905 | Goto lbl_done |
906 | 906 | ||
907 | lbl_winnt: | 907 | lbl_winnt: |
908 | 908 | ||
909 | StrCpy $R1 $R0 1 | 909 | StrCpy $R1 $R0 1 |
910 | 910 | ||
911 | StrCmp $R1 '3' lbl_winnt_x | 911 | StrCmp $R1 '3' lbl_winnt_x |
912 | StrCmp $R1 '4' lbl_winnt_x | 912 | StrCmp $R1 '4' lbl_winnt_x |
913 | 913 | ||
914 | StrCpy $R1 $R0 3 | 914 | StrCpy $R1 $R0 3 |
915 | 915 | ||
916 | StrCmp $R1 '5.0' lbl_winnt_2000 | 916 | StrCmp $R1 '5.0' lbl_winnt_2000 |
917 | StrCmp $R1 '5.1' lbl_winnt_XP | 917 | StrCmp $R1 '5.1' lbl_winnt_XP |
918 | StrCmp $R1 '5.2' lbl_winnt_2003 lbl_error | 918 | StrCmp $R1 '5.2' lbl_winnt_2003 lbl_error |
919 | 919 | ||
920 | lbl_winnt_x: | 920 | lbl_winnt_x: |
921 | StrCpy $R0 "NT $R0" 6 | 921 | StrCpy $R0 "NT $R0" 6 |
922 | Goto lbl_done | 922 | Goto lbl_done |
923 | 923 | ||
924 | lbl_winnt_2000: | 924 | lbl_winnt_2000: |
925 | Strcpy $R0 '2000' | 925 | Strcpy $R0 '2000' |
926 | Goto lbl_done | 926 | Goto lbl_done |
927 | 927 | ||
928 | lbl_winnt_XP: | 928 | lbl_winnt_XP: |
929 | Strcpy $R0 'XP' | 929 | Strcpy $R0 'XP' |
930 | Goto lbl_done | 930 | Goto lbl_done |
931 | 931 | ||
932 | lbl_winnt_2003: | 932 | lbl_winnt_2003: |
933 | Strcpy $R0 '2003' | 933 | Strcpy $R0 '2003' |
934 | Goto lbl_done | 934 | Goto lbl_done |
935 | 935 | ||
936 | lbl_error: | 936 | lbl_error: |
937 | Strcpy $R0 '' | 937 | Strcpy $R0 '' |
938 | lbl_done: | 938 | lbl_done: |
939 | 939 | ||
940 | Pop $R1 | 940 | Pop $R1 |
941 | Exch $R0 | 941 | Exch $R0 |
942 | 942 | ||
943 | FunctionEnd | 943 | FunctionEnd |
944 | 944 | ||
945 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 945 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
946 | ;; Note: to add new languages, add a language file include to the list | 946 | ;; Note: to add new languages, add a language file include to the list |
947 | ;; at the top of this file, add an entry to the menu and then add an | 947 | ;; at the top of this file, add an entry to the menu and then add an |
948 | ;; entry to the language ID selector below | 948 | ;; entry to the language ID selector below |
949 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 949 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
950 | Function .onInit | 950 | Function .onInit |
951 | 951 | ||
952 | ; read the language from registry (ok if not there) and set langauge menu | 952 | ; read the language from registry (ok if not there) and set langauge menu |
953 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" | 953 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" |
954 | StrCpy $LANGUAGE $0 | 954 | StrCpy $LANGUAGE $0 |
955 | 955 | ||
956 | Push "" | 956 | Push "" |
957 | Push ${LANG_ENGLISH} | 957 | Push ${LANG_ENGLISH} |
958 | Push English | 958 | Push English |
959 | Push ${LANG_GERMAN} | 959 | Push ${LANG_GERMAN} |
960 | Push German | 960 | Push German |
961 | Push ${LANG_JAPANESE} | 961 | Push ${LANG_JAPANESE} |
962 | Push Japanese | 962 | Push Japanese |
963 | Push ${LANG_KOREAN} | 963 | Push ${LANG_KOREAN} |
964 | Push Korean | 964 | Push Korean |
965 | Push A ; A means auto count languages for the auto count to work the first empty push (Push "") must remain | 965 | Push A ; A means auto count languages for the auto count to work the first empty push (Push "") must remain |
966 | LangDLL::LangDialog "Installer Language" "Please select the language of the installer" | 966 | LangDLL::LangDialog "Installer Language" "Please select the language of the installer" |
967 | Pop $LANGUAGE | 967 | Pop $LANGUAGE |
968 | StrCmp $LANGUAGE "cancel" 0 +2 | 968 | StrCmp $LANGUAGE "cancel" 0 +2 |
969 | Abort | 969 | Abort |
970 | 970 | ||
971 | ; save language in registry | 971 | ; save language in registry |
972 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" $LANGUAGE | 972 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" $LANGUAGE |
973 | FunctionEnd | 973 | FunctionEnd |
974 | 974 | ||
975 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 975 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
976 | Function un.onInit | 976 | Function un.onInit |
977 | 977 | ||
978 | ; read language from registry and set for ininstaller | 978 | ; read language from registry and set for ininstaller |
979 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" | 979 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" |
980 | StrCpy $LANGUAGE $0 | 980 | StrCpy $LANGUAGE $0 |
981 | 981 | ||
982 | FunctionEnd | 982 | FunctionEnd |
983 | 983 | ||
984 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; EOF ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 984 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; EOF ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
diff --git a/linden/indra/newview/installers/windows/lang_de.nsi b/linden/indra/newview/installers/windows/lang_de.nsi index c410128..6be219e 100644 --- a/linden/indra/newview/installers/windows/lang_de.nsi +++ b/linden/indra/newview/installers/windows/lang_de.nsi | |||
@@ -1,57 +1,57 @@ | |||
1 | ; First is default | 1 | ; First is default |
2 | LoadLanguageFile "${NSISDIR}\Contrib\Language files\German.nlf" | 2 | LoadLanguageFile "${NSISDIR}\Contrib\Language files\German.nlf" |
3 | 3 | ||
4 | ; subtitle on license text caption (setup new version or update current one | 4 | ; subtitle on license text caption (setup new version or update current one |
5 | LangString LicenseSubTitleUpdate ${LANG_GERMAN} " Update" | 5 | LangString LicenseSubTitleUpdate ${LANG_GERMAN} " Update" |
6 | LangString LicenseSubTitleSetup ${LANG_GERMAN} " Setup" | 6 | LangString LicenseSubTitleSetup ${LANG_GERMAN} " Setup" |
7 | 7 | ||
8 | ; description on license page | 8 | ; description on license page |
9 | LangString LicenseDescUpdate ${LANG_GERMAN} "Dieses Paket wird das bereits installierte Second Life mit Version ${VERSION_LONG}. ersetzen." | 9 | LangString LicenseDescUpdate ${LANG_GERMAN} "Dieses Paket wird das bereits installierte Imprudence mit Version ${VERSION_LONG}. ersetzen." |
10 | LangString LicenseDescSetup ${LANG_GERMAN} "Dieses Paket wird Second Life auf Ihrem Computer installieren." | 10 | LangString LicenseDescSetup ${LANG_GERMAN} "Dieses Paket wird Imprudence auf Ihrem Computer installieren." |
11 | LangString LicenseDescNext ${LANG_GERMAN} "Weiter" | 11 | LangString LicenseDescNext ${LANG_GERMAN} "Weiter" |
12 | 12 | ||
13 | ; installation directory text | 13 | ; installation directory text |
14 | LangString DirectoryChooseTitle ${LANG_GERMAN} "Installations-Ordner" | 14 | LangString DirectoryChooseTitle ${LANG_GERMAN} "Installations-Ordner" |
15 | LangString DirectoryChooseUpdate ${LANG_GERMAN} "Wählen Sie den Second Life Ordner für dieses Update:" | 15 | LangString DirectoryChooseUpdate ${LANG_GERMAN} "Wählen Sie den Imprudence Ordner für dieses Update:" |
16 | LangString DirectoryChooseSetup ${LANG_GERMAN} "Pfad in dem Second Life installieren werden soll:" | 16 | LangString DirectoryChooseSetup ${LANG_GERMAN} "Pfad in dem Imprudence installieren werden soll:" |
17 | 17 | ||
18 | ; CheckStartupParams message box | 18 | ; CheckStartupParams message box |
19 | LangString CheckStartupParamsMB ${LANG_GERMAN} "Konnte Programm '$INSTPROG' nicht finden. Stilles Update fehlgeschlagen." | 19 | LangString CheckStartupParamsMB ${LANG_GERMAN} "Konnte Programm '$INSTPROG' nicht finden. Stilles Update fehlgeschlagen." |
20 | 20 | ||
21 | ; installation success dialog | 21 | ; installation success dialog |
22 | LangString InstSuccesssQuestion ${LANG_GERMAN} "Second Life starten?" | 22 | LangString InstSuccesssQuestion ${LANG_GERMAN} "Imprudence starten?" |
23 | 23 | ||
24 | ; remove old NSIS version | 24 | ; remove old NSIS version |
25 | LangString RemoveOldNSISVersion ${LANG_GERMAN} "Überprüfe alte Version ..." | 25 | LangString RemoveOldNSISVersion ${LANG_GERMAN} "Überprüfe alte Version ..." |
26 | 26 | ||
27 | ; check windows version | 27 | ; check windows version |
28 | LangString CheckWindowsVersionDP ${LANG_GERMAN} "Überprüfung der Windows Version ..." | 28 | LangString CheckWindowsVersionDP ${LANG_GERMAN} "Überprüfung der Windows Version ..." |
29 | LangString CheckWindowsVersionMB ${LANG_GERMAN} 'Second Life unterstützt nur Windows XP, Windows 2000 und Mac OS X.$\n$\nDer Versuch es auf Windows $R0 zu installieren, könnte zu unvorhersehbaren Abstürzen und Datenverlust führen.$\n$\nTrotzdem installieren?' | 29 | LangString CheckWindowsVersionMB ${LANG_GERMAN} 'Imprudence unterstützt nur Windows XP, Windows 2000 und Mac OS X.$\n$\nDer Versuch es auf Windows $R0 zu installieren, könnte zu unvorhersehbaren Abstürzen und Datenverlust führen.$\n$\nTrotzdem installieren?' |
30 | 30 | ||
31 | ; checkifadministrator function (install) | 31 | ; checkifadministrator function (install) |
32 | LangString CheckAdministratorInstDP ${LANG_GERMAN} "Überprüfung der Installations-Berechtigungen ..." | 32 | LangString CheckAdministratorInstDP ${LANG_GERMAN} "Überprüfung der Installations-Berechtigungen ..." |
33 | LangString CheckAdministratorInstMB ${LANG_GERMAN} 'Sie besitzen ungenügende Berechtigungen.$\nSie müssen ein "administrator" sein, um Second Life installieren zu können.' | 33 | LangString CheckAdministratorInstMB ${LANG_GERMAN} 'Sie besitzen ungenügende Berechtigungen.$\nSie müssen ein "administrator" sein, um Imprudence installieren zu können.' |
34 | 34 | ||
35 | ; checkifadministrator function (uninstall) | 35 | ; checkifadministrator function (uninstall) |
36 | LangString CheckAdministratorUnInstDP ${LANG_GERMAN} "Überprüfung der Entfernungs-Berechtigungen ..." | 36 | LangString CheckAdministratorUnInstDP ${LANG_GERMAN} "Überprüfung der Entfernungs-Berechtigungen ..." |
37 | LangString CheckAdministratorUnInstMB ${LANG_GERMAN} 'Sie besitzen ungenügende Berechtigungen.$\nSie müssen ein "administrator" sein, um Second Life entfernen zu können..' | 37 | LangString CheckAdministratorUnInstMB ${LANG_GERMAN} 'Sie besitzen ungenügende Berechtigungen.$\nSie müssen ein "administrator" sein, um Imprudence entfernen zu können..' |
38 | 38 | ||
39 | ; checkifalreadycurrent | 39 | ; checkifalreadycurrent |
40 | LangString CheckIfCurrentMB ${LANG_GERMAN} "Anscheinend ist Second Life ${VERSION_LONG} bereits installiert.$\n$\nWürden Sie es gerne erneut installieren?" | 40 | LangString CheckIfCurrentMB ${LANG_GERMAN} "Anscheinend ist Imprudence ${VERSION_LONG} bereits installiert.$\n$\nWürden Sie es gerne erneut installieren?" |
41 | 41 | ||
42 | ; closesecondlife function (install) | 42 | ; closeimprudence function (install) |
43 | LangString CloseSecondLifeInstDP ${LANG_GERMAN} "Warten auf die Beendigung von Second Life ..." | 43 | LangString CloseSecondLifeInstDP ${LANG_GERMAN} "Warten auf die Beendigung von Imprudence ..." |
44 | LangString CloseSecondLifeInstMB ${LANG_GERMAN} "Second Life kann nicht installiert oder ersetzt werden, wenn es bereits läuft.$\n$\nBeenden Sie, was Sie gerade tun und klicken Sie OK, um Second Life zu beenden.$\nKlicken Sie CANCEL, um die Installation abzubrechen." | 44 | LangString CloseSecondLifeInstMB ${LANG_GERMAN} "Imprudence kann nicht installiert oder ersetzt werden, wenn es bereits läuft.$\n$\nBeenden Sie, was Sie gerade tun und klicken Sie OK, um Imprudence zu beenden.$\nKlicken Sie CANCEL, um die Installation abzubrechen." |
45 | 45 | ||
46 | ; closesecondlife function (uninstall) | 46 | ; closeimprudence function (uninstall) |
47 | LangString CloseSecondLifeUnInstDP ${LANG_GERMAN} "Warten auf die Beendigung von Second Life ..." | 47 | LangString CloseSecondLifeUnInstDP ${LANG_GERMAN} "Warten auf die Beendigung von Imprudence ..." |
48 | LangString CloseSecondLifeUnInstMB ${LANG_GERMAN} "Second Life kann nicht entfernt werden, wenn es bereits läuft.$\n$\nBeenden Sie, was Sie gerade tun und klicken Sie OK, um Second Life zu beenden.$\nKlicken Sie CANCEL, um abzubrechen." | 48 | LangString CloseSecondLifeUnInstMB ${LANG_GERMAN} "Imprudence kann nicht entfernt werden, wenn es bereits läuft.$\n$\nBeenden Sie, was Sie gerade tun und klicken Sie OK, um Imprudence zu beenden.$\nKlicken Sie CANCEL, um abzubrechen." |
49 | 49 | ||
50 | ; removecachefiles | 50 | ; removecachefiles |
51 | LangString RemoveCacheFilesDP ${LANG_GERMAN} "Löschung aller Cache Dateien in Dokumente und Einstellungen." | 51 | LangString RemoveCacheFilesDP ${LANG_GERMAN} "Löschung aller Cache Dateien in Dokumente und Einstellungen." |
52 | 52 | ||
53 | ; delete program files | 53 | ; delete program files |
54 | LangString DeleteProgramFilesMB ${LANG_GERMAN} "Es existieren weiterhin Dateien in Ihrem SecondLife Programm Ordner.$\n$\nDies sind möglicherweise Dateien, die sie modifiziert oder bewegt haben:$\n$INSTDIR$\n$\nMöchten Sie diese ebenfalls löschen?" | 54 | LangString DeleteProgramFilesMB ${LANG_GERMAN} "Es existieren weiterhin Dateien in Ihrem Imprudence Programm Ordner.$\n$\nDies sind möglicherweise Dateien, die sie modifiziert oder bewegt haben:$\n$INSTDIR$\n$\nMöchten Sie diese ebenfalls löschen?" |
55 | 55 | ||
56 | ; uninstall text | 56 | ; uninstall text |
57 | LangString UninstallTextMsg ${LANG_GERMAN} "Dies wird Second Life ${VERSION_LONG} von Ihrem System entfernen." | 57 | LangString UninstallTextMsg ${LANG_GERMAN} "Dies wird Imprudence ${VERSION_LONG} von Ihrem System entfernen." |
diff --git a/linden/indra/newview/installers/windows/lang_en-us.nsi b/linden/indra/newview/installers/windows/lang_en-us.nsi index 218f1c6..e203fb6 100644 --- a/linden/indra/newview/installers/windows/lang_en-us.nsi +++ b/linden/indra/newview/installers/windows/lang_en-us.nsi | |||
@@ -1,52 +1,52 @@ | |||
1 | ; First is default | 1 | ; First is default |
2 | LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf" | 2 | LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf" |
3 | 3 | ||
4 | ; subtitle on license text caption | 4 | ; subtitle on license text caption |
5 | LangString LicenseSubTitleUpdate ${LANG_ENGLISH} " Update" | 5 | LangString LicenseSubTitleUpdate ${LANG_ENGLISH} " Update" |
6 | LangString LicenseSubTitleSetup ${LANG_ENGLISH} " Setup" | 6 | LangString LicenseSubTitleSetup ${LANG_ENGLISH} " Setup" |
7 | 7 | ||
8 | ; installation directory text | 8 | ; installation directory text |
9 | LangString DirectoryChooseTitle ${LANG_ENGLISH} "Installation Directory" | 9 | LangString DirectoryChooseTitle ${LANG_ENGLISH} "Installation Directory" |
10 | LangString DirectoryChooseUpdate ${LANG_ENGLISH} "Select the Second Life directory to update to version ${VERSION_LONG}.(XXX):" | 10 | LangString DirectoryChooseUpdate ${LANG_ENGLISH} "Select the Imprudence directory to update to version ${VERSION_LONG}.(XXX):" |
11 | LangString DirectoryChooseSetup ${LANG_ENGLISH} "Select the directory to install Second Life in:" | 11 | LangString DirectoryChooseSetup ${LANG_ENGLISH} "Select the directory to install Imprudence in:" |
12 | 12 | ||
13 | ; CheckStartupParams message box | 13 | ; CheckStartupParams message box |
14 | LangString CheckStartupParamsMB ${LANG_ENGLISH} "Could not find the program '$INSTPROG'. Silent update failed." | 14 | LangString CheckStartupParamsMB ${LANG_ENGLISH} "Could not find the program '$INSTPROG'. Silent update failed." |
15 | 15 | ||
16 | ; installation success dialog | 16 | ; installation success dialog |
17 | LangString InstSuccesssQuestion ${LANG_ENGLISH} "Start Second Life now?" | 17 | LangString InstSuccesssQuestion ${LANG_ENGLISH} "Start Imprudence now?" |
18 | 18 | ||
19 | ; remove old NSIS version | 19 | ; remove old NSIS version |
20 | LangString RemoveOldNSISVersion ${LANG_ENGLISH} "Checking for old version..." | 20 | LangString RemoveOldNSISVersion ${LANG_ENGLISH} "Checking for old version..." |
21 | 21 | ||
22 | ; check windows version | 22 | ; check windows version |
23 | LangString CheckWindowsVersionDP ${LANG_ENGLISH} "Checking Windows version..." | 23 | LangString CheckWindowsVersionDP ${LANG_ENGLISH} "Checking Windows version..." |
24 | LangString CheckWindowsVersionMB ${LANG_ENGLISH} 'Second Life only supports Windows XP, Windows 2000, and Mac OS X.$\n$\nAttempting to install on Windows $R0 can result in crashes and data loss.$\n$\nInstall anyway?' | 24 | LangString CheckWindowsVersionMB ${LANG_ENGLISH} 'Imprudence only supports Windows XP, Windows 2000, and Mac OS X.$\n$\nAttempting to install on Windows $R0 can result in crashes and data loss.$\n$\nInstall anyway?' |
25 | 25 | ||
26 | ; checkifadministrator function (install) | 26 | ; checkifadministrator function (install) |
27 | LangString CheckAdministratorInstDP ${LANG_ENGLISH} "Checking for permission to install..." | 27 | LangString CheckAdministratorInstDP ${LANG_ENGLISH} "Checking for permission to install..." |
28 | LangString CheckAdministratorInstMB ${LANG_ENGLISH} 'You appear to be using a "limited" account.$\nYou must be an "administrator" to install Second Life.' | 28 | LangString CheckAdministratorInstMB ${LANG_ENGLISH} 'You appear to be using a "limited" account.$\nYou must be an "administrator" to install Imprudence.' |
29 | 29 | ||
30 | ; checkifadministrator function (uninstall) | 30 | ; checkifadministrator function (uninstall) |
31 | LangString CheckAdministratorUnInstDP ${LANG_ENGLISH} "Checking for permission to uninstall..." | 31 | LangString CheckAdministratorUnInstDP ${LANG_ENGLISH} "Checking for permission to uninstall..." |
32 | LangString CheckAdministratorUnInstMB ${LANG_ENGLISH} 'You appear to be using a "limited" account.$\nYou must be an "administrator" to uninstall Second Life.' | 32 | LangString CheckAdministratorUnInstMB ${LANG_ENGLISH} 'You appear to be using a "limited" account.$\nYou must be an "administrator" to uninstall Imprudence.' |
33 | 33 | ||
34 | ; checkifalreadycurrent | 34 | ; checkifalreadycurrent |
35 | LangString CheckIfCurrentMB ${LANG_ENGLISH} "It appears that Second Life ${VERSION_LONG} is already installed.$\n$\nWould you like to install it again?" | 35 | LangString CheckIfCurrentMB ${LANG_ENGLISH} "It appears that Imprudence ${VERSION_LONG} is already installed.$\n$\nWould you like to install it again?" |
36 | 36 | ||
37 | ; closesecondlife function (install) | 37 | ; closeimprudence function (install) |
38 | LangString CloseSecondLifeInstDP ${LANG_ENGLISH} "Waiting for Second Life to shut down..." | 38 | LangString CloseSecondLifeInstDP ${LANG_ENGLISH} "Waiting for Imprudence to shut down..." |
39 | LangString CloseSecondLifeInstMB ${LANG_ENGLISH} "Second Life can't be installed while it is already running.$\n$\nFinish what you're doing then select OK to close Second Life and continue.$\nSelect CANCEL to cancel installation." | 39 | LangString CloseSecondLifeInstMB ${LANG_ENGLISH} "Imprudence can't be installed while it is already running.$\n$\nFinish what you're doing then select OK to close Imprudence and continue.$\nSelect CANCEL to cancel installation." |
40 | 40 | ||
41 | ; closesecondlife function (uninstall) | 41 | ; closeimprudence function (uninstall) |
42 | LangString CloseSecondLifeUnInstDP ${LANG_ENGLISH} "Waiting for Second Life to shut down..." | 42 | LangString CloseSecondLifeUnInstDP ${LANG_ENGLISH} "Waiting for Imprudence to shut down..." |
43 | LangString CloseSecondLifeUnInstMB ${LANG_ENGLISH} "Second Life can't be uninstalled while it is already running.$\n$\nFinish what you're doing then select OK to close Second Life and continue.$\nSelect CANCEL to cancel." | 43 | LangString CloseSecondLifeUnInstMB ${LANG_ENGLISH} "Imprudence can't be uninstalled while it is already running.$\n$\nFinish what you're doing then select OK to close Imprudence and continue.$\nSelect CANCEL to cancel." |
44 | 44 | ||
45 | ; removecachefiles | 45 | ; removecachefiles |
46 | LangString RemoveCacheFilesDP ${LANG_ENGLISH} "Deleting cache files in Documents and Settings folder" | 46 | LangString RemoveCacheFilesDP ${LANG_ENGLISH} "Deleting cache files in Documents and Settings folder" |
47 | 47 | ||
48 | ; delete program files | 48 | ; delete program files |
49 | LangString DeleteProgramFilesMB ${LANG_ENGLISH} "There are still files in your SecondLife program directory.$\n$\nThese are possibly files you created or moved to:$\n$INSTDIR$\n$\nDo you want to remove them?" | 49 | LangString DeleteProgramFilesMB ${LANG_ENGLISH} "There are still files in your Imprudence program directory.$\n$\nThese are possibly files you created or moved to:$\n$INSTDIR$\n$\nDo you want to remove them?" |
50 | 50 | ||
51 | ; uninstall text | 51 | ; uninstall text |
52 | LangString UninstallTextMsg ${LANG_ENGLISH} "This will uninstall Second Life ${VERSION_LONG} from your system." | 52 | LangString UninstallTextMsg ${LANG_ENGLISH} "This will uninstall Imprudence ${VERSION_LONG} from your system." |
diff --git a/linden/indra/newview/installers/windows/lang_ja.nsi b/linden/indra/newview/installers/windows/lang_ja.nsi index 5e0496e..f59957a 100644 --- a/linden/indra/newview/installers/windows/lang_ja.nsi +++ b/linden/indra/newview/installers/windows/lang_ja.nsi | |||
@@ -1,57 +1,57 @@ | |||
1 | ; First is default | 1 | ; First is default |
2 | LoadLanguageFile "${NSISDIR}\Contrib\Language files\Japanese.nlf" | 2 | LoadLanguageFile "${NSISDIR}\Contrib\Language files\Japanese.nlf" |
3 | 3 | ||
4 | ; subtitle on license text caption | 4 | ; subtitle on license text caption |
5 | LangString LicenseSubTitleUpdate ${LANG_JAPANESE} " ƒAƒbƒvƒf[ƒg" | 5 | LangString LicenseSubTitleUpdate ${LANG_JAPANESE} " ƒAƒbƒvƒf[ƒg" |
6 | LangString LicenseSubTitleSetup ${LANG_JAPANESE} " ƒZƒbƒgƒAƒbƒv" | 6 | LangString LicenseSubTitleSetup ${LANG_JAPANESE} " ƒZƒbƒgƒAƒbƒv" |
7 | 7 | ||
8 | ; description on license page | 8 | ; description on license page |
9 | LangString LicenseDescUpdate ${LANG_JAPANESE} "‚±‚̃pƒbƒP[ƒW‚̓ZƒJƒ“ƒhƒ‰ƒCƒt‚ðƒo[ƒWƒ‡ƒ“${VERSION_LONG}.‚ɃAƒbƒvƒf[ƒg‚µ‚Ü‚·B" | 9 | LangString LicenseDescUpdate ${LANG_JAPANESE} "‚±‚̃pƒbƒP[ƒW‚̓ZƒJƒ“ƒhƒ‰ƒCƒt‚ðƒo[ƒWƒ‡ƒ“${VERSION_LONG}.‚ɃAƒbƒvƒf[ƒg‚µ‚Ü‚·B" |
10 | LangString LicenseDescSetup ${LANG_JAPANESE} "‚±‚̃pƒbƒP[ƒW‚Í‚ ‚È‚½‚̃Rƒ“ƒsƒ…[ƒ^‚ɃZƒJƒ“ƒhƒ‰ƒCƒt‚ðƒCƒ“ƒXƒg[ƒ‹‚µ‚Ü‚·B" | 10 | LangString LicenseDescSetup ${LANG_JAPANESE} "‚±‚̃pƒbƒP[ƒW‚Í‚ ‚È‚½‚̃Rƒ“ƒsƒ…[ƒ^‚ɃZƒJƒ“ƒhƒ‰ƒCƒt‚ðƒCƒ“ƒXƒg[ƒ‹‚µ‚Ü‚·B" |
11 | LangString LicenseDescNext ${LANG_JAPANESE} "ŽŸ" | 11 | LangString LicenseDescNext ${LANG_JAPANESE} "ŽŸ" |
12 | 12 | ||
13 | ; installation directory text | 13 | ; installation directory text |
14 | LangString DirectoryChooseTitle ${LANG_JAPANESE} "ƒCƒ“ƒXƒg[ƒ‹EƒfƒBƒŒƒNƒgƒŠ" | 14 | LangString DirectoryChooseTitle ${LANG_JAPANESE} "ƒCƒ“ƒXƒg[ƒ‹EƒfƒBƒŒƒNƒgƒŠ" |
15 | LangString DirectoryChooseUpdate ${LANG_JAPANESE} "ƒAƒbƒvƒf[ƒg‚·‚éƒZƒJƒ“ƒhƒ‰ƒCƒt‚̃fƒBƒŒƒNƒgƒŠ‚ð‘I‘ð‚µ‚Ä‚‚¾‚³‚¢B:" | 15 | LangString DirectoryChooseUpdate ${LANG_JAPANESE} "ƒAƒbƒvƒf[ƒg‚·‚éƒZƒJƒ“ƒhƒ‰ƒCƒt‚̃fƒBƒŒƒNƒgƒŠ‚ð‘I‘ð‚µ‚Ä‚‚¾‚³‚¢B:" |
16 | LangString DirectoryChooseSetup ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚ðƒCƒ“ƒXƒg[ƒ‹‚·‚éƒfƒBƒŒƒNƒgƒŠ‚ð‘I‘ð‚µ‚Ä‚‚¾‚³‚¢B: " | 16 | LangString DirectoryChooseSetup ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚ðƒCƒ“ƒXƒg[ƒ‹‚·‚éƒfƒBƒŒƒNƒgƒŠ‚ð‘I‘ð‚µ‚Ä‚‚¾‚³‚¢B: " |
17 | 17 | ||
18 | ; CheckStartupParams message box | 18 | ; CheckStartupParams message box |
19 | LangString CheckStartupParamsMB ${LANG_JAPANESE} "ƒvƒƒOƒ‰ƒ€–¼'$INSTPROG'‚ªŒ©‚‚©‚è‚Ü‚¹‚ñBƒTƒCƒŒƒ“ƒgEƒAƒbƒvƒf[ƒg‚ÉŽ¸”s‚µ‚Ü‚µ‚½B" | 19 | LangString CheckStartupParamsMB ${LANG_JAPANESE} "ƒvƒƒOƒ‰ƒ€–¼'$INSTPROG'‚ªŒ©‚‚©‚è‚Ü‚¹‚ñBƒTƒCƒŒƒ“ƒgEƒAƒbƒvƒf[ƒg‚ÉŽ¸”s‚µ‚Ü‚µ‚½B" |
20 | 20 | ||
21 | ; installation success dialog | 21 | ; installation success dialog |
22 | LangString InstSuccesssQuestion ${LANG_JAPANESE} "’¼‚¿‚ɃZƒJƒ“ƒhƒ‰ƒCƒt‚ðŠJŽn‚µ‚Ü‚·‚©H " | 22 | LangString InstSuccesssQuestion ${LANG_JAPANESE} "’¼‚¿‚ɃZƒJƒ“ƒhƒ‰ƒCƒt‚ðŠJŽn‚µ‚Ü‚·‚©H " |
23 | 23 | ||
24 | ; remove old NSIS version | 24 | ; remove old NSIS version |
25 | LangString RemoveOldNSISVersion ${LANG_JAPANESE} "ŒÃ‚¢ƒo[ƒWƒ‡ƒ“î•ñ‚ðƒ`ƒFƒbƒN’†‚Å‚·c" | 25 | LangString RemoveOldNSISVersion ${LANG_JAPANESE} "ŒÃ‚¢ƒo[ƒWƒ‡ƒ“î•ñ‚ðƒ`ƒFƒbƒN’†‚Å‚·c" |
26 | 26 | ||
27 | ; check windows version | 27 | ; check windows version |
28 | LangString CheckWindowsVersionDP ${LANG_JAPANESE} "ƒEƒBƒ“ƒhƒEƒY‚̃o[ƒWƒ‡ƒ“î•ñ‚ðƒ`ƒFƒbƒN’†‚Å‚·..." | 28 | LangString CheckWindowsVersionDP ${LANG_JAPANESE} "ƒEƒBƒ“ƒhƒEƒY‚̃o[ƒWƒ‡ƒ“î•ñ‚ðƒ`ƒFƒbƒN’†‚Å‚·..." |
29 | LangString CheckWindowsVersionMB ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚ÍWindows XPAWindows 2000AMac OS X‚Ì‚Ý‚ðƒTƒ|[ƒg‚µ‚Ä‚¢‚Ü‚·BWindows $R0‚ðƒCƒ“ƒXƒg[ƒ‹‚·‚鎖‚ÍAƒf[ƒ^‚ÌÁŽ¸‚âƒNƒ‰ƒbƒVƒ…‚ÌŒ´ˆö‚É‚È‚é‰Â”\«‚ª‚ ‚è‚Ü‚·BƒCƒ“ƒXƒg[ƒ‹‚𑱂¯‚Ü‚·‚©H" | 29 | LangString CheckWindowsVersionMB ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚ÍWindows XPAWindows 2000AMac OS X‚Ì‚Ý‚ðƒTƒ|[ƒg‚µ‚Ä‚¢‚Ü‚·BWindows $R0‚ðƒCƒ“ƒXƒg[ƒ‹‚·‚鎖‚ÍAƒf[ƒ^‚ÌÁŽ¸‚âƒNƒ‰ƒbƒVƒ…‚ÌŒ´ˆö‚É‚È‚é‰Â”\«‚ª‚ ‚è‚Ü‚·BƒCƒ“ƒXƒg[ƒ‹‚𑱂¯‚Ü‚·‚©H" |
30 | 30 | ||
31 | ; checkifadministrator function (install) | 31 | ; checkifadministrator function (install) |
32 | LangString CheckAdministratorInstDP ${LANG_JAPANESE} "ƒCƒ“ƒXƒg[ƒ‹‚Ì‚½‚ß‚ÌŒ ŒÀ‚ðƒ`ƒFƒbƒN’†‚Å‚·..." | 32 | LangString CheckAdministratorInstDP ${LANG_JAPANESE} "ƒCƒ“ƒXƒg[ƒ‹‚Ì‚½‚ß‚ÌŒ ŒÀ‚ðƒ`ƒFƒbƒN’†‚Å‚·..." |
33 | LangString CheckAdministratorInstMB ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚ðƒCƒ“ƒXƒg[ƒ‹‚·‚é‚É‚ÍŠÇ—ŽÒŒ ŒÀ‚ª•K—v‚Å‚·B" | 33 | LangString CheckAdministratorInstMB ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚ðƒCƒ“ƒXƒg[ƒ‹‚·‚é‚É‚ÍŠÇ—ŽÒŒ ŒÀ‚ª•K—v‚Å‚·B" |
34 | 34 | ||
35 | ; checkifadministrator function (uninstall) | 35 | ; checkifadministrator function (uninstall) |
36 | LangString CheckAdministratorUnInstDP ${LANG_JAPANESE} "ƒAƒ“ƒCƒ“ƒXƒg[ƒ‹‚Ì‚½‚ß‚ÌŒ ŒÀ‚ðƒ`ƒFƒbƒN’†‚Å‚·..." | 36 | LangString CheckAdministratorUnInstDP ${LANG_JAPANESE} "ƒAƒ“ƒCƒ“ƒXƒg[ƒ‹‚Ì‚½‚ß‚ÌŒ ŒÀ‚ðƒ`ƒFƒbƒN’†‚Å‚·..." |
37 | LangString CheckAdministratorUnInstMB ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚ðƒAƒ“ƒCƒ“ƒXƒg[ƒ‹‚·‚é‚É‚ÍŠÇ—ŽÒŒ ŒÀ‚ª•K—v‚Å‚·B" | 37 | LangString CheckAdministratorUnInstMB ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚ðƒAƒ“ƒCƒ“ƒXƒg[ƒ‹‚·‚é‚É‚ÍŠÇ—ŽÒŒ ŒÀ‚ª•K—v‚Å‚·B" |
38 | 38 | ||
39 | ; checkifalreadycurrent | 39 | ; checkifalreadycurrent |
40 | LangString CheckIfCurrentMB ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt${VERSION_LONG} ‚̓Cƒ“ƒXƒg[ƒ‹Ï‚Ý‚Å‚·BÄ“xƒCƒ“ƒXƒg[ƒ‹‚µ‚Ü‚·‚©H " | 40 | LangString CheckIfCurrentMB ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt${VERSION_LONG} ‚̓Cƒ“ƒXƒg[ƒ‹Ï‚Ý‚Å‚·BÄ“xƒCƒ“ƒXƒg[ƒ‹‚µ‚Ü‚·‚©H " |
41 | 41 | ||
42 | ; closesecondlife function (install) | 42 | ; closeimprudence function (install) |
43 | LangString CloseSecondLifeInstDP ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚ðI—¹’†‚Å‚·..." | 43 | LangString CloseSecondLifeInstDP ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚ðI—¹’†‚Å‚·..." |
44 | LangString CloseSecondLifeInstMB ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚Ì‹N“®’†‚ɃCƒ“ƒXƒg[ƒ‹‚Ío—ˆ‚Ü‚¹‚ñB’¼‚¿‚ɃZƒJƒ“ƒhƒ‰ƒCƒt‚ðI—¹‚µ‚ăCƒ“ƒXƒg[ƒ‹‚ðŠJŽn‚·‚éꇂÍOKƒ{ƒ^ƒ“‚ð‰Ÿ‚µ‚Ä‚‚¾‚³‚¢BCANCEL‚ð‰Ÿ‚·‚Æ’†Ž~‚µ‚Ü‚·B" | 44 | LangString CloseSecondLifeInstMB ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚Ì‹N“®’†‚ɃCƒ“ƒXƒg[ƒ‹‚Ío—ˆ‚Ü‚¹‚ñB’¼‚¿‚ɃZƒJƒ“ƒhƒ‰ƒCƒt‚ðI—¹‚µ‚ăCƒ“ƒXƒg[ƒ‹‚ðŠJŽn‚·‚éꇂÍOKƒ{ƒ^ƒ“‚ð‰Ÿ‚µ‚Ä‚‚¾‚³‚¢BCANCEL‚ð‰Ÿ‚·‚Æ’†Ž~‚µ‚Ü‚·B" |
45 | 45 | ||
46 | ; closesecondlife function (uninstall) | 46 | ; closeimprudence function (uninstall) |
47 | LangString CloseSecondLifeUnInstDP ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚ðI—¹’†‚Å‚·..." | 47 | LangString CloseSecondLifeUnInstDP ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚ðI—¹’†‚Å‚·..." |
48 | LangString CloseSecondLifeUnInstMB ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚Ì‹N“®’†‚ɃAƒ“ƒCƒ“ƒXƒg[ƒ‹‚Ío—ˆ‚Ü‚¹‚ñB’¼‚¿‚ɃZƒJƒ“ƒhƒ‰ƒCƒt‚ðI—¹‚µ‚ăAƒ“ƒCƒ“ƒXƒg[ƒ‹‚ðŠJŽn‚·‚éꇂÍOKƒ{ƒ^ƒ“‚ð‰Ÿ‚µ‚Ä‚‚¾‚³‚¢BCANCEL‚ð‰Ÿ‚·‚Æ’†Ž~‚µ‚Ü‚·B" | 48 | LangString CloseSecondLifeUnInstMB ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚Ì‹N“®’†‚ɃAƒ“ƒCƒ“ƒXƒg[ƒ‹‚Ío—ˆ‚Ü‚¹‚ñB’¼‚¿‚ɃZƒJƒ“ƒhƒ‰ƒCƒt‚ðI—¹‚µ‚ăAƒ“ƒCƒ“ƒXƒg[ƒ‹‚ðŠJŽn‚·‚éꇂÍOKƒ{ƒ^ƒ“‚ð‰Ÿ‚µ‚Ä‚‚¾‚³‚¢BCANCEL‚ð‰Ÿ‚·‚Æ’†Ž~‚µ‚Ü‚·B" |
49 | 49 | ||
50 | ; removecachefiles | 50 | ; removecachefiles |
51 | LangString RemoveCacheFilesDP ${LANG_JAPANESE} " Documents and Settings ƒtƒHƒ‹ƒ_‚̃LƒƒƒbƒVƒ…ƒtƒ@ƒCƒ‹‚ðƒfƒŠ[ƒg’†‚Å‚·B" | 51 | LangString RemoveCacheFilesDP ${LANG_JAPANESE} " Documents and Settings ƒtƒHƒ‹ƒ_‚̃LƒƒƒbƒVƒ…ƒtƒ@ƒCƒ‹‚ðƒfƒŠ[ƒg’†‚Å‚·B" |
52 | 52 | ||
53 | ; delete program files | 53 | ; delete program files |
54 | LangString DeleteProgramFilesMB ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚̃fƒBƒŒƒNƒgƒŠ‚É‚ÍA‚Ü‚¾ƒtƒ@ƒCƒ‹‚ªŽc‚³‚ê‚Ä‚¢‚Ü‚·B$\n$INSTDIR$\n‚É‚ ‚È‚½‚ªì¬A‚Ü‚½‚͈ړ®‚³‚¹‚½ƒtƒ@ƒCƒ‹‚ª‚ ‚é‰Â”\«‚ª‚ ‚è‚Ü‚·B‘S‚Ä휂µ‚Ü‚·‚©H " | 54 | LangString DeleteProgramFilesMB ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt‚̃fƒBƒŒƒNƒgƒŠ‚É‚ÍA‚Ü‚¾ƒtƒ@ƒCƒ‹‚ªŽc‚³‚ê‚Ä‚¢‚Ü‚·B$\n$INSTDIR$\n‚É‚ ‚È‚½‚ªì¬A‚Ü‚½‚͈ړ®‚³‚¹‚½ƒtƒ@ƒCƒ‹‚ª‚ ‚é‰Â”\«‚ª‚ ‚è‚Ü‚·B‘S‚Ä휂µ‚Ü‚·‚©H " |
55 | 55 | ||
56 | ; uninstall text | 56 | ; uninstall text |
57 | LangString UninstallTextMsg ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt${VERSION_LONG}‚ðƒAƒ“ƒCƒ“ƒXƒg[ƒ‹‚µ‚Ü‚·B" | 57 | LangString UninstallTextMsg ${LANG_JAPANESE} "ƒZƒJƒ“ƒhƒ‰ƒCƒt${VERSION_LONG}‚ðƒAƒ“ƒCƒ“ƒXƒg[ƒ‹‚µ‚Ü‚·B" |
diff --git a/linden/indra/newview/installers/windows/lang_ko.nsi b/linden/indra/newview/installers/windows/lang_ko.nsi index b570315..2530e4b 100644 --- a/linden/indra/newview/installers/windows/lang_ko.nsi +++ b/linden/indra/newview/installers/windows/lang_ko.nsi | |||
@@ -1,57 +1,57 @@ | |||
1 | ; First is default | 1 | ; First is default |
2 | LoadLanguageFile "${NSISDIR}\Contrib\Language files\Korean.nlf" | 2 | LoadLanguageFile "${NSISDIR}\Contrib\Language files\Korean.nlf" |
3 | 3 | ||
4 | ; subtitle on license text caption | 4 | ; subtitle on license text caption |
5 | LangString LicenseSubTitleUpdate ${LANG_KOREAN} "¾÷µ¥ÀÌÆ®" | 5 | LangString LicenseSubTitleUpdate ${LANG_KOREAN} "¾÷µ¥ÀÌÆ®" |
6 | LangString LicenseSubTitleSetup ${LANG_KOREAN} " ¼³Ä¡Çϱâ" | 6 | LangString LicenseSubTitleSetup ${LANG_KOREAN} " ¼³Ä¡Çϱâ" |
7 | 7 | ||
8 | ; description on license page | 8 | ; description on license page |
9 | LangString LicenseDescUpdate ${LANG_KOREAN} "ÀÌ ÆÑÅ°Áö´Â ¼¼ÄÁµå¶óÀÌÇÁ¸¦ ¹öÀü${VERSION_LONG}.À¸·Î ¾÷µ¥ÀÌÆ® ÇÕ´Ï´Ù. " | 9 | LangString LicenseDescUpdate ${LANG_KOREAN} "ÀÌ ÆÑÅ°Áö´Â ¼¼ÄÁµå¶óÀÌÇÁ¸¦ ¹öÀü${VERSION_LONG}.À¸·Î ¾÷µ¥ÀÌÆ® ÇÕ´Ï´Ù. " |
10 | LangString LicenseDescSetup ${LANG_KOREAN} "ÀÌ ÆÑÅ°Áö´Â ¼¼ÄÁµå¶óÀÌÇÁ¸¦ ÄÄÇ»ÅÍ¿¡ ¼³Ä¡ÇÕ´Ï´Ù." | 10 | LangString LicenseDescSetup ${LANG_KOREAN} "ÀÌ ÆÑÅ°Áö´Â ¼¼ÄÁµå¶óÀÌÇÁ¸¦ ÄÄÇ»ÅÍ¿¡ ¼³Ä¡ÇÕ´Ï´Ù." |
11 | LangString LicenseDescNext ${LANG_KOREAN} "´ÙÀ½" | 11 | LangString LicenseDescNext ${LANG_KOREAN} "´ÙÀ½" |
12 | 12 | ||
13 | ; installation directory text | 13 | ; installation directory text |
14 | LangString DirectoryChooseTitle ${LANG_KOREAN} "¼³Ä¡ µð·ºÅ丮" | 14 | LangString DirectoryChooseTitle ${LANG_KOREAN} "¼³Ä¡ µð·ºÅ丮" |
15 | LangString DirectoryChooseUpdate ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ¸¦ ¾÷µ¥ÀÌÆ®ÇÒ µð·ºÅ丮¸¦ ¼±ÅÃÇϼ¼¿ä. " | 15 | LangString DirectoryChooseUpdate ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ¸¦ ¾÷µ¥ÀÌÆ®ÇÒ µð·ºÅ丮¸¦ ¼±ÅÃÇϼ¼¿ä. " |
16 | LangString DirectoryChooseSetup ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ¸¦ ¼³Ä¡ÇÒ µð·ºÅ丮¸¦ ¼±ÅÃÇϼ¼¿ä:" | 16 | LangString DirectoryChooseSetup ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ¸¦ ¼³Ä¡ÇÒ µð·ºÅ丮¸¦ ¼±ÅÃÇϼ¼¿ä:" |
17 | 17 | ||
18 | ; CheckStartupParams message box | 18 | ; CheckStartupParams message box |
19 | LangString CheckStartupParamsMB ${LANG_KOREAN} " ¡®$INSTPROG¡¯ ÇÁ·Î±×·¥À» ãÁö ¸øÇß½À´Ï´Ù. ÀÚµ¿ ¾÷µ¥ÀÌÆ®¿¡ ½ÇÆÐÇß½À´Ï´Ù." | 19 | LangString CheckStartupParamsMB ${LANG_KOREAN} " ¡®$INSTPROG¡¯ ÇÁ·Î±×·¥À» ãÁö ¸øÇß½À´Ï´Ù. ÀÚµ¿ ¾÷µ¥ÀÌÆ®¿¡ ½ÇÆÐÇß½À´Ï´Ù." |
20 | 20 | ||
21 | ; installation success dialog | 21 | ; installation success dialog |
22 | LangString InstSuccesssQuestion ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ¸¦ ½ÃÀÛÇÏ°Ú½À´Ï±î?" | 22 | LangString InstSuccesssQuestion ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ¸¦ ½ÃÀÛÇÏ°Ú½À´Ï±î?" |
23 | 23 | ||
24 | ; remove old NSIS version | 24 | ; remove old NSIS version |
25 | LangString RemoveOldNSISVersion ${LANG_KOREAN} "ÀÌÀü ¹öÀüÀ» ã°í ÀÖ½À´Ï´Ù¡¦ " | 25 | LangString RemoveOldNSISVersion ${LANG_KOREAN} "ÀÌÀü ¹öÀüÀ» ã°í ÀÖ½À´Ï´Ù¡¦ " |
26 | 26 | ||
27 | ; check windows version | 27 | ; check windows version |
28 | LangString CheckWindowsVersionDP ${LANG_KOREAN} "À©µµ¿ì ¹öÀüÀ» È®ÀÎÇÏ°í ÀÖ½À´Ï´Ù." | 28 | LangString CheckWindowsVersionDP ${LANG_KOREAN} "À©µµ¿ì ¹öÀüÀ» È®ÀÎÇÏ°í ÀÖ½À´Ï´Ù." |
29 | LangString CheckWindowsVersionMB ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ´Â À©µµ¿ì XP, À©µµ¿ì 2000, ±×¸®°í ¸Æ OS X¸¦ Áö¿øÇÕ´Ï´Ù. À©µµ¿ì $R0¿¡ ¼³Ä¡¸¦ ½ÃµµÇÏ¸é ¿ÀÀÛµ¿°ú µ¥ÀÌÅÍ ºÐ½ÇÀÌ ÀϾ ¼ö ÀÖ½À´Ï´Ù. °è¼Ó ¼³Ä¡ÇÏ°Ú½À´Ï±î? " | 29 | LangString CheckWindowsVersionMB ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ´Â À©µµ¿ì XP, À©µµ¿ì 2000, ±×¸®°í ¸Æ OS X¸¦ Áö¿øÇÕ´Ï´Ù. À©µµ¿ì $R0¿¡ ¼³Ä¡¸¦ ½ÃµµÇÏ¸é ¿ÀÀÛµ¿°ú µ¥ÀÌÅÍ ºÐ½ÇÀÌ ÀϾ ¼ö ÀÖ½À´Ï´Ù. °è¼Ó ¼³Ä¡ÇÏ°Ú½À´Ï±î? " |
30 | 30 | ||
31 | ; checkifadministrator function (install) | 31 | ; checkifadministrator function (install) |
32 | LangString CheckAdministratorInstDP ${LANG_KOREAN} "¼³Ä¡ ±ÇÇÑÀ» È®ÀÎ ÁßÀÔ´Ï´Ù... " | 32 | LangString CheckAdministratorInstDP ${LANG_KOREAN} "¼³Ä¡ ±ÇÇÑÀ» È®ÀÎ ÁßÀÔ´Ï´Ù... " |
33 | LangString CheckAdministratorInstMB ${LANG_KOREAN} "ÇöÀç ¡®¼Õ´Ô¡¯°èÁ¤À» »ç¿ë ÁßÀÔ´Ï´Ù. ¼¼ÄÁµå¶óÀÌÇÁ¸¦ ¼³Ä¡Çϱâ À§Çؼ± ¡®¿î¿µÀÚ¡± °èÁ¤À» »ç¿ëÇØ¾ß ÇÕ´Ï´Ù." | 33 | LangString CheckAdministratorInstMB ${LANG_KOREAN} "ÇöÀç ¡®¼Õ´Ô¡¯°èÁ¤À» »ç¿ë ÁßÀÔ´Ï´Ù. ¼¼ÄÁµå¶óÀÌÇÁ¸¦ ¼³Ä¡Çϱâ À§Çؼ± ¡®¿î¿µÀÚ¡± °èÁ¤À» »ç¿ëÇØ¾ß ÇÕ´Ï´Ù." |
34 | 34 | ||
35 | ; checkifadministrator function (uninstall) | 35 | ; checkifadministrator function (uninstall) |
36 | LangString CheckAdministratorUnInstDP ${LANG_KOREAN} "Á¦°Å ±ÇÇÑÀ» È®ÀÎ ÁßÀÔ´Ï´Ù. " | 36 | LangString CheckAdministratorUnInstDP ${LANG_KOREAN} "Á¦°Å ±ÇÇÑÀ» È®ÀÎ ÁßÀÔ´Ï´Ù. " |
37 | LangString CheckAdministratorUnInstMB ${LANG_KOREAN} " ÇöÀç ¡®¼Õ´Ô¡¯°èÁ¤À» »ç¿ë ÁßÀÔ´Ï´Ù. ¼¼ÄÁµå¶óÀÌÇÁ¸¦ Á¦°ÅÇϱâ À§Çؼ± ¡®¿î¿µÀÚ¡± °èÁ¤À» »ç¿ëÇØ¾ß ÇÕ´Ï´Ù. " | 37 | LangString CheckAdministratorUnInstMB ${LANG_KOREAN} " ÇöÀç ¡®¼Õ´Ô¡¯°èÁ¤À» »ç¿ë ÁßÀÔ´Ï´Ù. ¼¼ÄÁµå¶óÀÌÇÁ¸¦ Á¦°ÅÇϱâ À§Çؼ± ¡®¿î¿µÀÚ¡± °èÁ¤À» »ç¿ëÇØ¾ß ÇÕ´Ï´Ù. " |
38 | 38 | ||
39 | ; checkifalreadycurrent | 39 | ; checkifalreadycurrent |
40 | LangString CheckIfCurrentMB ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ ¹öÀü ${VERSION_LONG}ÀÌ ÀÌ¹Ì ¼³Ä¡µÇ¾î ÀÖ½À´Ï´Ù. ´Ù½Ã ¼³Ä¡ÇϽðڽÀ´Ï±î? " | 40 | LangString CheckIfCurrentMB ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ ¹öÀü ${VERSION_LONG}ÀÌ ÀÌ¹Ì ¼³Ä¡µÇ¾î ÀÖ½À´Ï´Ù. ´Ù½Ã ¼³Ä¡ÇϽðڽÀ´Ï±î? " |
41 | 41 | ||
42 | ; closesecondlife function (install) | 42 | ; closeimprudence function (install) |
43 | LangString CloseSecondLifeInstDP ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ¸¦ Á¾·áÇÒ ¶§ ±îÁö ´ë±â Áß¡¦ " | 43 | LangString CloseSecondLifeInstDP ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ¸¦ Á¾·áÇÒ ¶§ ±îÁö ´ë±â Áß¡¦ " |
44 | LangString CloseSecondLifeInstMB ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ°¡ ÀÌ¹Ì ÀÛµ¿ ÁßÀÏ °æ¿ì ¼³Ä¡¸¦ °è¼Ó ÇÒ ¼ö ¾ø½À´Ï´Ù. ÇöÀç ÀÛ¾÷À» ¸ØÃß°í ¡®È®ÀΡ¯À» ´·¯ ¼¼ÄÁµå¶óÀÌÇÁ¸¦ Á¾·áÇÑ ´ÙÀ½ ÁøÇàÇϱ⠹ٶø´Ï´Ù. ¼³Ä¡¸¦ Ãë¼ÒÇÏ·Á¸é ¡®Ãë¼Ò¡¯¸¦ ´©¸£¼¼¿ä." | 44 | LangString CloseSecondLifeInstMB ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ°¡ ÀÌ¹Ì ÀÛµ¿ ÁßÀÏ °æ¿ì ¼³Ä¡¸¦ °è¼Ó ÇÒ ¼ö ¾ø½À´Ï´Ù. ÇöÀç ÀÛ¾÷À» ¸ØÃß°í ¡®È®ÀΡ¯À» ´·¯ ¼¼ÄÁµå¶óÀÌÇÁ¸¦ Á¾·áÇÑ ´ÙÀ½ ÁøÇàÇϱ⠹ٶø´Ï´Ù. ¼³Ä¡¸¦ Ãë¼ÒÇÏ·Á¸é ¡®Ãë¼Ò¡¯¸¦ ´©¸£¼¼¿ä." |
45 | 45 | ||
46 | ; closesecondlife function (uninstall) | 46 | ; closeimprudence function (uninstall) |
47 | LangString CloseSecondLifeUnInstDP ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ¸¦ Á¾·áÇÒ ¶§ ±îÁö ´ë±â Áß¡¦¡±" | 47 | LangString CloseSecondLifeUnInstDP ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ¸¦ Á¾·áÇÒ ¶§ ±îÁö ´ë±â Áß¡¦¡±" |
48 | LangString CloseSecondLifeUnInstMB ${LANG_KOREAN} " ¼¼ÄÁµå¶óÀÌÇÁ°¡ ÀÌ¹Ì ÀÛµ¿ ÁßÀÏ °æ¿ì Á¦°Å¸¦ °è¼Ó ÇÒ ¼ö ¾ø½À´Ï´Ù. ÇöÀç ÀÛ¾÷À» ¸ØÃß°í ¡®È®ÀΡ¯À» ´·¯ ¼¼ÄÁµå¶óÀÌÇÁ¸¦ Á¾·áÇÑ ´ÙÀ½ ÁøÇàÇϱ⠹ٶø´Ï´Ù. ¼³Ä¡¸¦ ÃëÇÏ·Á¸é ¡®Ãë¼Ò¡¯¸¦ ´©¸£¼¼¿ä. " | 48 | LangString CloseSecondLifeUnInstMB ${LANG_KOREAN} " ¼¼ÄÁµå¶óÀÌÇÁ°¡ ÀÌ¹Ì ÀÛµ¿ ÁßÀÏ °æ¿ì Á¦°Å¸¦ °è¼Ó ÇÒ ¼ö ¾ø½À´Ï´Ù. ÇöÀç ÀÛ¾÷À» ¸ØÃß°í ¡®È®ÀΡ¯À» ´·¯ ¼¼ÄÁµå¶óÀÌÇÁ¸¦ Á¾·áÇÑ ´ÙÀ½ ÁøÇàÇϱ⠹ٶø´Ï´Ù. ¼³Ä¡¸¦ ÃëÇÏ·Á¸é ¡®Ãë¼Ò¡¯¸¦ ´©¸£¼¼¿ä. " |
49 | 49 | ||
50 | ; removecachefiles | 50 | ; removecachefiles |
51 | LangString RemoveCacheFilesDP ${LANG_KOREAN} " Documents and Settings Æú´õ ³»ÀÇ Ä³½Ã ÆÄÀϵéÀ» Áö¿ó´Ï´Ù." | 51 | LangString RemoveCacheFilesDP ${LANG_KOREAN} " Documents and Settings Æú´õ ³»ÀÇ Ä³½Ã ÆÄÀϵéÀ» Áö¿ó´Ï´Ù." |
52 | 52 | ||
53 | ; delete program files | 53 | ; delete program files |
54 | LangString DeleteProgramFilesMB ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ ÇÁ·Î±×·¥ µð·ºÅ丮¿¡ ¾ÆÁ÷ ÆÄÀϵéÀÌ ³²¾Æ ÀÖ½À´Ï´Ù. ÀÌ ÆÄÀϵéÀº »ç¿ëÀÚ°¡ ¸¸µç °ÍµéÀ̰ųª$\n$INSTDIR$\n$\n·Î À̵¿ÇÑ ÆÄÀϵéÀÏ ¼ö ÀÖ½À´Ï´Ù. ÀÌ ÆÄÀϵéÀ» Á¦°ÅÇÏ°Ú½À´Ï±î?" | 54 | LangString DeleteProgramFilesMB ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ ÇÁ·Î±×·¥ µð·ºÅ丮¿¡ ¾ÆÁ÷ ÆÄÀϵéÀÌ ³²¾Æ ÀÖ½À´Ï´Ù. ÀÌ ÆÄÀϵéÀº »ç¿ëÀÚ°¡ ¸¸µç °ÍµéÀ̰ųª$\n$INSTDIR$\n$\n·Î À̵¿ÇÑ ÆÄÀϵéÀÏ ¼ö ÀÖ½À´Ï´Ù. ÀÌ ÆÄÀϵéÀ» Á¦°ÅÇÏ°Ú½À´Ï±î?" |
55 | 55 | ||
56 | ; uninstall text | 56 | ; uninstall text |
57 | LangString UninstallTextMsg ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ${VERSION_LONG}À» ½Ã½ºÅÛ¿¡¼ Á¦°ÅÇÕ´Ï´Ù." | 57 | LangString UninstallTextMsg ${LANG_KOREAN} "¼¼ÄÁµå¶óÀÌÇÁ${VERSION_LONG}À» ½Ã½ºÅÛ¿¡¼ Á¦°ÅÇÕ´Ï´Ù." |
diff --git a/linden/indra/newview/res/viewerRes.rc b/linden/indra/newview/res/viewerRes.rc index a39bb9f..2082405 100644 --- a/linden/indra/newview/res/viewerRes.rc +++ b/linden/indra/newview/res/viewerRes.rc | |||
@@ -1,288 +1,288 @@ | |||
1 | // Microsoft Visual C++ generated resource script. | 1 | // Microsoft Visual C++ generated resource script. |
2 | // | 2 | // |
3 | #include "resource.h" | 3 | #include "resource.h" |
4 | 4 | ||
5 | #ifdef IDC_STATIC | 5 | #ifdef IDC_STATIC |
6 | #undef IDC_STATIC | 6 | #undef IDC_STATIC |
7 | #endif | 7 | #endif |
8 | #define IDC_STATIC (-1) | 8 | #define IDC_STATIC (-1) |
9 | #include "winresrc.h" | 9 | #include "winresrc.h" |
10 | 10 | ||
11 | #define APSTUDIO_READONLY_SYMBOLS | 11 | #define APSTUDIO_READONLY_SYMBOLS |
12 | ///////////////////////////////////////////////////////////////////////////// | 12 | ///////////////////////////////////////////////////////////////////////////// |
13 | // | 13 | // |
14 | // Generated from the TEXTINCLUDE 2 resource. | 14 | // Generated from the TEXTINCLUDE 2 resource. |
15 | // | 15 | // |
16 | // Commented out because it only compiles if you have MFC installed. | 16 | // Commented out because it only compiles if you have MFC installed. |
17 | //#include "winres.h" | 17 | //#include "winres.h" |
18 | 18 | ||
19 | ///////////////////////////////////////////////////////////////////////////// | 19 | ///////////////////////////////////////////////////////////////////////////// |
20 | #undef APSTUDIO_READONLY_SYMBOLS | 20 | #undef APSTUDIO_READONLY_SYMBOLS |
21 | 21 | ||
22 | ///////////////////////////////////////////////////////////////////////////// | 22 | ///////////////////////////////////////////////////////////////////////////// |
23 | // English (U.S.) resources | 23 | // English (U.S.) resources |
24 | 24 | ||
25 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) | 25 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) |
26 | #ifdef _WIN32 | 26 | #ifdef _WIN32 |
27 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US | 27 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US |
28 | #pragma code_page(1252) | 28 | #pragma code_page(1252) |
29 | #endif //_WIN32 | 29 | #endif //_WIN32 |
30 | 30 | ||
31 | #ifdef APSTUDIO_INVOKED | 31 | #ifdef APSTUDIO_INVOKED |
32 | ///////////////////////////////////////////////////////////////////////////// | 32 | ///////////////////////////////////////////////////////////////////////////// |
33 | // | 33 | // |
34 | // TEXTINCLUDE | 34 | // TEXTINCLUDE |
35 | // | 35 | // |
36 | 36 | ||
37 | 1 TEXTINCLUDE | 37 | 1 TEXTINCLUDE |
38 | BEGIN | 38 | BEGIN |
39 | "resource.h\0" | 39 | "resource.h\0" |
40 | END | 40 | END |
41 | 41 | ||
42 | 2 TEXTINCLUDE | 42 | 2 TEXTINCLUDE |
43 | BEGIN | 43 | BEGIN |
44 | "#include ""winres.h""\r\n" | 44 | "#include ""winres.h""\r\n" |
45 | "\0" | 45 | "\0" |
46 | END | 46 | END |
47 | 47 | ||
48 | 3 TEXTINCLUDE | 48 | 3 TEXTINCLUDE |
49 | BEGIN | 49 | BEGIN |
50 | "\r\n" | 50 | "\r\n" |
51 | "\0" | 51 | "\0" |
52 | END | 52 | END |
53 | 53 | ||
54 | #endif // APSTUDIO_INVOKED | 54 | #endif // APSTUDIO_INVOKED |
55 | 55 | ||
56 | 56 | ||
57 | ///////////////////////////////////////////////////////////////////////////// | 57 | ///////////////////////////////////////////////////////////////////////////// |
58 | // | 58 | // |
59 | // Icon | 59 | // Icon |
60 | // | 60 | // |
61 | 61 | ||
62 | // Icon with lowest ID value placed first to ensure application icon | 62 | // Icon with lowest ID value placed first to ensure application icon |
63 | // remains consistent on all systems. | 63 | // remains consistent on all systems. |
64 | IDI_LL_ICON ICON "ll_icon.ico" | 64 | IDI_LL_ICON ICON "ll_icon.ico" |
65 | IDI_INSTALL_ICON ICON "install_icon.ico" | 65 | IDI_INSTALL_ICON ICON "install_icon.ico" |
66 | IDI_LCD_LL_ICON ICON "icon1.ico" | 66 | IDI_LCD_LL_ICON ICON "icon1.ico" |
67 | 67 | ||
68 | ///////////////////////////////////////////////////////////////////////////// | 68 | ///////////////////////////////////////////////////////////////////////////// |
69 | // | 69 | // |
70 | // Dialog | 70 | // Dialog |
71 | // | 71 | // |
72 | 72 | ||
73 | CONNECTBOX DIALOGEX 32, 32, 187, 246 | 73 | CONNECTBOX DIALOGEX 32, 32, 187, 246 |
74 | STYLE DS_SETFONT | DS_SETFOREGROUND | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | | 74 | STYLE DS_SETFONT | DS_SETFOREGROUND | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | |
75 | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | 75 | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
76 | FONT 8, "MS Sans Serif", 0, 0, 0x0 | 76 | FONT 8, "MS Sans Serif", 0, 0, 0x0 |
77 | BEGIN | 77 | BEGIN |
78 | CONTROL 149,IDC_STATIC,"Static",SS_BITMAP,0,0,187,246 | 78 | CONTROL 149,IDC_STATIC,"Static",SS_BITMAP,0,0,187,246 |
79 | EDITTEXT IDC_EDIT_FIRSTNAME,9,180,80,13,ES_AUTOHSCROLL | 79 | EDITTEXT IDC_EDIT_FIRSTNAME,9,180,80,13,ES_AUTOHSCROLL |
80 | EDITTEXT IDC_EDIT_LASTNAME,98,180,80,13,ES_AUTOHSCROLL | 80 | EDITTEXT IDC_EDIT_LASTNAME,98,180,80,13,ES_AUTOHSCROLL |
81 | EDITTEXT IDC_EDIT_PASSWORD,9,210,80,13,ES_PASSWORD | | 81 | EDITTEXT IDC_EDIT_PASSWORD,9,210,80,13,ES_PASSWORD | |
82 | ES_AUTOHSCROLL | 82 | ES_AUTOHSCROLL |
83 | CONTROL "Remember password",IDC_REMEMBER_PASSWORD,"Button", | 83 | CONTROL "Remember password",IDC_REMEMBER_PASSWORD,"Button", |
84 | BS_AUTOCHECKBOX | WS_TABSTOP,9,229,80,10 | 84 | BS_AUTOCHECKBOX | WS_TABSTOP,9,229,80,10 |
85 | DEFPUSHBUTTON "Connect...",IDOK,98,210,80,13 | 85 | DEFPUSHBUTTON "Connect...",IDOK,98,210,80,13 |
86 | CONTROL "Full screen",IDC_FULL_SCREEN,"Button",BS_AUTOCHECKBOX | | 86 | CONTROL "Full screen",IDC_FULL_SCREEN,"Button",BS_AUTOCHECKBOX | |
87 | WS_TABSTOP,100,229,50,10 | 87 | WS_TABSTOP,100,229,50,10 |
88 | COMBOBOX IDC_COMBO_SERVER,98,6,84,30,CBS_DROPDOWNLIST | CBS_SORT | | 88 | COMBOBOX IDC_COMBO_SERVER,98,6,84,30,CBS_DROPDOWNLIST | CBS_SORT | |
89 | WS_VSCROLL | WS_TABSTOP | 89 | WS_VSCROLL | WS_TABSTOP |
90 | END | 90 | END |
91 | 91 | ||
92 | CONNECTBOXIP DIALOG 32, 32, 282, 174 | 92 | CONNECTBOXIP DIALOG 32, 32, 282, 174 |
93 | STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_CENTER | WS_POPUP | | 93 | STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_CENTER | WS_POPUP | |
94 | WS_VISIBLE | 94 | WS_VISIBLE |
95 | FONT 8, "MS Sans Serif" | 95 | FONT 8, "MS Sans Serif" |
96 | BEGIN | 96 | BEGIN |
97 | LTEXT "First name:",IDC_STATIC_FIRSTNAME,152,24,36,10,NOT | 97 | LTEXT "First name:",IDC_STATIC_FIRSTNAME,152,24,36,10,NOT |
98 | WS_GROUP | 98 | WS_GROUP |
99 | EDITTEXT IDC_EDIT_FIRSTNAME,152,37,58,13,ES_AUTOHSCROLL | 99 | EDITTEXT IDC_EDIT_FIRSTNAME,152,37,58,13,ES_AUTOHSCROLL |
100 | LTEXT "Last name:",IDC_STATIC_LASTNAME,218,24,38,10,NOT | 100 | LTEXT "Last name:",IDC_STATIC_LASTNAME,218,24,38,10,NOT |
101 | WS_GROUP | 101 | WS_GROUP |
102 | EDITTEXT IDC_EDIT_LASTNAME,218,37,57,13,ES_AUTOHSCROLL | 102 | EDITTEXT IDC_EDIT_LASTNAME,218,37,57,13,ES_AUTOHSCROLL |
103 | LTEXT "Password:",IDC_STATIC_PASSWORD,152,55,38,10 | 103 | LTEXT "Password:",IDC_STATIC_PASSWORD,152,55,38,10 |
104 | EDITTEXT IDC_EDIT_PASSWORD,152,71,123,13,ES_PASSWORD | | 104 | EDITTEXT IDC_EDIT_PASSWORD,152,71,123,13,ES_PASSWORD | |
105 | ES_AUTOHSCROLL | 105 | ES_AUTOHSCROLL |
106 | CONTROL "Remember password for next time",IDC_REMEMBER_PASSWORD, | 106 | CONTROL "Remember password for next time",IDC_REMEMBER_PASSWORD, |
107 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,152,84,123,10 | 107 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,152,84,123,10 |
108 | LTEXT "Return to:",IDC_STATIC,152,97,32,8 | 108 | LTEXT "Return to:",IDC_STATIC,152,97,32,8 |
109 | CONTROL "Last location",IDC_RADIO_LAST,"Button", | 109 | CONTROL "Last location",IDC_RADIO_LAST,"Button", |
110 | BS_AUTORADIOBUTTON | WS_TABSTOP,152,109,56,10 | 110 | BS_AUTORADIOBUTTON | WS_TABSTOP,152,109,56,10 |
111 | CONTROL "Home",IDC_RADIO_HOME,"Button",BS_AUTORADIOBUTTON | | 111 | CONTROL "Home",IDC_RADIO_HOME,"Button",BS_AUTORADIOBUTTON | |
112 | WS_TABSTOP,218,109,35,10 | 112 | WS_TABSTOP,218,109,35,10 |
113 | LTEXT "Server:",IDC_STATIC_SERVER,152,119,38,10,NOT WS_GROUP | 113 | LTEXT "Server:",IDC_STATIC_SERVER,152,119,38,10,NOT WS_GROUP |
114 | COMBOBOX IDC_COMBO_SERVER,152,134,88,43,CBS_DROPDOWN | WS_VSCROLL | | 114 | COMBOBOX IDC_COMBO_SERVER,152,134,88,43,CBS_DROPDOWN | WS_VSCROLL | |
115 | WS_TABSTOP | 115 | WS_TABSTOP |
116 | PUSHBUTTON "Quit",IDCANCEL,152,152,50,14 | 116 | PUSHBUTTON "Quit",IDCANCEL,152,152,50,14 |
117 | DEFPUSHBUTTON "Connect...",IDOK,225,152,50,14 | 117 | DEFPUSHBUTTON "Connect...",IDOK,225,152,50,14 |
118 | CONTROL 140,IDB_BITMAP1,"Static",SS_BITMAP,8,7,133,157 | 118 | CONTROL 140,IDB_BITMAP1,"Static",SS_BITMAP,8,7,133,157 |
119 | LTEXT "Connect to Second Life",IDC_STATIC,152,7,78,8 | 119 | LTEXT "Connect to Second Life",IDC_STATIC,152,7,78,8 |
120 | END | 120 | END |
121 | 121 | ||
122 | SPLASHSCREEN DIALOG 32, 32, 144, 34 | 122 | SPLASHSCREEN DIALOG 32, 32, 144, 34 |
123 | STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | 123 | STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE |
124 | FONT 8, "MS Sans Serif" | 124 | FONT 8, "MS Sans Serif" |
125 | BEGIN | 125 | BEGIN |
126 | ICON IDI_LL_ICON,IDC_STATIC,7,7,20,20 | 126 | ICON IDI_LL_ICON,IDC_STATIC,7,7,20,20 |
127 | LTEXT "Loading Second Life...",666,36,13,91,8 | 127 | LTEXT "Loading Second Life...",666,36,13,91,8 |
128 | END | 128 | END |
129 | 129 | ||
130 | 130 | ||
131 | ///////////////////////////////////////////////////////////////////////////// | 131 | ///////////////////////////////////////////////////////////////////////////// |
132 | // | 132 | // |
133 | // DESIGNINFO | 133 | // DESIGNINFO |
134 | // | 134 | // |
135 | 135 | ||
136 | #ifdef APSTUDIO_INVOKED | 136 | #ifdef APSTUDIO_INVOKED |
137 | GUIDELINES DESIGNINFO | 137 | GUIDELINES DESIGNINFO |
138 | BEGIN | 138 | BEGIN |
139 | "CONNECTBOX", DIALOG | 139 | "CONNECTBOX", DIALOG |
140 | BEGIN | 140 | BEGIN |
141 | LEFTMARGIN, 8 | 141 | LEFTMARGIN, 8 |
142 | RIGHTMARGIN, 180 | 142 | RIGHTMARGIN, 180 |
143 | VERTGUIDE, 152 | 143 | VERTGUIDE, 152 |
144 | TOPMARGIN, 7 | 144 | TOPMARGIN, 7 |
145 | BOTTOMMARGIN, 239 | 145 | BOTTOMMARGIN, 239 |
146 | HORZGUIDE, 44 | 146 | HORZGUIDE, 44 |
147 | HORZGUIDE, 57 | 147 | HORZGUIDE, 57 |
148 | HORZGUIDE, 123 | 148 | HORZGUIDE, 123 |
149 | END | 149 | END |
150 | 150 | ||
151 | "CONNECTBOXIP", DIALOG | 151 | "CONNECTBOXIP", DIALOG |
152 | BEGIN | 152 | BEGIN |
153 | LEFTMARGIN, 7 | 153 | LEFTMARGIN, 7 |
154 | RIGHTMARGIN, 275 | 154 | RIGHTMARGIN, 275 |
155 | VERTGUIDE, 152 | 155 | VERTGUIDE, 152 |
156 | VERTGUIDE, 218 | 156 | VERTGUIDE, 218 |
157 | TOPMARGIN, 7 | 157 | TOPMARGIN, 7 |
158 | BOTTOMMARGIN, 166 | 158 | BOTTOMMARGIN, 166 |
159 | HORZGUIDE, 12 | 159 | HORZGUIDE, 12 |
160 | HORZGUIDE, 17 | 160 | HORZGUIDE, 17 |
161 | HORZGUIDE, 24 | 161 | HORZGUIDE, 24 |
162 | HORZGUIDE, 50 | 162 | HORZGUIDE, 50 |
163 | HORZGUIDE, 55 | 163 | HORZGUIDE, 55 |
164 | HORZGUIDE, 84 | 164 | HORZGUIDE, 84 |
165 | HORZGUIDE, 105 | 165 | HORZGUIDE, 105 |
166 | HORZGUIDE, 119 | 166 | HORZGUIDE, 119 |
167 | END | 167 | END |
168 | 168 | ||
169 | "SPLASHSCREEN", DIALOG | 169 | "SPLASHSCREEN", DIALOG |
170 | BEGIN | 170 | BEGIN |
171 | LEFTMARGIN, 7 | 171 | LEFTMARGIN, 7 |
172 | RIGHTMARGIN, 137 | 172 | RIGHTMARGIN, 137 |
173 | VERTGUIDE, 36 | 173 | VERTGUIDE, 36 |
174 | TOPMARGIN, 7 | 174 | TOPMARGIN, 7 |
175 | BOTTOMMARGIN, 27 | 175 | BOTTOMMARGIN, 27 |
176 | END | 176 | END |
177 | END | 177 | END |
178 | #endif // APSTUDIO_INVOKED | 178 | #endif // APSTUDIO_INVOKED |
179 | 179 | ||
180 | 180 | ||
181 | ///////////////////////////////////////////////////////////////////////////// | 181 | ///////////////////////////////////////////////////////////////////////////// |
182 | // | 182 | // |
183 | // Menu | 183 | // Menu |
184 | // | 184 | // |
185 | 185 | ||
186 | IDR_MENU1 MENU | 186 | IDR_MENU1 MENU |
187 | BEGIN | 187 | BEGIN |
188 | POPUP "testmenu" | 188 | POPUP "testmenu" |
189 | BEGIN | 189 | BEGIN |
190 | MENUITEM "test", ID_TESTMENU_TEST | 190 | MENUITEM "test", ID_TESTMENU_TEST |
191 | END | 191 | END |
192 | END | 192 | END |
193 | 193 | ||
194 | 194 | ||
195 | ///////////////////////////////////////////////////////////////////////////// | 195 | ///////////////////////////////////////////////////////////////////////////// |
196 | // | 196 | // |
197 | // Cursor | 197 | // Cursor |
198 | // | 198 | // |
199 | 199 | ||
200 | TOOLGRAB CURSOR "lltoolgrab.cur" | 200 | TOOLGRAB CURSOR "lltoolgrab.cur" |
201 | TOOLLAND CURSOR "lltoolland.cur" | 201 | TOOLLAND CURSOR "lltoolland.cur" |
202 | TOOLZOOMIN CURSOR "lltoolzoomin.cur" | 202 | TOOLZOOMIN CURSOR "lltoolzoomin.cur" |
203 | TOOLCREATE CURSOR "lltoolcreate.cur" | 203 | TOOLCREATE CURSOR "lltoolcreate.cur" |
204 | ARROWDRAG CURSOR "llarrowdrag.cur" | 204 | ARROWDRAG CURSOR "llarrowdrag.cur" |
205 | ARROW CURSOR "llarrow.cur" | 205 | ARROW CURSOR "llarrow.cur" |
206 | NOLOCKED CURSOR "llnolocked.cur" | 206 | NOLOCKED CURSOR "llnolocked.cur" |
207 | ARROWLOCKED CURSOR "llarrowlocked.cur" | 207 | ARROWLOCKED CURSOR "llarrowlocked.cur" |
208 | GRABLOCKED CURSOR "llgrablocked.cur" | 208 | GRABLOCKED CURSOR "llgrablocked.cur" |
209 | TOOLROTATE CURSOR "lltoolrotate.cur" | 209 | TOOLROTATE CURSOR "lltoolrotate.cur" |
210 | TOOLTRANSLATE CURSOR "lltooltranslate.cur" | 210 | TOOLTRANSLATE CURSOR "lltooltranslate.cur" |
211 | TOOLSCALE CURSOR "lltoolscale.cur" | 211 | TOOLSCALE CURSOR "lltoolscale.cur" |
212 | TOOLCAMERA CURSOR "lltoolcamera.cur" | 212 | TOOLCAMERA CURSOR "lltoolcamera.cur" |
213 | TOOLPAN CURSOR "lltoolpan.cur" | 213 | TOOLPAN CURSOR "lltoolpan.cur" |
214 | TOOLFOCUS CURSOR "lltoolfocus.cur" | 214 | TOOLFOCUS CURSOR "lltoolfocus.cur" |
215 | TOOLPICKOBJECT3 CURSOR "toolpickobject3.cur" | 215 | TOOLPICKOBJECT3 CURSOR "toolpickobject3.cur" |
216 | ARROWCOPY CURSOR "arrowcop.cur" | 216 | ARROWCOPY CURSOR "arrowcop.cur" |
217 | ARROWDRAGMULTI CURSOR "llarrowdragmulti.cur" | 217 | ARROWDRAGMULTI CURSOR "llarrowdragmulti.cur" |
218 | ARROWCOPYMULTI CURSOR "arrowcopmulti.cur" | 218 | ARROWCOPYMULTI CURSOR "arrowcopmulti.cur" |
219 | TOOLSIT CURSOR "toolsit.cur" | 219 | TOOLSIT CURSOR "toolsit.cur" |
220 | TOOLBUY CURSOR "toolbuy.cur" | 220 | TOOLBUY CURSOR "toolbuy.cur" |
221 | TOOLPAY CURSOR "toolpay.cur" | 221 | TOOLPAY CURSOR "toolpay.cur" |
222 | TOOLOPEN CURSOR "toolopen.cur" | 222 | TOOLOPEN CURSOR "toolopen.cur" |
223 | TOOLPIPETTE CURSOR "toolpipette.cur" | 223 | TOOLPIPETTE CURSOR "toolpipette.cur" |
224 | TOOLPLAY CURSOR "toolplay.cur" | 224 | TOOLPLAY CURSOR "toolplay.cur" |
225 | TOOLPAUSE CURSOR "toolpause.cur" | 225 | TOOLPAUSE CURSOR "toolpause.cur" |
226 | TOOLMEDIAOPEN CURSOR "toolmediaopen.cur" | 226 | TOOLMEDIAOPEN CURSOR "toolmediaopen.cur" |
227 | 227 | ||
228 | ///////////////////////////////////////////////////////////////////////////// | 228 | ///////////////////////////////////////////////////////////////////////////// |
229 | // | 229 | // |
230 | // Version | 230 | // Version |
231 | // | 231 | // |
232 | 232 | ||
233 | VS_VERSION_INFO VERSIONINFO | 233 | VS_VERSION_INFO VERSIONINFO |
234 | FILEVERSION 1,20,9,87416 | 234 | FILEVERSION 1,20,9,87416 |
235 | PRODUCTVERSION 1,20,9,87416 | 235 | PRODUCTVERSION 1,20,9,87416 |
236 | FILEFLAGSMASK 0x3fL | 236 | FILEFLAGSMASK 0x3fL |
237 | #ifdef _DEBUG | 237 | #ifdef _DEBUG |
238 | FILEFLAGS 0x1L | 238 | FILEFLAGS 0x1L |
239 | #else | 239 | #else |
240 | FILEFLAGS 0x0L | 240 | FILEFLAGS 0x0L |
241 | #endif | 241 | #endif |
242 | FILEOS 0x40004L | 242 | FILEOS 0x40004L |
243 | FILETYPE 0x1L | 243 | FILETYPE 0x1L |
244 | FILESUBTYPE 0x0L | 244 | FILESUBTYPE 0x0L |
245 | BEGIN | 245 | BEGIN |
246 | BLOCK "StringFileInfo" | 246 | BLOCK "StringFileInfo" |
247 | BEGIN | 247 | BEGIN |
248 | BLOCK "040904b0" | 248 | BLOCK "040904b0" |
249 | BEGIN | 249 | BEGIN |
250 | VALUE "CompanyName", "Linden Lab" | 250 | VALUE "CompanyName", "Imprudence Viewer Project" |
251 | VALUE "FileDescription", "Second Life" | 251 | VALUE "FileDescription", "Imprudence" |
252 | VALUE "FileVersion", "1.20.9.87416" | 252 | VALUE "FileVersion", "1.0.0" |
253 | VALUE "InternalName", "Second Life" | 253 | VALUE "InternalName", "Imprudence" |
254 | VALUE "LegalCopyright", "Copyright © 2001-2008, Linden Research, Inc." | 254 | VALUE "LegalCopyright", "Copyright © 2001-2008, Linden Research, Inc." |
255 | VALUE "OriginalFilename", "SecondLife.exe" | 255 | VALUE "OriginalFilename", "Imprudence.exe" |
256 | VALUE "ProductName", "Second Life" | 256 | VALUE "ProductName", "Imprudence" |
257 | VALUE "ProductVersion", "1.20.9.87416" | 257 | VALUE "ProductVersion", "1.0.0" |
258 | END | 258 | END |
259 | END | 259 | END |
260 | BLOCK "VarFileInfo" | 260 | BLOCK "VarFileInfo" |
261 | BEGIN | 261 | BEGIN |
262 | VALUE "Translation", 0x409, 1200 | 262 | VALUE "Translation", 0x409, 1200 |
263 | END | 263 | END |
264 | END | 264 | END |
265 | 265 | ||
266 | 266 | ||
267 | ///////////////////////////////////////////////////////////////////////////// | 267 | ///////////////////////////////////////////////////////////////////////////// |
268 | // | 268 | // |
269 | // Bitmap | 269 | // Bitmap |
270 | // | 270 | // |
271 | 271 | ||
272 | IDB_BITMAP2 BITMAP "bitmap2.bmp" | 272 | IDB_BITMAP2 BITMAP "bitmap2.bmp" |
273 | IDB_LOGIN BITMAP "loginbackground.bmp" | 273 | IDB_LOGIN BITMAP "loginbackground.bmp" |
274 | #endif // English (U.S.) resources | 274 | #endif // English (U.S.) resources |
275 | ///////////////////////////////////////////////////////////////////////////// | 275 | ///////////////////////////////////////////////////////////////////////////// |
276 | 276 | ||
277 | 277 | ||
278 | 278 | ||
279 | #ifndef APSTUDIO_INVOKED | 279 | #ifndef APSTUDIO_INVOKED |
280 | ///////////////////////////////////////////////////////////////////////////// | 280 | ///////////////////////////////////////////////////////////////////////////// |
281 | // | 281 | // |
282 | // Generated from the TEXTINCLUDE 3 resource. | 282 | // Generated from the TEXTINCLUDE 3 resource. |
283 | // | 283 | // |
284 | 284 | ||
285 | 285 | ||
286 | ///////////////////////////////////////////////////////////////////////////// | 286 | ///////////////////////////////////////////////////////////////////////////// |
287 | #endif // not APSTUDIO_INVOKED | 287 | #endif // not APSTUDIO_INVOKED |
288 | 288 | ||
diff --git a/linden/indra/win_updater/updater.cpp b/linden/indra/win_updater/updater.cpp index 5ea4695..9b99f91 100644 --- a/linden/indra/win_updater/updater.cpp +++ b/linden/indra/win_updater/updater.cpp | |||
@@ -376,7 +376,7 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho | |||
376 | } | 376 | } |
377 | else | 377 | else |
378 | { | 378 | { |
379 | mbstowcs(window_title, "Second Life Updater", 2048); | 379 | mbstowcs(window_title, "Imprudence Updater", 2048); |
380 | } | 380 | } |
381 | 381 | ||
382 | WNDCLASSEX wndclassex = { 0 }; | 382 | WNDCLASSEX wndclassex = { 0 }; |
@@ -469,11 +469,11 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho | |||
469 | if (gTotalBytesRead < (1024 * 1024) && ! cancelled) | 469 | if (gTotalBytesRead < (1024 * 1024) && ! cancelled) |
470 | { | 470 | { |
471 | MessageBox(gWindow, | 471 | MessageBox(gWindow, |
472 | L"The Second Life auto-update has failed.\n" | 472 | L"The Imprudence auto-update has failed.\n" |
473 | L"The problem may be caused by other software installed \n" | 473 | L"The problem may be caused by other software installed \n" |
474 | L"on your computer, such as a firewall.\n" | 474 | L"on your computer, such as a firewall.\n" |
475 | L"Please visit http://secondlife.com/download/ \n" | 475 | L"Please visit http://imprudenceviewer.org/download/ \n" |
476 | L"to download the latest version of Second Life.\n", | 476 | L"to download the latest version of Imprudence.\n", |
477 | NULL, MB_OK); | 477 | NULL, MB_OK); |
478 | return 1; | 478 | return 1; |
479 | } | 479 | } |
@@ -487,7 +487,7 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho | |||
487 | if (!success) | 487 | if (!success) |
488 | { | 488 | { |
489 | MessageBox(gWindow, | 489 | MessageBox(gWindow, |
490 | L"Second Life download failed.\n" | 490 | L"Imprudence download failed.\n" |
491 | L"Please try again later.", | 491 | L"Please try again later.", |
492 | NULL, MB_OK); | 492 | NULL, MB_OK); |
493 | return 1; | 493 | return 1; |