mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -04:00
Push upstream changes in installer logic from 0.8 branch
git-svn-id: http://svn.osgeo.org/qgis/trunk@6671 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
1bca64cd82
commit
5f9bb67078
@ -7,7 +7,26 @@ The installer script has an optional data
|
||||
download part. This requires an NSIS
|
||||
plugin available here:
|
||||
|
||||
http://nsis.sourceforge.net/ZipDLL
|
||||
or
|
||||
http://nsis.sourceforge.net/ZipDLL_plug-in
|
||||
|
||||
Follow the instructions on that page before
|
||||
attempting to run the installer.
|
||||
|
||||
NOTE: the zipdll.nsh at the download was
|
||||
broken at time of writing this. Use the
|
||||
one provided in this directory instead
|
||||
(still copy it to your nsis include dir
|
||||
though).
|
||||
|
||||
The NSIS installer now expects the qgis
|
||||
binaries to be packaged to exist in
|
||||
c:\Program Files\qgis<version> (the old
|
||||
c:\dev\cpp\qgis\qgs-release path is deprecated)
|
||||
|
||||
Set the PRODUCT_VERSION_NUMBER in qgis.nsis
|
||||
before running. This will allow having multiple
|
||||
development versions on the same machine and
|
||||
being able to package them without issue.
|
||||
|
||||
|
@ -1,203 +0,0 @@
|
||||
; Script generated by the HM NIS Edit Script Wizard.
|
||||
|
||||
; HM NIS Edit Wizard helper defines
|
||||
!define PRODUCT_NAME "Quantum GIS"
|
||||
!define PRODUCT_VERSION "0.8preview3-debug"
|
||||
!define PRODUCT_PUBLISHER "qgis.org"
|
||||
!define PRODUCT_WEB_SITE "http://qgis.org"
|
||||
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\qgis-debug.exe"
|
||||
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
|
||||
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
|
||||
!define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir"
|
||||
|
||||
SetCompressor zlib
|
||||
; Added by Tim for setting env vars (see this file on disk)
|
||||
!include WriteEnvStr.nsh
|
||||
;Added by Tim for a macro that will recursively delete the files in the install dir
|
||||
!include RecursiveDelete.nsh
|
||||
|
||||
; MUI 1.67 compatible ------
|
||||
!include "MUI.nsh"
|
||||
|
||||
; MUI Settings
|
||||
!define MUI_ABORTWARNING
|
||||
!define MUI_ICON "C:\dev\cpp\qgis\win_build\qgis64x64.ico"
|
||||
!define MUI_UNICON "C:\dev\cpp\qgis\win_build\qgis64x64.ico"
|
||||
; Added by Tim for side image
|
||||
!define MUI_WELCOMEFINISHPAGE_BITMAP "C:\dev\cpp\qgis\win_build\sidebar.bmp"
|
||||
; Welcome page
|
||||
!insertmacro MUI_PAGE_WELCOME
|
||||
; License page
|
||||
!define MUI_LICENSEPAGE_RADIOBUTTONS
|
||||
!insertmacro MUI_PAGE_LICENSE "C:\dev\cpp\qgis\LICENSE.txt"
|
||||
; Components page
|
||||
!insertmacro MUI_PAGE_COMPONENTS
|
||||
; Directory page
|
||||
!insertmacro MUI_PAGE_DIRECTORY
|
||||
; Start menu page
|
||||
var ICONS_GROUP
|
||||
!define MUI_STARTMENUPAGE_NODISABLE
|
||||
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "Quantum GIS Debug"
|
||||
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
|
||||
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
|
||||
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${PRODUCT_STARTMENU_REGVAL}"
|
||||
!insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP
|
||||
; Instfiles page
|
||||
!insertmacro MUI_PAGE_INSTFILES
|
||||
; Finish page
|
||||
!define MUI_FINISHPAGE_RUN "$INSTDIR\qgis-debug.exe"
|
||||
!insertmacro MUI_PAGE_FINISH
|
||||
|
||||
; Uninstaller pages
|
||||
!insertmacro MUI_UNPAGE_INSTFILES
|
||||
|
||||
; Language files
|
||||
!insertmacro MUI_LANGUAGE "English"
|
||||
!insertmacro MUI_LANGUAGE "French"
|
||||
!insertmacro MUI_LANGUAGE "German"
|
||||
!insertmacro MUI_LANGUAGE "SimpChinese"
|
||||
!insertmacro MUI_LANGUAGE "Japanese"
|
||||
!insertmacro MUI_LANGUAGE "Italian"
|
||||
!insertmacro MUI_LANGUAGE "Swedish"
|
||||
!insertmacro MUI_LANGUAGE "Russian"
|
||||
!insertmacro MUI_LANGUAGE "Portuguese"
|
||||
!insertmacro MUI_LANGUAGE "PortugueseBR"
|
||||
!insertmacro MUI_LANGUAGE "Polish"
|
||||
!insertmacro MUI_LANGUAGE "Czech"
|
||||
!insertmacro MUI_LANGUAGE "Slovak"
|
||||
!insertmacro MUI_LANGUAGE "Latvian"
|
||||
!insertmacro MUI_LANGUAGE "Indonesian"
|
||||
|
||||
; Initialize language
|
||||
Function .onInit
|
||||
!insertmacro MUI_LANGDLL_DISPLAY
|
||||
FunctionEnd
|
||||
|
||||
|
||||
; Reserve files
|
||||
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
|
||||
|
||||
; MUI end ------
|
||||
|
||||
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
|
||||
OutFile "qgis_debug_setup.exe"
|
||||
InstallDir "$PROGRAMFILES\Quantum GIS Debug"
|
||||
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
|
||||
ShowInstDetails show
|
||||
ShowUnInstDetails show
|
||||
|
||||
Section "MainSection" SEC01
|
||||
!include qgis_window_geometry.nsh
|
||||
SetOutPath "$INSTDIR"
|
||||
SetOverwrite try
|
||||
;------- Qt
|
||||
File "C:\dev\cpp\qgis\qgis-debug\QtCored4.dll"
|
||||
File "C:\dev\cpp\qgis\qgis-debug\QtGuid4.dll"
|
||||
File "C:\dev\cpp\qgis\qgis-debug\QtNetworkd4.dll"
|
||||
File "C:\dev\cpp\qgis\qgis-debug\QtXmld4.dll"
|
||||
File "C:\dev\cpp\qgis\qgis-debug\QtSvgd4.dll"
|
||||
File "C:\dev\cpp\qgis\qgis-debug\mingwm10.dll"
|
||||
;------- qgis Related
|
||||
File "C:\dev\cpp\qgis\qgis-debug\*.dll"
|
||||
File "C:\dev\cpp\qgis\qgis-debug\*.exe"
|
||||
;------- proj and gdal Related
|
||||
File "C:\dev\cpp\qgis\qgis-debug\*.csv"
|
||||
;subdirs
|
||||
File /r "C:\dev\cpp\qgis\qgis-debug\grass"
|
||||
File /r "C:\dev\cpp\qgis\qgis-debug\lib"
|
||||
File /r "C:\dev\cpp\qgis\qgis-debug\share"
|
||||
File /r "C:\dev\cpp\qgis\qgis-debug\nad"
|
||||
File /r "C:\dev\cpp\qgis\qgis-debug\msys"
|
||||
|
||||
; Shortcuts
|
||||
; Next line is important - added by Tim
|
||||
; if its not there the application working dir will be the last used
|
||||
; outpath
|
||||
SetOutPath "$INSTDIR"
|
||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
|
||||
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Quantum GIS debug.lnk" "$INSTDIR\qgis-debug.exe"
|
||||
CreateShortCut "$DESKTOP\Quantum GIS debug.lnk" "$INSTDIR\qgis-debug.exe"
|
||||
!insertmacro MUI_STARTMENU_WRITE_END
|
||||
; Added by Tim to set the PROJ_LIB env var so teh nad dir can be located by Proj
|
||||
Push PROJ_LIB
|
||||
Push "$INSTDIR\nad"
|
||||
Call WriteEnvStr
|
||||
|
||||
SectionEnd
|
||||
|
||||
Section "Sample Data" SEC02
|
||||
; SetOutPath "$INSTDIR\SampleData\EnvironmentLayers\2050\A1F"
|
||||
; File "C:\dev/cpp/qgis/\qgis-debug\SampleData\EnvironmentLayers\2050\A1F\Annual_dev/cpp/qgis/erature_range.asc"
|
||||
|
||||
; Shortcuts
|
||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||
!insertmacro MUI_STARTMENU_WRITE_END
|
||||
SectionEnd
|
||||
|
||||
Section -AdditionalIcons
|
||||
SetOutPath $INSTDIR
|
||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||
WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
|
||||
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
|
||||
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" "$INSTDIR\uninst.exe"
|
||||
!insertmacro MUI_STARTMENU_WRITE_END
|
||||
SectionEnd
|
||||
|
||||
Section -Post
|
||||
WriteUninstaller "$INSTDIR\uninst.exe"
|
||||
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\qgis-debug.exe"
|
||||
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
|
||||
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
|
||||
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\qgis.exe"
|
||||
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
|
||||
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
|
||||
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
|
||||
SectionEnd
|
||||
|
||||
; Section descriptions
|
||||
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${SEC01} "Main application files - you really need this!"
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${SEC02} "Sample data (not required if you have your own data already)"
|
||||
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
||||
|
||||
|
||||
Function un.onUninstSuccess
|
||||
HideWindow
|
||||
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."
|
||||
FunctionEnd
|
||||
|
||||
Function un.onInit
|
||||
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2
|
||||
Abort
|
||||
FunctionEnd
|
||||
|
||||
Section Uninstall
|
||||
# remove the variable
|
||||
Push PROJ_LIB
|
||||
Call un.DeleteEnvStr
|
||||
|
||||
!insertmacro MUI_STARTMENU_GETFOLDER "Application" $ICONS_GROUP
|
||||
Delete "$INSTDIR\${PRODUCT_NAME}.url"
|
||||
Delete "$INSTDIR\uninst-debug.exe"
|
||||
|
||||
;----------------- icons and shortcuts
|
||||
Delete "$SMPROGRAMS\$ICONS_GROUP\UninstallDebug.lnk"
|
||||
Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk"
|
||||
Delete "$DESKTOP\Quantum GIS Debug.lnk"
|
||||
Delete "$SMPROGRAMS\$ICONS_GROUP\Quantum GIS Debug.lnk"
|
||||
RMDir "$SMPROGRAMS\$ICONS_GROUP"
|
||||
|
||||
|
||||
;----------------- The application dir gets zapped next ...
|
||||
;I added this recursive delte implementation because
|
||||
; RM -R wasnt working properly
|
||||
Push "$INSTDIR"
|
||||
!insertmacro RemoveFilesAndSubDirs "$INSTDIR\"
|
||||
RMDir "$INSTDIR"
|
||||
|
||||
|
||||
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
|
||||
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
|
||||
SetAutoClose true
|
||||
SectionEnd
|
@ -2,7 +2,9 @@
|
||||
|
||||
; HM NIS Edit Wizard helper defines
|
||||
!define PRODUCT_NAME "Quantum GIS"
|
||||
!define PRODUCT_VERSION "0.8 Titan"
|
||||
!define PRODUCT_VERSION_NUMBER "0.8.1"
|
||||
!define PRODUCT_VERSION_NAME "Titan"
|
||||
!define PRODUCT_VERSION "${PRODUCT_VERSION_NUMBER} ${PRODUCT_VERSION_NAME}"
|
||||
!define PRODUCT_PUBLISHER "qgis.org"
|
||||
!define PRODUCT_WEB_SITE "http://qgis.org"
|
||||
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\qgis.exe"
|
||||
@ -81,7 +83,7 @@ FunctionEnd
|
||||
; MUI end ------
|
||||
|
||||
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
|
||||
OutFile "qgis_setup.exe"
|
||||
OutFile "qgis_setup${PRODUCT_VERSION_NUMBER}.exe"
|
||||
InstallDir "$PROGRAMFILES\Quantum GIS"
|
||||
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
|
||||
ShowInstDetails show
|
||||
@ -93,23 +95,25 @@ Section "Quantum GIS Application" SEC01
|
||||
SetOutPath "$INSTDIR"
|
||||
SetOverwrite try
|
||||
;------- Qt
|
||||
File "C:\dev\cpp\qgis\qgis-release\QtCore4.dll"
|
||||
File "C:\dev\cpp\qgis\qgis-release\QtGui4.dll"
|
||||
File "C:\dev\cpp\qgis\qgis-release\QtNetwork4.dll"
|
||||
File "C:\dev\cpp\qgis\qgis-release\QtXml4.dll"
|
||||
File "C:\dev\cpp\qgis\qgis-release\QtSvg4.dll"
|
||||
File "C:\dev\cpp\qgis\qgis-release\mingwm10.dll"
|
||||
File "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\QtCore4.dll"
|
||||
File "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\QtGui4.dll"
|
||||
File "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\QtNetwork4.dll"
|
||||
File "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\QtXml4.dll"
|
||||
File "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\QtSvg4.dll"
|
||||
File "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\mingwm10.dll"
|
||||
;------- qgis Related
|
||||
File "C:\dev\cpp\qgis\qgis-release\*.dll"
|
||||
File "C:\dev\cpp\qgis\qgis-release\*.exe"
|
||||
File "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\*.dll"
|
||||
File "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\*.exe"
|
||||
;------- proj and gdal Related
|
||||
File "C:\dev\cpp\qgis\qgis-release\*.csv"
|
||||
File "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\*.csv"
|
||||
;subdirs
|
||||
File /r "C:\dev\cpp\qgis\qgis-release\grass"
|
||||
File /r "C:\dev\cpp\qgis\qgis-release\lib"
|
||||
File /r "C:\dev\cpp\qgis\qgis-release\share"
|
||||
File /r "C:\dev\cpp\qgis\qgis-release\nad"
|
||||
File /r "C:\dev\cpp\qgis\qgis-release\msys"
|
||||
File /r "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\grass"
|
||||
File /r "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\lib"
|
||||
File /r "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\share"
|
||||
File /r "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\nad"
|
||||
File /r "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\msys"
|
||||
;qt plugins
|
||||
File /r "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\plugins"
|
||||
|
||||
; Shortcuts
|
||||
; Next line is important - added by Tim
|
||||
@ -134,21 +138,29 @@ Section "Sample Data - Spearfish (GRASS)" SEC02
|
||||
!insertmacro ZIPDLL_EXTRACT "$INSTDIR\SampleData\spearfish.zip" "$INSTDIR\SampleData\" "<ALL>"
|
||||
;ZipDLL::extractall "$INSTDIR\SampleData\spearfish.zip" "$INSTDIR\SampleData\"
|
||||
;the next line is a hack / workaround for a problem in zipdll.nsh
|
||||
!endif
|
||||
;!endif
|
||||
;!endif commented by freddy to solve the sample data extracting problem,
|
||||
;also is neccesary to download header file for nsi from :
|
||||
; http://forums.winamp.com/attachment.php?s=b03c6736d9de4a864dd2d4e7b40babfb&postid=1293264
|
||||
|
||||
|
||||
SectionEnd
|
||||
Section "Sample Data - Alaska (Non GRASS)" SEC03
|
||||
|
||||
Section "Development headers" SEC03
|
||||
SetOutPath "$INSTDIR\include"
|
||||
File "C:\Program Files\qgis${PRODUCT_VERSION_NUMBER}\include\*.h"
|
||||
SectionEnd
|
||||
|
||||
Section "Sample Data - Alaska (Non GRASS)" SEC04
|
||||
SetOutPath "$INSTDIR\SampleData\Alaska\"
|
||||
NSISdl::download http://qgis.org/uploadfiles/qgis_sample_data.tar.gz alaska.tar.gz
|
||||
; File "C:\dev/cpp/qgis/\qgis-release\SampleData\EnvironmentLayers\2050\A1F\Annual_dev/cpp/qgis/erature_range.asc"
|
||||
|
||||
|
||||
NSISdl::download http://qgis.org/uploadfiles/qgis_sample_data.zip alaska.zip
|
||||
!insertmacro ZIPDLL_EXTRACT "$INSTDIR\SampleData\Alaska\alaska.zip" "$INSTDIR\SampleData\Alaska" "<ALL>"
|
||||
; Shortcuts
|
||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||
!insertmacro MUI_STARTMENU_WRITE_END
|
||||
SectionEnd
|
||||
|
||||
|
||||
Section -AdditionalIcons
|
||||
SetOutPath $INSTDIR
|
||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||
|
419
win_build/zipdll.nsh
Normal file
419
win_build/zipdll.nsh
Normal file
@ -0,0 +1,419 @@
|
||||
;ZipDLL include file for NSIS
|
||||
;Written by Tim Kosse (mailto:tim.kosse@gmx.de)
|
||||
;some improvements by deguix
|
||||
|
||||
;Supported languages with their translators in alphabetical order:
|
||||
|
||||
;Arabic translation by asdfuae
|
||||
;Brazilian Portuguese translation by "deguix"
|
||||
;Chinese, Simplified translation by Kii Ali <kiiali@cpatch.org>
|
||||
;Chinese, Traditional traslation by "matini" and Kii Ali <kiiali@cpatch.org>
|
||||
;Croatian translation by "iostriz"
|
||||
;Danish translation by Claus Futtrup
|
||||
;French translation by "veekee"
|
||||
;German translation by Tim Kosse
|
||||
;Hungarian translation by Toth Laszlo
|
||||
;Korean translation by Seongab Kim
|
||||
;Lithuanian translation by Vytautas Krivickas
|
||||
;Polish translation by Krzysztof Galuszka
|
||||
;Russion translation by Sergey
|
||||
;Spanish translation by "dark_boy"
|
||||
|
||||
!ifndef ZIPDLL_USED
|
||||
|
||||
!define ZIPDLL_USED
|
||||
|
||||
!macro ZIPDLL_EXTRACT SOURCE DESTINATION FILE
|
||||
|
||||
!define "FILE_${FILE}"
|
||||
|
||||
!ifndef FILE_<ALL>
|
||||
Push "${FILE}"
|
||||
!endif
|
||||
|
||||
IfFileExists "${DESTINATION}" +2
|
||||
CreateDirectory "${DESTINATION}"
|
||||
|
||||
Push "${DESTINATION}"
|
||||
|
||||
IfFileExists "${SOURCE}" +2
|
||||
SetErrors
|
||||
|
||||
Push "${SOURCE}"
|
||||
|
||||
;The strings that will be translated are (ready to copy,
|
||||
;remove leading semicolons in your language block):
|
||||
|
||||
!ifdef LANG_ENGLISH
|
||||
|
||||
;English is default language of ZipDLL, no need to push the untranslated strings
|
||||
|
||||
;StrCmp $LANGUAGE ${LANG_ENGLISH} 0 +1
|
||||
|
||||
;Push " Error: %s"
|
||||
;Push "Could not get file attributes."
|
||||
;Push "Error: Could not get file attributes."
|
||||
;Push "Could not extract %s"
|
||||
;Push " Error: Could not extract %s"
|
||||
|
||||
;!ifdef FILE_<ALL>
|
||||
;Push " Extract: %s"
|
||||
;Push " Extracting %d files and directories"
|
||||
;Push "Extracting contents of %s to %s"
|
||||
;!else
|
||||
;Push "Specified file does not exist in archive."
|
||||
;Push "Error: Specified file does not exist in archive."
|
||||
;Push "Extracting the file %s from %s to %s"
|
||||
;!endif
|
||||
|
||||
;Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef LANG_HUNGARIAN
|
||||
|
||||
StrCmp $LANGUAGE ${LANG_HUNGARIAN} 0 +10
|
||||
|
||||
Push " Hiba: %s"
|
||||
Push "Nem olvasható a fájl attribútumai."
|
||||
Push "Hiba: Nem olvasható a fájl attribútumai."
|
||||
Push "Nem sikerült kicsomagolni a(z) %s"
|
||||
Push " Hiba: Nem sikerült kicsomagolni a(z) %s"
|
||||
|
||||
!ifdef FILE_<ALL>
|
||||
Push " Kicsomagolás: %s"
|
||||
Push " %d fájl és mappa kicsomagolása"
|
||||
Push "%s tartalom kicsomagolása a %s helyre"
|
||||
!else
|
||||
Push "A megadott fájl nem található az arhívumban."
|
||||
Push "Hiba: A megadott fájl nem található az arhívumban."
|
||||
Push "%s fájl kcsomagolása a(z) %s fájlból a %s helyre"
|
||||
!endif
|
||||
|
||||
Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef LANG_FRENCH
|
||||
|
||||
StrCmp $LANGUAGE ${LANG_FRENCH} 0 +10
|
||||
|
||||
Push " Erreur : %s"
|
||||
Push "Impossible de récupérer les informations sur le fichier."
|
||||
Push "Erreur : Impossible de récupérer les informations sur le fichier."
|
||||
Push "Impossible de décompresser %s."
|
||||
Push " Erreur : Impossible de décompresser %s."
|
||||
|
||||
!ifdef FILE_<ALL>
|
||||
Push " Décompression : %s"
|
||||
Push " Décompression de %d fichiers et répertoires"
|
||||
Push "Décompression des données de %s vers %s"
|
||||
!else
|
||||
Push "Le fichier spécifié n'existe pas dans l'archive"
|
||||
Push "Erreur : Le fichier spécifié n'existe pas dans l'archive"
|
||||
Push "Décompression du fichier %s depuis %s vers %s"
|
||||
!endif
|
||||
|
||||
Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef LANG_GERMAN
|
||||
|
||||
StrCmp $LANGUAGE ${LANG_GERMAN} 0 +10
|
||||
|
||||
Push " Fehler: %s"
|
||||
Push "Dateiattribute konnten nicht ermittelt werden."
|
||||
Push "Fehler: Dateiattribute konnten nicht ermittelt werden."
|
||||
Push "%s konnte nicht dekomprimiert werden."
|
||||
Push " Fehler: %s konnte nicht dekomprimiert werden."
|
||||
|
||||
!ifdef FILE_<ALL>
|
||||
Push " Dekomprimiere: %s"
|
||||
Push " Dekomprimiere %d Dateien und Verzeichnisse"
|
||||
Push "Dekomprimiere Inhalt von %s nach %s"
|
||||
!else
|
||||
Push "Die angegebene Datei existiert nicht im Archiv"
|
||||
Push "Fehler: Die angegebene Datei existiert nicht im Archiv"
|
||||
Push "Dekomprimiere Datei %s von %s nach %s"
|
||||
!endif
|
||||
|
||||
Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef LANG_SPANISH
|
||||
|
||||
StrCmp $LANGUAGE ${LANG_SPANISH} 0 +10
|
||||
|
||||
Push " Error: %s"
|
||||
Push "No se obtuvieron atributos del archivo"
|
||||
Push "Error: No se obtuvieron atributos del archivo"
|
||||
Push "No se pudo extraer %s"
|
||||
Push " Error: No se pudo extraer %s"
|
||||
|
||||
!ifdef FILE_<ALL>
|
||||
Push " Extraer: %s"
|
||||
Push " Extrayendo %d archivos y directorios"
|
||||
Push "Extraer archivos de %s a %s"
|
||||
!else
|
||||
Push "Archivo especificado no existe en el ZIP"
|
||||
Push "Error: El archivo especificado no existe en el ZIP"
|
||||
Push "Extrayendo el archivo %s de %s a %s"
|
||||
!endif
|
||||
|
||||
Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef LANG_PORTUGUESEBR
|
||||
|
||||
StrCmp $LANGUAGE ${LANG_PORTUGUESEBR} 0 +10
|
||||
|
||||
Push " Erro: %s"
|
||||
Push "Não se pode ler os atributos do arquivo"
|
||||
Push "Error: Não se pode ler os atributos do arquivo"
|
||||
Push "Não se pode extrair %s"
|
||||
Push " Erro: Não se pode extrair %s"
|
||||
|
||||
!ifdef FILE_<ALL>
|
||||
Push " Extraindo: %s"
|
||||
Push " Extraindo %d arquivos e diretórios"
|
||||
Push "Extraindo arquivos de %s a %s"
|
||||
!else
|
||||
Push "O arquivo especificado não existe no ZIP"
|
||||
Push "Erro: O arquivo especificado não existe no ZIP"
|
||||
Push "Extraindo o arquivo %s de %s a %s"
|
||||
!endif
|
||||
|
||||
Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef LANG_TRADCHINESE
|
||||
|
||||
StrCmp $LANGUAGE ${LANG_TRADCHINESE} 0 +11
|
||||
|
||||
Push " ¿ù»~: %s"
|
||||
Push "µLªk¨ú±oÀÉ®×ÄݩʡC"
|
||||
Push "¿ù»~: µLªk¨ú±oÀÉ®×ÄݩʡC"
|
||||
Push "µLªk¸ÑÀ£ÁY %s"
|
||||
Push " ¿ù»~¡GµLªk¸ÑÀ£ÁY %s"
|
||||
|
||||
!ifdef FILE_<ALL>
|
||||
Push " ¸ÑÀ£ÁY¡G%s"
|
||||
Push " ¥¿¦b¸ÑÀ£ÁY %d ÀÉ®×»P¥Ø¿ý"
|
||||
Push "¥¿¦b¸ÑÀ£ÁY %s ªº¤º®e¨ì %s"
|
||||
!else
|
||||
Push "«ü©wªºÀɮר䣦s¦b©óÀ£ÁY¥]¡C"
|
||||
Push "¿ù»~¡G«ü©wªºÀɮר䣦s¦b©óÀ£ÁY¥]¡C"
|
||||
Push "¥¿¦b¸ÑÀ£ÁYÀÉ®× %s ¡A±q %s ¨ì %s"
|
||||
!endif
|
||||
|
||||
Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef LANG_SIMPCHINESE
|
||||
|
||||
StrCmp $LANGUAGE ${LANG_SIMPCHINESE} 0 +11
|
||||
|
||||
Push " ´íÎó: %s"
|
||||
Push "ÎÞ·¨È¡µÃÎļþÊôÐÔ¡£"
|
||||
Push "´íÎó: ÎÞ·¨È¡µÃÎļþÊôÐÔ¡£"
|
||||
Push "ÎÞ·¨½âѹËõ %s"
|
||||
Push " ´íÎó£ºÎÞ·¨½âѹËõ %s"
|
||||
|
||||
!ifdef FILE_<ALL>
|
||||
Push " ½âѹËõ£º%s"
|
||||
Push " ÕýÔÚ½âѹËõ %d ÎļþÓëĿ¼"
|
||||
Push "ÕýÔÚ½âѹËõ %s µÄÄÚÈݵ½ %s"
|
||||
!else
|
||||
Push "Ö¸¶¨µÄÎļþ²¢²»´æÔÚÓÚѹËõ°ü¡£"
|
||||
Push "´íÎó£ºÖ¸¶¨µÄÎļþ²¢²»´æÔÚÓÚѹËõ°ü¡£"
|
||||
Push "ÕýÔÚ½âѹËõÎļþ %s £¬´Ó %s µ½ %s"
|
||||
!endif
|
||||
|
||||
Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef LANG_LITHUANIAN
|
||||
|
||||
StrCmp $LANGUAGE ${LANG_LITHUANIAN} 0 +10
|
||||
|
||||
Push " Klaida: %s"
|
||||
Push "Negaleta gauti bylos nuorodu."
|
||||
Push "Klaida: Negaleta gauti bylos nuorodu."
|
||||
Push "Negaleta ištraukti %s"
|
||||
Push " Klaida: Negaleta ištraukti %s"
|
||||
|
||||
!ifdef FILE_<ALL>
|
||||
Push " Ištraukiam : %s"
|
||||
Push " Ištraukiame %d bylas ir katalogus"
|
||||
Push "Ištraukiame viska is %s i %s"
|
||||
!else
|
||||
Push "Parinkta byla nesurasta šiame archyve."
|
||||
Push "Klaida: Parinkta byla nesurasta šiame archyve."
|
||||
Push "Ištraukiame byla %s iš %s i %s"
|
||||
!endif
|
||||
|
||||
Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef "LANG_POLISH"
|
||||
|
||||
strcmp $LANGUAGE ${LANG_POLISH} 0 +10
|
||||
|
||||
Push " B³¹d: %s"
|
||||
Push "Nie mo¿e pobraæ atrybutu pliku."
|
||||
Push "B³¹d: Nie mo¿e pobraæ atrybutu pliku."
|
||||
Push "Nie mo¿e rozpakowaæ %s."
|
||||
Push " B³¹d: Nie mo¿e rozpakowaæ %s."
|
||||
|
||||
!ifdef FILE_<ALL>
|
||||
Push " Rozpakuj: %s"
|
||||
Push " Rozpakowywanie %d plików i katalogów"
|
||||
Push "Rozpakowywanie zawartoœci %s do %s"
|
||||
!else
|
||||
Push "Plik nie istnieje w archiwum"
|
||||
Push "B³¹d: Plik nie istnieje w archiwum"
|
||||
Push "Rozpakowywanie pliku %s z %s do %s"
|
||||
!endif
|
||||
|
||||
Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef "LANG_KOREAN"
|
||||
strcmp $LANGUAGE ${LANG_KOREAN} 0 +10
|
||||
Push " ¿À·ù : %s"
|
||||
Push "ÈÀÏ ¼Ó¼ºÀ» ¾ò¾î¿Ã ¼ö ¾ø½À´Ï´Ù."
|
||||
Push "¿À·ù: ÈÀÏ ¼Ó¼ºÀ» ¾ò¾î¿Ã ¼ö ¾ø½À´Ï´Ù."
|
||||
Push "%sÀ»(¸¦) Ç® ¼ö ¾ø½À´Ï´Ù."
|
||||
Push " ¿À·ù: %sÀ»(¸¦) Ç® ¼ö ¾ø½À´Ï´Ù."
|
||||
|
||||
!ifdef FILE_<ALL>
|
||||
Push " Ç®±â : %s"
|
||||
Push " %d°³ÀÇ ÆÄÀϰú Æú´õ¸¦ Ǫ´Â Áß"
|
||||
Push "%sÀÇ ³»¿ëÀ» %s¿¡ Ǫ´Â Áß"
|
||||
!else
|
||||
Push "ÁöÁ¤µÈ ÆÄÀÏÀÌ ¾ÐÃà ÆÄÀÏ ¾È¿¡ ¾ø½À´Ï´Ù."
|
||||
Push "¿À·ù: ÁöÁ¤µÈ ÆÄÀÏÀÌ ¾ÐÃà ÆÄÀÏ ¾È¿¡ ¾ø½À´Ï´Ù."
|
||||
Push "%s ÆÄÀÏÀ» %s¿¡¼ %s·Î Ǫ´Â Áß"
|
||||
!endif
|
||||
|
||||
Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef "LANG_RUSSIAN"
|
||||
|
||||
strcmp $LANGUAGE ${LANG_RUSSIAN} 0 +10
|
||||
|
||||
Push " Îøèáêà: %s"
|
||||
Push "Íå ìîãó ïîëó÷èòü àòðèáóòû ôàéëà."
|
||||
Push "Îøèáêà: Íå ìîãó ïîëó÷èòü àòðèáóòû ôàéëà."
|
||||
Push "Íå ìîãó èçâëå÷ü %s"
|
||||
Push " Îøèáêà: Íå ìîãó èçâëå÷ü %s"
|
||||
|
||||
!ifdef LANG_<ALL>
|
||||
Push " Èçâëåêàþ : %s"
|
||||
Push " Èçâëå÷åíèå %d ôàéëîâ è ïàïîê"
|
||||
Push "Ñïèñîê èçâëåêàåìûõ ôàéëîâ èç %s â %s"
|
||||
!else
|
||||
Push "Èçâëåêàåìûé ôàéë íå îáíàðóæåí â àðõèâå."
|
||||
Push "Îøèáêà: SÈçâëåêàåìûé ôàéë íå îáíàðóæåí â àðõèâå."
|
||||
Push "Èçâëå÷åíèå ôàéëà %s èç %s â %s"
|
||||
!endif
|
||||
|
||||
Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef LANG_ARABIC
|
||||
|
||||
StrCmp $LANGUAGE ${LANG_ARABIC} 0 +10
|
||||
|
||||
Push " ÎØÇÁ: %s"
|
||||
Push "áã íÍÕá Úáì ÎÕÇÆÕ ÇáãáÝ."
|
||||
Push "ÎØÇÁ: áã íÍÕá Úáì ÎÕÇÆÕ ÇáãáÝ."
|
||||
Push "áÇ íãßä ÇÓÊÎÑÇÌ %s"
|
||||
Push " ÎØÇÁ: áÇ íãßä ÇÓÊÎÑÇÌ %s"
|
||||
|
||||
!ifdef FILE_<ALL>
|
||||
Push " ÇÓÊÎÑÇÌ : %s"
|
||||
Push " ÇÓÊÎÑÇÌ ãÌáÏÇÊ æ ãáÝÇÊ %d"
|
||||
Push "ÇÓÊÎÑÇÌ ãÍÊæíÇÊ %s Åáì %s"
|
||||
!else
|
||||
Push "ÇáãáÝ ÛíÑ ãæÌæÏ Ýí ÇáÓÌá."
|
||||
Push "ÎØÇÁ: ÇáãáÝ ÛíÑ ãæÌæÏ Ýí ÇáÓÌá."
|
||||
Push "ÇÓÊÎÑÇÌ ÇáãáÝ %s ãä %s Åáì %s"
|
||||
!endif
|
||||
|
||||
Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef LANG_DANISH
|
||||
|
||||
StrCmp $LANGUAGE ${LANG_DANISH} 0 +10
|
||||
|
||||
Push " Fejl: %s"
|
||||
Push "Kunne ikke læse fil attributter."
|
||||
Push "Fejl: Kunne ikke læse fil attributter."
|
||||
Push "Kunne ikke udpakke %s"
|
||||
Push " Fejl: Kunne ikke udpakke %s"
|
||||
|
||||
!ifdef FILE_<ALL>
|
||||
Push " Udpakker: %s"
|
||||
Push " Udpakker %d filer og mapper"
|
||||
Push "Udpakker indhold fra %s til %s"
|
||||
!else
|
||||
Push "Specificeret fil eksisterer ikke i filarkivet"
|
||||
Push "Fejl: Specificeret fil eksisterer ikke i filarkivet"
|
||||
Push "Udpakker fil %s fra %s til %s"
|
||||
!endif
|
||||
|
||||
Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef LANG_CROATIAN
|
||||
|
||||
StrCmp $LANGUAGE ${LANG_CROATIAN} 0 +10
|
||||
|
||||
Push " Greška: %s"
|
||||
Push "Ne mogu dohvatiti atribute datoteke."
|
||||
Push "Greška: Ne mogu dohvatiti atribute datoteke."
|
||||
Push "Ne mogu ekstrahirati %s"
|
||||
Push " Greška: Ne mogu ekstrahirati %s"
|
||||
|
||||
!ifdef FILE_<ALL>
|
||||
Push " Ekstrakcija: %s"
|
||||
Push " Ekstrakcija %d datoteka i mapa"
|
||||
Push "Ekstrakcija sadržaja %s u %s"
|
||||
!else
|
||||
Push "Tražena datoteka ne postoji u arhivi."
|
||||
Push "Greška: Tražena datoteka ne postoji u arhivi."
|
||||
Push "Ekstrakcija datoteke %s iz %s u %s"
|
||||
!endif
|
||||
|
||||
Push "/TRANSLATE"
|
||||
|
||||
!endif
|
||||
|
||||
!ifdef FILE_<ALL>
|
||||
!echo "============== ZipDLL::extractall defined ===================="
|
||||
ZipDLL::extractall
|
||||
!else
|
||||
!echo "============== ZipDLL::extractfile defined ===================="
|
||||
ZipDLL::extractfile
|
||||
!endif
|
||||
|
||||
!undef "FILE_${FILE}"
|
||||
|
||||
!macroend
|
||||
|
||||
!endif
|
Loading…
x
Reference in New Issue
Block a user