diff options
Diffstat (limited to 'linden/indra/newview/installers/windows')
-rw-r--r-- | linden/indra/newview/installers/windows/installer_template.nsi | 33 | ||||
-rw-r--r-- | linden/indra/newview/installers/windows/lang_de.nsi | bin | 8262 -> 8260 bytes | |||
-rw-r--r-- | linden/indra/newview/installers/windows/lang_es.nsi | bin | 7612 -> 7846 bytes | |||
-rw-r--r-- | linden/indra/newview/installers/windows/lang_fr.nsi | bin | 7858 -> 8118 bytes | |||
-rw-r--r-- | linden/indra/newview/installers/windows/lang_it.nsi | bin | 7196 -> 7438 bytes | |||
-rw-r--r-- | linden/indra/newview/installers/windows/lang_nl.nsi | bin | 7160 -> 7388 bytes | |||
-rw-r--r-- | linden/indra/newview/installers/windows/lang_pt-br.nsi | bin | 7590 -> 7832 bytes | |||
-rw-r--r-- | linden/indra/newview/installers/windows/lang_zh.nsi | bin | 5354 -> 5552 bytes |
8 files changed, 25 insertions, 8 deletions
diff --git a/linden/indra/newview/installers/windows/installer_template.nsi b/linden/indra/newview/installers/windows/installer_template.nsi index 01bd98f..db9f565 100644 --- a/linden/indra/newview/installers/windows/installer_template.nsi +++ b/linden/indra/newview/installers/windows/installer_template.nsi | |||
@@ -31,15 +31,27 @@ RequestExecutionLevel admin ; on Vista we must be admin because we write to Prog | |||
31 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 31 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
32 | !include "%%SOURCE%%\installers\windows\lang_de.nsi" | 32 | !include "%%SOURCE%%\installers\windows\lang_de.nsi" |
33 | !include "%%SOURCE%%\installers\windows\lang_en-us.nsi" | 33 | !include "%%SOURCE%%\installers\windows\lang_en-us.nsi" |
34 | !include "%%SOURCE%%\installers\windows\lang_ja.nsi" | ||
35 | !include "%%SOURCE%%\installers\windows\lang_ko.nsi" | ||
36 | !include "%%SOURCE%%\installers\windows\lang_pt-br.nsi" | ||
37 | !include "%%SOURCE%%\installers\windows\lang_fr.nsi" | ||
38 | !include "%%SOURCE%%\installers\windows\lang_es.nsi" | 34 | !include "%%SOURCE%%\installers\windows\lang_es.nsi" |
35 | !include "%%SOURCE%%\installers\windows\lang_fr.nsi" | ||
36 | !include "%%SOURCE%%\installers\windows\lang_ja.nsi" | ||
39 | !include "%%SOURCE%%\installers\windows\lang_it.nsi" | 37 | !include "%%SOURCE%%\installers\windows\lang_it.nsi" |
38 | !include "%%SOURCE%%\installers\windows\lang_ko.nsi" | ||
40 | !include "%%SOURCE%%\installers\windows\lang_nl.nsi" | 39 | !include "%%SOURCE%%\installers\windows\lang_nl.nsi" |
40 | !include "%%SOURCE%%\installers\windows\lang_pt-br.nsi" | ||
41 | !include "%%SOURCE%%\installers\windows\lang_zh.nsi" | 41 | !include "%%SOURCE%%\installers\windows\lang_zh.nsi" |
42 | 42 | ||
43 | # *TODO: Move these into the language files themselves | ||
44 | LangString LanguageCode ${LANG_GERMAN} "de" | ||
45 | LangString LanguageCode ${LANG_ENGLISH} "en" | ||
46 | LangString LanguageCode ${LANG_SPANISH} "es" | ||
47 | LangString LanguageCode ${LANG_FRENCH} "fr" | ||
48 | LangString LanguageCode ${LANG_JAPANESE} "ja" | ||
49 | LangString LanguageCode ${LANG_ITALIAN} "it" | ||
50 | LangString LanguageCode ${LANG_KOREAN} "ko" | ||
51 | LangString LanguageCode ${LANG_DUTCH} "nl" | ||
52 | LangString LanguageCode ${LANG_PORTUGUESEBR} "pt" | ||
53 | LangString LanguageCode ${LANG_SIMPCHINESE} "zh" | ||
54 | |||
43 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 55 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
44 | ;; Tweak for different servers/builds (this placeholder is replaced by viewer_manifest.py) | 56 | ;; Tweak for different servers/builds (this placeholder is replaced by viewer_manifest.py) |
45 | ;; For example: | 57 | ;; For example: |
@@ -79,6 +91,7 @@ Var INSTEXE | |||
79 | Var INSTFLAGS | 91 | Var INSTFLAGS |
80 | Var INSTSHORTCUT | 92 | Var INSTSHORTCUT |
81 | Var COMMANDLINE ; command line passed to this installer, set in .onInit | 93 | Var COMMANDLINE ; command line passed to this installer, set in .onInit |
94 | Var SHORTCUT_LANG_PARAM ; "--set InstallLanguage de", passes language to viewer | ||
82 | 95 | ||
83 | ;;; Function definitions should go before file includes, because calls to | 96 | ;;; Function definitions should go before file includes, because calls to |
84 | ;;; DLLs like LangDLL trigger an implicit file include, so if that call is at | 97 | ;;; DLLs like LangDLL trigger an implicit file include, so if that call is at |
@@ -107,7 +120,7 @@ label_ask_launch: | |||
107 | 120 | ||
108 | label_launch: | 121 | label_launch: |
109 | # Assumes SetOutPath $INSTDIR | 122 | # Assumes SetOutPath $INSTDIR |
110 | Exec '"$INSTDIR\$INSTEXE" $INSTFLAGS' | 123 | Exec '"$INSTDIR\$INSTEXE" $INSTFLAGS $SHORTCUT_LANG_PARAM' |
111 | label_no_launch: | 124 | label_no_launch: |
112 | Pop $R0 | 125 | Pop $R0 |
113 | FunctionEnd | 126 | FunctionEnd |
@@ -725,13 +738,15 @@ Call RemoveOldReleaseNotes | |||
725 | ;; This placeholder is replaced by the complete list of all the files in the installer, by viewer_manifest.py | 738 | ;; This placeholder is replaced by the complete list of all the files in the installer, by viewer_manifest.py |
726 | %%INSTALL_FILES%% | 739 | %%INSTALL_FILES%% |
727 | 740 | ||
741 | # Pass the installer's language to the client to use as a default | ||
742 | StrCpy $SHORTCUT_LANG_PARAM "--set InstallLanguage $(LanguageCode)" | ||
728 | 743 | ||
729 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 744 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
730 | ; Shortcuts in start menu | 745 | ; Shortcuts in start menu |
731 | CreateDirectory "$SMPROGRAMS\$INSTSHORTCUT" | 746 | CreateDirectory "$SMPROGRAMS\$INSTSHORTCUT" |
732 | SetOutPath "$INSTDIR" | 747 | SetOutPath "$INSTDIR" |
733 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\$INSTSHORTCUT.lnk" \ | 748 | CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\$INSTSHORTCUT.lnk" \ |
734 | "$INSTDIR\$INSTEXE" "$INSTFLAGS" | 749 | "$INSTDIR\$INSTEXE" "$INSTFLAGS $SHORTCUT_LANG_PARAM" |
735 | 750 | ||
736 | 751 | ||
737 | WriteINIStr "$SMPROGRAMS\$INSTSHORTCUT\SL Create Account.url" \ | 752 | WriteINIStr "$SMPROGRAMS\$INSTSHORTCUT\SL Create Account.url" \ |
@@ -749,8 +764,10 @@ CreateShortCut "$SMPROGRAMS\$INSTSHORTCUT\Uninstall $INSTSHORTCUT.lnk" \ | |||
749 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 764 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
750 | ; Other shortcuts | 765 | ; Other shortcuts |
751 | SetOutPath "$INSTDIR" | 766 | SetOutPath "$INSTDIR" |
752 | CreateShortCut "$DESKTOP\$INSTSHORTCUT.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS" | 767 | CreateShortCut "$DESKTOP\$INSTSHORTCUT.lnk" \ |
753 | CreateShortCut "$INSTDIR\$INSTSHORTCUT.lnk" "$INSTDIR\$INSTEXE" "$INSTFLAGS" | 768 | "$INSTDIR\$INSTEXE" "$INSTFLAGS $SHORTCUT_LANG_PARAM" |
769 | CreateShortCut "$INSTDIR\$INSTSHORTCUT.lnk" \ | ||
770 | "$INSTDIR\$INSTEXE" "$INSTFLAGS $SHORTCUT_LANG_PARAM" | ||
754 | CreateShortCut "$INSTDIR\Uninstall $INSTSHORTCUT.lnk" \ | 771 | CreateShortCut "$INSTDIR\Uninstall $INSTSHORTCUT.lnk" \ |
755 | '"$INSTDIR\uninst.exe"' '' | 772 | '"$INSTDIR\uninst.exe"' '' |
756 | 773 | ||
diff --git a/linden/indra/newview/installers/windows/lang_de.nsi b/linden/indra/newview/installers/windows/lang_de.nsi index 911ed74..b717a4d 100644 --- a/linden/indra/newview/installers/windows/lang_de.nsi +++ b/linden/indra/newview/installers/windows/lang_de.nsi | |||
Binary files differ | |||
diff --git a/linden/indra/newview/installers/windows/lang_es.nsi b/linden/indra/newview/installers/windows/lang_es.nsi index 3340a12..c6a7f38 100644 --- a/linden/indra/newview/installers/windows/lang_es.nsi +++ b/linden/indra/newview/installers/windows/lang_es.nsi | |||
Binary files differ | |||
diff --git a/linden/indra/newview/installers/windows/lang_fr.nsi b/linden/indra/newview/installers/windows/lang_fr.nsi index 5c17ad0..d23615d 100644 --- a/linden/indra/newview/installers/windows/lang_fr.nsi +++ b/linden/indra/newview/installers/windows/lang_fr.nsi | |||
Binary files differ | |||
diff --git a/linden/indra/newview/installers/windows/lang_it.nsi b/linden/indra/newview/installers/windows/lang_it.nsi index 9f18013..1208ec4 100644 --- a/linden/indra/newview/installers/windows/lang_it.nsi +++ b/linden/indra/newview/installers/windows/lang_it.nsi | |||
Binary files differ | |||
diff --git a/linden/indra/newview/installers/windows/lang_nl.nsi b/linden/indra/newview/installers/windows/lang_nl.nsi index 42453ba..c8ffa8b 100644 --- a/linden/indra/newview/installers/windows/lang_nl.nsi +++ b/linden/indra/newview/installers/windows/lang_nl.nsi | |||
Binary files differ | |||
diff --git a/linden/indra/newview/installers/windows/lang_pt-br.nsi b/linden/indra/newview/installers/windows/lang_pt-br.nsi index 6524cc7..da56a3c 100644 --- a/linden/indra/newview/installers/windows/lang_pt-br.nsi +++ b/linden/indra/newview/installers/windows/lang_pt-br.nsi | |||
Binary files differ | |||
diff --git a/linden/indra/newview/installers/windows/lang_zh.nsi b/linden/indra/newview/installers/windows/lang_zh.nsi index e644e63..f4b7b5d 100644 --- a/linden/indra/newview/installers/windows/lang_zh.nsi +++ b/linden/indra/newview/installers/windows/lang_zh.nsi | |||
Binary files differ | |||