Commit 70dd7746 authored by brabox's avatar brabox

Added files for Spanish language pack

parent e7bf7e25
This source diff could not be displayed because it is too large. You can view the blob instead.
[information]
category=4
[enableFiles]
size=0
[disableFiles]
1\name=lang/spanishstrings202_v7.0.0.big
size=1
[switchFiles]
size=0
[information]
category=4
[enableFiles]
1\name=lang/spanishstrings202_v7.0.0.big
1\checksum=35c450970d8d10685f0049cbefe3005d8a7f5138
size=1
[disableFiles]
size=0
[switchFiles]
size=0
# Modern UI example script
!include MUI.nsh
!include sections.nsh
Name "2.02 Spanish Language Pack"
OutFile "202_v7_spanish_language.exe"
InstallDirRegKey HKLM "Software\Electronic Arts\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king" InstallPath
SetCompressor /SOLID lzma
; Customization of the license page (so it says readme rather than license)
;!define MUI_PAGE_HEADER_TEXT "Read Me"
;!define MUI_PAGE_HEADER_SUBTEXT "For new players"
;!define MUI_LICENSEPAGE_TEXT_TOP "Please read the following information:"
;!define MUI_LICENSEPAGE_TEXT_BOTTOM " . "
;!define MUI_LICENSEPAGE_BUTTON "Next >"
; Customization of the finish page (checkbox for desktop schortcut)
;!define MUI_FINISHPAGE_SHOWREADME ""
;!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
;!define MUI_FINISHPAGE_SHOWREADME_TEXT "Create Desktop Shortcut"
;!define MUI_FINISHPAGE_SHOWREADME_FUNCTION finishpageaction
;!define MUI_ICON "202icon.ico"
!insertmacro MUI_PAGE_WELCOME
;!insertmacro MUI_PAGE_LICENSE "license.rtf"
;!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_LANGUAGE "English"
;!insertmacro MUI_LANGUAGE "German"
;!insertmacro MUI_LANGUAGE "French"
BrandingText "Rise of the Witch-King 2.02 -- www.gamereplays.org"
;;
; Main component
;;
Section
;SectionIn RO ;Make it read-only
SetOutPath $INSTDIR
File /r "Spanish/*"
;~ File /r v7std\lang
;~ File /r v7std\launcher_releases
writeUninstaller "$INSTDIR\uninstall02Spanish.exe"
SectionEnd
;;
; This spawns the confirmation window when uninstalling
;;
function un.onInit
#Verify the uninstaller - last chance to back out
MessageBox MB_OKCANCEL "Permanantly remove Spanish Lanugage Pack for RotWK 2.02 version 7.0.0?" IDOK next
Abort
next:
functionEnd
;;
; Uninstaller section
;;
section "uninstall"
SetOutPath "$INSTDIR"
; first, we delete the dat files, whichever version tey may be
delete "$INSTDIR\lang\spanishstrings202_v7.0.0.big"
delete "$INSTDIR\launcher_releases\2.01 Spanish.ini"
delete "$INSTDIR\launcher_releases\2.02 v7.0.0 Spanish.ini"
# Always delete uninstaller as the last action
delete "$INSTDIR\uninstall02Spanish.exe"
sectionEnd
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment