diff options
author | Jacek Antonelli | 2008-11-01 01:32:37 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-11-01 01:32:37 -0500 |
commit | 695b4cb98be4257af11d9308453d15c3f72c3986 (patch) | |
tree | 9d9a60a0131f1d8b4a318f379ce9a9a046428b5e | |
parent | Package only our free fonts. (diff) | |
parent | Merge commit 'mccabe/rebranding' into rebranding (diff) | |
download | meta-impy-695b4cb98be4257af11d9308453d15c3f72c3986.zip meta-impy-695b4cb98be4257af11d9308453d15c3f72c3986.tar.gz meta-impy-695b4cb98be4257af11d9308453d15c3f72c3986.tar.bz2 meta-impy-695b4cb98be4257af11d9308453d15c3f72c3986.tar.xz |
Merge branch 'rebranding' into next
Conflicts:
linden/indra/newview/viewer_manifest.py
34 files changed, 1823 insertions, 1728 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index a34e964..58f753a 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -25,6 +25,97 @@ | |||
25 | 25 | ||
26 | * Updated to SL source 1.21.6. | 26 | * Updated to SL source 1.21.6. |
27 | 27 | ||
28 | 2008-10-17 McCabe Maxsted <hakushakukun@gmail.com> | ||
29 | |||
30 | * linden\indra\newview\skins\default\xui\en-us\menu_viewer.xml: | ||
31 | Rebranded the Help menu to point to Imprudence sites, removed issue tracker. | ||
32 | * linden\indra\newview\skins\default\xui\en-us\alerts.xml: | ||
33 | Ditto. | ||
34 | * linden\indra\newview\llappviewer.cpp: | ||
35 | Fixed windows compile bug. | ||
36 | |||
37 | 2008-10-14 Jacek Antonelli <jacek.antonelli@gmail.com> | ||
38 | |||
39 | * linden/indra/newview/installers/windows/installer_template.nsi: | ||
40 | Rebranded Windows-specific installer/support files. | ||
41 | Replaced instances of "Second Life" with "Imprudence", etc. | ||
42 | * linden/indra/newview/installers/windows/lang_de.nsi: | ||
43 | Ditto. | ||
44 | * linden/indra/newview/installers/windows/lang_en-us.nsi: | ||
45 | Ditto. | ||
46 | * linden/indra/newview/installers/windows/lang_ja.nsi: | ||
47 | Ditto. | ||
48 | * linden/indra/newview/installers/windows/lang_ko.nsi: | ||
49 | Ditto. | ||
50 | * linden/indra/newview/res/viewerRes.rc: | ||
51 | Ditto. | ||
52 | * linden/indra/copy_win_scripts/start-client.py: | ||
53 | Ditto. | ||
54 | * linden/indra/win_updater/updater.cpp: | ||
55 | Ditto. | ||
56 | |||
57 | |||
58 | * linden/indra/mac_updater/mac_updater.cpp: | ||
59 | Rebranded Mac-specific installer/support files. | ||
60 | Replaced instances of "Second Life" with "Imprudence", etc. | ||
61 | * linden/indra/newview/English.lproj/InfoPlist.strings: | ||
62 | Ditto. | ||
63 | * linden/indra/newview/Info-SecondLife.plist: | ||
64 | Ditto. | ||
65 | * linden/indra/newview/SecondLife.nib/objects.xib: | ||
66 | Ditto. | ||
67 | |||
68 | |||
69 | * linden/indra/cmake/UnixInstall.cmake: | ||
70 | Rebranded Linux-specific installer/support files. | ||
71 | Replaced instances of "Second Life" with "Imprudence", etc. | ||
72 | * linden/indra/linux_crash_logger/llcrashloggerlinux.cpp: | ||
73 | Ditto. | ||
74 | * linden/indra/newview/linux_tools/handle_secondlifeprotocol.sh: | ||
75 | Ditto. | ||
76 | * linden/indra/newview/linux_tools/wrapper.sh: | ||
77 | Ditto. | ||
78 | |||
79 | |||
80 | * linden/indra/CMakeLists.txt: | ||
81 | Rebranded platform-independent/shared installer/support files. | ||
82 | Replaced instances of "Second Life" with "Imprudence", etc. | ||
83 | * linden/indra/cmake/00-Common.cmake: | ||
84 | Ditto. | ||
85 | * linden/indra/develop.py: | ||
86 | Ditto. | ||
87 | * linden/indra/llcrashlogger/llcrashlogger.cpp: | ||
88 | Ditto. | ||
89 | * linden/indra/newview/CMakeLists.txt: | ||
90 | Ditto. | ||
91 | * linden/indra/newview/ViewerInstall.cmake: | ||
92 | Ditto. | ||
93 | * linden/indra/newview/llappviewer.cpp: | ||
94 | Ditto. | ||
95 | * linden/indra/newview/viewer_manifest.py: | ||
96 | Ditto. | ||
97 | |||
98 | |||
99 | 2008-10-01 Jacek Antonelli <jacek.antonelli@gmail.com> | ||
100 | |||
101 | * linden/indra/llcommon/llversionviewer.h: | ||
102 | Added Imprudence-specific version numbers. | ||
103 | * linden/indra/newview/llappviewer.cpp: | ||
104 | Ditto. | ||
105 | * linden/indra/newview/llpanellogin.cpp: | ||
106 | Ditto. | ||
107 | * linden/indra/newview/llfloaterabout.cpp: | ||
108 | Ditto. | ||
109 | |||
110 | |||
111 | * linden/indra/llcommon/llversionviewer.h: | ||
112 | Changed viewer and channel name to "Imprudence". | ||
113 | * linden/indra/newview/llappviewer.cpp: | ||
114 | Ditto. | ||
115 | * linden/indra/cmake/Variables.cmake: | ||
116 | Ditto. | ||
117 | * linden/indra/newview/app_settings/settings.xml: | ||
118 | Ditto. | ||
28 | 119 | ||
29 | 2008-09-28 Jacek Antonelli <jacek.antonelli@gmail.com> | 120 | 2008-09-28 Jacek Antonelli <jacek.antonelli@gmail.com> |
30 | 121 | ||
diff --git a/linden/indra/CMakeLists.txt b/linden/indra/CMakeLists.txt index fac2afa..eb06191 100644 --- a/linden/indra/CMakeLists.txt +++ b/linden/indra/CMakeLists.txt | |||
@@ -13,7 +13,7 @@ if(COMMAND cmake_policy) | |||
13 | cmake_policy(SET CMP0003 OLD) | 13 | cmake_policy(SET CMP0003 OLD) |
14 | endif(COMMAND cmake_policy) | 14 | endif(COMMAND cmake_policy) |
15 | 15 | ||
16 | project(SecondLife) | 16 | project(Imprudence) |
17 | 17 | ||
18 | set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") | 18 | set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") |
19 | 19 | ||
@@ -77,7 +77,7 @@ if (VIEWER) | |||
77 | endif (LINUX) | 77 | endif (LINUX) |
78 | 78 | ||
79 | add_subdirectory(${VIEWER_PREFIX}newview) | 79 | add_subdirectory(${VIEWER_PREFIX}newview) |
80 | add_dependencies(viewer secondlife-bin) | 80 | add_dependencies(viewer imprudence-bin) |
81 | endif (VIEWER) | 81 | endif (VIEWER) |
82 | 82 | ||
83 | # Linux builds the viewer and server in 2 separate projects | 83 | # Linux builds the viewer and server in 2 separate projects |
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake index 240853a..977e588 100644 --- a/linden/indra/cmake/00-Common.cmake +++ b/linden/indra/cmake/00-Common.cmake | |||
@@ -146,7 +146,7 @@ if (LINUX) | |||
146 | endif (SERVER) | 146 | endif (SERVER) |
147 | 147 | ||
148 | if (VIEWER) | 148 | if (VIEWER) |
149 | add_definitions(-DAPPID=secondlife) | 149 | add_definitions(-DAPPID=imprudence) |
150 | add_definitions(-fvisibility=hidden) | 150 | add_definitions(-fvisibility=hidden) |
151 | if (NOT STANDALONE) | 151 | if (NOT STANDALONE) |
152 | # this stops us requiring a really recent glibc at runtime | 152 | # this stops us requiring a really recent glibc at runtime |
diff --git a/linden/indra/cmake/UnixInstall.cmake b/linden/indra/cmake/UnixInstall.cmake index 139be0a..0234dee 100644 --- a/linden/indra/cmake/UnixInstall.cmake +++ b/linden/indra/cmake/UnixInstall.cmake | |||
@@ -21,11 +21,11 @@ if (INSTALL) | |||
21 | set(INSTALL_SHARE_DIR ${INSTALL_PREFIX}/share CACHE PATH | 21 | set(INSTALL_SHARE_DIR ${INSTALL_PREFIX}/share CACHE PATH |
22 | "Installation directory for read-only shared files.") | 22 | "Installation directory for read-only shared files.") |
23 | 23 | ||
24 | set(APP_BINARY_DIR ${INSTALL_LIBRARY_DIR}/secondlife-${viewer_VERSION} | 24 | set(APP_BINARY_DIR ${INSTALL_LIBRARY_DIR}/imprudence-${viewer_VERSION} |
25 | CACHE PATH | 25 | CACHE PATH |
26 | "Installation directory for binaries.") | 26 | "Installation directory for binaries.") |
27 | 27 | ||
28 | set(APP_SHARE_DIR ${INSTALL_SHARE_DIR}/secondlife-${viewer_VERSION} | 28 | set(APP_SHARE_DIR ${INSTALL_SHARE_DIR}/imprudence-${viewer_VERSION} |
29 | CACHE PATH | 29 | CACHE PATH |
30 | "Installation directory for read-only data files.") | 30 | "Installation directory for read-only data files.") |
31 | endif (INSTALL) | 31 | endif (INSTALL) |
diff --git a/linden/indra/cmake/Variables.cmake b/linden/indra/cmake/Variables.cmake index 5868e4d..8f33a95 100644 --- a/linden/indra/cmake/Variables.cmake +++ b/linden/indra/cmake/Variables.cmake | |||
@@ -79,7 +79,7 @@ endif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | |||
79 | set(GRID agni CACHE STRING "Target Grid") | 79 | set(GRID agni CACHE STRING "Target Grid") |
80 | 80 | ||
81 | set(VIEWER ON CACHE BOOL "Build Second Life viewer.") | 81 | set(VIEWER ON CACHE BOOL "Build Second Life viewer.") |
82 | set(VIEWER_CHANNEL "Developer" CACHE STRING "Viewer Channel Name") | 82 | set(VIEWER_CHANNEL "Imprudence" CACHE STRING "Viewer Channel Name") |
83 | set(VIEWER_LOGIN_CHANNEL ${VIEWER_CHANNEL} CACHE STRING "Fake login channel for A/B Testing") | 83 | set(VIEWER_LOGIN_CHANNEL ${VIEWER_CHANNEL} CACHE STRING "Fake login channel for A/B Testing") |
84 | 84 | ||
85 | set(STANDALONE OFF CACHE BOOL "Do not use Linden-supplied prebuilt libraries.") | 85 | set(STANDALONE OFF CACHE BOOL "Do not use Linden-supplied prebuilt libraries.") |
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/develop.py b/linden/indra/develop.py index 8edfccc..a0b11c6 100755 --- a/linden/indra/develop.py +++ b/linden/indra/develop.py | |||
@@ -503,10 +503,10 @@ class WindowsSetup(PlatformSetup): | |||
503 | if self.gens[self.generator]['ver'] in [ r'8.0', r'9.0' ]: | 503 | if self.gens[self.generator]['ver'] in [ r'8.0', r'9.0' ]: |
504 | config = '\"%s|Win32\"' % config | 504 | config = '\"%s|Win32\"' % config |
505 | 505 | ||
506 | return "buildconsole Secondlife.sln /build %s" % config | 506 | return "buildconsole Imprudence.sln /build %s" % config |
507 | 507 | ||
508 | # devenv.com is CLI friendly, devenv.exe... not so much. | 508 | # devenv.com is CLI friendly, devenv.exe... not so much. |
509 | return ('"%sdevenv.com" Secondlife.sln /build %s' % | 509 | return ('"%sdevenv.com" Imprudence.sln /build %s' % |
510 | (self.find_visual_studio(), self.build_type)) | 510 | (self.find_visual_studio(), self.build_type)) |
511 | 511 | ||
512 | # this override of run exists because the PlatformSetup version | 512 | # this override of run exists because the PlatformSetup version |
@@ -527,9 +527,9 @@ class WindowsSetup(PlatformSetup): | |||
527 | for build_dir in self.build_dirs(): | 527 | for build_dir in self.build_dirs(): |
528 | vstool_cmd = os.path.join('tools','vstool','VSTool.exe') \ | 528 | vstool_cmd = os.path.join('tools','vstool','VSTool.exe') \ |
529 | + ' --solution ' \ | 529 | + ' --solution ' \ |
530 | + os.path.join(build_dir,'SecondLife.sln') \ | 530 | + os.path.join(build_dir,'Imprudence.sln') \ |
531 | + ' --config RelWithDebInfo' \ | 531 | + ' --config RelWithDebInfo' \ |
532 | + ' --startup secondlife-bin' | 532 | + ' --startup imprudence-bin' |
533 | print 'Running %r in %r' % (vstool_cmd, os.getcwd()) | 533 | print 'Running %r in %r' % (vstool_cmd, os.getcwd()) |
534 | self.run(vstool_cmd) | 534 | self.run(vstool_cmd) |
535 | 535 | ||
diff --git a/linden/indra/linux_crash_logger/llcrashloggerlinux.cpp b/linden/indra/linux_crash_logger/llcrashloggerlinux.cpp index aa2b82c..6ac9831 100644 --- a/linden/indra/linux_crash_logger/llcrashloggerlinux.cpp +++ b/linden/indra/linux_crash_logger/llcrashloggerlinux.cpp | |||
@@ -53,13 +53,13 @@ | |||
53 | 53 | ||
54 | // These need to be localized. | 54 | // These need to be localized. |
55 | static const char dialog_text[] = | 55 | static const char dialog_text[] = |
56 | "Second Life appears to have crashed or frozen last time it ran.\n" | 56 | "Imprudence appears to have crashed or frozen last time it ran.\n" |
57 | "This crash reporter collects information about your computer's hardware, operating system, and some Second Life logs, all of which are used for debugging purposes only.\n" | 57 | "This crash reporter collects information about your computer's hardware, operating system, and some Imprudence logs, all of which are used for debugging purposes only.\n" |
58 | "\n" | 58 | "\n" |
59 | "Send crash report?"; | 59 | "Send crash report?"; |
60 | 60 | ||
61 | static const char dialog_title[] = | 61 | static const char dialog_title[] = |
62 | "Second Life Crash Logger"; | 62 | "Imprudence Crash Logger"; |
63 | 63 | ||
64 | #if LL_GTK | 64 | #if LL_GTK |
65 | static void response_callback (GtkDialog *dialog, | 65 | static void response_callback (GtkDialog *dialog, |
diff --git a/linden/indra/llcommon/llversionviewer.h b/linden/indra/llcommon/llversionviewer.h index 66462b3..bc42359 100644 --- a/linden/indra/llcommon/llversionviewer.h +++ b/linden/indra/llcommon/llversionviewer.h | |||
@@ -37,6 +37,13 @@ const S32 LL_VERSION_MINOR = 21; | |||
37 | const S32 LL_VERSION_PATCH = 6; | 37 | const S32 LL_VERSION_PATCH = 6; |
38 | const S32 LL_VERSION_BUILD = 0; | 38 | const S32 LL_VERSION_BUILD = 0; |
39 | 39 | ||
40 | const char * const LL_CHANNEL = "Second Life Release"; | 40 | const char * const LL_CHANNEL = "Imprudence"; |
41 | |||
42 | const char * const LL_VIEWER_NAME = "Second Life"; | ||
43 | const char * const IMP_VIEWER_NAME = "Imprudence"; | ||
44 | |||
45 | const S32 IMP_VERSION_MAJOR = 1; | ||
46 | const S32 IMP_VERSION_MINOR = 0; | ||
47 | const S32 IMP_VERSION_PATCH = 0; | ||
41 | 48 | ||
42 | #endif | 49 | #endif |
diff --git a/linden/indra/llcrashlogger/llcrashlogger.cpp b/linden/indra/llcrashlogger/llcrashlogger.cpp index 77274b0..b9a182c 100755 --- a/linden/indra/llcrashlogger/llcrashlogger.cpp +++ b/linden/indra/llcrashlogger/llcrashlogger.cpp | |||
@@ -172,7 +172,7 @@ void LLCrashLogger::gatherFiles() | |||
172 | { | 172 | { |
173 | // Figure out the filename of the second life log | 173 | // Figure out the filename of the second life log |
174 | LLCurl::setCAFile(gDirUtilp->getCAFile()); | 174 | LLCurl::setCAFile(gDirUtilp->getCAFile()); |
175 | mFileMap["SecondLifeLog"] = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"SecondLife.log"); | 175 | mFileMap["SecondLifeLog"] = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"Imprudence.log"); |
176 | mFileMap["SettingsXml"] = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS,"settings.xml"); | 176 | mFileMap["SettingsXml"] = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS,"settings.xml"); |
177 | } | 177 | } |
178 | 178 | ||
@@ -293,7 +293,7 @@ bool LLCrashLogger::sendCrashLogs() | |||
293 | updateApplication("Sending reports..."); | 293 | updateApplication("Sending reports..."); |
294 | 294 | ||
295 | std::string dump_path = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, | 295 | std::string dump_path = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, |
296 | "SecondLifeCrashReport"); | 296 | "ImprudenceCrashReport"); |
297 | std::string report_file = dump_path + ".log"; | 297 | std::string report_file = dump_path + ".log"; |
298 | 298 | ||
299 | std::ofstream out_file(report_file.c_str()); | 299 | std::ofstream out_file(report_file.c_str()); |
@@ -330,7 +330,7 @@ bool LLCrashLogger::init() | |||
330 | gDirUtilp->initAppDirs("SecondLife"); | 330 | gDirUtilp->initAppDirs("SecondLife"); |
331 | 331 | ||
332 | // Default to the product name "Second Life" (this is overridden by the -name argument) | 332 | // Default to the product name "Second Life" (this is overridden by the -name argument) |
333 | mProductName = "Second Life"; | 333 | mProductName = "Imprudence"; |
334 | 334 | ||
335 | mCrashSettings.declareS32(CRASH_BEHAVIOR_SETTING, CRASH_BEHAVIOR_ASK, "Controls behavior when viewer crashes " | 335 | mCrashSettings.declareS32(CRASH_BEHAVIOR_SETTING, CRASH_BEHAVIOR_ASK, "Controls behavior when viewer crashes " |
336 | "(0 = ask before sending crash report, 1 = always send crash report, 2 = never send crash report)"); | 336 | "(0 = ask before sending crash report, 1 = always send crash report, 2 = never send crash report)"); |
diff --git a/linden/indra/mac_updater/mac_updater.cpp b/linden/indra/mac_updater/mac_updater.cpp index c2f9f4d..7bffff5 100644 --- a/linden/indra/mac_updater/mac_updater.cpp +++ b/linden/indra/mac_updater/mac_updater.cpp | |||
@@ -378,7 +378,7 @@ int main(int argc, char **argv) | |||
378 | } | 378 | } |
379 | else | 379 | else |
380 | { | 380 | { |
381 | gProductName = "Second Life"; | 381 | gProductName = "Imprudence"; |
382 | } | 382 | } |
383 | } | 383 | } |
384 | 384 | ||
@@ -471,7 +471,7 @@ int main(int argc, char **argv) | |||
471 | err = CreateStandardAlert( | 471 | err = CreateStandardAlert( |
472 | kAlertStopAlert, | 472 | kAlertStopAlert, |
473 | CFSTR("Error"), | 473 | CFSTR("Error"), |
474 | CFSTR("An error occurred while updating Second Life. Please download the latest version from www.secondlife.com."), | 474 | CFSTR("An error occurred while updating Imprudence. Please download the latest version from http://imprudenceviewer.org/download/"), |
475 | ¶ms, | 475 | ¶ms, |
476 | &alert); | 476 | &alert); |
477 | 477 | ||
@@ -934,7 +934,7 @@ void *updatethreadproc(void*) | |||
934 | 934 | ||
935 | #endif // 0 *HACK for DEV-11935 | 935 | #endif // 0 *HACK for DEV-11935 |
936 | 936 | ||
937 | strncat(temp, "/SecondLifeUpdate_XXXXXX", (sizeof(temp) - strlen(temp)) - 1); | 937 | strncat(temp, "/ImprudenceUpdate_XXXXXX", (sizeof(temp) - strlen(temp)) - 1); |
938 | if(mkdtemp(temp) == NULL) | 938 | if(mkdtemp(temp) == NULL) |
939 | { | 939 | { |
940 | throw 0; | 940 | throw 0; |
@@ -952,7 +952,7 @@ void *updatethreadproc(void*) | |||
952 | 952 | ||
953 | chdir(tempDir); | 953 | chdir(tempDir); |
954 | 954 | ||
955 | snprintf(temp, sizeof(temp), "SecondLife.dmg"); | 955 | snprintf(temp, sizeof(temp), "Imprudence.dmg"); |
956 | 956 | ||
957 | downloadFile = LLFile::fopen(temp, "wb"); /* Flawfinder: ignore */ | 957 | downloadFile = LLFile::fopen(temp, "wb"); /* Flawfinder: ignore */ |
958 | if(downloadFile == NULL) | 958 | if(downloadFile == NULL) |
@@ -999,7 +999,7 @@ void *updatethreadproc(void*) | |||
999 | // NOTE: we could add -private at the end of this command line to keep the image from showing up in the Finder, | 999 | // NOTE: we could add -private at the end of this command line to keep the image from showing up in the Finder, |
1000 | // but if our cleanup fails, this makes it much harder for the user to unmount the image. | 1000 | // but if our cleanup fails, this makes it much harder for the user to unmount the image. |
1001 | std::string mountOutput; | 1001 | std::string mountOutput; |
1002 | FILE* mounter = popen("hdiutil attach SecondLife.dmg -mountpoint mnt", "r"); /* Flawfinder: ignore */ | 1002 | FILE* mounter = popen("hdiutil attach Imprudence.dmg -mountpoint mnt", "r"); /* Flawfinder: ignore */ |
1003 | 1003 | ||
1004 | if(mounter == NULL) | 1004 | if(mounter == NULL) |
1005 | { | 1005 | { |
diff --git a/linden/indra/newview/CMakeLists.txt b/linden/indra/newview/CMakeLists.txt index 7a5ff32..e5b6229 100644 --- a/linden/indra/newview/CMakeLists.txt +++ b/linden/indra/newview/CMakeLists.txt | |||
@@ -1265,15 +1265,15 @@ list(APPEND viewer_SOURCE_FILES ${viewer_HEADER_FILES}) | |||
1265 | set_source_files_properties(${viewer_HEADER_FILES} | 1265 | set_source_files_properties(${viewer_HEADER_FILES} |
1266 | PROPERTIES HEADER_FILE_ONLY TRUE) | 1266 | PROPERTIES HEADER_FILE_ONLY TRUE) |
1267 | 1267 | ||
1268 | add_executable(secondlife-bin | 1268 | add_executable(imprudence-bin |
1269 | WIN32 | 1269 | WIN32 |
1270 | MACOSX_BUNDLE | 1270 | MACOSX_BUNDLE |
1271 | ${viewer_SOURCE_FILES} | 1271 | ${viewer_SOURCE_FILES} |
1272 | ) | 1272 | ) |
1273 | check_message_template(secondlife-bin) | 1273 | check_message_template(imprudence-bin) |
1274 | 1274 | ||
1275 | if (LLKDU_LIBRARY) | 1275 | if (LLKDU_LIBRARY) |
1276 | add_dependencies(secondlife-bin ${LLKDU_LIBRARY}) | 1276 | add_dependencies(imprudence-bin ${LLKDU_LIBRARY}) |
1277 | endif (LLKDU_LIBRARY) | 1277 | endif (LLKDU_LIBRARY) |
1278 | 1278 | ||
1279 | set(PACKAGE OFF CACHE BOOL | 1279 | set(PACKAGE OFF CACHE BOOL |
@@ -1281,12 +1281,12 @@ set(PACKAGE OFF CACHE BOOL | |||
1281 | 1281 | ||
1282 | if (WINDOWS) | 1282 | if (WINDOWS) |
1283 | if(MSVC71) | 1283 | if(MSVC71) |
1284 | set(release_flags "/MAP:Release/secondlife-bin.map /MAPINFO:LINES") | 1284 | set(release_flags "/MAP:Release/imprudence-bin.map /MAPINFO:LINES") |
1285 | else(MSVC71) | 1285 | else(MSVC71) |
1286 | set(release_flags "/MAP:Release/secondlife-bin.map") | 1286 | set(release_flags "/MAP:Release/imprudence-bin.map") |
1287 | endif(MSVC71) | 1287 | endif(MSVC71) |
1288 | 1288 | ||
1289 | set_target_properties(secondlife-bin | 1289 | set_target_properties(imprudence-bin |
1290 | PROPERTIES | 1290 | PROPERTIES |
1291 | LINK_FLAGS "/debug /NODEFAULTLIB:MSVCRT /SUBSYSTEM:WINDOWS" | 1291 | LINK_FLAGS "/debug /NODEFAULTLIB:MSVCRT /SUBSYSTEM:WINDOWS" |
1292 | LINK_FLAGS_DEBUG "/NODEFAULTLIB:LIBCMT /NODEFAULTLIB:MSVCRTD" | 1292 | LINK_FLAGS_DEBUG "/NODEFAULTLIB:LIBCMT /NODEFAULTLIB:MSVCRTD" |
@@ -1296,20 +1296,20 @@ if (WINDOWS) | |||
1296 | # sets the 'working directory' for debugging from visual studio. | 1296 | # sets the 'working directory' for debugging from visual studio. |
1297 | if (NOT UNATTENDED) | 1297 | if (NOT UNATTENDED) |
1298 | add_custom_command( | 1298 | add_custom_command( |
1299 | TARGET secondlife-bin PRE_BUILD | 1299 | TARGET imprudence-bin PRE_BUILD |
1300 | COMMAND ${CMAKE_SOURCE_DIR}/tools/vstool/vstool.exe | 1300 | COMMAND ${CMAKE_SOURCE_DIR}/tools/vstool/vstool.exe |
1301 | ARGS | 1301 | ARGS |
1302 | --solution | 1302 | --solution |
1303 | ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}.sln | 1303 | ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}.sln |
1304 | --workingdir | 1304 | --workingdir |
1305 | secondlife-bin | 1305 | imprudence-bin |
1306 | ${CMAKE_CURRENT_SOURCE_DIR} | 1306 | ${CMAKE_CURRENT_SOURCE_DIR} |
1307 | COMMENT "Setting the secondlife-bin working directory for debugging." | 1307 | COMMENT "Setting the imprudence-bin working directory for debugging." |
1308 | ) | 1308 | ) |
1309 | endif (NOT UNATTENDED) | 1309 | endif (NOT UNATTENDED) |
1310 | 1310 | ||
1311 | add_custom_command( | 1311 | add_custom_command( |
1312 | TARGET secondlife-bin PRE_BUILD | 1312 | TARGET imprudence-bin PRE_BUILD |
1313 | COMMAND ${CMAKE_COMMAND} | 1313 | COMMAND ${CMAKE_COMMAND} |
1314 | ARGS | 1314 | ARGS |
1315 | -E | 1315 | -E |
@@ -1320,7 +1320,7 @@ if (WINDOWS) | |||
1320 | ) | 1320 | ) |
1321 | 1321 | ||
1322 | add_custom_command( | 1322 | add_custom_command( |
1323 | TARGET secondlife-bin PRE_BUILD | 1323 | TARGET imprudence-bin PRE_BUILD |
1324 | COMMAND ${CMAKE_COMMAND} | 1324 | COMMAND ${CMAKE_COMMAND} |
1325 | ARGS | 1325 | ARGS |
1326 | -E | 1326 | -E |
@@ -1330,10 +1330,10 @@ if (WINDOWS) | |||
1330 | COMMENT "Copying message.xml to the runtime folder." | 1330 | COMMENT "Copying message.xml to the runtime folder." |
1331 | ) | 1331 | ) |
1332 | 1332 | ||
1333 | add_dependencies(secondlife-bin copy_win_libs) | 1333 | add_dependencies(imprudence-bin copy_win_libs) |
1334 | 1334 | ||
1335 | if (EXISTS ${CMAKE_SOURCE_DIR}/copy_win_scripts) | 1335 | if (EXISTS ${CMAKE_SOURCE_DIR}/copy_win_scripts) |
1336 | add_dependencies(secondlife-bin copy_win_scripts) | 1336 | add_dependencies(imprudence-bin copy_win_scripts) |
1337 | endif (EXISTS ${CMAKE_SOURCE_DIR}/copy_win_scripts) | 1337 | endif (EXISTS ${CMAKE_SOURCE_DIR}/copy_win_scripts) |
1338 | 1338 | ||
1339 | add_custom_command( | 1339 | add_custom_command( |
@@ -1350,7 +1350,7 @@ if (WINDOWS) | |||
1350 | --build=${CMAKE_CURRENT_BINARY_DIR} | 1350 | --build=${CMAKE_CURRENT_BINARY_DIR} |
1351 | --dest=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR} | 1351 | --dest=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR} |
1352 | --touch=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/touched.bat | 1352 | --touch=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/touched.bat |
1353 | DEPENDS secondlife-bin ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py | 1353 | DEPENDS imprudence-bin ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py |
1354 | ) | 1354 | ) |
1355 | if (PACKAGE) | 1355 | if (PACKAGE) |
1356 | add_custom_target(package ALL DEPENDS ${CMAKE_CFG_INTDIR}/touched.bat) | 1356 | add_custom_target(package ALL DEPENDS ${CMAKE_CFG_INTDIR}/touched.bat) |
@@ -1358,7 +1358,7 @@ if (WINDOWS) | |||
1358 | endif (PACKAGE) | 1358 | endif (PACKAGE) |
1359 | endif (WINDOWS) | 1359 | endif (WINDOWS) |
1360 | 1360 | ||
1361 | target_link_libraries(secondlife-bin | 1361 | target_link_libraries(imprudence-bin |
1362 | ${LLAUDIO_LIBRARIES} | 1362 | ${LLAUDIO_LIBRARIES} |
1363 | ${LLCHARACTER_LIBRARIES} | 1363 | ${LLCHARACTER_LIBRARIES} |
1364 | ${LLIMAGE_LIBRARIES} | 1364 | ${LLIMAGE_LIBRARIES} |
@@ -1403,13 +1403,13 @@ set(ARTWORK_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE PATH | |||
1403 | 1403 | ||
1404 | if (LINUX) | 1404 | if (LINUX) |
1405 | add_custom_command( | 1405 | add_custom_command( |
1406 | OUTPUT secondlife-stripped | 1406 | OUTPUT imprudence-stripped |
1407 | COMMAND strip | 1407 | COMMAND strip |
1408 | ARGS --strip-debug -o secondlife-stripped secondlife-bin | 1408 | ARGS --strip-debug -o imprudence-stripped imprudence-bin |
1409 | DEPENDS secondlife-bin | 1409 | DEPENDS imprudence-bin |
1410 | ) | 1410 | ) |
1411 | 1411 | ||
1412 | set(product SecondLife-${ARCH}-${viewer_VERSION}) | 1412 | set(product Imprudence-${ARCH}-${viewer_VERSION}) |
1413 | 1413 | ||
1414 | add_custom_command( | 1414 | add_custom_command( |
1415 | OUTPUT ${product}.tar.bz2 | 1415 | OUTPUT ${product}.tar.bz2 |
@@ -1426,7 +1426,7 @@ if (LINUX) | |||
1426 | --build=${CMAKE_CURRENT_BINARY_DIR} | 1426 | --build=${CMAKE_CURRENT_BINARY_DIR} |
1427 | --dest=${CMAKE_CURRENT_BINARY_DIR}/packaged | 1427 | --dest=${CMAKE_CURRENT_BINARY_DIR}/packaged |
1428 | --touch=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/.${product}.touched | 1428 | --touch=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/.${product}.touched |
1429 | DEPENDS secondlife-stripped ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py | 1429 | DEPENDS imprudence-stripped ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py |
1430 | ) | 1430 | ) |
1431 | 1431 | ||
1432 | if (NOT INSTALL) | 1432 | if (NOT INSTALL) |
@@ -1436,23 +1436,23 @@ if (LINUX) | |||
1436 | endif (LINUX) | 1436 | endif (LINUX) |
1437 | 1437 | ||
1438 | if (DARWIN) | 1438 | if (DARWIN) |
1439 | set(product "Second Life") | 1439 | set(product "Imprudence") |
1440 | set_target_properties( | 1440 | set_target_properties( |
1441 | secondlife-bin | 1441 | imprudence-bin |
1442 | PROPERTIES | 1442 | PROPERTIES |
1443 | OUTPUT_NAME "${product}" | 1443 | OUTPUT_NAME "${product}" |
1444 | MACOSX_BUNDLE_INFO_STRING "info string - localize me" | 1444 | MACOSX_BUNDLE_INFO_STRING "info string - localize me" |
1445 | MACOSX_BUNDLE_ICON_FILE "secondlife.icns" | 1445 | MACOSX_BUNDLE_ICON_FILE "secondlife.icns" |
1446 | MACOSX_BUNDLE_GUI_IDENTIFIER "Second Life" | 1446 | MACOSX_BUNDLE_GUI_IDENTIFIER "Imprudence" |
1447 | MACOSX_BUNDLE_LONG_VERSION_STRING "ververver" | 1447 | MACOSX_BUNDLE_LONG_VERSION_STRING "ververver" |
1448 | MACOSX_BUNDLE_BUNDLE_NAME "Second Life" | 1448 | MACOSX_BUNDLE_BUNDLE_NAME "Imprudence" |
1449 | MACOSX_BUNDLE_SHORT_VERSION_STRING "asdf" | 1449 | MACOSX_BUNDLE_SHORT_VERSION_STRING "asdf" |
1450 | MACOSX_BUNDLE_BUNDLE_VERSION "asdf" | 1450 | MACOSX_BUNDLE_BUNDLE_VERSION "asdf" |
1451 | MACOSX_BUNDLE_COPYRIGHT "copyright linden lab 2007 - localize me and run me through a legal wringer" | 1451 | MACOSX_BUNDLE_COPYRIGHT "copyright linden lab 2007 - localize me and run me through a legal wringer" |
1452 | ) | 1452 | ) |
1453 | 1453 | ||
1454 | add_custom_command( | 1454 | add_custom_command( |
1455 | TARGET secondlife-bin POST_BUILD | 1455 | TARGET imprudence-bin POST_BUILD |
1456 | COMMAND ${PYTHON_EXECUTABLE} | 1456 | COMMAND ${PYTHON_EXECUTABLE} |
1457 | ARGS | 1457 | ARGS |
1458 | ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py | 1458 | ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py |
@@ -1463,7 +1463,7 @@ if (DARWIN) | |||
1463 | --artwork=${ARTWORK_DIR} | 1463 | --artwork=${ARTWORK_DIR} |
1464 | --build=${CMAKE_CURRENT_BINARY_DIR} | 1464 | --build=${CMAKE_CURRENT_BINARY_DIR} |
1465 | --dest=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${product}.app | 1465 | --dest=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${product}.app |
1466 | DEPENDS secondlife-bin ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py | 1466 | DEPENDS imprudence-bin ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py |
1467 | ) | 1467 | ) |
1468 | 1468 | ||
1469 | if (PACKAGE) | 1469 | if (PACKAGE) |
@@ -1481,7 +1481,7 @@ if (DARWIN) | |||
1481 | --dest=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${product}.app | 1481 | --dest=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${product}.app |
1482 | --touch=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/.${product}.touched | 1482 | --touch=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/.${product}.touched |
1483 | DEPENDS | 1483 | DEPENDS |
1484 | secondlife-bin | 1484 | imprudence-bin |
1485 | ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py | 1485 | ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py |
1486 | ) | 1486 | ) |
1487 | add_dependencies(package mac-updater mac-crash-logger) | 1487 | add_dependencies(package mac-updater mac-crash-logger) |
diff --git a/linden/indra/newview/English.lproj/InfoPlist.strings b/linden/indra/newview/English.lproj/InfoPlist.strings index 881483e..784a1b7 100644 --- a/linden/indra/newview/English.lproj/InfoPlist.strings +++ b/linden/indra/newview/English.lproj/InfoPlist.strings | |||
@@ -1,6 +1,6 @@ | |||
1 | /* Localized versions of Info.plist keys */ | 1 | /* Localized versions of Info.plist keys */ |
2 | 2 | ||
3 | CFBundleName = "Second Life"; | 3 | CFBundleName = "Imprudence"; |
4 | CFBundleShortVersionString = "Second Life version 1.20.9.87416"; | 4 | CFBundleShortVersionString = "Imprudence version 1.0.0"; |
5 | CFBundleGetInfoString = "Second Life version 1.20.9.87416, Copyright 2004-2008 Linden Research, Inc."; | 5 | CFBundleGetInfoString = "Imprudence version 1.0.0, Copyright 2004-2008 Linden Research, Inc."; |
6 | 6 | ||
diff --git a/linden/indra/newview/Info-SecondLife.plist b/linden/indra/newview/Info-SecondLife.plist index b889d45..32bba70 100644 --- a/linden/indra/newview/Info-SecondLife.plist +++ b/linden/indra/newview/Info-SecondLife.plist | |||
@@ -1,39 +1,39 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | 2 | <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
3 | <plist version="1.0"> | 3 | <plist version="1.0"> |
4 | <dict> | 4 | <dict> |
5 | <key>CFBundleDevelopmentRegion</key> | 5 | <key>CFBundleDevelopmentRegion</key> |
6 | <string>English</string> | 6 | <string>English</string> |
7 | <key>CFBundleExecutable</key> | 7 | <key>CFBundleExecutable</key> |
8 | <string>Second Life</string> | 8 | <string>Imprudence</string> |
9 | <key>CFBundleIconFile</key> | 9 | <key>CFBundleIconFile</key> |
10 | <string>secondlife.icns</string> | 10 | <string>secondlife.icns</string> |
11 | <key>CFBundleIdentifier</key> | 11 | <key>CFBundleIdentifier</key> |
12 | <string>com.secondlife.indra.viewer</string> | 12 | <string>com.secondlife.indra.viewer</string> |
13 | <key>CFBundleInfoDictionaryVersion</key> | 13 | <key>CFBundleInfoDictionaryVersion</key> |
14 | <string>6.0</string> | 14 | <string>6.0</string> |
15 | <key>CFBundleName</key> | 15 | <key>CFBundleName</key> |
16 | <string>Second Life</string> | 16 | <string>Imprudence</string> |
17 | <key>CFBundlePackageType</key> | 17 | <key>CFBundlePackageType</key> |
18 | <string>APPL</string> | 18 | <string>APPL</string> |
19 | <key>CFBundleSignature</key> | 19 | <key>CFBundleSignature</key> |
20 | <string>????</string> | 20 | <string>????</string> |
21 | <key>CFBundleURLTypes</key> | 21 | <key>CFBundleURLTypes</key> |
22 | <array> | 22 | <array> |
23 | <dict> | 23 | <dict> |
24 | <key>CFBundleURLName</key> | 24 | <key>CFBundleURLName</key> |
25 | <string>Second Life URL</string> | 25 | <string>Second Life URL</string> |
26 | <key>CFBundleURLSchemes</key> | 26 | <key>CFBundleURLSchemes</key> |
27 | <array> | 27 | <array> |
28 | <string>secondlife</string> | 28 | <string>secondlife</string> |
29 | </array> | 29 | </array> |
30 | <key>LSIsAppleDefaultForScheme</key> | 30 | <key>LSIsAppleDefaultForScheme</key> |
31 | <true/> | 31 | <true/> |
32 | </dict> | 32 | </dict> |
33 | </array> | 33 | </array> |
34 | <key>CFBundleVersion</key> | 34 | <key>CFBundleVersion</key> |
35 | <string>1.20.9.87416</string> | 35 | <string>1.0.0</string> |
36 | <key>CSResourcesFileMapped</key> | 36 | <key>CSResourcesFileMapped</key> |
37 | <true/> | 37 | <true/> |
38 | </dict> | 38 | </dict> |
39 | </plist> | 39 | </plist> |
diff --git a/linden/indra/newview/SecondLife.nib/objects.xib b/linden/indra/newview/SecondLife.nib/objects.xib index b7ff30f..07af643 100644 --- a/linden/indra/newview/SecondLife.nib/objects.xib +++ b/linden/indra/newview/SecondLife.nib/objects.xib | |||
@@ -1,259 +1,259 @@ | |||
1 | <?xml version="1.0" standalone="yes"?> | 1 | <?xml version="1.0" standalone="yes"?> |
2 | <object class="NSIBObjectData"> | 2 | <object class="NSIBObjectData"> |
3 | <string name="targetFramework">IBCarbonFramework</string> | 3 | <string name="targetFramework">IBCarbonFramework</string> |
4 | <object name="rootObject" class="NSCustomObject" id="1"> | 4 | <object name="rootObject" class="NSCustomObject" id="1"> |
5 | <string name="customClass">NSApplication</string> | 5 | <string name="customClass">NSApplication</string> |
6 | </object> | 6 | </object> |
7 | <array count="31" name="allObjects"> | 7 | <array count="31" name="allObjects"> |
8 | <object class="IBCarbonMenu" id="29"> | 8 | <object class="IBCarbonMenu" id="29"> |
9 | <string name="title">SecondLife</string> | 9 | <string name="title">Imprudence</string> |
10 | <array count="4" name="items"> | 10 | <array count="4" name="items"> |
11 | <object class="IBCarbonMenuItem" id="182"> | 11 | <object class="IBCarbonMenuItem" id="182"> |
12 | <string name="title">Second Life</string> | 12 | <string name="title">Imprudence</string> |
13 | <object name="submenu" class="IBCarbonMenu" id="181"> | 13 | <object name="submenu" class="IBCarbonMenu" id="181"> |
14 | <string name="title">Second Life</string> | 14 | <string name="title">Imprudence</string> |
15 | <array count="1" name="items"> | 15 | <array count="1" name="items"> |
16 | <object class="IBCarbonMenuItem" id="183"> | 16 | <object class="IBCarbonMenuItem" id="183"> |
17 | <boolean name="disabled">TRUE</boolean> | 17 | <boolean name="disabled">TRUE</boolean> |
18 | <boolean name="updateSingleItem">TRUE</boolean> | 18 | <boolean name="updateSingleItem">TRUE</boolean> |
19 | <string name="title">About Second Life</string> | 19 | <string name="title">About Imprudence</string> |
20 | <int name="keyEquivalentModifier">0</int> | 20 | <int name="keyEquivalentModifier">0</int> |
21 | <ostype name="command">abou</ostype> | 21 | <ostype name="command">abou</ostype> |
22 | </object> | 22 | </object> |
23 | </array> | 23 | </array> |
24 | <string name="name">_NSAppleMenu</string> | 24 | <string name="name">_NSAppleMenu</string> |
25 | </object> | 25 | </object> |
26 | </object> | 26 | </object> |
27 | <object class="IBCarbonMenuItem" id="127"> | 27 | <object class="IBCarbonMenuItem" id="127"> |
28 | <string name="title">File</string> | 28 | <string name="title">File</string> |
29 | <object name="submenu" class="IBCarbonMenu" id="131"> | 29 | <object name="submenu" class="IBCarbonMenu" id="131"> |
30 | <string name="title">File</string> | 30 | <string name="title">File</string> |
31 | </object> | 31 | </object> |
32 | </object> | 32 | </object> |
33 | <object class="IBCarbonMenuItem" id="152"> | 33 | <object class="IBCarbonMenuItem" id="152"> |
34 | <string name="title">Edit</string> | 34 | <string name="title">Edit</string> |
35 | <object name="submenu" class="IBCarbonMenu" id="147"> | 35 | <object name="submenu" class="IBCarbonMenu" id="147"> |
36 | <string name="title">Edit</string> | 36 | <string name="title">Edit</string> |
37 | <array count="10" name="items"> | 37 | <array count="10" name="items"> |
38 | <object class="IBCarbonMenuItem" id="141"> | 38 | <object class="IBCarbonMenuItem" id="141"> |
39 | <boolean name="updateSingleItem">TRUE</boolean> | 39 | <boolean name="updateSingleItem">TRUE</boolean> |
40 | <string name="title">Undo</string> | 40 | <string name="title">Undo</string> |
41 | <string name="keyEquivalent">z</string> | 41 | <string name="keyEquivalent">z</string> |
42 | <ostype name="command">undo</ostype> | 42 | <ostype name="command">undo</ostype> |
43 | </object> | 43 | </object> |
44 | <object class="IBCarbonMenuItem" id="146"> | 44 | <object class="IBCarbonMenuItem" id="146"> |
45 | <boolean name="updateSingleItem">TRUE</boolean> | 45 | <boolean name="updateSingleItem">TRUE</boolean> |
46 | <string name="title">Redo</string> | 46 | <string name="title">Redo</string> |
47 | <string name="keyEquivalent">Z</string> | 47 | <string name="keyEquivalent">Z</string> |
48 | <ostype name="command">redo</ostype> | 48 | <ostype name="command">redo</ostype> |
49 | </object> | 49 | </object> |
50 | <object class="IBCarbonMenuItem" id="142"> | 50 | <object class="IBCarbonMenuItem" id="142"> |
51 | <boolean name="separator">TRUE</boolean> | 51 | <boolean name="separator">TRUE</boolean> |
52 | </object> | 52 | </object> |
53 | <object class="IBCarbonMenuItem" id="143"> | 53 | <object class="IBCarbonMenuItem" id="143"> |
54 | <boolean name="updateSingleItem">TRUE</boolean> | 54 | <boolean name="updateSingleItem">TRUE</boolean> |
55 | <string name="title">Cut</string> | 55 | <string name="title">Cut</string> |
56 | <string name="keyEquivalent">x</string> | 56 | <string name="keyEquivalent">x</string> |
57 | <ostype name="command">cut </ostype> | 57 | <ostype name="command">cut </ostype> |
58 | </object> | 58 | </object> |
59 | <object class="IBCarbonMenuItem" id="149"> | 59 | <object class="IBCarbonMenuItem" id="149"> |
60 | <boolean name="updateSingleItem">TRUE</boolean> | 60 | <boolean name="updateSingleItem">TRUE</boolean> |
61 | <string name="title">Copy</string> | 61 | <string name="title">Copy</string> |
62 | <string name="keyEquivalent">c</string> | 62 | <string name="keyEquivalent">c</string> |
63 | <ostype name="command">copy</ostype> | 63 | <ostype name="command">copy</ostype> |
64 | </object> | 64 | </object> |
65 | <object class="IBCarbonMenuItem" id="144"> | 65 | <object class="IBCarbonMenuItem" id="144"> |
66 | <boolean name="updateSingleItem">TRUE</boolean> | 66 | <boolean name="updateSingleItem">TRUE</boolean> |
67 | <string name="title">Paste</string> | 67 | <string name="title">Paste</string> |
68 | <string name="keyEquivalent">v</string> | 68 | <string name="keyEquivalent">v</string> |
69 | <ostype name="command">past</ostype> | 69 | <ostype name="command">past</ostype> |
70 | </object> | 70 | </object> |
71 | <object class="IBCarbonMenuItem" id="151"> | 71 | <object class="IBCarbonMenuItem" id="151"> |
72 | <boolean name="updateSingleItem">TRUE</boolean> | 72 | <boolean name="updateSingleItem">TRUE</boolean> |
73 | <string name="title">Delete</string> | 73 | <string name="title">Delete</string> |
74 | <ostype name="command">clea</ostype> | 74 | <ostype name="command">clea</ostype> |
75 | </object> | 75 | </object> |
76 | <object class="IBCarbonMenuItem" id="148"> | 76 | <object class="IBCarbonMenuItem" id="148"> |
77 | <boolean name="updateSingleItem">TRUE</boolean> | 77 | <boolean name="updateSingleItem">TRUE</boolean> |
78 | <string name="title">Select All</string> | 78 | <string name="title">Select All</string> |
79 | <string name="keyEquivalent">a</string> | 79 | <string name="keyEquivalent">a</string> |
80 | <ostype name="command">sall</ostype> | 80 | <ostype name="command">sall</ostype> |
81 | </object> | 81 | </object> |
82 | <object class="IBCarbonMenuItem" id="188"> | 82 | <object class="IBCarbonMenuItem" id="188"> |
83 | <boolean name="separator">TRUE</boolean> | 83 | <boolean name="separator">TRUE</boolean> |
84 | </object> | 84 | </object> |
85 | <object class="IBCarbonMenuItem" id="187"> | 85 | <object class="IBCarbonMenuItem" id="187"> |
86 | <boolean name="updateSingleItem">TRUE</boolean> | 86 | <boolean name="updateSingleItem">TRUE</boolean> |
87 | <string name="title">Special Characters…</string> | 87 | <string name="title">Special Characters…</string> |
88 | <ostype name="command">chrp</ostype> | 88 | <ostype name="command">chrp</ostype> |
89 | </object> | 89 | </object> |
90 | </array> | 90 | </array> |
91 | </object> | 91 | </object> |
92 | </object> | 92 | </object> |
93 | <object class="IBCarbonMenuItem" id="153"> | 93 | <object class="IBCarbonMenuItem" id="153"> |
94 | <string name="title">Window</string> | 94 | <string name="title">Window</string> |
95 | <object name="submenu" class="IBCarbonMenu" id="154"> | 95 | <object name="submenu" class="IBCarbonMenu" id="154"> |
96 | <string name="title">Window</string> | 96 | <string name="title">Window</string> |
97 | <array count="6" name="items"> | 97 | <array count="6" name="items"> |
98 | <object class="IBCarbonMenuItem" id="155"> | 98 | <object class="IBCarbonMenuItem" id="155"> |
99 | <boolean name="dynamic">TRUE</boolean> | 99 | <boolean name="dynamic">TRUE</boolean> |
100 | <boolean name="updateSingleItem">TRUE</boolean> | 100 | <boolean name="updateSingleItem">TRUE</boolean> |
101 | <string name="title">Minimize Window</string> | 101 | <string name="title">Minimize Window</string> |
102 | <string name="keyEquivalent">m</string> | 102 | <string name="keyEquivalent">m</string> |
103 | <ostype name="command">mini</ostype> | 103 | <ostype name="command">mini</ostype> |
104 | </object> | 104 | </object> |
105 | <object class="IBCarbonMenuItem" id="184"> | 105 | <object class="IBCarbonMenuItem" id="184"> |
106 | <boolean name="dynamic">TRUE</boolean> | 106 | <boolean name="dynamic">TRUE</boolean> |
107 | <boolean name="updateSingleItem">TRUE</boolean> | 107 | <boolean name="updateSingleItem">TRUE</boolean> |
108 | <string name="title">Minimize All Windows</string> | 108 | <string name="title">Minimize All Windows</string> |
109 | <string name="keyEquivalent">m</string> | 109 | <string name="keyEquivalent">m</string> |
110 | <int name="keyEquivalentModifier">1572864</int> | 110 | <int name="keyEquivalentModifier">1572864</int> |
111 | <ostype name="command">mina</ostype> | 111 | <ostype name="command">mina</ostype> |
112 | </object> | 112 | </object> |
113 | <object class="IBCarbonMenuItem" id="186"> | 113 | <object class="IBCarbonMenuItem" id="186"> |
114 | <boolean name="updateSingleItem">TRUE</boolean> | 114 | <boolean name="updateSingleItem">TRUE</boolean> |
115 | <string name="title">Zoom</string> | 115 | <string name="title">Zoom</string> |
116 | <ostype name="command">zoom</ostype> | 116 | <ostype name="command">zoom</ostype> |
117 | </object> | 117 | </object> |
118 | <object class="IBCarbonMenuItem" id="156"> | 118 | <object class="IBCarbonMenuItem" id="156"> |
119 | <boolean name="separator">TRUE</boolean> | 119 | <boolean name="separator">TRUE</boolean> |
120 | </object> | 120 | </object> |
121 | <object class="IBCarbonMenuItem" id="157"> | 121 | <object class="IBCarbonMenuItem" id="157"> |
122 | <boolean name="dynamic">TRUE</boolean> | 122 | <boolean name="dynamic">TRUE</boolean> |
123 | <boolean name="updateSingleItem">TRUE</boolean> | 123 | <boolean name="updateSingleItem">TRUE</boolean> |
124 | <string name="title">Bring All to Front</string> | 124 | <string name="title">Bring All to Front</string> |
125 | <ostype name="command">bfrt</ostype> | 125 | <ostype name="command">bfrt</ostype> |
126 | </object> | 126 | </object> |
127 | <object class="IBCarbonMenuItem" id="185"> | 127 | <object class="IBCarbonMenuItem" id="185"> |
128 | <boolean name="dynamic">TRUE</boolean> | 128 | <boolean name="dynamic">TRUE</boolean> |
129 | <boolean name="updateSingleItem">TRUE</boolean> | 129 | <boolean name="updateSingleItem">TRUE</boolean> |
130 | <string name="title">Arrange in Front</string> | 130 | <string name="title">Arrange in Front</string> |
131 | <int name="keyEquivalentModifier">1572864</int> | 131 | <int name="keyEquivalentModifier">1572864</int> |
132 | <ostype name="command">frnt</ostype> | 132 | <ostype name="command">frnt</ostype> |
133 | </object> | 133 | </object> |
134 | </array> | 134 | </array> |
135 | <string name="name">_NSWindowsMenu</string> | 135 | <string name="name">_NSWindowsMenu</string> |
136 | </object> | 136 | </object> |
137 | </object> | 137 | </object> |
138 | </array> | 138 | </array> |
139 | <string name="name">_NSMainMenu</string> | 139 | <string name="name">_NSMainMenu</string> |
140 | </object> | 140 | </object> |
141 | <reference idRef="127"/> | 141 | <reference idRef="127"/> |
142 | <reference idRef="131"/> | 142 | <reference idRef="131"/> |
143 | <reference idRef="141"/> | 143 | <reference idRef="141"/> |
144 | <reference idRef="142"/> | 144 | <reference idRef="142"/> |
145 | <reference idRef="143"/> | 145 | <reference idRef="143"/> |
146 | <reference idRef="144"/> | 146 | <reference idRef="144"/> |
147 | <reference idRef="146"/> | 147 | <reference idRef="146"/> |
148 | <reference idRef="147"/> | 148 | <reference idRef="147"/> |
149 | <reference idRef="148"/> | 149 | <reference idRef="148"/> |
150 | <reference idRef="149"/> | 150 | <reference idRef="149"/> |
151 | <reference idRef="151"/> | 151 | <reference idRef="151"/> |
152 | <reference idRef="152"/> | 152 | <reference idRef="152"/> |
153 | <reference idRef="153"/> | 153 | <reference idRef="153"/> |
154 | <reference idRef="154"/> | 154 | <reference idRef="154"/> |
155 | <reference idRef="155"/> | 155 | <reference idRef="155"/> |
156 | <reference idRef="156"/> | 156 | <reference idRef="156"/> |
157 | <reference idRef="157"/> | 157 | <reference idRef="157"/> |
158 | <reference idRef="181"/> | 158 | <reference idRef="181"/> |
159 | <reference idRef="182"/> | 159 | <reference idRef="182"/> |
160 | <reference idRef="183"/> | 160 | <reference idRef="183"/> |
161 | <reference idRef="184"/> | 161 | <reference idRef="184"/> |
162 | <reference idRef="185"/> | 162 | <reference idRef="185"/> |
163 | <reference idRef="186"/> | 163 | <reference idRef="186"/> |
164 | <reference idRef="187"/> | 164 | <reference idRef="187"/> |
165 | <reference idRef="188"/> | 165 | <reference idRef="188"/> |
166 | <object class="IBCarbonRootControl" id="190"> | 166 | <object class="IBCarbonRootControl" id="190"> |
167 | <string name="bounds">0 0 482 694 </string> | 167 | <string name="bounds">0 0 482 694 </string> |
168 | <string name="viewFrame">0 0 694 482 </string> | 168 | <string name="viewFrame">0 0 694 482 </string> |
169 | <array count="2" name="subviews"> | 169 | <array count="2" name="subviews"> |
170 | <object class="IBCarbonButton" id="192"> | 170 | <object class="IBCarbonButton" id="192"> |
171 | <string name="bounds">442 604 462 674 </string> | 171 | <string name="bounds">442 604 462 674 </string> |
172 | <string name="viewFrame">604 442 70 20 </string> | 172 | <string name="viewFrame">604 442 70 20 </string> |
173 | <string name="title">OK</string> | 173 | <string name="title">OK</string> |
174 | <ostype name="command">ok </ostype> | 174 | <ostype name="command">ok </ostype> |
175 | <object name="layoutInfo" class="IBCarbonHILayoutInfo"> | 175 | <object name="layoutInfo" class="IBCarbonHILayoutInfo"> |
176 | <int name="bindingBottomKind">2</int> | 176 | <int name="bindingBottomKind">2</int> |
177 | <int name="bindingRightKind">2</int> | 177 | <int name="bindingRightKind">2</int> |
178 | </object> | 178 | </object> |
179 | <int name="buttonType">1</int> | 179 | <int name="buttonType">1</int> |
180 | </object> | 180 | </object> |
181 | <object class="IBCarbonScrollView" id="201"> | 181 | <object class="IBCarbonScrollView" id="201"> |
182 | <string name="bounds">20 20 422 674 </string> | 182 | <string name="bounds">20 20 422 674 </string> |
183 | <string name="viewFrame">20 20 654 402 </string> | 183 | <string name="viewFrame">20 20 654 402 </string> |
184 | <array count="1" name="subviews"> | 184 | <array count="1" name="subviews"> |
185 | <object class="IBCarbonTextView" id="200"> | 185 | <object class="IBCarbonTextView" id="200"> |
186 | <string name="bounds">20 20 422 659 </string> | 186 | <string name="bounds">20 20 422 659 </string> |
187 | <string name="viewFrame">0 0 639 402 </string> | 187 | <string name="viewFrame">0 0 639 402 </string> |
188 | <ostype name="controlSignature">text</ostype> | 188 | <ostype name="controlSignature">text</ostype> |
189 | <int name="fontStyle">5</int> | 189 | <int name="fontStyle">5</int> |
190 | <boolean name="readOnly">TRUE</boolean> | 190 | <boolean name="readOnly">TRUE</boolean> |
191 | </object> | 191 | </object> |
192 | </array> | 192 | </array> |
193 | <boolean name="scrollHorizontally">FALSE</boolean> | 193 | <boolean name="scrollHorizontally">FALSE</boolean> |
194 | </object> | 194 | </object> |
195 | </array> | 195 | </array> |
196 | </object> | 196 | </object> |
197 | <object class="IBCarbonWindow" id="191"> | 197 | <object class="IBCarbonWindow" id="191"> |
198 | <string name="windowRect">84 72 566 766 </string> | 198 | <string name="windowRect">84 72 566 766 </string> |
199 | <string name="title">Release Notes</string> | 199 | <string name="title">Release Notes</string> |
200 | <reference name="rootControl" idRef="190"/> | 200 | <reference name="rootControl" idRef="190"/> |
201 | <boolean name="receiveUpdates">FALSE</boolean> | 201 | <boolean name="receiveUpdates">FALSE</boolean> |
202 | <boolean name="hasCloseBox">FALSE</boolean> | 202 | <boolean name="hasCloseBox">FALSE</boolean> |
203 | <boolean name="hasCollapseBox">FALSE</boolean> | 203 | <boolean name="hasCollapseBox">FALSE</boolean> |
204 | <boolean name="hasHorizontalZoom">FALSE</boolean> | 204 | <boolean name="hasHorizontalZoom">FALSE</boolean> |
205 | <boolean name="isResizable">FALSE</boolean> | 205 | <boolean name="isResizable">FALSE</boolean> |
206 | <boolean name="hasVerticalZoom">FALSE</boolean> | 206 | <boolean name="hasVerticalZoom">FALSE</boolean> |
207 | <boolean name="liveResize">TRUE</boolean> | 207 | <boolean name="liveResize">TRUE</boolean> |
208 | <boolean name="compositing">TRUE</boolean> | 208 | <boolean name="compositing">TRUE</boolean> |
209 | <int name="carbonWindowClass">4</int> | 209 | <int name="carbonWindowClass">4</int> |
210 | <int name="windowPosition">1</int> | 210 | <int name="windowPosition">1</int> |
211 | <boolean name="isConstrained">FALSE</boolean> | 211 | <boolean name="isConstrained">FALSE</boolean> |
212 | </object> | 212 | </object> |
213 | <reference idRef="192"/> | 213 | <reference idRef="192"/> |
214 | <reference idRef="200"/> | 214 | <reference idRef="200"/> |
215 | <reference idRef="201"/> | 215 | <reference idRef="201"/> |
216 | </array> | 216 | </array> |
217 | <array count="31" name="allParents"> | 217 | <array count="31" name="allParents"> |
218 | <reference idRef="1"/> | 218 | <reference idRef="1"/> |
219 | <reference idRef="29"/> | 219 | <reference idRef="29"/> |
220 | <reference idRef="127"/> | 220 | <reference idRef="127"/> |
221 | <reference idRef="147"/> | 221 | <reference idRef="147"/> |
222 | <reference idRef="147"/> | 222 | <reference idRef="147"/> |
223 | <reference idRef="147"/> | 223 | <reference idRef="147"/> |
224 | <reference idRef="147"/> | 224 | <reference idRef="147"/> |
225 | <reference idRef="147"/> | 225 | <reference idRef="147"/> |
226 | <reference idRef="152"/> | 226 | <reference idRef="152"/> |
227 | <reference idRef="147"/> | 227 | <reference idRef="147"/> |
228 | <reference idRef="147"/> | 228 | <reference idRef="147"/> |
229 | <reference idRef="147"/> | 229 | <reference idRef="147"/> |
230 | <reference idRef="29"/> | 230 | <reference idRef="29"/> |
231 | <reference idRef="29"/> | 231 | <reference idRef="29"/> |
232 | <reference idRef="153"/> | 232 | <reference idRef="153"/> |
233 | <reference idRef="154"/> | 233 | <reference idRef="154"/> |
234 | <reference idRef="154"/> | 234 | <reference idRef="154"/> |
235 | <reference idRef="154"/> | 235 | <reference idRef="154"/> |
236 | <reference idRef="182"/> | 236 | <reference idRef="182"/> |
237 | <reference idRef="29"/> | 237 | <reference idRef="29"/> |
238 | <reference idRef="181"/> | 238 | <reference idRef="181"/> |
239 | <reference idRef="154"/> | 239 | <reference idRef="154"/> |
240 | <reference idRef="154"/> | 240 | <reference idRef="154"/> |
241 | <reference idRef="154"/> | 241 | <reference idRef="154"/> |
242 | <reference idRef="147"/> | 242 | <reference idRef="147"/> |
243 | <reference idRef="147"/> | 243 | <reference idRef="147"/> |
244 | <reference idRef="191"/> | 244 | <reference idRef="191"/> |
245 | <reference idRef="1"/> | 245 | <reference idRef="1"/> |
246 | <reference idRef="190"/> | 246 | <reference idRef="190"/> |
247 | <reference idRef="201"/> | 247 | <reference idRef="201"/> |
248 | <reference idRef="190"/> | 248 | <reference idRef="190"/> |
249 | </array> | 249 | </array> |
250 | <dictionary count="3" name="nameTable"> | 250 | <dictionary count="3" name="nameTable"> |
251 | <string>Files Owner</string> | 251 | <string>Files Owner</string> |
252 | <reference idRef="1"/> | 252 | <reference idRef="1"/> |
253 | <string>MenuBar</string> | 253 | <string>MenuBar</string> |
254 | <reference idRef="29"/> | 254 | <reference idRef="29"/> |
255 | <string>Release Notes</string> | 255 | <string>Release Notes</string> |
256 | <reference idRef="191"/> | 256 | <reference idRef="191"/> |
257 | </dictionary> | 257 | </dictionary> |
258 | <unsigned_int name="nextObjectID">202</unsigned_int> | 258 | <unsigned_int name="nextObjectID">202</unsigned_int> |
259 | </object> | 259 | </object> |
diff --git a/linden/indra/newview/ViewerInstall.cmake b/linden/indra/newview/ViewerInstall.cmake index 55069ad..bc839c4 100644 --- a/linden/indra/newview/ViewerInstall.cmake +++ b/linden/indra/newview/ViewerInstall.cmake | |||
@@ -1,4 +1,4 @@ | |||
1 | install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/secondlife-bin | 1 | install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/imprudence-bin |
2 | DESTINATION ${APP_BINARY_DIR} | 2 | DESTINATION ${APP_BINARY_DIR} |
3 | ) | 3 | ) |
4 | 4 | ||
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml index 6c6f252..1d2da46 100644 --- a/linden/indra/newview/app_settings/settings.xml +++ b/linden/indra/newview/app_settings/settings.xml | |||
@@ -9533,7 +9533,7 @@ | |||
9533 | <key>Type</key> | 9533 | <key>Type</key> |
9534 | <string>String</string> | 9534 | <string>String</string> |
9535 | <key>Value</key> | 9535 | <key>Value</key> |
9536 | <string>Second Life Release</string> | 9536 | <string>Imprudence</string> |
9537 | </map> | 9537 | </map> |
9538 | <key>VertexShaderEnable</key> | 9538 | <key>VertexShaderEnable</key> |
9539 | <map> | 9539 | <map> |
diff --git a/linden/indra/newview/installers/windows/installer_template.nsi b/linden/indra/newview/installers/windows/installer_template.nsi index c795507..53c607c 100644 --- a/linden/indra/newview/installers/windows/installer_template.nsi +++ b/linden/indra/newview/installers/windows/installer_template.nsi | |||
@@ -1,990 +1,990 @@ | |||
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 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 73 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
74 | ;;; Variables | 74 | ;;; Variables |
75 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 75 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
76 | Var INSTPROG | 76 | Var INSTPROG |
77 | Var INSTEXE | 77 | Var INSTEXE |
78 | Var INSTFLAGS | 78 | Var INSTFLAGS |
79 | Var LANGFLAGS | 79 | Var LANGFLAGS |
80 | Var INSTSHORTCUT | 80 | Var INSTSHORTCUT |
81 | 81 | ||
82 | ;;; Function definitions should go before file includes, because the NSIS package | 82 | ;;; Function definitions should go before file includes, because the NSIS package |
83 | ;;; is a single stream of bytecodes + file data. So if your function definitions are at | 83 | ;;; is a single stream of bytecodes + file data. So if your function definitions are at |
84 | ;;; the end of the file it has to decompress the whole thing before it can call a function. JC | 84 | ;;; the end of the file it has to decompress the whole thing before it can call a function. JC |
85 | 85 | ||
86 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 86 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
87 | ; PostInstallExe | 87 | ; PostInstallExe |
88 | ; This just runs any post installation scripts. | 88 | ; This just runs any post installation scripts. |
89 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 89 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
90 | Function PostInstallExe | 90 | Function PostInstallExe |
91 | push $0 | 91 | push $0 |
92 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "PostInstallExe" | 92 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "PostInstallExe" |
93 | ;MessageBox MB_OK '$0' | 93 | ;MessageBox MB_OK '$0' |
94 | ExecWait '$0' | 94 | ExecWait '$0' |
95 | pop $0 | 95 | pop $0 |
96 | FunctionEnd | 96 | FunctionEnd |
97 | 97 | ||
98 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 98 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
99 | ; CheckStartupParameters | 99 | ; CheckStartupParameters |
100 | ; Sets INSTFLAGS, INSTPROG, and INSTEXE. | 100 | ; Sets INSTFLAGS, INSTPROG, and INSTEXE. |
101 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 101 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
102 | Function CheckStartupParams | 102 | Function CheckStartupParams |
103 | push $0 | 103 | push $0 |
104 | push $R0 | 104 | push $R0 |
105 | 105 | ||
106 | ; Look for a registry entry with info about where to update. | 106 | ; Look for a registry entry with info about where to update. |
107 | Call GetProgramName | 107 | Call GetProgramName |
108 | pop $R0 | 108 | pop $R0 |
109 | StrCpy $INSTPROG "$R0" | 109 | StrCpy $INSTPROG "$R0" |
110 | StrCpy $INSTEXE "$R0.exe" | 110 | StrCpy $INSTEXE "$R0.exe" |
111 | 111 | ||
112 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" | 112 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" |
113 | ; If key doesn't exist, skip install | 113 | ; If key doesn't exist, skip install |
114 | IfErrors ABORT | 114 | IfErrors ABORT |
115 | StrCpy $INSTDIR "$0" | 115 | StrCpy $INSTDIR "$0" |
116 | 116 | ||
117 | ; We now have a directory to install to. Get the startup parameters and shortcut as well. | 117 | ; We now have a directory to install to. Get the startup parameters and shortcut as well. |
118 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" | 118 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" |
119 | IfErrors +2 | 119 | IfErrors +2 |
120 | StrCpy $INSTFLAGS "$0" | 120 | StrCpy $INSTFLAGS "$0" |
121 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" | 121 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" |
122 | IfErrors +2 | 122 | IfErrors +2 |
123 | StrCpy $INSTSHORTCUT "$0" | 123 | StrCpy $INSTSHORTCUT "$0" |
124 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" | 124 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" |
125 | IfErrors +2 | 125 | IfErrors +2 |
126 | StrCpy $INSTEXE "$0" | 126 | StrCpy $INSTEXE "$0" |
127 | Goto FINISHED | 127 | Goto FINISHED |
128 | 128 | ||
129 | ABORT: | 129 | ABORT: |
130 | MessageBox MB_OK $(CheckStartupParamsMB) | 130 | MessageBox MB_OK $(CheckStartupParamsMB) |
131 | Quit | 131 | Quit |
132 | 132 | ||
133 | FINISHED: | 133 | FINISHED: |
134 | ;MessageBox MB_OK "INSTPROG: $INSTPROG, INSTEXE: $INSTEXE, INSTFLAGS: $INSTFLAGS" | 134 | ;MessageBox MB_OK "INSTPROG: $INSTPROG, INSTEXE: $INSTEXE, INSTFLAGS: $INSTFLAGS" |
135 | pop $R0 | 135 | pop $R0 |
136 | pop $0 | 136 | pop $0 |
137 | FunctionEnd | 137 | FunctionEnd |
138 | 138 | ||
139 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 139 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
140 | ;; | 140 | ;; |
141 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 141 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
142 | Function un.CheckStartupParams | 142 | Function un.CheckStartupParams |
143 | push $0 | 143 | push $0 |
144 | push $R0 | 144 | push $R0 |
145 | 145 | ||
146 | ; Look for a registry entry with info about where to update. | 146 | ; Look for a registry entry with info about where to update. |
147 | Call un.GetProgramName | 147 | Call un.GetProgramName |
148 | pop $R0 | 148 | pop $R0 |
149 | StrCpy $INSTPROG "$R0" | 149 | StrCpy $INSTPROG "$R0" |
150 | StrCpy $INSTEXE "$R0.exe" | 150 | StrCpy $INSTEXE "$R0.exe" |
151 | 151 | ||
152 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" | 152 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" |
153 | ; If key doesn't exist, skip install | 153 | ; If key doesn't exist, skip install |
154 | IfErrors ABORT | 154 | IfErrors ABORT |
155 | StrCpy $INSTDIR "$0" | 155 | StrCpy $INSTDIR "$0" |
156 | 156 | ||
157 | ; We now have a directory to install to. Get the startup parameters and shortcut as well. | 157 | ; We now have a directory to install to. Get the startup parameters and shortcut as well. |
158 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" | 158 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" |
159 | IfErrors +2 | 159 | IfErrors +2 |
160 | StrCpy $INSTFLAGS "$0" | 160 | StrCpy $INSTFLAGS "$0" |
161 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" | 161 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" |
162 | IfErrors +2 | 162 | IfErrors +2 |
163 | StrCpy $INSTSHORTCUT "$0" | 163 | StrCpy $INSTSHORTCUT "$0" |
164 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" | 164 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" |
165 | IfErrors +2 | 165 | IfErrors +2 |
166 | StrCpy $INSTEXE "$0" | 166 | StrCpy $INSTEXE "$0" |
167 | Goto FINISHED | 167 | Goto FINISHED |
168 | 168 | ||
169 | ABORT: | 169 | ABORT: |
170 | MessageBox MB_OK $(CheckStartupParamsMB) | 170 | MessageBox MB_OK $(CheckStartupParamsMB) |
171 | Quit | 171 | Quit |
172 | 172 | ||
173 | FINISHED: | 173 | FINISHED: |
174 | ;MessageBox MB_OK "INSTPROG: $INSTPROG, INSTEXE: $INSTEXE, INSTFLAGS: $INSTFLAGS" | 174 | ;MessageBox MB_OK "INSTPROG: $INSTPROG, INSTEXE: $INSTEXE, INSTFLAGS: $INSTFLAGS" |
175 | pop $R0 | 175 | pop $R0 |
176 | pop $0 | 176 | pop $0 |
177 | FunctionEnd | 177 | FunctionEnd |
178 | 178 | ||
179 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 179 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
180 | ;;; After install completes, offer readme file | 180 | ;;; After install completes, offer readme file |
181 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 181 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
182 | Function .onInstSuccess | 182 | Function .onInstSuccess |
183 | MessageBox MB_YESNO \ | 183 | MessageBox MB_YESNO \ |
184 | $(InstSuccesssQuestion) /SD IDYES IDNO NoReadme | 184 | $(InstSuccesssQuestion) /SD IDYES IDNO NoReadme |
185 | ; Assumes SetOutPath $INSTDIR | 185 | ; Assumes SetOutPath $INSTDIR |
186 | Exec '"$INSTDIR\$INSTEXE" $INSTFLAGS' | 186 | Exec '"$INSTDIR\$INSTEXE" $INSTFLAGS' |
187 | NoReadme: | 187 | NoReadme: |
188 | FunctionEnd | 188 | FunctionEnd |
189 | 189 | ||
190 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 190 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
191 | ; Remove old NSIS version. Modifies no variables. | 191 | ; Remove old NSIS version. Modifies no variables. |
192 | ; Does NOT delete the LindenWorld directory, or any | 192 | ; Does NOT delete the LindenWorld directory, or any |
193 | ; user files in that directory. | 193 | ; user files in that directory. |
194 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 194 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
195 | Function RemoveNSIS | 195 | Function RemoveNSIS |
196 | Push $0 | 196 | Push $0 |
197 | ; Grab the installation directory of the old version | 197 | ; Grab the installation directory of the old version |
198 | DetailPrint $(RemoveOldNSISVersion) | 198 | DetailPrint $(RemoveOldNSISVersion) |
199 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" | 199 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" |
200 | 200 | ||
201 | ; If key doesn't exist, skip uninstall | 201 | ; If key doesn't exist, skip uninstall |
202 | IfErrors NO_NSIS | 202 | IfErrors NO_NSIS |
203 | 203 | ||
204 | ; Clean up legacy beta shortcuts | 204 | ; Clean up legacy beta shortcuts |
205 | Delete "$SMPROGRAMS\Second Life Beta.lnk" | 205 | Delete "$SMPROGRAMS\Second Life Beta.lnk" |
206 | Delete "$DESKTOP\Second Life Beta.lnk" | 206 | Delete "$DESKTOP\Second Life Beta.lnk" |
207 | Delete "$SMPROGRAMS\Second Life.lnk" | 207 | Delete "$SMPROGRAMS\Second Life.lnk" |
208 | 208 | ||
209 | ; Clean up old newview.exe file | 209 | ; Clean up old newview.exe file |
210 | Delete "$INSTDIR\newview.exe" | 210 | Delete "$INSTDIR\newview.exe" |
211 | 211 | ||
212 | ; Intentionally don't delete the stuff in | 212 | ; Intentionally don't delete the stuff in |
213 | ; Documents and Settings, so we keep the user's settings | 213 | ; Documents and Settings, so we keep the user's settings |
214 | 214 | ||
215 | NO_NSIS: | 215 | NO_NSIS: |
216 | Pop $0 | 216 | Pop $0 |
217 | FunctionEnd | 217 | FunctionEnd |
218 | 218 | ||
219 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 219 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
220 | ; Make sure we're not on Windows 98 / ME | 220 | ; Make sure we're not on Windows 98 / ME |
221 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 221 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
222 | Function CheckWindowsVersion | 222 | Function CheckWindowsVersion |
223 | DetailPrint "Checking Windows version..." | 223 | DetailPrint "Checking Windows version..." |
224 | Call GetWindowsVersion | 224 | Call GetWindowsVersion |
225 | Pop $R0 | 225 | Pop $R0 |
226 | ; Just get first two characters, ignore 4.0 part of "NT 4.0" | 226 | ; Just get first two characters, ignore 4.0 part of "NT 4.0" |
227 | StrCpy $R0 $R0 2 | 227 | StrCpy $R0 $R0 2 |
228 | ; Blacklist certain OS versions | 228 | ; Blacklist certain OS versions |
229 | StrCmp $R0 "95" win_ver_bad | 229 | StrCmp $R0 "95" win_ver_bad |
230 | StrCmp $R0 "98" win_ver_bad | 230 | StrCmp $R0 "98" win_ver_bad |
231 | StrCmp $R0 "ME" win_ver_bad | 231 | StrCmp $R0 "ME" win_ver_bad |
232 | StrCmp $R0 "NT" win_ver_bad | 232 | StrCmp $R0 "NT" win_ver_bad |
233 | Return | 233 | Return |
234 | win_ver_bad: | 234 | win_ver_bad: |
235 | MessageBox MB_YESNO $(CheckWindowsVersionMB) IDNO win_ver_abort | 235 | MessageBox MB_YESNO $(CheckWindowsVersionMB) IDNO win_ver_abort |
236 | Return | 236 | Return |
237 | win_ver_abort: | 237 | win_ver_abort: |
238 | Quit | 238 | Quit |
239 | FunctionEnd | 239 | FunctionEnd |
240 | 240 | ||
241 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 241 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
242 | ; Make sure the user can install/uninstall | 242 | ; Make sure the user can install/uninstall |
243 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 243 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
244 | Function CheckIfAdministrator | 244 | Function CheckIfAdministrator |
245 | DetailPrint $(CheckAdministratorInstDP) | 245 | DetailPrint $(CheckAdministratorInstDP) |
246 | UserInfo::GetAccountType | 246 | UserInfo::GetAccountType |
247 | Pop $R0 | 247 | Pop $R0 |
248 | StrCmp $R0 "Admin" is_admin | 248 | StrCmp $R0 "Admin" is_admin |
249 | MessageBox MB_OK $(CheckAdministratorInstMB) | 249 | MessageBox MB_OK $(CheckAdministratorInstMB) |
250 | Quit | 250 | Quit |
251 | is_admin: | 251 | is_admin: |
252 | Return | 252 | Return |
253 | FunctionEnd | 253 | FunctionEnd |
254 | 254 | ||
255 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 255 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
256 | ;; | 256 | ;; |
257 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 257 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
258 | Function un.CheckIfAdministrator | 258 | Function un.CheckIfAdministrator |
259 | DetailPrint $(CheckAdministratorUnInstDP) | 259 | DetailPrint $(CheckAdministratorUnInstDP) |
260 | UserInfo::GetAccountType | 260 | UserInfo::GetAccountType |
261 | Pop $R0 | 261 | Pop $R0 |
262 | StrCmp $R0 "Admin" is_admin | 262 | StrCmp $R0 "Admin" is_admin |
263 | MessageBox MB_OK $(CheckAdministratorUnInstMB) | 263 | MessageBox MB_OK $(CheckAdministratorUnInstMB) |
264 | Quit | 264 | Quit |
265 | is_admin: | 265 | is_admin: |
266 | Return | 266 | Return |
267 | FunctionEnd | 267 | FunctionEnd |
268 | 268 | ||
269 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 269 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
270 | ; Checks to see if the current version has already been installed (according to the registry). | 270 | ; Checks to see if the current version has already been installed (according to the registry). |
271 | ; If it has, allow user to bail out of install process. | 271 | ; If it has, allow user to bail out of install process. |
272 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 272 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
273 | Function CheckIfAlreadyCurrent | 273 | Function CheckIfAlreadyCurrent |
274 | Push $0 | 274 | Push $0 |
275 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Version" | 275 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Version" |
276 | StrCmp $0 ${VERSION_LONG} 0 DONE | 276 | StrCmp $0 ${VERSION_LONG} 0 DONE |
277 | MessageBox MB_OKCANCEL $(CheckIfCurrentMB) /SD IDOK IDOK DONE | 277 | MessageBox MB_OKCANCEL $(CheckIfCurrentMB) /SD IDOK IDOK DONE |
278 | Quit | 278 | Quit |
279 | 279 | ||
280 | DONE: | 280 | DONE: |
281 | Pop $0 | 281 | Pop $0 |
282 | Return | 282 | Return |
283 | FunctionEnd | 283 | FunctionEnd |
284 | 284 | ||
285 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 285 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
286 | ; Close the program, if running. Modifies no variables. | 286 | ; Close the program, if running. Modifies no variables. |
287 | ; Allows user to bail out of install process. | 287 | ; Allows user to bail out of install process. |
288 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 288 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
289 | Function CloseSecondLife | 289 | Function CloseSecondLife |
290 | Push $0 | 290 | Push $0 |
291 | FindWindow $0 "Second Life" "" | 291 | FindWindow $0 "Imprudence" "" |
292 | IntCmp $0 0 DONE | 292 | IntCmp $0 0 DONE |
293 | MessageBox MB_OKCANCEL $(CloseSecondLifeInstMB) IDOK CLOSE IDCANCEL CANCEL_INSTALL | 293 | MessageBox MB_OKCANCEL $(CloseSecondLifeInstMB) IDOK CLOSE IDCANCEL CANCEL_INSTALL |
294 | 294 | ||
295 | CANCEL_INSTALL: | 295 | CANCEL_INSTALL: |
296 | Quit | 296 | Quit |
297 | 297 | ||
298 | CLOSE: | 298 | CLOSE: |
299 | DetailPrint $(CloseSecondLifeInstDP) | 299 | DetailPrint $(CloseSecondLifeInstDP) |
300 | SendMessage $0 16 0 0 | 300 | SendMessage $0 16 0 0 |
301 | 301 | ||
302 | LOOP: | 302 | LOOP: |
303 | FindWindow $0 "Second Life" "" | 303 | FindWindow $0 "Imprudence" "" |
304 | IntCmp $0 0 DONE | 304 | IntCmp $0 0 DONE |
305 | Sleep 500 | 305 | Sleep 500 |
306 | Goto LOOP | 306 | Goto LOOP |
307 | 307 | ||
308 | DONE: | 308 | DONE: |
309 | Pop $0 | 309 | Pop $0 |
310 | Return | 310 | Return |
311 | FunctionEnd | 311 | FunctionEnd |
312 | 312 | ||
313 | 313 | ||
314 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 314 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
315 | ; Delete files in Documents and Settings\<user>\SecondLife\cache | 315 | ; Delete files in Documents and Settings\<user>\SecondLife\cache |
316 | ; Delete files in Documents and Settings\All Users\SecondLife\cache | 316 | ; Delete files in Documents and Settings\All Users\SecondLife\cache |
317 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 317 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
318 | ;Function RemoveCacheFiles | 318 | ;Function RemoveCacheFiles |
319 | ; | 319 | ; |
320 | ;; Delete files in Documents and Settings\<user>\SecondLife | 320 | ;; Delete files in Documents and Settings\<user>\SecondLife |
321 | ;Push $0 | 321 | ;Push $0 |
322 | ;Push $1 | 322 | ;Push $1 |
323 | ;Push $2 | 323 | ;Push $2 |
324 | ; DetailPrint $(RemoveCacheFilesDP) | 324 | ; DetailPrint $(RemoveCacheFilesDP) |
325 | ; | 325 | ; |
326 | ; StrCpy $0 0 ; Index number used to iterate via EnumRegKey | 326 | ; StrCpy $0 0 ; Index number used to iterate via EnumRegKey |
327 | ; | 327 | ; |
328 | ; LOOP: | 328 | ; LOOP: |
329 | ; EnumRegKey $1 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" $0 | 329 | ; EnumRegKey $1 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" $0 |
330 | ; StrCmp $1 "" DONE ; no more users | 330 | ; StrCmp $1 "" DONE ; no more users |
331 | ; | 331 | ; |
332 | ; ReadRegStr $2 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\$1" "ProfileImagePath" | 332 | ; ReadRegStr $2 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\$1" "ProfileImagePath" |
333 | ; StrCmp $2 "" CONTINUE 0 ; "ProfileImagePath" value is missing | 333 | ; StrCmp $2 "" CONTINUE 0 ; "ProfileImagePath" value is missing |
334 | ; | 334 | ; |
335 | ; ; Required since ProfileImagePath is of type REG_EXPAND_SZ | 335 | ; ; Required since ProfileImagePath is of type REG_EXPAND_SZ |
336 | ; ExpandEnvStrings $2 $2 | 336 | ; ExpandEnvStrings $2 $2 |
337 | ; | 337 | ; |
338 | ; ; When explicitly uninstalling, everything goes away | 338 | ; ; When explicitly uninstalling, everything goes away |
339 | ; RMDir /r "$2\Application Data\SecondLife\cache" | 339 | ; RMDir /r "$2\Application Data\SecondLife\cache" |
340 | ; | 340 | ; |
341 | ; CONTINUE: | 341 | ; CONTINUE: |
342 | ; IntOp $0 $0 + 1 | 342 | ; IntOp $0 $0 + 1 |
343 | ; Goto LOOP | 343 | ; Goto LOOP |
344 | ; DONE: | 344 | ; DONE: |
345 | ;Pop $2 | 345 | ;Pop $2 |
346 | ;Pop $1 | 346 | ;Pop $1 |
347 | ;Pop $0 | 347 | ;Pop $0 |
348 | ; | 348 | ; |
349 | ;; Delete files in Documents and Settings\All Users\SecondLife | 349 | ;; Delete files in Documents and Settings\All Users\SecondLife |
350 | ;Push $0 | 350 | ;Push $0 |
351 | ; ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" "Common AppData" | 351 | ; ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" "Common AppData" |
352 | ; StrCmp $0 "" +2 | 352 | ; StrCmp $0 "" +2 |
353 | ; RMDir /r "$0\SecondLife\cache" | 353 | ; RMDir /r "$0\SecondLife\cache" |
354 | ;Pop $0 | 354 | ;Pop $0 |
355 | ; | 355 | ; |
356 | ;; Delete filse in C:\Windows\Application Data\SecondLife | 356 | ;; Delete filse in C:\Windows\Application Data\SecondLife |
357 | ;; If the user is running on a pre-NT system, Application Data lives here instead of | 357 | ;; If the user is running on a pre-NT system, Application Data lives here instead of |
358 | ;; in Documents and Settings. | 358 | ;; in Documents and Settings. |
359 | ;RMDir /r "$WINDIR\Application Data\SecondLife\cache" | 359 | ;RMDir /r "$WINDIR\Application Data\SecondLife\cache" |
360 | ; | 360 | ; |
361 | ;FunctionEnd | 361 | ;FunctionEnd |
362 | 362 | ||
363 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 363 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
364 | ;;; Delete the installed shader files | 364 | ;;; Delete the installed shader files |
365 | ;;; Since shaders are in active development, we'll likely need to shuffle them | 365 | ;;; Since shaders are in active development, we'll likely need to shuffle them |
366 | ;;; around a bit from build to build. This ensures that shaders that we move | 366 | ;;; around a bit from build to build. This ensures that shaders that we move |
367 | ;;; or rename in the dev tree don't get left behind in the install. | 367 | ;;; or rename in the dev tree don't get left behind in the install. |
368 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 368 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
369 | Function RemoveOldShaders | 369 | Function RemoveOldShaders |
370 | 370 | ||
371 | ;; Remove old shader files first so fallbacks will work. see DEV-5663 | 371 | ;; Remove old shader files first so fallbacks will work. see DEV-5663 |
372 | RMDir /r "$INSTDIR\app_settings\shaders\*" | 372 | RMDir /r "$INSTDIR\app_settings\shaders\*" |
373 | 373 | ||
374 | FunctionEnd | 374 | FunctionEnd |
375 | 375 | ||
376 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 376 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
377 | ;;; Delete the installed XUI files | 377 | ;;; Delete the installed XUI files |
378 | ;;; We've changed the directory hierarchy for skins, putting all XUI and texture | 378 | ;;; We've changed the directory hierarchy for skins, putting all XUI and texture |
379 | ;;; files under a specific skin directory, i.e. skins/default/xui/en-us as opposed | 379 | ;;; files under a specific skin directory, i.e. skins/default/xui/en-us as opposed |
380 | ;;; to skins/xui/en-us. Need to clean up the old path when upgrading | 380 | ;;; to skins/xui/en-us. Need to clean up the old path when upgrading |
381 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 381 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
382 | Function RemoveOldXUI | 382 | Function RemoveOldXUI |
383 | 383 | ||
384 | ;; remove old XUI and texture files | 384 | ;; remove old XUI and texture files |
385 | RmDir /r "$INSTDIR\skins\html" | 385 | RmDir /r "$INSTDIR\skins\html" |
386 | RmDir /r "$INSTDIR\skins\xui" | 386 | RmDir /r "$INSTDIR\skins\xui" |
387 | RmDir /r "$INSTDIR\skins\textures" | 387 | RmDir /r "$INSTDIR\skins\textures" |
388 | Delete "$INSTDIR\skins\*.txt" | 388 | Delete "$INSTDIR\skins\*.txt" |
389 | 389 | ||
390 | FunctionEnd | 390 | FunctionEnd |
391 | 391 | ||
392 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 392 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
393 | ;;; Remove any releasenotes files. | 393 | ;;; Remove any releasenotes files. |
394 | ;;; We are no longer including release notes with the viewer. This will delete | 394 | ;;; We are no longer including release notes with the viewer. This will delete |
395 | ;;; any that were left behind by an older installer. Delete will not fail if | 395 | ;;; any that were left behind by an older installer. Delete will not fail if |
396 | ;;; the files do not exist | 396 | ;;; the files do not exist |
397 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 397 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
398 | Function RemoveOldReleaseNotes | 398 | Function RemoveOldReleaseNotes |
399 | 399 | ||
400 | ;; remove releasenotes.txt file from application directory, and the shortcut | 400 | ;; remove releasenotes.txt file from application directory, and the shortcut |
401 | ;; from the start menu. | 401 | ;; from the start menu. |
402 | Delete "$SMPROGRAMS\$INSTSHORTCUT\SL Release Notes.lnk" | 402 | Delete "$SMPROGRAMS\$INSTSHORTCUT\SL Release Notes.lnk" |
403 | Delete "$INSTDIR\releasenotes.txt" | 403 | Delete "$INSTDIR\releasenotes.txt" |
404 | 404 | ||
405 | FunctionEnd | 405 | FunctionEnd |
406 | 406 | ||
407 | 407 | ||
408 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 408 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
409 | ; Delete files in Documents and Settings\<user>\SecondLife | 409 | ; Delete files in Documents and Settings\<user>\SecondLife |
410 | ; Delete files in Documents and Settings\All Users\SecondLife | 410 | ; Delete files in Documents and Settings\All Users\SecondLife |
411 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 411 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
412 | Function un.DocumentsAndSettingsFolder | 412 | Function un.DocumentsAndSettingsFolder |
413 | 413 | ||
414 | ; Delete files in Documents and Settings\<user>\SecondLife | 414 | ; Delete files in Documents and Settings\<user>\SecondLife |
415 | Push $0 | 415 | Push $0 |
416 | Push $1 | 416 | Push $1 |
417 | Push $2 | 417 | Push $2 |
418 | 418 | ||
419 | DetailPrint "Deleting files in Documents and Settings folder" | 419 | DetailPrint "Deleting files in Documents and Settings folder" |
420 | 420 | ||
421 | StrCpy $0 0 ; Index number used to iterate via EnumRegKey | 421 | StrCpy $0 0 ; Index number used to iterate via EnumRegKey |
422 | 422 | ||
423 | LOOP: | 423 | LOOP: |
424 | EnumRegKey $1 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" $0 | 424 | EnumRegKey $1 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" $0 |
425 | StrCmp $1 "" DONE ; no more users | 425 | StrCmp $1 "" DONE ; no more users |
426 | 426 | ||
427 | ReadRegStr $2 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\$1" "ProfileImagePath" | 427 | ReadRegStr $2 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\$1" "ProfileImagePath" |
428 | StrCmp $2 "" CONTINUE 0 ; "ProfileImagePath" value is missing | 428 | StrCmp $2 "" CONTINUE 0 ; "ProfileImagePath" value is missing |
429 | 429 | ||
430 | ; Required since ProfileImagePath is of type REG_EXPAND_SZ | 430 | ; Required since ProfileImagePath is of type REG_EXPAND_SZ |
431 | ExpandEnvStrings $2 $2 | 431 | ExpandEnvStrings $2 $2 |
432 | 432 | ||
433 | ; If uninstalling a normal install remove everything | 433 | ; If uninstalling a normal install remove everything |
434 | ; Otherwise (preview/dmz etc) just remove cache | 434 | ; Otherwise (preview/dmz etc) just remove cache |
435 | StrCmp $INSTFLAGS "" RM_ALL RM_CACHE | 435 | StrCmp $INSTFLAGS "" RM_ALL RM_CACHE |
436 | RM_ALL: | 436 | RM_ALL: |
437 | RMDir /r "$2\Application Data\SecondLife" | 437 | RMDir /r "$2\Application Data\SecondLife" |
438 | GoTo CONTINUE | 438 | GoTo CONTINUE |
439 | RM_CACHE: | 439 | RM_CACHE: |
440 | RMDir /r "$2\Application Data\SecondLife\Cache" | 440 | RMDir /r "$2\Application Data\SecondLife\Cache" |
441 | Delete "$2\Application Data\SecondLife\user_settings\settings_windlight.xml" | 441 | Delete "$2\Application Data\SecondLife\user_settings\settings_windlight.xml" |
442 | 442 | ||
443 | CONTINUE: | 443 | CONTINUE: |
444 | IntOp $0 $0 + 1 | 444 | IntOp $0 $0 + 1 |
445 | Goto LOOP | 445 | Goto LOOP |
446 | DONE: | 446 | DONE: |
447 | 447 | ||
448 | Pop $2 | 448 | Pop $2 |
449 | Pop $1 | 449 | Pop $1 |
450 | Pop $0 | 450 | Pop $0 |
451 | 451 | ||
452 | ; Delete files in Documents and Settings\All Users\SecondLife | 452 | ; Delete files in Documents and Settings\All Users\SecondLife |
453 | Push $0 | 453 | Push $0 |
454 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" "Common AppData" | 454 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" "Common AppData" |
455 | StrCmp $0 "" +2 | 455 | StrCmp $0 "" +2 |
456 | RMDir /r "$0\SecondLife" | 456 | RMDir /r "$0\SecondLife" |
457 | Pop $0 | 457 | Pop $0 |
458 | 458 | ||
459 | ; Delete filse in C:\Windows\Application Data\SecondLife | 459 | ; Delete filse in C:\Windows\Application Data\SecondLife |
460 | ; If the user is running on a pre-NT system, Application Data lives here instead of | 460 | ; If the user is running on a pre-NT system, Application Data lives here instead of |
461 | ; in Documents and Settings. | 461 | ; in Documents and Settings. |
462 | RMDir /r "$WINDIR\Application Data\SecondLife" | 462 | RMDir /r "$WINDIR\Application Data\SecondLife" |
463 | 463 | ||
464 | FunctionEnd | 464 | FunctionEnd |
465 | 465 | ||
466 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 466 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
467 | ; Close the program, if running. Modifies no variables. | 467 | ; Close the program, if running. Modifies no variables. |
468 | ; Allows user to bail out of uninstall process. | 468 | ; Allows user to bail out of uninstall process. |
469 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 469 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
470 | Function un.CloseSecondLife | 470 | Function un.CloseSecondLife |
471 | Push $0 | 471 | Push $0 |
472 | FindWindow $0 "Second Life" "" | 472 | FindWindow $0 "Imprudence" "" |
473 | IntCmp $0 0 DONE | 473 | IntCmp $0 0 DONE |
474 | MessageBox MB_OKCANCEL $(CloseSecondLifeUnInstMB) IDOK CLOSE IDCANCEL CANCEL_UNINSTALL | 474 | MessageBox MB_OKCANCEL $(CloseSecondLifeUnInstMB) IDOK CLOSE IDCANCEL CANCEL_UNINSTALL |
475 | 475 | ||
476 | CANCEL_UNINSTALL: | 476 | CANCEL_UNINSTALL: |
477 | Quit | 477 | Quit |
478 | 478 | ||
479 | CLOSE: | 479 | CLOSE: |
480 | DetailPrint $(CloseSecondLifeUnInstDP) | 480 | DetailPrint $(CloseSecondLifeUnInstDP) |
481 | SendMessage $0 16 0 0 | 481 | SendMessage $0 16 0 0 |
482 | 482 | ||
483 | LOOP: | 483 | LOOP: |
484 | FindWindow $0 "Second Life" "" | 484 | FindWindow $0 "Imprudence" "" |
485 | IntCmp $0 0 DONE | 485 | IntCmp $0 0 DONE |
486 | Sleep 500 | 486 | Sleep 500 |
487 | Goto LOOP | 487 | Goto LOOP |
488 | 488 | ||
489 | DONE: | 489 | DONE: |
490 | Pop $0 | 490 | Pop $0 |
491 | Return | 491 | Return |
492 | FunctionEnd | 492 | FunctionEnd |
493 | 493 | ||
494 | 494 | ||
495 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 495 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
496 | ; | 496 | ; |
497 | ; Delete the stored password for the current Windows user | 497 | ; Delete the stored password for the current Windows user |
498 | ; DEV-10821 -- Unauthorised user can gain access to an SL account after a real user has uninstalled | 498 | ; DEV-10821 -- Unauthorised user can gain access to an SL account after a real user has uninstalled |
499 | ; | 499 | ; |
500 | Function un.RemovePassword | 500 | Function un.RemovePassword |
501 | 501 | ||
502 | DetailPrint "Removing Second Life password" | 502 | DetailPrint "Removing Second Life password" |
503 | 503 | ||
504 | SetShellVarContext current | 504 | SetShellVarContext current |
505 | Delete "$APPDATA\SecondLife\user_settings\password.dat" | 505 | Delete "$APPDATA\SecondLife\user_settings\password.dat" |
506 | SetShellVarContext all | 506 | SetShellVarContext all |
507 | 507 | ||
508 | FunctionEnd | 508 | FunctionEnd |
509 | 509 | ||
510 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 510 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
511 | ;;; Delete the installed files | 511 | ;;; Delete the installed files |
512 | ;;; This deletes the uninstall executable, but it works | 512 | ;;; This deletes the uninstall executable, but it works |
513 | ;;; because it is copied to temp directory before running | 513 | ;;; because it is copied to temp directory before running |
514 | ;;; | 514 | ;;; |
515 | ;;; Note: You must list all files here, because we only | 515 | ;;; Note: You must list all files here, because we only |
516 | ;;; want to delete our files, not things users left in the | 516 | ;;; want to delete our files, not things users left in the |
517 | ;;; application directories. | 517 | ;;; application directories. |
518 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 518 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
519 | Function un.ProgramFiles | 519 | Function un.ProgramFiles |
520 | 520 | ||
521 | ;; Remove mozilla file first so recursive directory deletion doesn't get hung up | 521 | ;; Remove mozilla file first so recursive directory deletion doesn't get hung up |
522 | Delete "$INSTDIR\app_settings\mozilla\components" | 522 | Delete "$INSTDIR\app_settings\mozilla\components" |
523 | 523 | ||
524 | ;; This placeholder is replaced by the complete list of files to uninstall by viewer_manifest.py | 524 | ;; This placeholder is replaced by the complete list of files to uninstall by viewer_manifest.py |
525 | %%DELETE_FILES%% | 525 | %%DELETE_FILES%% |
526 | 526 | ||
527 | ;; Optional/obsolete files. Delete won't fail if they don't exist. | 527 | ;; Optional/obsolete files. Delete won't fail if they don't exist. |
528 | Delete "$INSTDIR\dronesettings.ini" | 528 | Delete "$INSTDIR\dronesettings.ini" |
529 | Delete "$INSTDIR\message_template.msg" | 529 | Delete "$INSTDIR\message_template.msg" |
530 | Delete "$INSTDIR\newview.pdb" | 530 | Delete "$INSTDIR\newview.pdb" |
531 | Delete "$INSTDIR\newview.map" | 531 | Delete "$INSTDIR\newview.map" |
532 | Delete "$INSTDIR\SecondLife.pdb" | 532 | Delete "$INSTDIR\SecondLife.pdb" |
533 | Delete "$INSTDIR\SecondLife.map" | 533 | Delete "$INSTDIR\SecondLife.map" |
534 | Delete "$INSTDIR\comm.dat" | 534 | Delete "$INSTDIR\comm.dat" |
535 | Delete "$INSTDIR\*.glsl" | 535 | Delete "$INSTDIR\*.glsl" |
536 | Delete "$INSTDIR\motions\*.lla" | 536 | Delete "$INSTDIR\motions\*.lla" |
537 | Delete "$INSTDIR\trial\*.html" | 537 | Delete "$INSTDIR\trial\*.html" |
538 | Delete "$INSTDIR\newview.exe" | 538 | Delete "$INSTDIR\newview.exe" |
539 | ;; Remove entire help directory | 539 | ;; Remove entire help directory |
540 | Delete "$INSTDIR\help\Advanced\*" | 540 | Delete "$INSTDIR\help\Advanced\*" |
541 | RMDir "$INSTDIR\help\Advanced" | 541 | RMDir "$INSTDIR\help\Advanced" |
542 | Delete "$INSTDIR\help\basics\*" | 542 | Delete "$INSTDIR\help\basics\*" |
543 | RMDir "$INSTDIR\help\basics" | 543 | RMDir "$INSTDIR\help\basics" |
544 | Delete "$INSTDIR\help\Concepts\*" | 544 | Delete "$INSTDIR\help\Concepts\*" |
545 | RMDir "$INSTDIR\help\Concepts" | 545 | RMDir "$INSTDIR\help\Concepts" |
546 | Delete "$INSTDIR\help\welcome\*" | 546 | Delete "$INSTDIR\help\welcome\*" |
547 | RMDir "$INSTDIR\help\welcome" | 547 | RMDir "$INSTDIR\help\welcome" |
548 | Delete "$INSTDIR\help\*" | 548 | Delete "$INSTDIR\help\*" |
549 | RMDir "$INSTDIR\help" | 549 | RMDir "$INSTDIR\help" |
550 | 550 | ||
551 | Delete "$INSTDIR\uninst.exe" | 551 | Delete "$INSTDIR\uninst.exe" |
552 | RMDir "$INSTDIR" | 552 | RMDir "$INSTDIR" |
553 | 553 | ||
554 | IfFileExists "$INSTDIR" FOLDERFOUND NOFOLDER | 554 | IfFileExists "$INSTDIR" FOLDERFOUND NOFOLDER |
555 | 555 | ||
556 | FOLDERFOUND: | 556 | FOLDERFOUND: |
557 | MessageBox MB_YESNO $(DeleteProgramFilesMB) IDNO NOFOLDER | 557 | MessageBox MB_YESNO $(DeleteProgramFilesMB) IDNO NOFOLDER |
558 | RMDir /r "$INSTDIR" | 558 | RMDir /r "$INSTDIR" |
559 | 559 | ||
560 | NOFOLDER: | 560 | NOFOLDER: |
561 | 561 | ||
562 | FunctionEnd | 562 | FunctionEnd |
563 | 563 | ||
564 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 564 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
565 | ;;; Uninstall settings | 565 | ;;; Uninstall settings |
566 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 566 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
567 | UninstallText $(UninstallTextMsg) | 567 | UninstallText $(UninstallTextMsg) |
568 | ShowUninstDetails show | 568 | ShowUninstDetails show |
569 | 569 | ||
570 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 570 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
571 | ;;; Uninstall section | 571 | ;;; Uninstall section |
572 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 572 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
573 | Section Uninstall | 573 | Section Uninstall |
574 | 574 | ||
575 | ; Start with some default values. | 575 | ; Start with some default values. |
576 | StrCpy $INSTFLAGS "" | 576 | StrCpy $INSTFLAGS "" |
577 | StrCpy $INSTPROG "${INSTNAME}" | 577 | StrCpy $INSTPROG "${INSTNAME}" |
578 | StrCpy $INSTEXE "${INSTEXE}" | 578 | StrCpy $INSTEXE "${INSTEXE}" |
579 | StrCpy $INSTSHORTCUT "${SHORTCUT}" | 579 | StrCpy $INSTSHORTCUT "${SHORTCUT}" |
580 | Call un.CheckStartupParams ; Figure out where, what and how to uninstall. | 580 | Call un.CheckStartupParams ; Figure out where, what and how to uninstall. |
581 | Call un.CheckIfAdministrator ; Make sure the user can install/uninstall | 581 | Call un.CheckIfAdministrator ; Make sure the user can install/uninstall |
582 | 582 | ||
583 | ; uninstall for all users (if you change this, change it in the install as well) | 583 | ; uninstall for all users (if you change this, change it in the install as well) |
584 | SetShellVarContext all | 584 | SetShellVarContext all |
585 | 585 | ||
586 | ; Make sure we're not running | 586 | ; Make sure we're not running |
587 | Call un.CloseSecondLife | 587 | Call un.CloseSecondLife |
588 | 588 | ||
589 | ; Clean up registry keys (these should all be !defines somewhere) | 589 | ; Clean up registry keys (these should all be !defines somewhere) |
590 | DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" | 590 | DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" |
591 | DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" | 591 | DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" |
592 | DeleteRegKey HKEY_LOCAL_MACHINE "Software\Linden Research, Inc.\Installer Language" | 592 | DeleteRegKey HKEY_LOCAL_MACHINE "Software\Linden Research, Inc.\Installer Language" |
593 | 593 | ||
594 | ; Clean up shortcuts | 594 | ; Clean up shortcuts |
595 | Delete "$SMPROGRAMS\$INSTSHORTCUT\*.*" | 595 | Delete "$SMPROGRAMS\$INSTSHORTCUT\*.*" |
596 | RMDir "$SMPROGRAMS\$INSTSHORTCUT" | 596 | RMDir "$SMPROGRAMS\$INSTSHORTCUT" |
597 | 597 | ||
598 | Delete "$DESKTOP\$INSTSHORTCUT.lnk" | 598 | Delete "$DESKTOP\$INSTSHORTCUT.lnk" |
599 | Delete "$INSTDIR\$INSTSHORTCUT.lnk" | 599 | Delete "$INSTDIR\$INSTSHORTCUT.lnk" |
600 | Delete "$INSTDIR\Uninstall $INSTSHORTCUT.lnk" | 600 | Delete "$INSTDIR\Uninstall $INSTSHORTCUT.lnk" |
601 | 601 | ||
602 | ; Clean up cache and log files. | 602 | ; Clean up cache and log files. |
603 | ; Leave them in-place for non AGNI installs. | 603 | ; Leave them in-place for non AGNI installs. |
604 | 604 | ||
605 | !ifdef UNINSTALL_SETTINGS | 605 | !ifdef UNINSTALL_SETTINGS |
606 | Call un.DocumentsAndSettingsFolder | 606 | Call un.DocumentsAndSettingsFolder |
607 | !endif | 607 | !endif |
608 | 608 | ||
609 | ; remove stored password on uninstall | 609 | ; remove stored password on uninstall |
610 | Call un.RemovePassword | 610 | Call un.RemovePassword |
611 | 611 | ||
612 | Call un.ProgramFiles | 612 | Call un.ProgramFiles |
613 | 613 | ||
614 | SectionEnd ; end of uninstall section | 614 | SectionEnd ; end of uninstall section |
615 | 615 | ||
616 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 616 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
617 | ; (From the NSIS wiki, DK) | 617 | ; (From the NSIS wiki, DK) |
618 | ; GetParameterValue | 618 | ; GetParameterValue |
619 | ; | 619 | ; |
620 | ; Usage: | 620 | ; Usage: |
621 | ; !insertmacro GetParameterValue "/L=" "1033" | 621 | ; !insertmacro GetParameterValue "/L=" "1033" |
622 | ; pop $R0 | 622 | ; pop $R0 |
623 | ; | 623 | ; |
624 | ; Returns on top of stack | 624 | ; Returns on top of stack |
625 | ; | 625 | ; |
626 | ; Example command lines: | 626 | ; Example command lines: |
627 | ; foo.exe /S /L=1033 /D=C:\Program Files\Foo | 627 | ; foo.exe /S /L=1033 /D=C:\Program Files\Foo |
628 | ; or: | 628 | ; or: |
629 | ; foo.exe /S "/L=1033" /D="C:\Program Files\Foo" | 629 | ; foo.exe /S "/L=1033" /D="C:\Program Files\Foo" |
630 | ; gpv "/L=" "1033" | 630 | ; gpv "/L=" "1033" |
631 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 631 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
632 | 632 | ||
633 | !macro GetParameterValue SWITCH DEFAULT | 633 | !macro GetParameterValue SWITCH DEFAULT |
634 | Push $0 | 634 | Push $0 |
635 | Push $1 | 635 | Push $1 |
636 | Push $2 | 636 | Push $2 |
637 | Push $3 | 637 | Push $3 |
638 | Push $4 | 638 | Push $4 |
639 | 639 | ||
640 | ;$CMDLINE='"My Setup\Setup.exe" /L=1033 /S' | 640 | ;$CMDLINE='"My Setup\Setup.exe" /L=1033 /S' |
641 | Push "$CMDLINE" | 641 | Push "$CMDLINE" |
642 | Push '${SWITCH}"' | 642 | Push '${SWITCH}"' |
643 | !insertmacro StrStr | 643 | !insertmacro StrStr |
644 | Pop $0 | 644 | Pop $0 |
645 | StrCmp "$0" "" gpv_notquoted | 645 | StrCmp "$0" "" gpv_notquoted |
646 | ;$0='/L="1033" /S' | 646 | ;$0='/L="1033" /S' |
647 | StrLen $2 "$0" | 647 | StrLen $2 "$0" |
648 | Strlen $1 "${SWITCH}" | 648 | Strlen $1 "${SWITCH}" |
649 | IntOp $1 $1 + 1 | 649 | IntOp $1 $1 + 1 |
650 | StrCpy $0 "$0" $2 $1 | 650 | StrCpy $0 "$0" $2 $1 |
651 | ;$0='1033" /S' | 651 | ;$0='1033" /S' |
652 | Push "$0" | 652 | Push "$0" |
653 | Push '"' | 653 | Push '"' |
654 | !insertmacro StrStr | 654 | !insertmacro StrStr |
655 | Pop $1 | 655 | Pop $1 |
656 | StrLen $2 "$0" | 656 | StrLen $2 "$0" |
657 | StrLen $3 "$1" | 657 | StrLen $3 "$1" |
658 | IntOp $4 $2 - $3 | 658 | IntOp $4 $2 - $3 |
659 | StrCpy $0 $0 $4 0 | 659 | StrCpy $0 $0 $4 0 |
660 | Goto gpv_done | 660 | Goto gpv_done |
661 | 661 | ||
662 | gpv_notquoted: | 662 | gpv_notquoted: |
663 | Push "$CMDLINE" | 663 | Push "$CMDLINE" |
664 | Push "${SWITCH}" | 664 | Push "${SWITCH}" |
665 | !insertmacro StrStr | 665 | !insertmacro StrStr |
666 | Pop $0 | 666 | Pop $0 |
667 | StrCmp "$0" "" gpv_done | 667 | StrCmp "$0" "" gpv_done |
668 | ;$0='/L="1033" /S' | 668 | ;$0='/L="1033" /S' |
669 | StrLen $2 "$0" | 669 | StrLen $2 "$0" |
670 | Strlen $1 "${SWITCH}" | 670 | Strlen $1 "${SWITCH}" |
671 | StrCpy $0 "$0" $2 $1 | 671 | StrCpy $0 "$0" $2 $1 |
672 | ;$0=1033 /S' | 672 | ;$0=1033 /S' |
673 | Push "$0" | 673 | Push "$0" |
674 | Push ' ' | 674 | Push ' ' |
675 | !insertmacro StrStr | 675 | !insertmacro StrStr |
676 | Pop $1 | 676 | Pop $1 |
677 | StrLen $2 "$0" | 677 | StrLen $2 "$0" |
678 | StrLen $3 "$1" | 678 | StrLen $3 "$1" |
679 | IntOp $4 $2 - $3 | 679 | IntOp $4 $2 - $3 |
680 | StrCpy $0 $0 $4 0 | 680 | StrCpy $0 $0 $4 0 |
681 | Goto gpv_done | 681 | Goto gpv_done |
682 | 682 | ||
683 | gpv_done: | 683 | gpv_done: |
684 | StrCmp "$0" "" 0 +2 | 684 | StrCmp "$0" "" 0 +2 |
685 | StrCpy $0 "${DEFAULT}" | 685 | StrCpy $0 "${DEFAULT}" |
686 | 686 | ||
687 | Pop $4 | 687 | Pop $4 |
688 | Pop $3 | 688 | Pop $3 |
689 | Pop $2 | 689 | Pop $2 |
690 | Pop $1 | 690 | Pop $1 |
691 | Exch $0 | 691 | Exch $0 |
692 | !macroend | 692 | !macroend |
693 | 693 | ||
694 | ; And I had to modify StrStr a tiny bit. | 694 | ; And I had to modify StrStr a tiny bit. |
695 | ; Possible upgrade switch the goto's to use ${__LINE__} | 695 | ; Possible upgrade switch the goto's to use ${__LINE__} |
696 | 696 | ||
697 | !macro STRSTR | 697 | !macro STRSTR |
698 | Exch $R1 ; st=haystack,old$R1, $R1=needle | 698 | Exch $R1 ; st=haystack,old$R1, $R1=needle |
699 | Exch ; st=old$R1,haystack | 699 | Exch ; st=old$R1,haystack |
700 | Exch $R2 ; st=old$R1,old$R2, $R2=haystack | 700 | Exch $R2 ; st=old$R1,old$R2, $R2=haystack |
701 | Push $R3 | 701 | Push $R3 |
702 | Push $R4 | 702 | Push $R4 |
703 | Push $R5 | 703 | Push $R5 |
704 | StrLen $R3 $R1 | 704 | StrLen $R3 $R1 |
705 | StrCpy $R4 0 | 705 | StrCpy $R4 0 |
706 | ; $R1=needle | 706 | ; $R1=needle |
707 | ; $R2=haystack | 707 | ; $R2=haystack |
708 | ; $R3=len(needle) | 708 | ; $R3=len(needle) |
709 | ; $R4=cnt | 709 | ; $R4=cnt |
710 | ; $R5=tmp | 710 | ; $R5=tmp |
711 | ; loop; | 711 | ; loop; |
712 | StrCpy $R5 $R2 $R3 $R4 | 712 | StrCpy $R5 $R2 $R3 $R4 |
713 | StrCmp $R5 $R1 +4 | 713 | StrCmp $R5 $R1 +4 |
714 | StrCmp $R5 "" +3 | 714 | StrCmp $R5 "" +3 |
715 | IntOp $R4 $R4 + 1 | 715 | IntOp $R4 $R4 + 1 |
716 | Goto -4 | 716 | Goto -4 |
717 | ; done; | 717 | ; done; |
718 | StrCpy $R1 $R2 "" $R4 | 718 | StrCpy $R1 $R2 "" $R4 |
719 | Pop $R5 | 719 | Pop $R5 |
720 | Pop $R4 | 720 | Pop $R4 |
721 | Pop $R3 | 721 | Pop $R3 |
722 | Pop $R2 | 722 | Pop $R2 |
723 | Exch $R1 | 723 | Exch $R1 |
724 | !macroend | 724 | !macroend |
725 | 725 | ||
726 | Function GetProgramName | 726 | Function GetProgramName |
727 | !insertmacro GetParameterValue "/P=" "SecondLife" | 727 | !insertmacro GetParameterValue "/P=" "Imprudence" |
728 | FunctionEnd | 728 | FunctionEnd |
729 | 729 | ||
730 | Function un.GetProgramName | 730 | Function un.GetProgramName |
731 | !insertmacro GetParameterValue "/P=" "SecondLife" | 731 | !insertmacro GetParameterValue "/P=" "Imprudence" |
732 | FunctionEnd | 732 | FunctionEnd |
733 | 733 | ||
734 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 734 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
735 | ; (From the NSIS documentation, JC) | 735 | ; (From the NSIS documentation, JC) |
736 | ; GetWindowsVersion | 736 | ; GetWindowsVersion |
737 | ; | 737 | ; |
738 | ; Based on Yazno's function, http://yazno.tripod.com/powerpimpit/ | 738 | ; Based on Yazno's function, http://yazno.tripod.com/powerpimpit/ |
739 | ; Updated by Joost Verburg | 739 | ; Updated by Joost Verburg |
740 | ; | 740 | ; |
741 | ; Returns on top of stack | 741 | ; Returns on top of stack |
742 | ; | 742 | ; |
743 | ; Windows Version (95, 98, ME, NT x.x, 2000, XP, 2003) | 743 | ; Windows Version (95, 98, ME, NT x.x, 2000, XP, 2003) |
744 | ; or | 744 | ; or |
745 | ; '' (Unknown Windows Version) | 745 | ; '' (Unknown Windows Version) |
746 | ; | 746 | ; |
747 | ; Usage: | 747 | ; Usage: |
748 | ; Call GetWindowsVersion | 748 | ; Call GetWindowsVersion |
749 | ; Pop $R0 | 749 | ; Pop $R0 |
750 | ; ; at this point $R0 is "NT 4.0" or whatnot | 750 | ; ; at this point $R0 is "NT 4.0" or whatnot |
751 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 751 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
752 | Function GetWindowsVersion | 752 | Function GetWindowsVersion |
753 | 753 | ||
754 | Push $R0 | 754 | Push $R0 |
755 | Push $R1 | 755 | Push $R1 |
756 | 756 | ||
757 | ReadRegStr $R0 HKLM \ | 757 | ReadRegStr $R0 HKLM \ |
758 | "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion | 758 | "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion |
759 | 759 | ||
760 | IfErrors 0 lbl_winnt | 760 | IfErrors 0 lbl_winnt |
761 | 761 | ||
762 | ; we are not NT | 762 | ; we are not NT |
763 | ReadRegStr $R0 HKLM \ | 763 | ReadRegStr $R0 HKLM \ |
764 | "SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber | 764 | "SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber |
765 | 765 | ||
766 | StrCpy $R1 $R0 1 | 766 | StrCpy $R1 $R0 1 |
767 | StrCmp $R1 '4' 0 lbl_error | 767 | StrCmp $R1 '4' 0 lbl_error |
768 | 768 | ||
769 | StrCpy $R1 $R0 3 | 769 | StrCpy $R1 $R0 3 |
770 | 770 | ||
771 | StrCmp $R1 '4.0' lbl_win32_95 | 771 | StrCmp $R1 '4.0' lbl_win32_95 |
772 | StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98 | 772 | StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98 |
773 | 773 | ||
774 | lbl_win32_95: | 774 | lbl_win32_95: |
775 | StrCpy $R0 '95' | 775 | StrCpy $R0 '95' |
776 | Goto lbl_done | 776 | Goto lbl_done |
777 | 777 | ||
778 | lbl_win32_98: | 778 | lbl_win32_98: |
779 | StrCpy $R0 '98' | 779 | StrCpy $R0 '98' |
780 | Goto lbl_done | 780 | Goto lbl_done |
781 | 781 | ||
782 | lbl_win32_ME: | 782 | lbl_win32_ME: |
783 | StrCpy $R0 'ME' | 783 | StrCpy $R0 'ME' |
784 | Goto lbl_done | 784 | Goto lbl_done |
785 | 785 | ||
786 | lbl_winnt: | 786 | lbl_winnt: |
787 | 787 | ||
788 | StrCpy $R1 $R0 1 | 788 | StrCpy $R1 $R0 1 |
789 | 789 | ||
790 | StrCmp $R1 '3' lbl_winnt_x | 790 | StrCmp $R1 '3' lbl_winnt_x |
791 | StrCmp $R1 '4' lbl_winnt_x | 791 | StrCmp $R1 '4' lbl_winnt_x |
792 | 792 | ||
793 | StrCpy $R1 $R0 3 | 793 | StrCpy $R1 $R0 3 |
794 | 794 | ||
795 | StrCmp $R1 '5.0' lbl_winnt_2000 | 795 | StrCmp $R1 '5.0' lbl_winnt_2000 |
796 | StrCmp $R1 '5.1' lbl_winnt_XP | 796 | StrCmp $R1 '5.1' lbl_winnt_XP |
797 | StrCmp $R1 '5.2' lbl_winnt_2003 lbl_error | 797 | StrCmp $R1 '5.2' lbl_winnt_2003 lbl_error |
798 | 798 | ||
799 | lbl_winnt_x: | 799 | lbl_winnt_x: |
800 | StrCpy $R0 "NT $R0" 6 | 800 | StrCpy $R0 "NT $R0" 6 |
801 | Goto lbl_done | 801 | Goto lbl_done |
802 | 802 | ||
803 | lbl_winnt_2000: | 803 | lbl_winnt_2000: |
804 | Strcpy $R0 '2000' | 804 | Strcpy $R0 '2000' |
805 | Goto lbl_done | 805 | Goto lbl_done |
806 | 806 | ||
807 | lbl_winnt_XP: | 807 | lbl_winnt_XP: |
808 | Strcpy $R0 'XP' | 808 | Strcpy $R0 'XP' |
809 | Goto lbl_done | 809 | Goto lbl_done |
810 | 810 | ||
811 | lbl_winnt_2003: | 811 | lbl_winnt_2003: |
812 | Strcpy $R0 '2003' | 812 | Strcpy $R0 '2003' |
813 | Goto lbl_done | 813 | Goto lbl_done |
814 | 814 | ||
815 | lbl_error: | 815 | lbl_error: |
816 | Strcpy $R0 '' | 816 | Strcpy $R0 '' |
817 | lbl_done: | 817 | lbl_done: |
818 | 818 | ||
819 | Pop $R1 | 819 | Pop $R1 |
820 | Exch $R0 | 820 | Exch $R0 |
821 | 821 | ||
822 | FunctionEnd | 822 | FunctionEnd |
823 | 823 | ||
824 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 824 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
825 | ;; Note: to add new languages, add a language file include to the list | 825 | ;; Note: to add new languages, add a language file include to the list |
826 | ;; at the top of this file, add an entry to the menu and then add an | 826 | ;; at the top of this file, add an entry to the menu and then add an |
827 | ;; entry to the language ID selector below | 827 | ;; entry to the language ID selector below |
828 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 828 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
829 | Function .onInit | 829 | Function .onInit |
830 | 830 | ||
831 | ; read the language from registry (ok if not there) and set langauge menu | 831 | ; read the language from registry (ok if not there) and set langauge menu |
832 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" | 832 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" |
833 | StrCpy $LANGUAGE $0 | 833 | StrCpy $LANGUAGE $0 |
834 | 834 | ||
835 | Push "" | 835 | Push "" |
836 | Push ${LANG_ENGLISH} | 836 | Push ${LANG_ENGLISH} |
837 | Push English | 837 | Push English |
838 | Push ${LANG_GERMAN} | 838 | Push ${LANG_GERMAN} |
839 | Push German | 839 | Push German |
840 | Push ${LANG_JAPANESE} | 840 | Push ${LANG_JAPANESE} |
841 | Push Japanese | 841 | Push Japanese |
842 | Push ${LANG_KOREAN} | 842 | Push ${LANG_KOREAN} |
843 | Push Korean | 843 | Push Korean |
844 | Push A ; A means auto count languages for the auto count to work the first empty push (Push "") must remain | 844 | Push A ; A means auto count languages for the auto count to work the first empty push (Push "") must remain |
845 | LangDLL::LangDialog "Installer Language" "Please select the language of the installer" | 845 | LangDLL::LangDialog "Installer Language" "Please select the language of the installer" |
846 | Pop $LANGUAGE | 846 | Pop $LANGUAGE |
847 | StrCmp $LANGUAGE "cancel" 0 +2 | 847 | StrCmp $LANGUAGE "cancel" 0 +2 |
848 | Abort | 848 | Abort |
849 | 849 | ||
850 | ; save language in registry | 850 | ; save language in registry |
851 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" $LANGUAGE | 851 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" $LANGUAGE |
852 | FunctionEnd | 852 | FunctionEnd |
853 | 853 | ||
854 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 854 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
855 | Function un.onInit | 855 | Function un.onInit |
856 | 856 | ||
857 | ; read language from registry and set for ininstaller | 857 | ; read language from registry and set for ininstaller |
858 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" | 858 | ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" |
859 | StrCpy $LANGUAGE $0 | 859 | StrCpy $LANGUAGE $0 |
860 | 860 | ||
861 | FunctionEnd | 861 | FunctionEnd |
862 | 862 | ||
863 | 863 | ||
864 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 864 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
865 | ;;; Sections | 865 | ;;; Sections |
866 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 866 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
867 | Section "" ; (default section) | 867 | Section "" ; (default section) |
868 | 868 | ||
869 | SetShellVarContext all ; install for all users (if you change this, change it in the uninstall as well) | 869 | SetShellVarContext all ; install for all users (if you change this, change it in the uninstall as well) |
870 | 870 | ||
871 | ; Start with some default values. | 871 | ; Start with some default values. |
872 | StrCpy $INSTFLAGS "${INSTFLAGS}" | 872 | StrCpy $INSTFLAGS "${INSTFLAGS}" |
873 | StrCpy $INSTPROG "${INSTNAME}" | 873 | StrCpy $INSTPROG "${INSTNAME}" |
874 | StrCpy $INSTEXE "${INSTEXE}" | 874 | StrCpy $INSTEXE "${INSTEXE}" |
875 | StrCpy $INSTSHORTCUT "${SHORTCUT}" | 875 | StrCpy $INSTSHORTCUT "${SHORTCUT}" |
876 | 876 | ||
877 | IfSilent +2 | 877 | IfSilent +2 |
878 | Goto NOT_SILENT | 878 | Goto NOT_SILENT |
879 | Call CheckStartupParams ; Figure out where, what and how to install. | 879 | Call CheckStartupParams ; Figure out where, what and how to install. |
880 | NOT_SILENT: | 880 | NOT_SILENT: |
881 | Call CheckWindowsVersion ; warn if on Windows 98/ME | 881 | Call CheckWindowsVersion ; warn if on Windows 98/ME |
882 | Call CheckIfAdministrator ; Make sure the user can install/uninstall | 882 | Call CheckIfAdministrator ; Make sure the user can install/uninstall |
883 | Call CheckIfAlreadyCurrent ; Make sure that we haven't already installed this version | 883 | Call CheckIfAlreadyCurrent ; Make sure that we haven't already installed this version |
884 | Call CloseSecondLife ; Make sure we're not running | 884 | Call CloseSecondLife ; Make sure we're not running |
885 | Call RemoveNSIS ; Check for old NSIS install to remove | 885 | Call RemoveNSIS ; Check for old NSIS install to remove |
886 | 886 | ||
887 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 887 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
888 | ;;; Don't remove cache files during a regular install, removing the inventory cache on upgrades results in lots of damage to the servers. | 888 | ;;; Don't remove cache files during a regular install, removing the inventory cache on upgrades results in lots of damage to the servers. |
889 | ;Call RemoveCacheFiles ; Installing over removes potentially corrupted | 889 | ;Call RemoveCacheFiles ; Installing over removes potentially corrupted |
890 | ; VFS and cache files. | 890 | ; VFS and cache files. |
891 | 891 | ||
892 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 892 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
893 | ;;; Need to clean out shader files from previous installs to fix DEV-5663 | 893 | ;;; Need to clean out shader files from previous installs to fix DEV-5663 |
894 | Call RemoveOldShaders | 894 | Call RemoveOldShaders |
895 | 895 | ||
896 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 896 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
897 | ;;; Need to clean out old XUI files that predate skinning | 897 | ;;; Need to clean out old XUI files that predate skinning |
898 | Call RemoveOldXUI | 898 | Call RemoveOldXUI |
899 | 899 | ||
900 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 900 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
901 | ;;; Clear out old releasenotes.txt files. These are now on the public wiki. | 901 | ;;; Clear out old releasenotes.txt files. These are now on the public wiki. |
902 | Call RemoveOldReleaseNotes | 902 | Call RemoveOldReleaseNotes |
903 | 903 | ||
904 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 904 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
905 | ;;; Files | 905 | ;;; Files |
906 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 906 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
907 | ;; This placeholder is replaced by the complete list of all the files in the installer, by viewer_manifest.py | 907 | ;; This placeholder is replaced by the complete list of all the files in the installer, by viewer_manifest.py |
908 | %%INSTALL_FILES%% | 908 | %%INSTALL_FILES%% |
909 | 909 | ||
910 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 910 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
911 | ; If this is a silent update, we don't need to re-create these shortcuts or registry entries. | 911 | ; If this is a silent update, we don't need to re-create these shortcuts or registry entries. |
912 | IfSilent POST_INSTALL | 912 | IfSilent POST_INSTALL |
913 | 913 | ||
914 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 914 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
915 | ; Shortcuts in start menu | 915 | ; Shortcuts in start menu |
916 | CreateDirectory "$SMPROGRAMS\$INSTSHORTCUT" | 916 | CreateDirectory "$SMPROGRAMS\$INSTSHORTCUT" |
917 | SetOutPath "$INSTDIR" | 917 | SetOutPath "$INSTDIR" |
918 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\$INSTSHORTCUT.lnk" \ | 918 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\$INSTSHORTCUT.lnk" \ |
919 | "$INSTDIR\$INSTEXE" "$INSTFLAGS" | 919 | "$INSTDIR\$INSTEXE" "$INSTFLAGS" |
920 | 920 | ||
921 | !ifdef MUSEUM | 921 | !ifdef MUSEUM |
922 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\$INSTSHORTCUT Museum.lnk" \ | 922 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\$INSTSHORTCUT Museum.lnk" \ |
923 | 923 | ||
924 | "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple" | 924 | "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple" |
925 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\$INSTSHORTCUT Museum Spanish.lnk" \ | 925 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\$INSTSHORTCUT Museum Spanish.lnk" \ |
926 | 926 | ||
927 | "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple -spanish" | 927 | "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple -spanish" |
928 | !endif | 928 | !endif |
929 | 929 | ||
930 | WriteINIStr "$SMPROGRAMS\$INSTSHORTCUT\SL Create Trial Account.url" \ | 930 | WriteINIStr "$SMPROGRAMS\$INSTSHORTCUT\SL Create Trial Account.url" \ |
931 | "InternetShortcut" "URL" \ | 931 | "InternetShortcut" "URL" \ |
932 | "http://www.secondlife.com/registration/" | 932 | "http://www.secondlife.com/registration/" |
933 | WriteINIStr "$SMPROGRAMS\$INSTSHORTCUT\SL Your Account.url" \ | 933 | WriteINIStr "$SMPROGRAMS\$INSTSHORTCUT\SL Your Account.url" \ |
934 | "InternetShortcut" "URL" \ | 934 | "InternetShortcut" "URL" \ |
935 | "http://www.secondlife.com/account/" | 935 | "http://www.secondlife.com/account/" |
936 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\SL Scripting Language Help.lnk" \ | 936 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\SL Scripting Language Help.lnk" \ |
937 | "$INSTDIR\lsl_guide.html" | 937 | "$INSTDIR\lsl_guide.html" |
938 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\Uninstall $INSTSHORTCUT.lnk" \ | 938 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\Uninstall $INSTSHORTCUT.lnk" \ |
939 | '"$INSTDIR\uninst.exe"' '/P="$INSTPROG"' | 939 | '"$INSTDIR\uninst.exe"' '/P="$INSTPROG"' |
940 | 940 | ||
941 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 941 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
942 | ; Other shortcuts | 942 | ; Other shortcuts |
943 | SetOutPath "$INSTDIR" | 943 | SetOutPath "$INSTDIR" |
944 | CreateShortCut "$DESKTOP\$INSTSHORTCUT.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS" | 944 | CreateShortCut "$DESKTOP\$INSTSHORTCUT.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS" |
945 | CreateShortCut "$INSTDIR\$INSTSHORTCUT.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS" | 945 | CreateShortCut "$INSTDIR\$INSTSHORTCUT.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS" |
946 | CreateShortCut "$INSTDIR\Uninstall $INSTSHORTCUT.lnk" \ | 946 | CreateShortCut "$INSTDIR\Uninstall $INSTSHORTCUT.lnk" \ |
947 | '"$INSTDIR\uninst.exe"' '/P="$INSTPROG"' | 947 | '"$INSTDIR\uninst.exe"' '/P="$INSTPROG"' |
948 | 948 | ||
949 | !ifdef MUSEUM | 949 | !ifdef MUSEUM |
950 | CreateShortCut "$DESKTOP\$INSTSHORTCUT Museum.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple" | 950 | CreateShortCut "$DESKTOP\$INSTSHORTCUT Museum.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple" |
951 | 951 | ||
952 | CreateShortCut "$DESKTOP\$INSTSHORTCUT Museum Spanish.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple -spanish" | 952 | CreateShortCut "$DESKTOP\$INSTSHORTCUT Museum Spanish.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple -spanish" |
953 | 953 | ||
954 | CreateShortCut "$INSTDIR\$INSTSHORTCUT Museum.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple" | 954 | CreateShortCut "$INSTDIR\$INSTSHORTCUT Museum.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple" |
955 | 955 | ||
956 | CreateShortCut "$INSTDIR\$INSTSHORTCUT Museum Spanish.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple -spanish" | 956 | CreateShortCut "$INSTDIR\$INSTSHORTCUT Museum Spanish.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS -simple -spanish" |
957 | 957 | ||
958 | !endif | 958 | !endif |
959 | 959 | ||
960 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 960 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
961 | ; Write registry | 961 | ; Write registry |
962 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" "$INSTDIR" | 962 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" "$INSTDIR" |
963 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Version" "${VERSION_LONG}" | 963 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Version" "${VERSION_LONG}" |
964 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" "$INSTFLAGS" | 964 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" "$INSTFLAGS" |
965 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" "$INSTSHORTCUT" | 965 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" "$INSTSHORTCUT" |
966 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" "$INSTEXE" | 966 | WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" "$INSTEXE" |
967 | WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" "DisplayName" "$INSTPROG (remove only)" | 967 | WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" "DisplayName" "$INSTPROG (remove only)" |
968 | WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" "UninstallString" '"$INSTDIR\uninst.exe" /P="$INSTPROG"' | 968 | WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" "UninstallString" '"$INSTDIR\uninst.exe" /P="$INSTPROG"' |
969 | 969 | ||
970 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 970 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
971 | ; Write URL registry info | 971 | ; Write URL registry info |
972 | WriteRegStr HKEY_CLASSES_ROOT "${URLNAME}" "(default)" "URL:Second Life" | 972 | WriteRegStr HKEY_CLASSES_ROOT "${URLNAME}" "(default)" "URL:Second Life" |
973 | WriteRegStr HKEY_CLASSES_ROOT "${URLNAME}" "URL Protocol" "" | 973 | WriteRegStr HKEY_CLASSES_ROOT "${URLNAME}" "URL Protocol" "" |
974 | WriteRegStr HKEY_CLASSES_ROOT "${URLNAME}\DefaultIcon" "" '"$INSTDIR\$INSTEXE"' | 974 | WriteRegStr HKEY_CLASSES_ROOT "${URLNAME}\DefaultIcon" "" '"$INSTDIR\$INSTEXE"' |
975 | WriteRegExpandStr HKEY_CLASSES_ROOT "${URLNAME}\shell\open\command" "" '"$INSTDIR\$INSTEXE" $INSTFLAGS -url "%1"' | 975 | WriteRegExpandStr HKEY_CLASSES_ROOT "${URLNAME}\shell\open\command" "" '"$INSTDIR\$INSTEXE" $INSTFLAGS -url "%1"' |
976 | 976 | ||
977 | Goto WRITE_UNINST | 977 | Goto WRITE_UNINST |
978 | 978 | ||
979 | POST_INSTALL: | 979 | POST_INSTALL: |
980 | ; Run a post-executable script if necessary. | 980 | ; Run a post-executable script if necessary. |
981 | Call PostInstallExe | 981 | Call PostInstallExe |
982 | 982 | ||
983 | WRITE_UNINST: | 983 | WRITE_UNINST: |
984 | ; write out uninstaller | 984 | ; write out uninstaller |
985 | WriteUninstaller "$INSTDIR\uninst.exe" | 985 | WriteUninstaller "$INSTDIR\uninst.exe" |
986 | 986 | ||
987 | ; end of default section | 987 | ; end of default section |
988 | SectionEnd | 988 | SectionEnd |
989 | 989 | ||
990 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; EOF ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 990 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 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/linux_tools/handle_secondlifeprotocol.sh b/linden/indra/newview/linux_tools/handle_secondlifeprotocol.sh index 7ff86d1..3613070 100755 --- a/linden/indra/newview/linux_tools/handle_secondlifeprotocol.sh +++ b/linden/indra/newview/linux_tools/handle_secondlifeprotocol.sh | |||
@@ -13,5 +13,5 @@ fi | |||
13 | RUN_PATH=`dirname "$0" || echo .` | 13 | RUN_PATH=`dirname "$0" || echo .` |
14 | cd "${RUN_PATH}" | 14 | cd "${RUN_PATH}" |
15 | 15 | ||
16 | exec ./secondlife -url \'"${URL}"\' | 16 | exec ./imprudence -url \'"${URL}"\' |
17 | 17 | ||
diff --git a/linden/indra/newview/linux_tools/wrapper.sh b/linden/indra/newview/linux_tools/wrapper.sh index 9d2e06b..e1c68b9 100755 --- a/linden/indra/newview/linux_tools/wrapper.sh +++ b/linden/indra/newview/linux_tools/wrapper.sh | |||
@@ -103,7 +103,7 @@ if [ -n "$LL_TCMALLOC" ]; then | |||
103 | fi | 103 | fi |
104 | 104 | ||
105 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' | 105 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' |
106 | export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-secondlife-bin' | 106 | export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' |
107 | export SL_OPT="`cat gridargs.dat` $@" | 107 | export SL_OPT="`cat gridargs.dat` $@" |
108 | 108 | ||
109 | # Run the program | 109 | # Run the program |
@@ -118,9 +118,9 @@ if [ -n "$LL_RUN_ERR" ]; then | |||
118 | if [ "`uname -m`" = "x86_64" ]; then | 118 | if [ "`uname -m`" = "x86_64" ]; then |
119 | echo | 119 | echo |
120 | cat << EOFMARKER | 120 | cat << EOFMARKER |
121 | You are running the Second Life Viewer on a x86_64 platform. The | 121 | You are running the Imprudence Viewer on a x86_64 platform. The |
122 | most common problems when launching the Viewer (particularly | 122 | most common problems when launching the Viewer (particularly |
123 | 'bin/do-not-directly-run-secondlife-bin: not found' and 'error while | 123 | 'bin/do-not-directly-run-imprudence-bin: not found' and 'error while |
124 | loading shared libraries') may be solved by installing your Linux | 124 | loading shared libraries') may be solved by installing your Linux |
125 | distribution's 32-bit compatibility packages. | 125 | distribution's 32-bit compatibility packages. |
126 | For example, on Ubuntu and other Debian-based Linuxes you might run: | 126 | For example, on Ubuntu and other Debian-based Linuxes you might run: |
@@ -129,11 +129,3 @@ EOFMARKER | |||
129 | fi | 129 | fi |
130 | fi | 130 | fi |
131 | fi | 131 | fi |
132 | |||
133 | |||
134 | echo | ||
135 | echo '*******************************************************' | ||
136 | echo 'This is a BETA release of the Second Life linux client.' | ||
137 | echo 'Thank you for testing!' | ||
138 | echo 'Please see README-linux.txt before reporting problems.' | ||
139 | echo | ||
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp index f1b2e32..5fd5575 100644 --- a/linden/indra/newview/llappviewer.cpp +++ b/linden/indra/newview/llappviewer.cpp | |||
@@ -293,10 +293,10 @@ BOOL gLogoutInProgress = FALSE; | |||
293 | // Internal globals... that should be removed. | 293 | // Internal globals... that should be removed. |
294 | static std::string gArgs; | 294 | static std::string gArgs; |
295 | 295 | ||
296 | const std::string MARKER_FILE_NAME("SecondLife.exec_marker"); | 296 | const std::string MARKER_FILE_NAME("Imprudence.exec_marker"); |
297 | const std::string ERROR_MARKER_FILE_NAME("SecondLife.error_marker"); | 297 | const std::string ERROR_MARKER_FILE_NAME("Imprudence.error_marker"); |
298 | const std::string LLERROR_MARKER_FILE_NAME("SecondLife.llerror_marker"); | 298 | const std::string LLERROR_MARKER_FILE_NAME("Imprudence.llerror_marker"); |
299 | const std::string LOGOUT_MARKER_FILE_NAME("SecondLife.logout_marker"); | 299 | const std::string LOGOUT_MARKER_FILE_NAME("Imprudence.logout_marker"); |
300 | static BOOL gDoDisconnect = FALSE; | 300 | static BOOL gDoDisconnect = FALSE; |
301 | static std::string gLaunchFileOnQuit; | 301 | static std::string gLaunchFileOnQuit; |
302 | 302 | ||
@@ -308,7 +308,7 @@ const char *VFS_INDEX_FILE_BASE = "index.db2.x."; | |||
308 | static std::string gSecondLife; | 308 | static std::string gSecondLife; |
309 | static std::string gWindowTitle; | 309 | static std::string gWindowTitle; |
310 | #ifdef LL_WINDOWS | 310 | #ifdef LL_WINDOWS |
311 | static char sWindowClass[] = "Second Life"; | 311 | static char sWindowClass[] = "Imprudence"; |
312 | #endif | 312 | #endif |
313 | 313 | ||
314 | std::string gLoginPage; | 314 | std::string gLoginPage; |
@@ -602,8 +602,12 @@ bool LLAppViewer::init() | |||
602 | writeSystemInfo(); | 602 | writeSystemInfo(); |
603 | 603 | ||
604 | // Build a string representing the current version number. | 604 | // Build a string representing the current version number. |
605 | gCurrentVersion = llformat("%s %d.%d.%d.%d", | 605 | gCurrentVersion = llformat("%s %d.%d.%d / %s %d.%d.%d.%d", |
606 | gSavedSettings.getString("VersionChannelName").c_str(), | 606 | gSavedSettings.getString("VersionChannelName").c_str(), |
607 | IMP_VERSION_MAJOR, | ||
608 | IMP_VERSION_MINOR, | ||
609 | IMP_VERSION_PATCH, | ||
610 | LL_VIEWER_NAME, | ||
607 | LL_VERSION_MAJOR, | 611 | LL_VERSION_MAJOR, |
608 | LL_VERSION_MINOR, | 612 | LL_VERSION_MINOR, |
609 | LL_VERSION_PATCH, | 613 | LL_VERSION_PATCH, |
@@ -1470,15 +1474,15 @@ bool LLAppViewer::initLogging() | |||
1470 | 1474 | ||
1471 | // Remove the last ".old" log file. | 1475 | // Remove the last ".old" log file. |
1472 | std::string old_log_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, | 1476 | std::string old_log_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, |
1473 | "SecondLife.old"); | 1477 | "Imprudence.old"); |
1474 | LLFile::remove(old_log_file); | 1478 | LLFile::remove(old_log_file); |
1475 | 1479 | ||
1476 | // Rename current log file to ".old" | 1480 | // Rename current log file to ".old" |
1477 | std::string log_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, | 1481 | std::string log_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, |
1478 | "SecondLife.log"); | 1482 | "Imprudence.log"); |
1479 | LLFile::rename(log_file, old_log_file); | 1483 | LLFile::rename(log_file, old_log_file); |
1480 | 1484 | ||
1481 | // Set the log file to SecondLife.log | 1485 | // Set the log file to Imprudence.log |
1482 | 1486 | ||
1483 | LLError::logToFile(log_file); | 1487 | LLError::logToFile(log_file); |
1484 | 1488 | ||
@@ -1598,7 +1602,7 @@ bool LLAppViewer::initConfiguration() | |||
1598 | gSavedSettings.setString("ClientSettingsFile", | 1602 | gSavedSettings.setString("ClientSettingsFile", |
1599 | gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, getSettingsFileName("Global"))); | 1603 | gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, getSettingsFileName("Global"))); |
1600 | 1604 | ||
1601 | gSavedSettings.setString("VersionChannelName", LL_CHANNEL); | 1605 | gSavedSettings.setString("VersionChannelName", IMP_VIEWER_NAME); |
1602 | 1606 | ||
1603 | #ifndef LL_RELEASE_FOR_DOWNLOAD | 1607 | #ifndef LL_RELEASE_FOR_DOWNLOAD |
1604 | gSavedSettings.setBOOL("ShowConsoleWindow", TRUE); | 1608 | gSavedSettings.setBOOL("ShowConsoleWindow", TRUE); |
@@ -1683,7 +1687,7 @@ bool LLAppViewer::initConfiguration() | |||
1683 | llinfos << "Command line usage:\n" << clp << llendl; | 1687 | llinfos << "Command line usage:\n" << clp << llendl; |
1684 | 1688 | ||
1685 | std::ostringstream msg; | 1689 | std::ostringstream msg; |
1686 | msg << "Second Life found an error parsing the command line. \n" | 1690 | msg << gSecondLife << " found an error parsing the command line. \n" |
1687 | << "Please see: http://wiki.secondlife.com/wiki/Client_parameters \n" | 1691 | << "Please see: http://wiki.secondlife.com/wiki/Client_parameters \n" |
1688 | << "Error: " << clp.getErrorMessage(); | 1692 | << "Error: " << clp.getErrorMessage(); |
1689 | 1693 | ||
@@ -1865,7 +1869,7 @@ bool LLAppViewer::initConfiguration() | |||
1865 | mYieldTime = gSavedSettings.getS32("YieldTime"); | 1869 | mYieldTime = gSavedSettings.getS32("YieldTime"); |
1866 | 1870 | ||
1867 | // XUI:translate | 1871 | // XUI:translate |
1868 | gSecondLife = "Second Life"; | 1872 | gSecondLife = IMP_VIEWER_NAME; |
1869 | 1873 | ||
1870 | // Read skin/branding settings if specified. | 1874 | // Read skin/branding settings if specified. |
1871 | //if (! gDirUtilp->getSkinDir().empty() ) | 1875 | //if (! gDirUtilp->getSkinDir().empty() ) |
@@ -2111,7 +2115,7 @@ bool LLAppViewer::initWindow() | |||
2111 | 2115 | ||
2112 | // always start windowed | 2116 | // always start windowed |
2113 | BOOL ignorePixelDepth = gSavedSettings.getBOOL("IgnorePixelDepth"); | 2117 | BOOL ignorePixelDepth = gSavedSettings.getBOOL("IgnorePixelDepth"); |
2114 | gViewerWindow = new LLViewerWindow(gWindowTitle, "Second Life", | 2118 | gViewerWindow = new LLViewerWindow(gWindowTitle, gWindowTitle, |
2115 | gSavedSettings.getS32("WindowX"), gSavedSettings.getS32("WindowY"), | 2119 | gSavedSettings.getS32("WindowX"), gSavedSettings.getS32("WindowY"), |
2116 | gSavedSettings.getS32("WindowWidth"), gSavedSettings.getS32("WindowHeight"), | 2120 | gSavedSettings.getS32("WindowWidth"), gSavedSettings.getS32("WindowHeight"), |
2117 | FALSE, ignorePixelDepth); | 2121 | FALSE, ignorePixelDepth); |
@@ -2245,6 +2249,9 @@ void LLAppViewer::writeSystemInfo() | |||
2245 | gDebugInfo["SLLog"] = LLError::logFileName(); | 2249 | gDebugInfo["SLLog"] = LLError::logFileName(); |
2246 | 2250 | ||
2247 | gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName"); | 2251 | gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName"); |
2252 | gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR; | ||
2253 | gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR; | ||
2254 | gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH; | ||
2248 | gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR; | 2255 | gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR; |
2249 | gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR; | 2256 | gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR; |
2250 | gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH; | 2257 | gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH; |
@@ -2274,9 +2281,7 @@ void LLAppViewer::writeSystemInfo() | |||
2274 | #endif | 2281 | #endif |
2275 | 2282 | ||
2276 | // Dump some debugging info | 2283 | // Dump some debugging info |
2277 | LL_INFOS("SystemInfo") << gSecondLife | 2284 | LL_INFOS("SystemInfo") << gCurrentVersion << LL_ENDL; |
2278 | << " version " << LL_VERSION_MAJOR << "." << LL_VERSION_MINOR << "." << LL_VERSION_PATCH | ||
2279 | << LL_ENDL; | ||
2280 | 2285 | ||
2281 | // Dump the local time and time zone | 2286 | // Dump the local time and time zone |
2282 | time_t now; | 2287 | time_t now; |
@@ -2327,6 +2332,9 @@ void LLAppViewer::handleViewerCrash() | |||
2327 | //to check against no matter what | 2332 | //to check against no matter what |
2328 | gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName"); | 2333 | gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName"); |
2329 | 2334 | ||
2335 | gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR; | ||
2336 | gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR; | ||
2337 | gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH; | ||
2330 | gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR; | 2338 | gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR; |
2331 | gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR; | 2339 | gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR; |
2332 | gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH; | 2340 | gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH; |
@@ -2973,7 +2981,7 @@ void LLAppViewer::badNetworkHandler() | |||
2973 | message << | 2981 | message << |
2974 | "The viewer has detected mangled network data indicative\n" | 2982 | "The viewer has detected mangled network data indicative\n" |
2975 | "of a bad upstream network connection or an incomplete\n" | 2983 | "of a bad upstream network connection or an incomplete\n" |
2976 | "local installation of " << LLAppViewer::instance()->getSecondLifeTitle() << ". \n" | 2984 | "local installation of " << gSecondLife << ". \n" |
2977 | " \n" | 2985 | " \n" |
2978 | "Try uninstalling and reinstalling to see if this resolves \n" | 2986 | "Try uninstalling and reinstalling to see if this resolves \n" |
2979 | "the issue. \n" | 2987 | "the issue. \n" |
diff --git a/linden/indra/newview/lldrawpoolbump.cpp b/linden/indra/newview/lldrawpoolbump.cpp index 0dd11d6..73d88f7 100644 --- a/linden/indra/newview/lldrawpoolbump.cpp +++ b/linden/indra/newview/lldrawpoolbump.cpp | |||
@@ -139,7 +139,7 @@ void LLStandardBumpmap::restoreGL() | |||
139 | return; | 139 | return; |
140 | } | 140 | } |
141 | 141 | ||
142 | // llinfos << "Loading bumpmap: " << bump_file << " from viewerart" << llendl; | 142 | llinfos << "Loading bumpmap: " << bump_file << " from viewerart" << llendl; |
143 | gStandardBumpmapList[LLStandardBumpmap::sStandardBumpmapCount].mLabel = label; | 143 | gStandardBumpmapList[LLStandardBumpmap::sStandardBumpmapCount].mLabel = label; |
144 | gStandardBumpmapList[LLStandardBumpmap::sStandardBumpmapCount].mImage = | 144 | gStandardBumpmapList[LLStandardBumpmap::sStandardBumpmapCount].mImage = |
145 | gImageList.getImageFromFile(bump_file, | 145 | gImageList.getImageFromFile(bump_file, |
diff --git a/linden/indra/newview/llfloaterabout.cpp b/linden/indra/newview/llfloaterabout.cpp index 76586ed..4704c5b 100644 --- a/linden/indra/newview/llfloaterabout.cpp +++ b/linden/indra/newview/llfloaterabout.cpp | |||
@@ -109,11 +109,14 @@ LLFloaterAbout::LLFloaterAbout() | |||
109 | viewer_link_style->setColor(gSavedSettings.getColor4("HTMLLinkColor")); | 109 | viewer_link_style->setColor(gSavedSettings.getColor4("HTMLLinkColor")); |
110 | 110 | ||
111 | // Version string | 111 | // Version string |
112 | std::string version = LLAppViewer::instance()->getSecondLifeTitle() | 112 | std::string version = llformat( |
113 | + llformat(" %d.%d.%d (%d) %s %s (%s)\n", | 113 | "%s %d.%d.%d / %s %d.%d.%d (%d), %s %s\n", |
114 | LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_VIEWER_BUILD, | 114 | IMP_VIEWER_NAME, |
115 | __DATE__, __TIME__, | 115 | IMP_VERSION_MAJOR, IMP_VERSION_MINOR, IMP_VERSION_PATCH, |
116 | gSavedSettings.getString("VersionChannelName").c_str()); | 116 | LL_VIEWER_NAME, |
117 | LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_VIEWER_BUILD, | ||
118 | __DATE__, __TIME__); | ||
119 | |||
117 | support_widget->appendColoredText(version, FALSE, FALSE, gColors.getColor("TextFgReadOnlyColor")); | 120 | support_widget->appendColoredText(version, FALSE, FALSE, gColors.getColor("TextFgReadOnlyColor")); |
118 | support_widget->appendStyledText(LLTrans::getString("ReleaseNotes"), FALSE, FALSE, &viewer_link_style); | 121 | support_widget->appendStyledText(LLTrans::getString("ReleaseNotes"), FALSE, FALSE, &viewer_link_style); |
119 | 122 | ||
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp index ffee058..61bf215 100644 --- a/linden/indra/newview/llpanellogin.cpp +++ b/linden/indra/newview/llpanellogin.cpp | |||
@@ -419,15 +419,24 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect, | |||
419 | 419 | ||
420 | // childSetAction("quit_btn", onClickQuit, this); | 420 | // childSetAction("quit_btn", onClickQuit, this); |
421 | 421 | ||
422 | std::string channel = gSavedSettings.getString("VersionChannelName"); | 422 | std::string imp_channel = gSavedSettings.getString("VersionChannelName"); |
423 | std::string version = llformat("%d.%d.%d (%d)", | 423 | std::string imp_version = llformat("%d.%d.%d", |
424 | IMP_VERSION_MAJOR, | ||
425 | IMP_VERSION_MINOR, | ||
426 | IMP_VERSION_PATCH ); | ||
427 | |||
428 | std::string ll_channel = LL_VIEWER_NAME; | ||
429 | std::string ll_version = llformat("%d.%d.%d (%d)", | ||
424 | LL_VERSION_MAJOR, | 430 | LL_VERSION_MAJOR, |
425 | LL_VERSION_MINOR, | 431 | LL_VERSION_MINOR, |
426 | LL_VERSION_PATCH, | 432 | LL_VERSION_PATCH, |
427 | LL_VIEWER_BUILD ); | 433 | LL_VIEWER_BUILD ); |
434 | |||
428 | LLTextBox* channel_text = getChild<LLTextBox>("channel_text"); | 435 | LLTextBox* channel_text = getChild<LLTextBox>("channel_text"); |
429 | channel_text->setTextArg("[CHANNEL]", channel); | 436 | channel_text->setTextArg("[CHANNEL]", imp_channel); |
430 | channel_text->setTextArg("[VERSION]", version); | 437 | channel_text->setTextArg("[VERSION]", imp_version); |
438 | channel_text->setTextArg("[ALT_CHANNEL]", ll_channel); | ||
439 | channel_text->setTextArg("[ALT_VERSION]", ll_version); | ||
431 | channel_text->setClickedCallback(onClickVersion); | 440 | channel_text->setClickedCallback(onClickVersion); |
432 | channel_text->setCallbackUserData(this); | 441 | channel_text->setCallbackUserData(this); |
433 | 442 | ||
diff --git a/linden/indra/newview/res/viewerRes.rc b/linden/indra/newview/res/viewerRes.rc index a39bb9f..002830a 100644 --- a/linden/indra/newview/res/viewerRes.rc +++ b/linden/indra/newview/res/viewerRes.rc | |||
@@ -247,14 +247,14 @@ BEGIN | |||
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" |
diff --git a/linden/indra/newview/skins/default/xui/en-us/alerts.xml b/linden/indra/newview/skins/default/xui/en-us/alerts.xml index 8bbdc3d..c2d4301 100644 --- a/linden/indra/newview/skins/default/xui/en-us/alerts.xml +++ b/linden/indra/newview/skins/default/xui/en-us/alerts.xml | |||
@@ -2957,9 +2957,9 @@ Download to your Applications folder? | |||
2957 | Cancel | 2957 | Cancel |
2958 | </option> | 2958 | </option> |
2959 | </alert> | 2959 | </alert> |
2960 | <alert modal="true" name="WebLaunchSupportWiki"> | 2960 | <alert modal="true" name="WebLaunchImprudenceBlog"> |
2961 | <message name="message"> | 2961 | <message name="message"> |
2962 | Go to the Official Linden Blog, for the Latest News and Information. | 2962 | Go to the Official Imprudence Blog, for the Latest News and Information. |
2963 | </message> | 2963 | </message> |
2964 | <ignore name="ignore"> | 2964 | <ignore name="ignore"> |
2965 | When launching web browser to view the blog | 2965 | When launching web browser to view the blog |
@@ -2971,6 +2971,20 @@ Download to your Applications folder? | |||
2971 | Cancel | 2971 | Cancel |
2972 | </option> | 2972 | </option> |
2973 | </alert> | 2973 | </alert> |
2974 | <alert modal="true" name="WebLaunchImprudenceForums"> | ||
2975 | <message name="message"> | ||
2976 | Go to the Official Imprudence Forums to discuss the Imprudence Project. | ||
2977 | </message> | ||
2978 | <ignore name="ignore"> | ||
2979 | When launching web browser to view the forums | ||
2980 | </ignore> | ||
2981 | <option name="Gotopage"> | ||
2982 | OK | ||
2983 | </option> | ||
2984 | <option name="Cancel"> | ||
2985 | Cancel | ||
2986 | </option> | ||
2987 | </alert> | ||
2974 | <alert modal="true" name="WebLaunchLSLGuide"> | 2988 | <alert modal="true" name="WebLaunchLSLGuide"> |
2975 | <message name="message"> | 2989 | <message name="message"> |
2976 | Go to the Scripting Guide for scripting help? | 2990 | Go to the Scripting Guide for scripting help? |
@@ -4225,7 +4239,7 @@ will only work if a script is added with a money() event. | |||
4225 | </alert> | 4239 | </alert> |
4226 | <alert modal="true" name="ClickOpenF1Help"> | 4240 | <alert modal="true" name="ClickOpenF1Help"> |
4227 | <message name="message"> | 4241 | <message name="message"> |
4228 | Visit the Second Life Support Web site? | 4242 | Visit the Second Life Support Web site? (note: this is not an Imprudence Help site) |
4229 | </message> | 4243 | </message> |
4230 | <ignore name="ignore"> | 4244 | <ignore name="ignore"> |
4231 | When visiting the Second Life Support Website. | 4245 | When visiting the Second Life Support Website. |
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml index f82f254..71044a0 100644 --- a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml +++ b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | |||
@@ -764,7 +764,7 @@ | |||
764 | 764 | ||
765 | <menu name="Help" create_jump_keys="true" label="Help" | 765 | <menu name="Help" create_jump_keys="true" label="Help" |
766 | opaque="true" tear_off="true"> | 766 | opaque="true" tear_off="true"> |
767 | <menu_item_call name="Second Life Help" label="Second Life Help" | 767 | <menu_item_call name="Viewer Help" label="Viewer Help" |
768 | shortcut="F1"> | 768 | shortcut="F1"> |
769 | <on_click function="ShowFloater" userdata="help f1" /> | 769 | <on_click function="ShowFloater" userdata="help f1" /> |
770 | </menu_item_call> | 770 | </menu_item_call> |
@@ -772,10 +772,15 @@ | |||
772 | <on_click function="ShowFloater" userdata="help tutorial" /> | 772 | <on_click function="ShowFloater" userdata="help tutorial" /> |
773 | </menu_item_call> | 773 | </menu_item_call> |
774 | <menu_item_separator /> | 774 | <menu_item_separator /> |
775 | <menu_item_call name="Official Linden Blog..." | 775 | <menu_item_call name="Imprudence Blog..." |
776 | label="Official Linden Blog..."> | 776 | label="Imprudence Blog..."> |
777 | <on_click function="PromptShowURL" | 777 | <on_click function="PromptShowURL" |
778 | userdata="WebLaunchSupportWiki,http://blog.secondlife.com/" /> | 778 | userdata="WebLaunchImprudenceBlog,http://www.imprudenceviewer.org/" /> |
779 | </menu_item_call> | ||
780 | <menu_item_call name="Imprudence Forums..." | ||
781 | label="Imprudence Forums..."> | ||
782 | <on_click function="PromptShowURL" | ||
783 | userdata="WebLaunchImprudenceForums,http://www.imprudenceviewer.org/forums/" /> | ||
779 | </menu_item_call> | 784 | </menu_item_call> |
780 | <menu_item_separator /> | 785 | <menu_item_separator /> |
781 | <menu_item_call name="Scripting Guide..." | 786 | <menu_item_call name="Scripting Guide..." |
@@ -801,42 +806,8 @@ | |||
801 | <on_click function="ShowFloater" userdata="lag meter" /> | 806 | <on_click function="ShowFloater" userdata="lag meter" /> |
802 | </menu_item_call> | 807 | </menu_item_call> |
803 | <menu_item_separator /> | 808 | <menu_item_separator /> |
804 | <menu name="Bug Reporting" create_jump_keys="true" | 809 | <menu_item_call name="About Imprudence..." |
805 | label="Bug Reporting" opaque="true" tear_off="true"> | 810 | label="About Imprudence..."> |
806 | <menu_item_call name="Public Issue Tracker..." | ||
807 | label="Public Issue Tracker..."> | ||
808 | <on_click function="PromptShowURL" | ||
809 | userdata="WebLaunchPublicIssue,http://jira.secondlife.com" /> | ||
810 | </menu_item_call> | ||
811 | <menu_item_call name="Publc Issue Tracker Help..." | ||
812 | label="Public Issue Tracker Help..."> | ||
813 | <on_click function="PromptShowURL" | ||
814 | userdata="WebLaunchPublicIssueHelp,http://wiki.secondlife.com/wiki/Issue_tracker" /> | ||
815 | </menu_item_call> | ||
816 | <menu_item_separator /> | ||
817 | <menu_item_call name="Bug Reporing 101..." | ||
818 | label="Bug Reporting 101..."> | ||
819 | <on_click function="PromptShowURL" | ||
820 | userdata="WebLaunchBugReport101,http://wiki.secondlife.com/wiki/Bug_Reporting_101" /> | ||
821 | </menu_item_call> | ||
822 | <menu_item_call name="Security Issues..." | ||
823 | label="Security Issues..."> | ||
824 | <on_click function="PromptShowURL" | ||
825 | userdata="WebLaunchSecurityIssues,http://wiki.secondlife.com/wiki/Security_issues" /> | ||
826 | </menu_item_call> | ||
827 | <menu_item_call name="QA Wiki..." label="QA Wiki..."> | ||
828 | <on_click function="PromptShowURL" | ||
829 | userdata="WebLaunchQAWiki,http://wiki.secondlife.com/wiki/QA_Portal" /> | ||
830 | </menu_item_call> | ||
831 | <menu_item_separator /> | ||
832 | <menu_item_call name="Report Bug..." label="Report Bug..."> | ||
833 | <on_click function="PromptShowURL" | ||
834 | userdata="WebLaunchPublicIssue,http://jira.secondlife.com" /> | ||
835 | </menu_item_call> | ||
836 | </menu> | ||
837 | <menu_item_separator /> | ||
838 | <menu_item_call name="About Second Life..." | ||
839 | label="About Second Life..."> | ||
840 | <on_click function="ShowFloater" userdata="about" /> | 811 | <on_click function="ShowFloater" userdata="about" /> |
841 | </menu_item_call> | 812 | </menu_item_call> |
842 | </menu> | 813 | </menu> |
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_groups.xml b/linden/indra/newview/skins/default/xui/en-us/panel_groups.xml index 02d5504..6fa099e 100644 --- a/linden/indra/newview/skins/default/xui/en-us/panel_groups.xml +++ b/linden/indra/newview/skins/default/xui/en-us/panel_groups.xml | |||
@@ -1,39 +1,39 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" standalone="yes" ?> | 1 | <?xml version="1.0" encoding="utf-8" standalone="yes" ?> |
2 | <panel border="true" bottom="-371" height="300" left="280" mouse_opaque="true" | 2 | <panel border="true" bottom="-371" height="300" left="280" mouse_opaque="true" |
3 | name="groups" width="350"> | 3 | name="groups" width="350"> |
4 | <scroll_list background_visible="true" bottom="45" column_padding="5" draw_border="true" | 4 | <scroll_list background_visible="true" bottom="45" column_padding="5" draw_border="true" |
5 | draw_heading="false" draw_stripes="true" enabled="true" | 5 | draw_heading="false" draw_stripes="true" enabled="true" |
6 | follows="left|top|right|bottom" left="10" mouse_opaque="true" | 6 | follows="left|top|right|bottom" left="10" mouse_opaque="true" |
7 | multi_select="false" name="group list" tab_stop="true" top="-10" | 7 | multi_select="false" name="group list" tab_stop="true" top="-10" |
8 | width="240"> | 8 | width="240"> |
9 | <column label="" name="name" width="248" /> | 9 | <column label="" name="name" width="248" /> |
10 | </scroll_list> | 10 | </scroll_list> |
11 | <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" | 11 | <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" |
12 | bottom="22" drop_shadow_visible="true" enabled="true" follows="left|bottom" | 12 | bottom="22" drop_shadow_visible="true" enabled="true" follows="left|bottom" |
13 | font="SansSerifSmall" h_pad="0" halign="left" height="16" left="12" | 13 | font="SansSerifSmall" h_pad="0" halign="left" height="16" left="12" |
14 | mouse_opaque="false" name="groupdesc" v_pad="0" width="248"> | 14 | mouse_opaque="false" name="groupdesc" v_pad="0" width="248"> |
15 | Your currently active group is displayed in bold. | 15 | Your currently active group is displayed in bold. |
16 | </text> | 16 | </text> |
17 | <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" | 17 | <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" |
18 | bottom="5" drop_shadow_visible="true" enabled="true" follows="left|bottom" | 18 | bottom="5" drop_shadow_visible="true" enabled="true" follows="left|bottom" |
19 | font="SansSerifSmall" h_pad="0" halign="left" height="16" left="12" | 19 | font="SansSerifSmall" h_pad="0" halign="left" height="16" left="12" |
20 | mouse_opaque="false" name="groupcount" v_pad="0" width="248"> | 20 | mouse_opaque="false" name="groupcount" v_pad="0" width="248"> |
21 | You belong to [COUNT] groups (of [MAX] maximum). | 21 | You belong to [COUNT] groups (of [MAX] maximum). |
22 | </text> | 22 | </text> |
23 | <pad bottom="-7" height="0" left="-90" width="1" /> | 23 | <pad bottom="-7" height="0" left="-90" width="1" /> |
24 | <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" | 24 | <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" |
25 | label="IM/Call" left_delta="0" name="IM" | 25 | label="IM/Call" left_delta="0" name="IM" |
26 | tool_tip="Open Instant Message session" width="80" /> | 26 | tool_tip="Open Instant Message session" width="80" /> |
27 | <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" | 27 | <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" |
28 | label="Info" name="Info" width="80" /> | 28 | label="Info" name="Info" width="80" /> |
29 | <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" | 29 | <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" |
30 | label="Activate" name="Activate" width="80" /> | 30 | label="Activate" name="Activate" width="80" /> |
31 | <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" | 31 | <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" |
32 | label="Leave" name="Leave" width="80" /> | 32 | label="Leave" name="Leave" width="80" /> |
33 | <button bottom_delta="-35" follows="top|right" font="SansSerif" height="22" | 33 | <button bottom_delta="-35" follows="top|right" font="SansSerif" height="22" |
34 | label="Create..." name="Create" width="80" /> | 34 | label="Create..." name="Create" width="80" /> |
35 | <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" | 35 | <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" |
36 | label="Search..." name="Search..." width="80" /> | 36 | label="Search..." name="Search..." width="80" /> |
37 | <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" | 37 | <button bottom_delta="-25" follows="top|right" font="SansSerif" height="22" |
38 | label="Invite..." name="Invite..." width="80" /> | 38 | label="Invite..." name="Invite..." width="80" /> |
39 | </panel> | 39 | </panel> |
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py index 32cae79..303512f 100755 --- a/linden/indra/newview/viewer_manifest.py +++ b/linden/indra/newview/viewer_manifest.py | |||
@@ -141,9 +141,9 @@ class WindowsManifest(ViewerManifest): | |||
141 | def final_exe(self): | 141 | def final_exe(self): |
142 | if self.default_channel(): | 142 | if self.default_channel(): |
143 | if self.default_grid(): | 143 | if self.default_grid(): |
144 | return "SecondLife.exe" | 144 | return "Imprudence.exe" |
145 | else: | 145 | else: |
146 | return "SecondLifePreview.exe" | 146 | return "ImprudencePreview.exe" |
147 | else: | 147 | else: |
148 | return ''.join(self.channel().split()) + '.exe' | 148 | return ''.join(self.channel().split()) + '.exe' |
149 | 149 | ||
@@ -152,7 +152,7 @@ class WindowsManifest(ViewerManifest): | |||
152 | super(WindowsManifest, self).construct() | 152 | super(WindowsManifest, self).construct() |
153 | # the final exe is complicated because we're not sure where it's coming from, | 153 | # the final exe is complicated because we're not sure where it's coming from, |
154 | # nor do we have a fixed name for the executable | 154 | # nor do we have a fixed name for the executable |
155 | self.path(self.find_existing_file('debug/secondlife-bin.exe', 'release/secondlife-bin.exe', 'relwithdebinfo/secondlife-bin.exe'), dst=self.final_exe()) | 155 | self.path(self.find_existing_file('debug/imprudence-bin.exe', 'release/imprudence-bin.exe', 'relwithdebinfo/imprudence-bin.exe'), dst=self.final_exe()) |
156 | # need to get the kdu dll from any of the build directories as well | 156 | # need to get the kdu dll from any of the build directories as well |
157 | #self.path(self.find_existing_file( | 157 | #self.path(self.find_existing_file( |
158 | # *FIX:Mani we need to add support for packaging specific targets. | 158 | # *FIX:Mani we need to add support for packaging specific targets. |
@@ -301,36 +301,36 @@ class WindowsManifest(ViewerManifest): | |||
301 | if self.default_channel(): | 301 | if self.default_channel(): |
302 | if self.default_grid(): | 302 | if self.default_grid(): |
303 | # release viewer | 303 | # release viewer |
304 | installer_file = "Second_Life_%(version_dashes)s_Setup.exe" | 304 | installer_file = "Imprudence_%(version_dashes)s_Setup.exe" |
305 | grid_vars_template = """ | 305 | grid_vars_template = """ |
306 | OutFile "%(installer_file)s" | 306 | OutFile "%(installer_file)s" |
307 | !define INSTFLAGS "%(flags)s" | 307 | !define INSTFLAGS "%(flags)s" |
308 | !define INSTNAME "SecondLife" | 308 | !define INSTNAME "Imprudence" |
309 | !define SHORTCUT "Second Life" | 309 | !define SHORTCUT "Imprudence" |
310 | !define URLNAME "secondlife" | 310 | !define URLNAME "imprudence" |
311 | Caption "Second Life ${VERSION}" | 311 | Caption "Imprudence ${VERSION}" |
312 | """ | 312 | """ |
313 | else: | 313 | else: |
314 | # beta grid viewer | 314 | # beta grid viewer |
315 | installer_file = "Second_Life_%(version_dashes)s_(%(grid_caps)s)_Setup.exe" | 315 | installer_file = "Imprudence_%(version_dashes)s_(%(grid_caps)s)_Setup.exe" |
316 | grid_vars_template = """ | 316 | grid_vars_template = """ |
317 | OutFile "%(installer_file)s" | 317 | OutFile "%(installer_file)s" |
318 | !define INSTFLAGS "%(flags)s" | 318 | !define INSTFLAGS "%(flags)s" |
319 | !define INSTNAME "SecondLife%(grid_caps)s" | 319 | !define INSTNAME "Imprudence%(grid_caps)s" |
320 | !define SHORTCUT "Second Life (%(grid_caps)s)" | 320 | !define SHORTCUT "Imprudence (%(grid_caps)s)" |
321 | !define URLNAME "secondlife%(grid)s" | 321 | !define URLNAME "imprudence%(grid)s" |
322 | !define UNINSTALL_SETTINGS 1 | 322 | !define UNINSTALL_SETTINGS 1 |
323 | Caption "Second Life %(grid)s ${VERSION}" | 323 | Caption "Imprudence %(grid)s ${VERSION}" |
324 | """ | 324 | """ |
325 | else: | 325 | else: |
326 | # some other channel on some grid | 326 | # some other channel on some grid |
327 | installer_file = "Second_Life_%(version_dashes)s_%(channel_oneword)s_Setup.exe" | 327 | installer_file = "Imprudence_%(version_dashes)s_%(channel_oneword)s_Setup.exe" |
328 | grid_vars_template = """ | 328 | grid_vars_template = """ |
329 | OutFile "%(installer_file)s" | 329 | OutFile "%(installer_file)s" |
330 | !define INSTFLAGS "%(flags)s" | 330 | !define INSTFLAGS "%(flags)s" |
331 | !define INSTNAME "SecondLife%(channel_oneword)s" | 331 | !define INSTNAME "Imprudence%(channel_oneword)s" |
332 | !define SHORTCUT "%(channel)s" | 332 | !define SHORTCUT "%(channel)s" |
333 | !define URLNAME "secondlife" | 333 | !define URLNAME "imprudence" |
334 | !define UNINSTALL_SETTINGS 1 | 334 | !define UNINSTALL_SETTINGS 1 |
335 | Caption "%(channel)s ${VERSION}" | 335 | Caption "%(channel)s ${VERSION}" |
336 | """ | 336 | """ |
@@ -340,7 +340,7 @@ class WindowsManifest(ViewerManifest): | |||
340 | installer_file = installer_file % substitution_strings | 340 | installer_file = installer_file % substitution_strings |
341 | substitution_strings['installer_file'] = installer_file | 341 | substitution_strings['installer_file'] = installer_file |
342 | 342 | ||
343 | tempfile = "secondlife_setup_tmp.nsi" | 343 | tempfile = "imprudence_setup_tmp.nsi" |
344 | # the following replaces strings in the nsi template | 344 | # the following replaces strings in the nsi template |
345 | # it also does python-style % substitution | 345 | # it also does python-style % substitution |
346 | self.replace_in("installers/windows/installer_template.nsi", tempfile, { | 346 | self.replace_in("installers/windows/installer_template.nsi", tempfile, { |
@@ -360,7 +360,7 @@ class WindowsManifest(ViewerManifest): | |||
360 | class DarwinManifest(ViewerManifest): | 360 | class DarwinManifest(ViewerManifest): |
361 | def construct(self): | 361 | def construct(self): |
362 | # copy over the build result (this is a no-op if run within the xcode script) | 362 | # copy over the build result (this is a no-op if run within the xcode script) |
363 | self.path(self.args['configuration'] + "/Second Life.app", dst="") | 363 | self.path(self.args['configuration'] + "/Imprudence.app", dst="") |
364 | 364 | ||
365 | if self.prefix(src="", dst="Contents"): # everything goes in Contents | 365 | if self.prefix(src="", dst="Contents"): # everything goes in Contents |
366 | # Expand the tar file containing the assorted mozilla bits into | 366 | # Expand the tar file containing the assorted mozilla bits into |
@@ -439,16 +439,16 @@ class DarwinManifest(ViewerManifest): | |||
439 | 439 | ||
440 | 440 | ||
441 | def package_finish(self): | 441 | def package_finish(self): |
442 | channel_standin = 'Second Life' # hah, our default channel is not usable on its own | 442 | channel_standin = 'Imprudence' # hah, our default channel is not usable on its own |
443 | if not self.default_channel(): | 443 | if not self.default_channel(): |
444 | channel_standin = self.channel() | 444 | channel_standin = self.channel() |
445 | 445 | ||
446 | imagename="SecondLife_" + '_'.join(self.args['version']) | 446 | imagename="Imprudence_" + '_'.join(self.args['version']) |
447 | 447 | ||
448 | # MBW -- If the mounted volume name changes, it breaks the .DS_Store's background image and icon positioning. | 448 | # MBW -- If the mounted volume name changes, it breaks the .DS_Store's background image and icon positioning. |
449 | # If we really need differently named volumes, we'll need to create multiple DS_Store file images, or use some other trick. | 449 | # If we really need differently named volumes, we'll need to create multiple DS_Store file images, or use some other trick. |
450 | 450 | ||
451 | volname="Second Life Installer" # DO NOT CHANGE without understanding comment above | 451 | volname="Imprudence Installer" # DO NOT CHANGE without understanding comment above |
452 | 452 | ||
453 | if self.default_channel(): | 453 | if self.default_channel(): |
454 | if not self.default_grid(): | 454 | if not self.default_grid(): |
@@ -475,7 +475,7 @@ class DarwinManifest(ViewerManifest): | |||
475 | # Copy everything in to the mounted .dmg | 475 | # Copy everything in to the mounted .dmg |
476 | 476 | ||
477 | if self.default_channel() and not self.default_grid(): | 477 | if self.default_channel() and not self.default_grid(): |
478 | app_name = "Second Life " + self.args['grid'] | 478 | app_name = "Imprudence " + self.args['grid'] |
479 | else: | 479 | else: |
480 | app_name = channel_standin.strip() | 480 | app_name = channel_standin.strip() |
481 | 481 | ||
@@ -535,7 +535,7 @@ class LinuxManifest(ViewerManifest): | |||
535 | if self.prefix("linux_tools", dst=""): | 535 | if self.prefix("linux_tools", dst=""): |
536 | self.path("client-readme.txt","README-linux.txt") | 536 | self.path("client-readme.txt","README-linux.txt") |
537 | #self.path("client-readme-voice.txt","README-linux-voice.txt") | 537 | #self.path("client-readme-voice.txt","README-linux-voice.txt") |
538 | self.path("wrapper.sh","secondlife") | 538 | self.path("wrapper.sh","imprudence") |
539 | self.path("handle_secondlifeprotocol.sh") | 539 | self.path("handle_secondlifeprotocol.sh") |
540 | self.path("register_secondlifeprotocol.sh") | 540 | self.path("register_secondlifeprotocol.sh") |
541 | self.end_prefix("linux_tools") | 541 | self.end_prefix("linux_tools") |
@@ -555,7 +555,7 @@ class LinuxManifest(ViewerManifest): | |||
555 | if 'installer_name' in self.args: | 555 | if 'installer_name' in self.args: |
556 | installer_name = self.args['installer_name'] | 556 | installer_name = self.args['installer_name'] |
557 | else: | 557 | else: |
558 | installer_name_components = ['SecondLife_', self.args.get('arch')] | 558 | installer_name_components = ['Imprudence_', self.args.get('arch')] |
559 | installer_name_components.extend(self.args['version']) | 559 | installer_name_components.extend(self.args['version']) |
560 | installer_name = "_".join(installer_name_components) | 560 | installer_name = "_".join(installer_name_components) |
561 | if self.default_channel(): | 561 | if self.default_channel(): |
@@ -600,7 +600,7 @@ class LinuxManifest(ViewerManifest): | |||
600 | class Linux_i686Manifest(LinuxManifest): | 600 | class Linux_i686Manifest(LinuxManifest): |
601 | def construct(self): | 601 | def construct(self): |
602 | super(Linux_i686Manifest, self).construct() | 602 | super(Linux_i686Manifest, self).construct() |
603 | self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin") | 603 | self.path("imprudence-stripped","bin/do-not-directly-run-imprudence-bin") |
604 | # self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") | 604 | # self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") |
605 | self.path("linux_tools/launch_url.sh","launch_url.sh") | 605 | self.path("linux_tools/launch_url.sh","launch_url.sh") |
606 | if self.prefix("res-sdl"): | 606 | if self.prefix("res-sdl"): |
@@ -646,7 +646,7 @@ class Linux_i686Manifest(LinuxManifest): | |||
646 | class Linux_x86_64Manifest(LinuxManifest): | 646 | class Linux_x86_64Manifest(LinuxManifest): |
647 | def construct(self): | 647 | def construct(self): |
648 | super(Linux_x86_64Manifest, self).construct() | 648 | super(Linux_x86_64Manifest, self).construct() |
649 | self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin") | 649 | self.path("imprudence-stripped","bin/do-not-directly-run-imprudence-bin") |
650 | # self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") | 650 | # self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") |
651 | self.path("linux_tools/launch_url.sh","launch_url.sh") | 651 | self.path("linux_tools/launch_url.sh","launch_url.sh") |
652 | if self.prefix("res-sdl"): | 652 | if self.prefix("res-sdl"): |
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; |