summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2013-02-10 10:18:21 +0000
committerAlessio Treglia <alessio@debian.org>2013-02-10 10:18:21 +0000
commit038de1a143b9775f37d4848f52c59af7cee66e36 (patch)
tree8d10a35c194be220b6cb2d1b2982546dbcef9480 /setup
parent69d32924ffbfe2bb05d881a23af13b6070b9a9bd (diff)
Imported Upstream version 0.8.3
Diffstat (limited to 'setup')
-rw-r--r--setup/contrib/smplayer.full.nsi939
-rw-r--r--setup/license.txt354
-rw-r--r--setup/sample.avibin0 -> 29962 bytes
-rw-r--r--setup/scripts/install_smplayer.cmd9
-rw-r--r--setup/scripts/make_pkgs.cmd199
-rw-r--r--setup/smplayer.nsi176
-rw-r--r--setup/translations/basque.nsh74
-rw-r--r--setup/translations/catalan.nsh16
-rw-r--r--setup/translations/croatian.nsh16
-rw-r--r--setup/translations/czech.nsh62
-rw-r--r--setup/translations/danish.nsh16
-rw-r--r--setup/translations/dutch.nsh16
-rw-r--r--setup/translations/english.nsh16
-rw-r--r--setup/translations/finnish.nsh16
-rw-r--r--setup/translations/french.nsh16
-rw-r--r--setup/translations/german.nsh16
-rw-r--r--setup/translations/hebrew.nsh16
-rw-r--r--setup/translations/hungarian.nsh16
-rw-r--r--setup/translations/italian.nsh16
-rw-r--r--setup/translations/japanese.nsh22
-rw-r--r--setup/translations/korean.nsh16
-rw-r--r--setup/translations/norwegian.nsh16
-rw-r--r--setup/translations/polish.nsh16
-rw-r--r--setup/translations/portuguese.nsh30
-rw-r--r--setup/translations/russian.nsh114
-rw-r--r--setup/translations/simpchinese.nsh56
-rw-r--r--setup/translations/slovak.nsh16
-rw-r--r--setup/translations/slovenian.nsh16
-rw-r--r--setup/translations/spanish.nsh16
-rw-r--r--setup/translations/tradchinese.nsh16
30 files changed, 1755 insertions, 568 deletions
diff --git a/setup/contrib/smplayer.full.nsi b/setup/contrib/smplayer.full.nsi
new file mode 100644
index 0000000..be57810
--- /dev/null
+++ b/setup/contrib/smplayer.full.nsi
@@ -0,0 +1,939 @@
+;Installer script for win32/win64 SMPlayer
+;Written by redxii (redxii@users.sourceforge.net)
+;Tested/Developed with Unicode NSIS 2.46.5
+
+!ifndef VER_MAJOR | VER_MINOR | VER_BUILD
+ !error "Version information not defined (or incomplete). You must define: VER_MAJOR, VER_MINOR, VER_BUILD."
+!endif
+
+;--------------------------------
+;Compressor
+
+ SetCompressor /SOLID lzma
+ SetCompressorDictSize 32
+
+;--------------------------------
+;Additional plugin folders
+
+ !addplugindir .
+ !addincludedir .
+
+;--------------------------------
+;Defines
+
+!ifdef VER_REVISION
+ !define SMPLAYER_VERSION "${VER_MAJOR}.${VER_MINOR}.${VER_BUILD}.${VER_REVISION}"
+ !define SMPLAYER_PRODUCT_VERSION "${VER_MAJOR}.${VER_MINOR}.${VER_BUILD}.${VER_REVISION}"
+!else ifndef VER_REVISION
+ !define SMPLAYER_VERSION "${VER_MAJOR}.${VER_MINOR}.${VER_BUILD}"
+ !define SMPLAYER_PRODUCT_VERSION "${VER_MAJOR}.${VER_MINOR}.${VER_BUILD}.0"
+!endif
+
+!ifdef WIN64
+ !define SMPLAYER_BUILD_DIR "smplayer-build64"
+!else
+ !define SMPLAYER_BUILD_DIR "smplayer-build"
+!endif
+
+ !define SMPLAYER_REG_KEY "Software\SMPlayer"
+ !define SMPLAYER_APP_PATHS_KEY "Software\Microsoft\Windows\CurrentVersion\App Paths\smplayer.exe"
+ !define SMPLAYER_DEF_PROGS_KEY "Software\Clients\Media\SMPlayer"
+
+ !define SMPLAYER_UNINST_EXE "uninst.exe"
+ !define SMPLAYER_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\SMPlayer"
+
+ !define WITH_CODECS
+ !define /date DATE "%y.%m.%d.%H"
+
+;--------------------------------
+;General
+
+ ;Name and file
+ Name "SMPlayer ${SMPLAYER_VERSION}"
+ BrandingText "SMPlayer for Windows v${SMPLAYER_VERSION}"
+!ifdef WIN64
+ OutFile "output\smplayer-${DATE}-full-x64.exe"
+!else
+ OutFile "output\smplayer-${DATE}-full-x86.exe"
+!endif
+
+ ;Version tab properties
+ VIProductVersion "${DATE}"
+ VIAddVersionKey "ProductName" "SMPlayer"
+ VIAddVersionKey "ProductVersion" "${DATE}"
+ VIAddVersionKey "FileVersion" "${DATE}"
+ VIAddVersionKey "LegalCopyright" ""
+!ifdef WIN64
+ VIAddVersionKey "FileDescription" "SMPlayer Installer (64-bit)"
+!else
+ VIAddVersionKey "FileDescription" "SMPlayer Installer (32-bit)"
+!endif
+
+ ;Default installation folder
+!ifdef WIN64
+ InstallDir "$PROGRAMFILES64\SMPlayer"
+!else
+ InstallDir "$PROGRAMFILES\SMPlayer"
+!endif
+
+ ;Get installation folder from registry if available
+ InstallDirRegKey HKLM "${SMPLAYER_REG_KEY}" "Path"
+
+ ;Vista+ XML manifest, does not affect older OSes
+ RequestExecutionLevel admin
+
+ ShowInstDetails show
+ ShowUnInstDetails show
+
+;--------------------------------
+;Variables
+
+ Var Dialog_Reinstall
+ Var Inst_Type
+ Var Previous_Version
+ Var Previous_Version_State
+ Var Reinstall_ChgSettings
+ Var Reinstall_ChgSettings_State
+ Var Reinstall_Message
+ Var Reinstall_OverwriteButton
+ Var Reinstall_OverwriteButton_State
+ Var Reinstall_Uninstall
+ Var Reinstall_UninstallButton
+ Var Reinstall_UninstallButton_State
+ Var SMPlayer_Path
+ Var SMPlayer_UnStrPath
+ Var SMPlayer_StartMenuFolder
+
+;--------------------------------
+;Interface Settings
+
+ ;Installer/Uninstaller icons
+ !define MUI_ICON "smplayer-orange-installer.ico"
+ !define MUI_UNICON "smplayer-orange-uninstaller.ico"
+
+ ;Misc
+ !define MUI_WELCOMEFINISHPAGE_BITMAP "smplayer-orange-wizard.bmp"
+ !define MUI_UNWELCOMEFINISHPAGE_BITMAP "smplayer-orange-wizard-un.bmp"
+ !define MUI_ABORTWARNING
+
+ ;Welcome page
+ !define MUI_WELCOMEPAGE_TITLE $(WelcomePage_Title)
+ !define MUI_WELCOMEPAGE_TEXT $(WelcomePage_Text)
+
+ ;License page
+ !define MUI_LICENSEPAGE_RADIOBUTTONS
+
+ ;Components page
+ !define MUI_COMPONENTSPAGE_SMALLDESC
+
+ ;Finish page
+ !define MUI_FINISHPAGE_LINK "http://smplayer.sourceforge.net"
+ !define MUI_FINISHPAGE_LINK_LOCATION "http://smplayer.sourceforge.net"
+ !define MUI_FINISHPAGE_NOREBOOTSUPPORT
+ !define MUI_FINISHPAGE_RUN $INSTDIR\smplayer.exe
+ !define MUI_FINISHPAGE_RUN_NOTCHECKED
+ !define MUI_FINISHPAGE_SHOWREADME $INSTDIR\Release_notes.txt
+ !define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
+
+ ;Language Selection Dialog Settings
+ !define MUI_LANGDLL_REGISTRY_ROOT HKLM
+ !define MUI_LANGDLL_REGISTRY_KEY "${SMPLAYER_UNINST_KEY}"
+ !define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language"
+
+ ;Memento Settings
+ !define MEMENTO_REGISTRY_ROOT HKLM
+ !define MEMENTO_REGISTRY_KEY "${SMPLAYER_REG_KEY}"
+
+ ;Start Menu Settings
+ !define MUI_STARTMENUPAGE_DEFAULTFOLDER "SMPlayer"
+ !define MUI_STARTMENUPAGE_NODISABLE
+ !define MUI_STARTMENUPAGE_REGISTRY_ROOT HKLM
+ !define MUI_STARTMENUPAGE_REGISTRY_KEY "${SMPLAYER_UNINST_KEY}"
+ !define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "NSIS:StartMenu"
+
+;--------------------------------
+;Include Modern UI and functions
+
+ !include MUI2.nsh
+ !include FileFunc.nsh
+ !include Memento.nsh
+ !include nsDialogs.nsh
+ !include Sections.nsh
+ !include WinVer.nsh
+ !include WordFunc.nsh
+ !include x64.nsh
+
+;--------------------------------
+;Pages
+
+ ;Install pages
+ #Welcome
+ !insertmacro MUI_PAGE_WELCOME
+
+ #License
+ !insertmacro MUI_PAGE_LICENSE "license.txt"
+
+ #Upgrade/Reinstall
+ Page custom PageReinstall PageReinstallLeave
+
+ #Components
+ !define MUI_PAGE_CUSTOMFUNCTION_PRE PageComponentsPre
+ !insertmacro MUI_PAGE_COMPONENTS
+
+ #Install Directory
+ !define MUI_PAGE_CUSTOMFUNCTION_PRE PageDirectoryPre
+ !insertmacro MUI_PAGE_DIRECTORY
+
+ #Start Menu
+ !define MUI_PAGE_CUSTOMFUNCTION_PRE PageStartMenuPre
+ !insertmacro MUI_PAGE_STARTMENU "SMP_SMenu" $SMPlayer_StartMenuFolder
+
+ !insertmacro MUI_PAGE_INSTFILES
+ !insertmacro MUI_PAGE_FINISH
+
+ ;Uninstall pages
+ !define MUI_PAGE_CUSTOMFUNCTION_PRE un.ConfirmPagePre
+ !insertmacro MUI_UNPAGE_CONFIRM
+ !insertmacro MUI_UNPAGE_INSTFILES
+ !insertmacro MUI_UNPAGE_FINISH
+
+;--------------------------------
+;Languages
+
+ !insertmacro MUI_LANGUAGE "English"
+ !insertmacro MUI_LANGUAGE "Basque"
+ !insertmacro MUI_LANGUAGE "Catalan"
+ !insertmacro MUI_LANGUAGE "Croatian"
+ !insertmacro MUI_LANGUAGE "Czech"
+ !insertmacro MUI_LANGUAGE "Danish"
+ !insertmacro MUI_LANGUAGE "Dutch"
+ !insertmacro MUI_LANGUAGE "Finnish"
+ !insertmacro MUI_LANGUAGE "French"
+ !insertmacro MUI_LANGUAGE "German"
+ !insertmacro MUI_LANGUAGE "Hebrew"
+ !insertmacro MUI_LANGUAGE "Hungarian"
+ !insertmacro MUI_LANGUAGE "Italian"
+ !insertmacro MUI_LANGUAGE "Japanese"
+ !insertmacro MUI_LANGUAGE "Korean"
+ !insertmacro MUI_LANGUAGE "Norwegian"
+ !insertmacro MUI_LANGUAGE "Polish"
+ !insertmacro MUI_LANGUAGE "Portuguese"
+ !insertmacro MUI_LANGUAGE "Russian"
+ !insertmacro MUI_LANGUAGE "SimpChinese"
+ !insertmacro MUI_LANGUAGE "Slovak"
+ !insertmacro MUI_LANGUAGE "Slovenian"
+ !insertmacro MUI_LANGUAGE "Spanish"
+ !insertmacro MUI_LANGUAGE "TradChinese"
+
+;Custom translations for setup
+
+ !insertmacro LANGFILE_INCLUDE "translations\english.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\basque.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\catalan.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\croatian.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\czech.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\danish.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\dutch.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\finnish.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\french.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\german.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\hebrew.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\hungarian.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\italian.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\japanese.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\korean.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\norwegian.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\polish.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\portuguese.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\russian.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\simpchinese.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\slovak.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\slovenian.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\spanish.nsh"
+ !insertmacro LANGFILE_INCLUDE "translations\tradchinese.nsh"
+
+;--------------------------------
+;Reserve Files
+
+ ;These files should be inserted before other files in the data block
+ ;Keep these lines before any File command
+ ;Only for solid compression (by default, solid compression is enabled for BZIP2 and LZMA)
+
+ !insertmacro MUI_RESERVEFILE_LANGDLL
+ ReserveFile "${NSISDIR}\Plugins\UserInfo.dll"
+ ReserveFile "FindProcDLL.dll"
+
+;--------------------------------
+;Installer Sections
+
+;--------------------------------
+;Main SMPlayer files
+Section $(Section_SMPlayer) SecSMPlayer
+
+ SectionIn RO
+
+ ${If} $Reinstall_Uninstall == 1
+
+ ${If} $Reinstall_UninstallButton_State == 1
+ Exec '"$SMPlayer_UnStrPath" /X'
+ Quit
+ ${ElseIf} $Reinstall_OverwriteButton_State == 1
+ ${If} "$INSTDIR" == "$SMPlayer_Path"
+ ExecWait '"$SMPlayer_UnStrPath" /S /R _?=$SMPlayer_Path'
+ ${Else}
+ ExecWait '"$SMPlayer_UnStrPath" /S /R'
+ ${EndIf}
+ ${EndIf}
+
+ ${EndIf}
+
+ SetOutPath "$INSTDIR"
+ File "${SMPLAYER_BUILD_DIR}\*"
+
+ ;SMPlayer docs
+ SetOutPath "$INSTDIR\docs"
+ File /r "${SMPLAYER_BUILD_DIR}\docs\*.*"
+
+ ;Qt imageformats
+ SetOutPath "$INSTDIR\imageformats"
+ File /r "${SMPLAYER_BUILD_DIR}\imageformats\*.*"
+
+ ;SMPlayer key shortcuts
+ SetOutPath "$INSTDIR\shortcuts"
+ File /r "${SMPLAYER_BUILD_DIR}\shortcuts\*.*"
+
+ ;Initialize to 0 if don't exist (based on error flag)
+ ReadRegDWORD $R0 HKLM "${SMPLAYER_REG_KEY}" Installed_MPlayer
+ ${If} ${Errors}
+ WriteRegDWORD HKLM "${SMPLAYER_REG_KEY}" Installed_MPlayer 0x0
+ ${EndIf}
+
+ ReadRegDWORD $R0 HKLM "${SMPLAYER_REG_KEY}" Installed_Codecs
+ ${If} ${Errors}
+ WriteRegDWORD HKLM "${SMPLAYER_REG_KEY}" Installed_Codecs 0x0
+ ${EndIf}
+
+SectionEnd
+
+;--------------------------------
+;Shortcuts
+SectionGroup $(ShortcutGroupTitle)
+
+ ${MementoSection} $(Section_DesktopShortcut) SecDesktopShortcut
+
+ SetOutPath "$INSTDIR"
+ CreateShortCut "$DESKTOP\SMPlayer.lnk" "$INSTDIR\smplayer.exe"
+
+ ${MementoSectionEnd}
+
+ ${MementoSection} $(Section_StartMenu) SecStartMenuShortcut
+
+ SetOutPath "$INSTDIR"
+ !insertmacro MUI_STARTMENU_WRITE_BEGIN SMP_SMenu
+ CreateDirectory "$SMPROGRAMS\$SMPlayer_StartMenuFolder"
+ CreateShortCut "$SMPROGRAMS\$SMPlayer_StartMenuFolder\SMPlayer.lnk" "$INSTDIR\smplayer.exe"
+ CreateShortCut "$SMPROGRAMS\$SMPlayer_StartMenuFolder\SMTube.lnk" "$INSTDIR\smtube.exe"
+ WriteINIStr "$SMPROGRAMS\$SMPlayer_StartMenuFolder\SMPlayer on the Web.url" "InternetShortcut" "URL" "http://smplayer.sourceforge.net"
+ CreateShortCut "$SMPROGRAMS\$SMPlayer_StartMenuFolder\Uninstall SMPlayer.lnk" "$INSTDIR\${SMPLAYER_UNINST_EXE}"
+ !insertmacro MUI_STARTMENU_WRITE_END
+
+ ${MementoSectionEnd}
+
+SectionGroupEnd
+
+;--------------------------------
+;MPlayer & MPlayer Codecs
+SectionGroup $(MPlayerGroupTitle)
+
+ Section $(Section_MPlayer) SecMPlayer
+
+ SectionIn RO
+
+ SetOutPath "$INSTDIR\mplayer"
+ File /r "${SMPLAYER_BUILD_DIR}\mplayer\*.*"
+
+ WriteRegDWORD HKLM "${SMPLAYER_REG_KEY}" Installed_MPlayer 0x1
+
+ SectionEnd
+
+ Section /o $(Section_MPlayerCodecs) SecCodecs
+
+ SetOutPath "$INSTDIR\mplayer\codecs"
+ File /r "extras\codecs\*.*"
+
+ WriteRegDWORD HKLM "${SMPLAYER_REG_KEY}" Installed_Codecs 0x1
+
+ SectionEnd
+
+ ${MementoUnselectedSection} FFmpeg SecFFmpeg
+
+ SetOutPath "$INSTDIR\FFmpeg"
+!ifdef WIN64
+ File /r /x ffplay.exe "extras\ffmpeg\64\*.*"
+!else
+ File /r /x ffplay.exe "extras\ffmpeg\32\*.*"
+!endif
+
+ ${MementoSectionEnd}
+
+SectionGroupEnd
+
+;--------------------------------
+;Icon themes
+${MementoSection} $(Section_IconThemes) SecThemes
+
+ SetOutPath "$INSTDIR\themes"
+ File /r "${SMPLAYER_BUILD_DIR}\themes\*.*"
+
+${MementoSectionEnd}
+
+;--------------------------------
+;Translations
+${MementoSection} $(Section_Translations) SecTranslations
+
+ SetOutPath "$INSTDIR\translations"
+ File /r "${SMPLAYER_BUILD_DIR}\translations\*.*"
+
+${MementoSectionEnd}
+
+;--------------------------------
+;Install/Uninstall information
+Section -Post
+
+ ;Uninstall file
+ WriteUninstaller "$INSTDIR\${SMPLAYER_UNINST_EXE}"
+
+ ;Store installed path & version
+ WriteRegStr HKLM "${SMPLAYER_REG_KEY}" "Path" "$INSTDIR"
+ WriteRegStr HKLM "${SMPLAYER_REG_KEY}" "Version" "${SMPLAYER_VERSION}"
+
+ ;Allows user to use 'start smplayer.exe'
+ WriteRegStr HKLM "${SMPLAYER_APP_PATHS_KEY}" "" "$INSTDIR\smplayer.exe"
+ WriteRegStr HKLM "${SMPLAYER_APP_PATHS_KEY}" "Path" "$INSTDIR"
+
+ ;Default Programs Registration (Vista & later)
+ ${If} ${AtLeastWinVista}
+ Call RegisterDefaultPrograms
+ ${EndIf}
+
+ ;Registry Uninstall information
+!ifdef WIN64
+ WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "DisplayName" "$(^Name) (x64)"
+!else
+ WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "DisplayName" "$(^Name)"
+!endif
+ WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "DisplayIcon" "$INSTDIR\smplayer.exe"
+ WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "DisplayVersion" "${SMPLAYER_VERSION}"
+ WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "HelpLink" "http://smplayer.sourceforge.net/forum"
+ WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "Publisher" "Ricardo Villalba"
+ WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "UninstallString" "$INSTDIR\${SMPLAYER_UNINST_EXE}"
+ WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "URLInfoAbout" "http://smplayer.sourceforge.net"
+ WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "URLUpdateInfo" "http://smplayer.sourceforge.net"
+ WriteRegDWORD HKLM "${SMPLAYER_UNINST_KEY}" "NoModify" "1"
+ WriteRegDWORD HKLM "${SMPLAYER_UNINST_KEY}" "NoRepair" "1"
+
+SectionEnd
+
+${MementoSectionDone}
+
+;--------------------------------
+;Section descriptions
+!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecSMPlayer} $(Section_SMPlayer_Desc)
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecDesktopShortcut} $(Section_DesktopShortcut_Desc)
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecStartMenuShortcut} $(Section_StartMenu_Desc)
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecMPlayer} $(Section_MPlayer_Desc)
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecFFmpeg} "FFmpeg is a complete solution to record, convert and stream audio and video."
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecCodecs} $(Section_MPlayerCodecs_Desc)
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecThemes} $(Section_IconThemes_Desc)
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecTranslations} $(Section_Translations_Desc)
+!insertmacro MUI_FUNCTION_DESCRIPTION_END
+
+;--------------------------------
+;Macros
+
+!macro MacroAllExtensions _action
+ !insertmacro ${_action} ".3gp"
+ !insertmacro ${_action} ".ac3"
+ !insertmacro ${_action} ".ape"
+ !insertmacro ${_action} ".asf"
+ !insertmacro ${_action} ".avi"
+ !insertmacro ${_action} ".bin"
+ !insertmacro ${_action} ".dat"
+ !insertmacro ${_action} ".divx"
+ !insertmacro ${_action} ".dv"
+ !insertmacro ${_action} ".dvr-ms"
+ !insertmacro ${_action} ".f4v"
+ !insertmacro ${_action} ".flac"
+ !insertmacro ${_action} ".flv"
+ !insertmacro ${_action} ".hdmov"
+ !insertmacro ${_action} ".iso"
+ !insertmacro ${_action} ".m1v"
+ !insertmacro ${_action} ".m2t"
+ !insertmacro ${_action} ".m2ts"
+ !insertmacro ${_action} ".m2v"
+ !insertmacro ${_action} ".m3u"
+ !insertmacro ${_action} ".m3u8"
+ !insertmacro ${_action} ".m4a"
+ !insertmacro ${_action} ".m4v"
+ !insertmacro ${_action} ".mka"
+ !insertmacro ${_action} ".mkv"
+ !insertmacro ${_action} ".mov"
+ !insertmacro ${_action} ".mp3"
+ !insertmacro ${_action} ".mp4"
+ !insertmacro ${_action} ".mpeg"
+ !insertmacro ${_action} ".mpg"
+ !insertmacro ${_action} ".mpv"
+ !insertmacro ${_action} ".mqv"
+ !insertmacro ${_action} ".nsv"
+ !insertmacro ${_action} ".oga"
+ !insertmacro ${_action} ".ogg"
+ !insertmacro ${_action} ".ogm"
+ !insertmacro ${_action} ".ogv"
+ !insertmacro ${_action} ".ogx"
+ !insertmacro ${_action} ".pls"
+ !insertmacro ${_action} ".ra"
+ !insertmacro ${_action} ".ram"
+ !insertmacro ${_action} ".rec"
+ !insertmacro ${_action} ".rm"
+ !insertmacro ${_action} ".rmvb"
+ !insertmacro ${_action} ".swf"
+ !insertmacro ${_action} ".thd"
+ !insertmacro ${_action} ".ts"
+ !insertmacro ${_action} ".vcd"
+ !insertmacro ${_action} ".vfw"
+ !insertmacro ${_action} ".vob"
+ !insertmacro ${_action} ".vp8"
+ !insertmacro ${_action} ".wav"
+ !insertmacro ${_action} ".webm"
+ !insertmacro ${_action} ".wma"
+ !insertmacro ${_action} ".wmv"
+ !insertmacro ${_action} ".wtv"
+!macroend
+
+!macro WriteRegStrSupportedTypes EXT
+ WriteRegStr HKLM "${SMPLAYER_DEF_PROGS_KEY}\Capabilities\FileAssociations" ${EXT} "MPlayerFileVideo"
+!macroend
+
+!macro MacroRemoveSMPlayer
+ ;Delete desktop and start menu shortcuts
+ SetDetailsPrint textonly
+ DetailPrint $(Info_Del_Shortcuts)
+ SetDetailsPrint listonly
+
+ SetShellVarContext all
+ Delete "$DESKTOP\SMPlayer.lnk"
+ Delete "$SMPROGRAMS\$SMPlayer_StartMenuFolder\SMPlayer.lnk"
+ Delete "$SMPROGRAMS\$SMPlayer_StartMenuFolder\SMTube.lnk"
+ Delete "$SMPROGRAMS\$SMPlayer_StartMenuFolder\SMPlayer on the Web.url"
+ Delete "$SMPROGRAMS\$SMPlayer_StartMenuFolder\Uninstall SMPlayer.lnk"
+ RMDir "$SMPROGRAMS\$SMPlayer_StartMenuFolder"
+
+ ;Delete directories recursively except for main directory
+ ;Do not recursively delete $INSTDIR
+ SetDetailsPrint textonly
+ DetailPrint $(Info_Del_Files)
+ SetDetailsPrint listonly
+
+ RMDir /r "$INSTDIR\docs"
+ RMDir /r "$INSTDIR\imageformats"
+ RMDir /r "$INSTDIR\mplayer"
+ RMDir /r "$INSTDIR\shortcuts"
+ RMDir /r "$INSTDIR\themes"
+ RMDir /r "$INSTDIR\translations"
+ Delete "$INSTDIR\*.txt"
+ Delete "$INSTDIR\libgcc_s_dw2-1.dll"
+ Delete "$INSTDIR\libwinpthread-1.dll"
+ Delete "$INSTDIR\mingwm10.dll"
+ Delete "$INSTDIR\zlib1.dll"
+ Delete "$INSTDIR\Qt*.dll"
+ Delete "$INSTDIR\smplayer.exe"
+ Delete "$INSTDIR\smtube.exe"
+ Delete "$INSTDIR\dxlist.exe"
+
+ ;Delete registry keys
+ SetDetailsPrint textonly
+ DetailPrint $(Info_Del_Registry)
+ SetDetailsPrint listonly
+
+ DeleteRegKey HKLM "${SMPLAYER_REG_KEY}"
+ DeleteRegKey HKLM "${SMPLAYER_APP_PATHS_KEY}"
+ DeleteRegKey HKLM "${SMPLAYER_DEF_PROGS_KEY}"
+ DeleteRegKey HKLM "${SMPLAYER_UNINST_KEY}"
+ DeleteRegKey HKCR "MPlayerFileVideo"
+ DeleteRegValue HKLM "Software\RegisteredApplications" "SMPlayer"
+
+ SetDetailsPrint both
+!macroend
+
+;--------------------------------
+;Shared functions
+
+!macro RunCheckMacro UN
+Function ${UN}RunCheck
+
+ retry_runcheck:
+ FindProcDLL::FindProc "smplayer.exe"
+ IntCmp $R0 1 0 +3
+ MessageBox MB_RETRYCANCEL|MB_ICONEXCLAMATION $(SMPlayer_Is_Running) /SD IDCANCEL IDRETRY retry_runcheck
+ Abort
+
+FunctionEnd
+!macroend
+!insertmacro RunCheckMacro ""
+!insertmacro RunCheckMacro "un."
+
+;--------------------------------
+;Installer functions
+
+Function .onInit
+
+ ${Unless} ${AtLeastWinXP}
+ MessageBox MB_YESNO|MB_ICONSTOP $(OS_Not_Supported) /SD IDNO IDYES installonoldwindows
+ Abort
+ installonoldwindows:
+ ${EndIf}
+
+!ifdef WIN64
+ ${IfNot} ${RunningX64}
+ MessageBox MB_OK|MB_ICONSTOP $(Win64_Required)
+ Abort
+ ${EndIf}
+
+ SetRegView 32
+ ClearErrors
+ ReadRegStr $R0 HKLM "${SMPLAYER_UNINST_KEY}" "UninstallString"
+
+ IfErrors +3 0
+ MessageBox MB_OK|MB_ICONSTOP $(Existing_32bitInst)
+ Abort
+
+ SetRegView 64
+!else
+ ${If} ${RunningX64}
+ SetRegView 64
+ ClearErrors
+ ReadRegStr $R0 HKLM "${SMPLAYER_UNINST_KEY}" "UninstallString"
+
+ IfErrors +3 0
+ MessageBox MB_OK|MB_ICONSTOP $(Existing_64bitInst)
+ Abort
+
+ SetRegView 32
+ ${EndIf}
+!endif
+
+ ;Check if setup is already running
+ System::Call 'kernel32::CreateMutexW(i 0, i 0, t "SMPlayerSetup") i .r1 ?e'
+ Pop $R0
+
+ StrCmp $R0 0 +3
+ MessageBox MB_OK|MB_ICONEXCLAMATION $(Installer_Is_Running)
+ Abort
+
+ ;Check if SMPlayer is running
+ ;Allow skipping check using /NORUNCHECK
+ ${GetParameters} $R0
+ ${GetOptions} $R0 "/NORUNCHECK" $R1
+ IfErrors 0 +2
+ Call RunCheck
+
+ ;Check for admin on < Vista
+ UserInfo::GetAccountType
+ Pop $R0
+ ${If} $R0 != "admin"
+ MessageBox MB_OK|MB_ICONSTOP $(Installer_No_Admin)
+ Abort
+ ${EndIf}
+
+ Call LoadPreviousSettings
+
+ ;Setup language selection
+ !insertmacro MUI_LANGDLL_DISPLAY
+
+ Call CheckPreviousVersion
+
+ SetShellVarContext all
+
+FunctionEnd
+
+Function .onInstSuccess
+
+ ${MementoSectionSave}
+
+FunctionEnd
+
+Function .onInstFailed
+
+ SetDetailsPrint textonly
+ DetailPrint $(Info_RollBack)
+ SetDetailsPrint listonly
+
+ !insertmacro MacroRemoveSMPlayer
+
+ Delete "$INSTDIR\${SMPLAYER_UNINST_EXE}"
+ RMDir "$INSTDIR"
+
+FunctionEnd
+
+Function CheckPreviousVersion
+
+ ClearErrors
+ ReadRegStr $Previous_Version HKLM "${SMPLAYER_REG_KEY}" "Version"
+ ReadRegStr $SMPlayer_UnStrPath HKLM "${SMPLAYER_UNINST_KEY}" "UninstallString"
+ ReadRegStr $SMPlayer_Path HKLM "${SMPLAYER_REG_KEY}" "Path"
+
+ ${IfNot} ${Errors}
+ StrCpy $Reinstall_Uninstall 1
+ ${EndIf}
+
+ /* $Previous_Version_State Assignments:
+ $Previous_Version_State=0 This installer is the same version as the installed copy
+ $Previous_Version_State=1 A newer version than this installer is already installed
+ $Previous_Version_State=2 An older version than this installer is already installed */
+ ${VersionCompare} $Previous_Version ${SMPLAYER_VERSION} $Previous_Version_State
+
+ ${If} $Previous_Version_State == 0
+ StrCpy $Inst_Type $(Type_Reinstall)
+ ${ElseIf} $Previous_Version_State == 1
+ StrCpy $Inst_Type $(Type_Downgrade)
+ ${ElseIf} $Previous_Version_State == 2
+ StrCpy $Inst_Type $(Type_Upgrade)
+ ${EndIf}
+
+FunctionEnd
+
+Function LoadPreviousSettings
+
+ ;MPlayer codecs section doesn't use Memento so we need to restore it manually
+ ReadRegDWORD $R0 HKLM "${SMPLAYER_REG_KEY}" "Installed_Codecs"
+ ${If} $R0 == 1
+ !insertmacro SelectSection ${SecCodecs}
+ ${EndIf}
+
+ ;Gets start menu folder name
+ !insertmacro MUI_STARTMENU_GETFOLDER "SMP_SMenu" $SMPlayer_StartMenuFolder
+
+ ${MementoSectionRestore}
+
+FunctionEnd
+
+Function PageReinstall
+
+ ${If} $Reinstall_Uninstall != 1
+ Abort
+ ${EndIf}
+
+ nsDialogs::Create /NOUNLOAD 1018
+ Pop $Dialog_Reinstall
+
+ nsDialogs::SetRTL $(^RTL)
+
+ !insertmacro MUI_HEADER_TEXT $(Reinstall_Header_Text) $(Reinstall_Header_SubText)
+
+ ${NSD_CreateLabel} 0 0 225u 8u $(Reinstall_Msg1)
+
+ ${NSD_CreateText} 10u 15u 290u 14u "$SMPlayer_Path"
+ Pop $R0
+
+ ${NSD_CreateLabel} 0 40u 100u 8u $(Reinstall_Msg2)
+
+ ${NSD_CreateRadioButton} 10u 58u 200u 8u $(Reinstall_Overwrite)
+ Pop $Reinstall_OverwriteButton
+ ${NSD_CreateRadioButton} 10u 73u 200u 8u $(Reinstall_Uninstall)
+ Pop $Reinstall_UninstallButton
+
+ ${NSD_CreateCheckBox} 0 90u 100% 8u $(Reinstall_Msg4)
+ Pop $Reinstall_ChgSettings
+
+ ${NSD_CreateLabel} 0 115u 100% 16u
+ Pop $Reinstall_Message
+
+ SendMessage $Reinstall_OverwriteButton ${BM_SETCHECK} 1 0
+ EnableWindow $R0 0
+
+ ${If} $Reinstall_ChgSettings_State == 1
+ SendMessage $Reinstall_ChgSettings ${BM_SETCHECK} 1 0
+ ${Endif}
+
+ ${NSD_OnClick} $Reinstall_OverwriteButton PageReinstallUpdate
+ ${NSD_OnClick} $Reinstall_UninstallButton PageReinstallUpdate
+ ${NSD_OnClick} $Reinstall_ChgSettings PageReinstallUpdate
+
+ Call PageReinstallUpdate
+
+ nsDialogs::Show
+
+FunctionEnd
+
+Function PageReinstallLeave
+
+ ${NSD_GetState} $Reinstall_OverwriteButton $Reinstall_OverwriteButton_State
+ ${NSD_GetState} $Reinstall_UninstallButton $Reinstall_UninstallButton_State
+ ${NSD_GetState} $Reinstall_ChgSettings $Reinstall_ChgSettings_State
+
+FunctionEnd
+
+Function PageReinstallUpdate
+
+ ${NSD_GetState} $Reinstall_OverwriteButton $Reinstall_OverwriteButton_State
+ ${NSD_GetState} $Reinstall_UninstallButton $Reinstall_UninstallButton_State
+ ${NSD_GetState} $Reinstall_ChgSettings $Reinstall_ChgSettings_State
+
+ ${If} $Reinstall_OverwriteButton_State == 1
+
+ EnableWindow $Reinstall_ChgSettings 1
+
+ GetDlgItem $R0 $HWNDPARENT 1
+ ${If} $Reinstall_ChgSettings_State != 1
+ SendMessage $R0 ${WM_SETTEXT} 0 "STR:$(StartBtn)"
+ ${NSD_SetText} $Reinstall_Message $(Reinstall_Msg3_1)
+ ${ElseIf} $Reinstall_ChgSettings_State == 1
+ SendMessage $R0 ${WM_SETTEXT} 0 "STR:$(^NextBtn)"
+ ${NSD_SetText} $Reinstall_Message $(Reinstall_Msg3_2)
+ ${EndIf}
+
+ ${ElseIf} $Reinstall_UninstallButton_State == 1
+
+ EnableWindow $Reinstall_ChgSettings 0
+ ${NSD_SetState} $Reinstall_ChgSettings 0
+
+ GetDlgItem $R0 $HWNDPARENT 1
+ SendMessage $R0 ${WM_SETTEXT} 0 "STR:$(^UninstallBtn)"
+
+ ${NSD_SetText} $Reinstall_Message $(Reinstall_Msg3_3)
+
+ ${EndIf}
+
+FunctionEnd
+
+Function PageComponentsPre
+
+ ${If} $Reinstall_Uninstall == 1
+ ${AndIf} $Reinstall_ChgSettings_State != 1
+ Abort
+ ${EndIf}
+
+FunctionEnd
+
+Function PageDirectoryPre
+
+ ${If} $Reinstall_Uninstall == 1
+ ${AndIf} $Reinstall_ChgSettings_State != 1
+ Abort
+ ${EndIf}
+
+FunctionEnd
+
+Function PageStartMenuPre
+
+ ${If} $Reinstall_Uninstall == 1
+ ${AndIf} $Reinstall_ChgSettings_State != 1
+ Abort
+ ${EndIf}
+
+ ${IfNot} ${SectionIsSelected} ${SecStartMenuShortcut}
+ Abort
+ ${EndIf}
+
+FunctionEnd
+
+Function RegisterDefaultPrograms
+
+ WriteRegStr HKCR "MPlayerFileVideo\DefaultIcon" "" '"$INSTDIR\smplayer.exe",1'
+ WriteRegStr HKCR "MPlayerFileVideo\shell\enqueue" "" "Enqueue in SMPlayer"
+ WriteRegStr HKCR "MPlayerFileVideo\shell\enqueue\command" "" '"$INSTDIR\smplayer.exe" -add-to-playlist "%1"'
+ WriteRegStr HKCR "MPlayerFileVideo\shell\open" "FriendlyAppName" "SMPlayer Media Player"
+ WriteRegStr HKCR "MPlayerFileVideo\shell\open\command" "" '"$INSTDIR\smplayer.exe" "%1"'
+
+ ;Modify the list of extensions added in the MacroAllExtensions macro
+ WriteRegStr HKLM "${SMPLAYER_DEF_PROGS_KEY}" "" "SMPlayer"
+ WriteRegStr HKLM "${SMPLAYER_DEF_PROGS_KEY}\Capabilities" "ApplicationDescription" $(Application_Description)
+ WriteRegStr HKLM "${SMPLAYER_DEF_PROGS_KEY}\Capabilities" "ApplicationName" "SMPlayer"
+ WriteRegStr HKLM "Software\RegisteredApplications" "SMPlayer" "${SMPLAYER_DEF_PROGS_KEY}\Capabilities"
+ !insertmacro MacroAllExtensions WriteRegStrSupportedTypes
+
+FunctionEnd
+
+/*************************************** Uninstaller *******************************************/
+
+Section Uninstall
+
+ ;Make sure SMPlayer is installed from where the uninstaller is being executed.
+ IfFileExists $INSTDIR\smplayer.exe smplayer_installed
+ MessageBox MB_YESNO $(Uninstaller_NotInstalled) /SD IDNO IDYES smplayer_installed
+ Abort $(Uninstaller_Aborted)
+
+ smplayer_installed:
+
+ SetDetailsPrint textonly
+ DetailPrint $(Info_Rest_Assoc)
+ SetDetailsPrint listonly
+
+ ;Don't restore file associations if reinstalling
+ ${un.GetParameters} $R0
+ ${un.GetOptionsS} $R0 "/R" $R1
+
+ IfErrors 0 +2
+ ExecWait '"$INSTDIR\smplayer.exe" -uninstall'
+
+ !insertmacro MacroRemoveSMPlayer
+
+ Delete "$INSTDIR\${SMPLAYER_UNINST_EXE}"
+ RMDir "$INSTDIR"
+
+SectionEnd
+
+;--------------------------------
+;Required functions
+
+!insertmacro un.GetParameters
+!insertmacro un.GetOptions
+
+;--------------------------------
+;Uninstaller functions
+
+Function un.onInit
+
+!ifdef WIN64
+ ${IfNot} ${RunningX64}
+ MessageBox MB_OK|MB_ICONSTOP $(Uninstaller_64bitOnly)
+ Abort
+ ${EndIf}
+
+ SetRegView 64
+!endif
+
+ ;Check for admin on < Vista
+ UserInfo::GetAccountType
+ Pop $R0
+ ${If} $R0 != "admin"
+ MessageBox MB_OK|MB_ICONSTOP $(Uninstaller_No_Admin)
+ Abort
+ ${EndIf}
+
+ ;Check if SMPlayer is running
+ ;Allow skipping check using /NORUNCHECK
+ ${un.GetParameters} $R0
+ ${un.GetOptions} $R0 "/NORUNCHECK" $R1
+ IfErrors 0 +2
+ Call un.RunCheck
+
+ ;Gets start menu folder name
+ !insertmacro MUI_STARTMENU_GETFOLDER "SMP_SMenu" $SMPlayer_StartMenuFolder
+
+ ;Get the stored language preference
+ !insertmacro MUI_UNGETLANGUAGE
+
+FunctionEnd
+
+Function un.ConfirmPagePre
+
+ ${un.GetParameters} $R0
+
+ ${un.GetOptionsS} $R0 "/X" $R1
+ ${Unless} ${Errors}
+ Abort
+ ${EndUnless}
+
+FunctionEnd \ No newline at end of file
diff --git a/setup/license.txt b/setup/license.txt
new file mode 100644
index 0000000..e508e12
--- /dev/null
+++ b/setup/license.txt
@@ -0,0 +1,354 @@
+A. SMPlayer License
+B. Youtube Terms of Services
+
+====================================================
+
+A. SMPlayer License
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
+
+====================================================
+
+B. Youtube Terms of Services
+
+By using SMPlayer you hereby agree to be bound by Google Terms of Services located
+at http://www.google.com/accounts/TOS
+
diff --git a/setup/sample.avi b/setup/sample.avi
new file mode 100644
index 0000000..d3e8f43
--- /dev/null
+++ b/setup/sample.avi
Binary files differ
diff --git a/setup/scripts/install_smplayer.cmd b/setup/scripts/install_smplayer.cmd
index 906c3c7..59427b0 100644
--- a/setup/scripts/install_smplayer.cmd
+++ b/setup/scripts/install_smplayer.cmd
@@ -13,6 +13,7 @@ set OUTPUT_DIR=smplayer-build
set SMPLAYER_DIR=svn\smplayer
set SMTUBE_DIR=svn\smtube
set SMPLAYER_THEMES_DIR=svn\smplayer-themes
+set SMPLAYER_SKINS_DIR=svn\smplayer-skins
set MPLAYER_DIR=mplayer
set QT_DIR=C:\QtSDK\Desktop\Qt\%QTVER%\mingw
@@ -23,7 +24,8 @@ echo.
mkdir %OUTPUT_DIR%
copy %SMPLAYER_DIR%\src\release\smplayer.exe %OUTPUT_DIR%
copy %SMPLAYER_DIR%\dxlist\release\dxlist.exe %OUTPUT_DIR%
-copy %SMPLAYER_DIR%\zlib-1.2.6\zlib1.dll %OUTPUT_DIR%
+copy %SMPLAYER_DIR%\zlib\zlib1.dll %OUTPUT_DIR%
+copy %SMPLAYER_DIR%\setup\sample.avi %OUTPUT_DIR%
copy %SMPLAYER_DIR%\*.txt %OUTPUT_DIR%
copy %QT_DIR%\bin\QtCore4.dll %OUTPUT_DIR%
copy %QT_DIR%\bin\QtGui4.dll %OUTPUT_DIR%
@@ -67,6 +69,11 @@ echo.
svn export --force %SMPLAYER_THEMES_DIR%\themes %OUTPUT_DIR%\themes
echo.
+echo ###### Skins Themes #######
+echo.
+svn export --force %SMPLAYER_SKINS_DIR%\themes %OUTPUT_DIR%\themes
+
+echo.
echo ###### MPlayer #######
echo.
xcopy %MPLAYER_DIR% %OUTPUT_DIR%\mplayer\ /E
diff --git a/setup/scripts/make_pkgs.cmd b/setup/scripts/make_pkgs.cmd
index c0816a3..4aef44b 100644
--- a/setup/scripts/make_pkgs.cmd
+++ b/setup/scripts/make_pkgs.cmd
@@ -4,120 +4,191 @@ echo.
echo Note: It will temporarily rename the smplayer-build or mplayer directory.
echo Be sure to have a compiled portable smplayer.exe, renamed as
echo `smplayer-portable.exe` in the same directory as this script or an
-echo alternate location you specify in this script.
+echo alternate location you specify in this script when creating the portable
+echo packages.
echo.
echo Configure your build environment at the beginning of this script.
echo.
echo 7zip command-line (http://7zip.org) is required by this script.
echo.
-echo * Release Packages
-echo.
-echo 1 - Portable SMPlayer Package
-echo 2 - SMPlayer Package w/o MPlayer
-echo 3 - MPlayer Package
-echo.
-echo * Update Packages
-echo.
-echo 4 - SMPlayer SVN Update Package
-echo 5 - Qt DLL Package
+echo 1 - NSIS SMPlayer Packages
+echo 2 - Portable SMPlayer Package
+echo 3 - SMPlayer Package w/o MPlayer
+echo 4 - MPlayer Package
echo.
+:: Relative directory of all the source files to this script
set TOP_LEVEL_DIR=..
+:: Reset in case ran again in same command prompt instance
+set SMPLAYER_VER=
+
+:: NSIS path
+set NSIS_PATH="C:\Program Files (x86)\NSIS\Unicode"
+
set SMPLAYER_DIR=%TOP_LEVEL_DIR%\smplayer-build
set MPLAYER_DIR=%TOP_LEVEL_DIR%\mplayer
set OUTPUT_DIR=%TOP_LEVEL_DIR%\output
set PORTABLE_EXE_DIR=%TOP_LEVEL_DIR%\portable
-set QT_DIR=E:\Buildsys\Qt\%QTVER%
:reask
set /P USER_CHOICE="Choose an action: "
echo.
-if "%USER_CHOICE%" == "1" goto portable
-if "%USER_CHOICE%" == "2" goto nomplayer
-if "%USER_CHOICE%" == "3" goto mplayer
-if "%USER_CHOICE%" == "4" goto svn_updpkg
-if "%USER_CHOICE%" == "5" goto qtdlls
-if "%USER_CHOICE%" == "" goto end
+if "%USER_CHOICE%" == "1" (
+ goto nsispkg
+
+) else if "%USER_CHOICE%" == "2" (
+ goto portable
+
+) else if "%USER_CHOICE%" == "3" (
+ goto nomplayer
+
+) else if "%USER_CHOICE%" == "4" (
+ goto mplayer
+
+) else (
+ goto reask
+)
+
+:nsispkg
+
+echo --- Creating SMPlayer NSIS Packages ---
+echo.
+echo Format: VER_MAJOR.VER_MINOR.VER_BUILD.VER_REVISION
+echo Example: 0.8.1.0
+echo.
+echo Note: VER_REVISION must be defined as '0' if not used
+echo.
+
+:: Reset in case ran again in same command prompt instance
+set VER_MAJOR=
+set VER_MINOR=
+set VER_BUILD=
+set VER_REVISION=
+
+set /P VER_MAJOR="VER_MAJOR: "
+set /P VER_MINOR="VER_MINOR: "
+set /P VER_BUILD="VER_BUILD: "
+set /P VER_REVISION="VER_REVISION: "
+
+echo.
+
+if %VER_REVISION% neq 0 (
+
+%NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% /DVER_REVISION=%VER_REVISION% %TOP_LEVEL_DIR%\smplayer.nsi
+rem %NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% /DVER_REVISION=%VER_REVISION% /DWIN64 %TOP_LEVEL_DIR%\smplayer.nsi
+rem %NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% /DVER_REVISION=%VER_REVISION% /DWIN64 %TOP_LEVEL_DIR%\smplayer.full.nsi
+
+) else (
+
+%NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% %TOP_LEVEL_DIR%\smplayer.nsi
+rem %NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% /DWIN64 %TOP_LEVEL_DIR%\smplayer.nsi
+rem %NSIS_PATH%\makensis.exe /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% /DWIN64 %TOP_LEVEL_DIR%\smplayer.full.nsi
+
+)
+
+echo.
+
+goto end
:portable
echo --- Creating SMPlayer Portable Package ---
echo.
set /P SMPLAYER_VER="SMPlayer Version: "
-if "%SMPLAYER_VER%"=="" exit
+if "%SMPLAYER_VER%"=="" goto end
echo.
+:: Check for portable exes
+if not exist %PORTABLE_EXE_DIR%\smplayer-portable.exe (
+ echo SMPlayer portable EXE not found!
+ goto end
+)
+
+if not exist %PORTABLE_EXE_DIR%\smtube-portable.exe (
+ echo SMTube portable EXE not found!
+ goto end
+)
+
ren %SMPLAYER_DIR% smplayer-portable-%SMPLAYER_VER%
-set SMPLAYER_DIR=%TOP_LEVEL_DIR%\smplayer-portable-%SMPLAYER_VER%
+set SMPLAYER_PORTABLE_DIR=%TOP_LEVEL_DIR%\smplayer-portable-%SMPLAYER_VER%
+
+if not exist %TOP_LEVEL_DIR%\smplayer-portable-%SMPLAYER_VER% (
+ echo Oops! Unable to find renamed directory, make sure no files are opened.
+ goto end
+)
echo.
echo ###### Backing up files #######
echo.
-ren %SMPLAYER_DIR%\smplayer.exe smplayer.bak
-ren %SMPLAYER_DIR%\mplayer\mplayer\config config.bak
+ren %SMPLAYER_PORTABLE_DIR%\smplayer.exe smplayer.bak
+ren %SMPLAYER_PORTABLE_DIR%\smtube.exe smtube.bak
+ren %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config config.bak
echo.
echo ###### Create screenshots dir. #######
echo.
-mkdir %SMPLAYER_DIR%\screenshots
+mkdir %SMPLAYER_PORTABLE_DIR%\screenshots
echo.
echo ###### Create smplayer.ini #######
echo.
-echo [%%General]>> %SMPLAYER_DIR%\smplayer.ini
-echo screenshot_directory=.\\screenshots>> %SMPLAYER_DIR%\smplayer.ini
-echo.>> %SMPLAYER_DIR%\smplayer.ini
-echo [advanced]>> %SMPLAYER_DIR%\smplayer.ini
-echo mplayer_additional_options=-nofontconfig>> %SMPLAYER_DIR%\smplayer.ini
+echo [%%General]>> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+echo screenshot_directory=.\\screenshots>> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+echo.>> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+echo [advanced]>> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+echo mplayer_additional_options=-nofontconfig>> %SMPLAYER_PORTABLE_DIR%\smplayer.ini
echo.
echo ###### Create smplayer_orig.ini #######
echo.
-echo [%%General]>> %SMPLAYER_DIR%\smplayer_orig.ini
-echo screenshot_directory=.\\screenshots>> %SMPLAYER_DIR%\smplayer_orig.ini
-echo.>> %SMPLAYER_DIR%\smplayer_orig.ini
-echo [advanced]>> %SMPLAYER_DIR%\smplayer_orig.ini
-echo mplayer_additional_options=-nofontconfig>> %SMPLAYER_DIR%\smplayer_orig.ini
+echo [%%General]>> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+echo screenshot_directory=.\\screenshots>> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+echo.>> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+echo [advanced]>> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+echo mplayer_additional_options=-nofontconfig>> %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
echo.
echo ###### Create mplayer config #######
echo.
-echo ## MPlayer Windows configuration>> %SMPLAYER_DIR%\mplayer\mplayer\config
-echo.>> %SMPLAYER_DIR%\mplayer\mplayer\config
-echo subfont=c:\windows\fonts\arial.ttf>> %SMPLAYER_DIR%\mplayer\mplayer\config
-echo ^<cachedir^>../fontconfig^</cachedir^>> %SMPLAYER_DIR%\mplayer\fonts\local.conf
+echo ## MPlayer Windows configuration>> %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config
+echo.>> %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config
+echo subfont=c:\windows\fonts\arial.ttf>> %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config
+echo ^<cachedir^>../fontconfig^</cachedir^>> %SMPLAYER_PORTABLE_DIR%\mplayer\fonts\local.conf
echo.
echo ###### Copying portable .exe #######
echo.
-copy /y %PORTABLE_EXE_DIR%\smplayer-portable.exe %SMPLAYER_DIR%\smplayer.exe
+copy /y %PORTABLE_EXE_DIR%\smplayer-portable.exe %SMPLAYER_PORTABLE_DIR%\smplayer.exe
+copy /y %PORTABLE_EXE_DIR%\smtube-portable.exe %SMPLAYER_PORTABLE_DIR%\smtube.exe
echo.
echo ###### Creating portable package #######
echo.
-7za a -t7z %OUTPUT_DIR%\smplayer-portable-%SMPLAYER_VER%.7z %SMPLAYER_DIR% -xr!*.bak -xr!qxtcore.dll -mx9
+7za a -t7z %OUTPUT_DIR%\smplayer-portable-%SMPLAYER_VER%.7z %SMPLAYER_PORTABLE_DIR% -xr!*.bak -xr!qxtcore.dll -mx9
echo.
echo Restoring source folder(s) back to its original state...
echo.
-rmdir %SMPLAYER_DIR%\screenshots
-del %SMPLAYER_DIR%\smplayer.ini
-del %SMPLAYER_DIR%\smplayer_orig.ini
-del %SMPLAYER_DIR%\smplayer.exe
-del %SMPLAYER_DIR%\mplayer\mplayer\config
-del %SMPLAYER_DIR%\mplayer\fonts\local.conf
-ren %SMPLAYER_DIR%\smplayer.bak smplayer.exe
-ren %SMPLAYER_DIR%\mplayer\mplayer\config.bak config
-ren %SMPLAYER_DIR% smplayer-build
+rmdir %SMPLAYER_PORTABLE_DIR%\screenshots
+del %SMPLAYER_PORTABLE_DIR%\smplayer.ini
+del %SMPLAYER_PORTABLE_DIR%\smplayer_orig.ini
+del %SMPLAYER_PORTABLE_DIR%\smplayer.exe
+del %SMPLAYER_PORTABLE_DIR%\smtube.exe
+del %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config
+del %SMPLAYER_PORTABLE_DIR%\mplayer\fonts\local.conf
+ren %SMPLAYER_PORTABLE_DIR%\smplayer.bak smplayer.exe
+ren %SMPLAYER_PORTABLE_DIR%\smtube.bak smtube.exe
+ren %SMPLAYER_PORTABLE_DIR%\mplayer\mplayer\config.bak config
+ren %SMPLAYER_PORTABLE_DIR% smplayer-build
goto end
@@ -126,7 +197,7 @@ echo --- Creating SMPlayer w/o MPlayer Package ---
echo.
set /P SMPLAYER_VER="SMPlayer Version: "
-if "%SMPLAYER_VER%"=="" exit
+if "%SMPLAYER_VER%"=="" goto end
echo.
ren %SMPLAYER_DIR% smplayer-%SMPLAYER_VER%
@@ -151,7 +222,7 @@ set /P MP_REV="MPlayer Revision: "
ren %MPLAYER_DIR% mplayer-svn-%MP_REV%
set MPLAYER_DIR=%TOP_LEVEL_DIR%\mplayer-svn-%MP_REV%
-7za a -t7z %OUTPUT_DIR%\mplayer-svn-%MP_REV%.7z %MPLAYER_DIR% -mx9
+7za a -t7z %OUTPUT_DIR%\mplayer-svn-%MP_REV%.7z %MPLAYER_DIR% -xr!mencoder.exe -mx9
ren %MPLAYER_DIR% mplayer
set MPLAYER_DIR=%TOP_LEVEL_DIR%\mplayer
@@ -161,34 +232,6 @@ echo Restoring source folder(s) back to its original state...
goto end
-:svn_updpkg
-echo.
-echo --- Creating SVN Update Package ---
-echo.
-
-set /P SMPLAYER_SVN="SMPlayer SVN Revision: "
-if "%SMPLAYER_SVN%"=="" exit
-
-7za a -t7z %OUTPUT_DIR%\smplayer_update_svn_r%SMPLAYER_SVN%.7z %SMPLAYER_DIR%\smplayer.exe %SMPLAYER_DIR%\translations -mx9
-
-goto end
-
-:qtdlls
-
-set /P QTVER="Qt Version: "
-if "%QTVER%"=="" exit
-
-echo.
-echo --- Creating Qt DLL Package ---
-echo.
-
-mkdir imageformats
-copy %QT_DIR%\%QTVER%\plugins\imageformats\qjpeg4.dll imageformats
-7za a -t7z %OUTPUT_DIR%\qt_%QTVER%_dlls.7z %QT_DIR%\%QTVER%\bin\libgcc_s_dw2-1.dll %QT_DIR%\%QTVER%\bin\mingwm10.dll %QT_DIR%\%QTVER%\bin\QtCore4.dll %QT_DIR%\%QTVER%\bin\QtGui4.dll %QT_DIR%\%QTVER%\bin\QtNetwork4.dll %QT_DIR%\%QTVER%\bin\QtXml4.dll imageformats -mx9
-rd /s /q imageformats
-
-goto end
-
:end
pause
diff --git a/setup/smplayer.nsi b/setup/smplayer.nsi
index 2b91935..a540201 100644
--- a/setup/smplayer.nsi
+++ b/setup/smplayer.nsi
@@ -1,6 +1,6 @@
-; Installer script for win32 SMPlayer
-; Written by redxii (redxii@users.sourceforge.net)
-; Tested/Developed with Unicode NSIS 2.46.4
+;Installer script for win32/win64 SMPlayer
+;Written by redxii (redxii@users.sourceforge.net)
+;Tested/Developed with Unicode NSIS 2.46.5
!ifndef VER_MAJOR | VER_MINOR | VER_BUILD
!error "Version information not defined (or incomplete). You must define: VER_MAJOR, VER_MINOR, VER_BUILD."
@@ -49,14 +49,6 @@
!define DEFAULT_CODECS_VERSION "windows-essential-20071007"
!endif
-!ifndef WITH_MPLAYER
-
- !ifndef DEFAULT_MPLAYER_VERSION
- !define DEFAULT_MPLAYER_VERSION "mplayer-svn-33216"
- !endif
-
-!endif
-
;Version control
!ifndef VERSION_FILE_URL
!define VERSION_FILE_URL "http://smplayer.sourceforge.net/mplayer-version-info"
@@ -69,19 +61,9 @@
Name "SMPlayer ${SMPLAYER_VERSION}"
BrandingText "SMPlayer for Windows v${SMPLAYER_VERSION}"
!ifdef WIN64
- !ifdef WITH_MPLAYER
- OutFile "smplayer-${SMPLAYER_VERSION}-x64.exe"
- !else ifndef WITH_MPLAYER
- OutFile "smplayer-${SMPLAYER_VERSION}-dl-x64.exe"
- !endif
+ OutFile "output\smplayer-${SMPLAYER_VERSION}-x64.exe"
!else
- !ifdef WITH_MPLAYER
- ;OutFile "smplayer-${SMPLAYER_VERSION}-x86.exe"
- OutFile "smplayer-${SMPLAYER_VERSION}-win32.exe"
- !else ifndef WITH_MPLAYER
- ;OutFile "smplayer-${SMPLAYER_VERSION}-dl-x86.exe"
- OutFile "smplayer-${SMPLAYER_VERSION}-webdl.exe"
- !endif
+ OutFile "output\smplayer-${SMPLAYER_VERSION}-win32.exe"
!endif
;Version tab properties
@@ -91,19 +73,9 @@
VIAddVersionKey "FileVersion" "${SMPLAYER_VERSION}"
VIAddVersionKey "LegalCopyright" ""
!ifdef WIN64
- !ifdef WITH_MPLAYER
- VIAddVersionKey "FileDescription" "SMPlayer Installer x64 (Offline)"
- !else ifndef WITH_MPLAYER
- VIAddVersionKey "FileDescription" "SMPlayer Installer x64 (Web Downloader)"
- !endif
+ VIAddVersionKey "FileDescription" "SMPlayer Installer (64-bit)"
!else
- !ifdef WITH_MPLAYER
- ;VIAddVersionKey "FileDescription" "SMPlayer Installer x86 (Offline)"
- VIAddVersionKey "FileDescription" "SMPlayer Installer (Offline)"
- !else ifndef WITH_MPLAYER
- ;VIAddVersionKey "FileDescription" "SMPlayer Installer x86 (Web Downloader)"
- VIAddVersionKey "FileDescription" "SMPlayer Installer (Web Downloader)"
- !endif
+ VIAddVersionKey "FileDescription" "SMPlayer Installer (32-bit)"
!endif
;Default installation folder
@@ -125,7 +97,6 @@
;--------------------------------
;Variables
- Var Codec_Version
Var Dialog_Reinstall
Var Inst_Type
Var Previous_Version
@@ -139,6 +110,7 @@
Var Reinstall_UninstallButton
Var Reinstall_UninstallButton_State
Var SMPlayer_Path
+ Var SMPlayer_UnStrPath
Var SMPlayer_StartMenuFolder
;--------------------------------
@@ -148,18 +120,22 @@
!define MUI_ICON "smplayer-orange-installer.ico"
!define MUI_UNICON "smplayer-orange-uninstaller.ico"
- ; Misc
+ ;Misc
!define MUI_WELCOMEFINISHPAGE_BITMAP "smplayer-orange-wizard.bmp"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "smplayer-orange-wizard-un.bmp"
!define MUI_ABORTWARNING
- ; License page
+ ;Welcome page
+ !define MUI_WELCOMEPAGE_TITLE $(WelcomePage_Title)
+ !define MUI_WELCOMEPAGE_TEXT $(WelcomePage_Text)
+
+ ;License page
!define MUI_LICENSEPAGE_RADIOBUTTONS
- ; Components page
+ ;Components page
!define MUI_COMPONENTSPAGE_SMALLDESC
- ; Finish page
+ ;Finish page
!define MUI_FINISHPAGE_LINK "http://smplayer.sourceforge.net"
!define MUI_FINISHPAGE_LINK_LOCATION "http://smplayer.sourceforge.net"
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
@@ -200,8 +176,11 @@
;Pages
;Install pages
+ #Welcome
!insertmacro MUI_PAGE_WELCOME
- !insertmacro MUI_PAGE_LICENSE "${SMPLAYER_BUILD_DIR}\Copying.txt"
+
+ #License
+ !insertmacro MUI_PAGE_LICENSE "license.txt"
#Upgrade/Reinstall
Page custom PageReinstall PageReinstallLeave
@@ -225,7 +204,6 @@
!define MUI_PAGE_CUSTOMFUNCTION_PRE un.ConfirmPagePre
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
- !define MUI_PAGE_CUSTOMFUNCTION_PRE un.FinishPagePre
!insertmacro MUI_UNPAGE_FINISH
;--------------------------------
@@ -256,7 +234,7 @@
!insertmacro MUI_LANGUAGE "Spanish"
!insertmacro MUI_LANGUAGE "TradChinese"
-; Custom translations for setup
+;Custom translations for setup
!insertmacro LANGFILE_INCLUDE "translations\english.nsh"
!insertmacro LANGFILE_INCLUDE "translations\basque.nsh"
@@ -306,13 +284,13 @@ Section $(Section_SMPlayer) SecSMPlayer
${If} $Reinstall_Uninstall == 1
${If} $Reinstall_UninstallButton_State == 1
- Exec '"$SMPlayer_Path\uninst.exe" /X'
+ Exec '"$SMPlayer_UnStrPath" /X'
Quit
${ElseIf} $Reinstall_OverwriteButton_State == 1
${If} "$INSTDIR" == "$SMPlayer_Path"
- ExecWait '"$SMPlayer_Path\uninst.exe" /S /R _?=$SMPlayer_Path'
+ ExecWait '"$SMPlayer_UnStrPath" /S /R _?=$SMPlayer_Path'
${Else}
- ExecWait '"$SMPlayer_Path\uninst.exe" /S /R'
+ ExecWait '"$SMPlayer_UnStrPath" /S /R'
${EndIf}
${EndIf}
@@ -353,7 +331,7 @@ SectionEnd
;Shortcuts
SectionGroup $(ShortcutGroupTitle)
- ${MementoUnselectedSection} $(Section_DesktopShortcut) SecDesktopShortcut
+ ${MementoSection} $(Section_DesktopShortcut) SecDesktopShortcut
SetOutPath "$INSTDIR"
CreateShortCut "$DESKTOP\SMPlayer.lnk" "$INSTDIR\smplayer.exe"
@@ -367,7 +345,7 @@ SectionGroup $(ShortcutGroupTitle)
CreateDirectory "$SMPROGRAMS\$SMPlayer_StartMenuFolder"
CreateShortCut "$SMPROGRAMS\$SMPlayer_StartMenuFolder\SMPlayer.lnk" "$INSTDIR\smplayer.exe"
CreateShortCut "$SMPROGRAMS\$SMPlayer_StartMenuFolder\SMTube.lnk" "$INSTDIR\smtube.exe"
- WriteINIStr "$SMPROGRAMS\$SMPlayer_StartMenuFolder\SMPlayer on the Web.url" "InternetShortcut" "URL" "http://smplayer.sf.net"
+ WriteINIStr "$SMPROGRAMS\$SMPlayer_StartMenuFolder\SMPlayer on the Web.url" "InternetShortcut" "URL" "http://smplayer.sourceforge.net"
CreateShortCut "$SMPROGRAMS\$SMPlayer_StartMenuFolder\Uninstall SMPlayer.lnk" "$INSTDIR\${SMPLAYER_UNINST_EXE}"
!insertmacro MUI_STARTMENU_WRITE_END
@@ -383,63 +361,19 @@ SectionGroup $(MPlayerGroupTitle)
SectionIn RO
-!ifdef WITH_MPLAYER
SetOutPath "$INSTDIR\mplayer"
File /r "${SMPLAYER_BUILD_DIR}\mplayer\*.*"
WriteRegDWORD HKLM "${SMPLAYER_REG_KEY}" Installed_MPlayer 0x1
-!else ifndef WITH_MPLAYER
- AddSize 16800
-
- Var /GLOBAL MPlayer_Version
-
- Call GetVerInfo
-
- /* Read from version-info
- If it was unable to download, set version to that defined in the
- beginning of the script. */
- ${If} ${FileExists} "$PLUGINSDIR\version-info"
- ReadINIStr $MPlayer_Version "$PLUGINSDIR\version-info" smplayer mplayer
- ${Else}
- StrCpy $MPlayer_Version ${DEFAULT_MPLAYER_VERSION}
- ${EndIf}
-
- retry_mplayer:
-
- DetailPrint $(MPlayer_DL_Msg)
- inetc::get /CONNECTTIMEOUT 15000 /RESUME "" /BANNER $(MPlayer_DL_Msg) /CAPTION $(MPlayer_DL_Msg) \"http://downloads.sourceforge.net/smplayer/$MPlayer_Version.7z?big_mirror=0" \
- "$PLUGINSDIR\$MPlayer_Version.7z" /END
- Pop $R0
- StrCmp $R0 OK 0 check_mplayer
-
- DetailPrint $(Info_Files_Extract)
- nsExec::Exec '"$PLUGINSDIR\7za.exe" x "$PLUGINSDIR\$MPlayer_Version.7z" -y -o"$PLUGINSDIR"'
-
- CreateDirectory "$INSTDIR\mplayer"
- CopyFiles /SILENT "$PLUGINSDIR\$MPlayer_Version\*" "$INSTDIR\mplayer"
-
- check_mplayer:
-
- ${If} $R0 != "OK"
- DetailPrint $(MPlayer_DL_Failed)
- ${EndIf}
- IfFileExists "$INSTDIR\mplayer\mplayer.exe" mplayerInstSuccess mplayerInstFailed
- mplayerInstSuccess:
- WriteRegDWORD HKLM "${SMPLAYER_REG_KEY}" Installed_MPlayer 0x1
- Goto done
- mplayerInstFailed:
- MessageBox MB_RETRYCANCEL|MB_ICONEXCLAMATION $(MPlayer_DL_Retry) /SD IDCANCEL IDRETRY retry_mplayer
- Abort $(MPlayer_Inst_Failed)
-
- done:
-!endif
SectionEnd
Section /o $(Section_MPlayerCodecs) SecCodecs
AddSize 22300
+ Var /GLOBAL Codec_Version
+
Call GetVerInfo
/* Read from version-info
@@ -484,7 +418,7 @@ SectionGroup $(MPlayerGroupTitle)
done:
- SectionEnd
+ SectionEnd
SectionGroupEnd
@@ -519,6 +453,7 @@ Section -Post
;Allows user to use 'start smplayer.exe'
WriteRegStr HKLM "${SMPLAYER_APP_PATHS_KEY}" "" "$INSTDIR\smplayer.exe"
+ WriteRegStr HKLM "${SMPLAYER_APP_PATHS_KEY}" "Path" "$INSTDIR"
;Default Programs Registration (Vista & later)
${If} ${AtLeastWinVista}
@@ -533,11 +468,11 @@ Section -Post
!endif
WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "DisplayIcon" "$INSTDIR\smplayer.exe"
WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "DisplayVersion" "${SMPLAYER_VERSION}"
- WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "HelpLink" "http://smplayer.berlios.de/forum"
+ WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "HelpLink" "http://smplayer.sourceforge.net/forum"
WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "Publisher" "Ricardo Villalba"
WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "UninstallString" "$INSTDIR\${SMPLAYER_UNINST_EXE}"
- WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "URLInfoAbout" "http://smplayer.sf.net"
- WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "URLUpdateInfo" "http://smplayer.sf.net"
+ WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "URLInfoAbout" "http://smplayer.sourceforge.net"
+ WriteRegStr HKLM "${SMPLAYER_UNINST_KEY}" "URLUpdateInfo" "http://smplayer.sourceforge.net"
WriteRegDWORD HKLM "${SMPLAYER_UNINST_KEY}" "NoModify" "1"
WriteRegDWORD HKLM "${SMPLAYER_UNINST_KEY}" "NoRepair" "1"
@@ -582,7 +517,9 @@ ${MementoSectionDone}
!insertmacro ${_action} ".m2v"
!insertmacro ${_action} ".m3u"
!insertmacro ${_action} ".m3u8"
+ !insertmacro ${_action} ".m4a"
!insertmacro ${_action} ".m4v"
+ !insertmacro ${_action} ".mka"
!insertmacro ${_action} ".mkv"
!insertmacro ${_action} ".mov"
!insertmacro ${_action} ".mp3"
@@ -592,9 +529,11 @@ ${MementoSectionDone}
!insertmacro ${_action} ".mpv"
!insertmacro ${_action} ".mqv"
!insertmacro ${_action} ".nsv"
+ !insertmacro ${_action} ".oga"
!insertmacro ${_action} ".ogg"
!insertmacro ${_action} ".ogm"
!insertmacro ${_action} ".ogv"
+ !insertmacro ${_action} ".ogx"
!insertmacro ${_action} ".pls"
!insertmacro ${_action} ".ra"
!insertmacro ${_action} ".ram"
@@ -612,6 +551,7 @@ ${MementoSectionDone}
!insertmacro ${_action} ".webm"
!insertmacro ${_action} ".wma"
!insertmacro ${_action} ".wmv"
+ !insertmacro ${_action} ".wtv"
!macroend
!macro WriteRegStrSupportedTypes EXT
@@ -691,6 +631,12 @@ FunctionEnd
Function .onInit
+ ${Unless} ${AtLeastWinXP}
+ MessageBox MB_YESNO|MB_ICONSTOP $(OS_Not_Supported) /SD IDNO IDYES installonoldwindows
+ Abort
+ installonoldwindows:
+ ${EndIf}
+
!ifdef WIN64
${IfNot} ${RunningX64}
MessageBox MB_OK|MB_ICONSTOP $(Win64_Required)
@@ -704,7 +650,7 @@ Function .onInit
IfErrors +3 0
MessageBox MB_OK|MB_ICONSTOP $(Existing_32bitInst)
Abort
-
+
SetRegView 64
!else
${If} ${RunningX64}
@@ -715,15 +661,11 @@ Function .onInit
IfErrors +3 0
MessageBox MB_OK|MB_ICONSTOP $(Existing_64bitInst)
Abort
-
+
SetRegView 32
${EndIf}
!endif
- !ifdef PRE_RELEASE
- MessageBox MB_OK|MB_ICONINFORMATION "This is a pre-release version of SMPlayer. Please report all issues."
- !endif
-
;Check if setup is already running
System::Call 'kernel32::CreateMutexW(i 0, i 0, t "SMPlayerSetup") i .r1 ?e'
Pop $R0
@@ -733,7 +675,11 @@ Function .onInit
Abort
;Check if SMPlayer is running
- Call RunCheck
+ ;Allow skipping check using /NORUNCHECK
+ ${GetParameters} $R0
+ ${GetOptions} $R0 "/NORUNCHECK" $R1
+ IfErrors 0 +2
+ Call RunCheck
;Check for admin on < Vista
UserInfo::GetAccountType
@@ -777,6 +723,7 @@ Function CheckPreviousVersion
ClearErrors
ReadRegStr $Previous_Version HKLM "${SMPLAYER_REG_KEY}" "Version"
+ ReadRegStr $SMPlayer_UnStrPath HKLM "${SMPLAYER_UNINST_KEY}" "UninstallString"
ReadRegStr $SMPlayer_Path HKLM "${SMPLAYER_REG_KEY}" "Path"
${IfNot} ${Errors}
@@ -1006,7 +953,7 @@ Function un.onInit
!ifdef WIN64
${IfNot} ${RunningX64}
- MessageBox MB_OK|MB_ICONSTOP "This installation can only be uninstalled on 64-bit Windows."
+ MessageBox MB_OK|MB_ICONSTOP $(Uninstaller_64bitOnly)
Abort
${EndIf}
@@ -1022,7 +969,11 @@ Function un.onInit
${EndIf}
;Check if SMPlayer is running
- Call un.RunCheck
+ ;Allow skipping check using /NORUNCHECK
+ ${un.GetParameters} $R0
+ ${un.GetOptions} $R0 "/NORUNCHECK" $R1
+ IfErrors 0 +2
+ Call un.RunCheck
;Gets start menu folder name
!insertmacro MUI_STARTMENU_GETFOLDER "SMP_SMenu" $SMPlayer_StartMenuFolder
@@ -1041,15 +992,4 @@ Function un.ConfirmPagePre
Abort
${EndUnless}
-FunctionEnd
-
-Function un.FinishPagePre
-
- ${un.GetParameters} $R0
-
- ${un.GetOptionsS} $R0 "/X" $R1
- ${Unless} ${Errors}
- Abort
- ${EndUnless}
-
FunctionEnd \ No newline at end of file
diff --git a/setup/translations/basque.nsh b/setup/translations/basque.nsh
index 90c9962..9d0198b 100644
--- a/setup/translations/basque.nsh
+++ b/setup/translations/basque.nsh
@@ -4,16 +4,21 @@
;Save file as UTF-8 w/ BOM
;
-!insertmacro LANGFILE "Basque" "Euskera"
+!insertmacro LANGFILE "Basque" "Euskara"
; Startup
${LangFileString} Installer_Is_Running "Ezartzailea jadanik lanean dago."
${LangFileString} Installer_No_Admin "Administratzaile bezala saioa hasita egon behar duzu programa hau ezartzerakoan."
-${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} SMPlayer_Is_Running "SMPlayerren eskabide bat lanean ari da. Mesedez irten SMPlayerretik eta saiatu berriro."
-${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
-${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
-${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+${LangFileString} OS_Not_Supported "Sistema eragile sostengu gabea.$\nSMPlayer ${SMPLAYER_VERSION} gutxienez Windows XP behar du eta ezin du zuzen lan egin zure sisteman.$\nEgitan nahi duzu ezarpenarekin jarraitzea?"
+${LangFileString} Win64_Required "64-biteko Windows sistema eragile bat behar da software hau ezartzeko."
+${LangFileString} Existing_32bitInst "32-biteko SMPlayer ezarpen bat dago. Lehenik 32-biteko SMPlayer kendu behar duzu."
+${LangFileString} Existing_64bitInst "64-biteko SMPlayer ezarpen bat dago. Lehenik 64-biteko SMPlayer kendu behar duzu."
+
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
; Components Page
${LangFileString} ShortcutGroupTitle "Lasterbideak"
@@ -22,18 +27,14 @@ ${LangFileString} MPlayerGroupTitle "MPlayer Osagaiak"
${LangFileString} Section_SMPlayer "SMPlayer (beharrezkoa)"
${LangFileString} Section_SMPlayer_Desc "SMPlayer, elkarbanatutako liburutegiak, eta agiritza."
-${LangFileString} Section_DesktopShortcut "Mahigaina"
-${LangFileString} Section_DesktopShortcut_Desc "Sortu SMPlayer lasterbide bat mahigainean."
+${LangFileString} Section_DesktopShortcut "Mahaigaina"
+${LangFileString} Section_DesktopShortcut_Desc "Sortu SMPlayer lasterbide bat mahaigainean."
${LangFileString} Section_StartMenu "Hasiera Menua"
${LangFileString} Section_StartMenu_Desc "Sortu SMPlayer sarrera bat Hasiera Menuan."
${LangFileString} Section_MPlayer "MPlayer (beharrezkoa)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; beharrezkoa irakurketarako."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; beharrezkoa irakurketarako. (Internet Elkarketa beharrezkoa da ezarpenerako)"
-!endif
${LangFileString} Section_MPlayerCodecs "Kodek Binarioak"
!ifdef WITH_CODECS
@@ -44,38 +45,32 @@ ${LangFileString} Section_MPlayerCodecs_Desc "Aukerazko kodekak MPlayerrentzat.
${LangFileString} Section_MEncoder_Desc "MPlayer laguntzen duen programa bat erabili daiteke kodeatzeko edo eraldatzeko sostengatutako audio edo bideo jarioak."
-${LangFileString} Section_IconThemes "Ikono Gaiak"
-${LangFileString} Section_IconThemes_Desc "SMPlayer-entzako ikono gai gehigarriak."
+${LangFileString} Section_IconThemes "Ikur Gaiak"
+${LangFileString} Section_IconThemes_Desc "SMPlayer-entzako ikur gai gehigarriak."
${LangFileString} Section_Translations "Hizkuntzak"
${LangFileString} Section_Translations_Desc "SMPlayer-entzako Ez Ingelerazko hizkuntza agiriak."
-${LangFileString} MPlayer_Codec_Msg "Kodek binario paketeek jatorrizkoan ez dauden kodek sostengua gehitzen dute, RealVideo aldaera berrienak eta formato ez arrunt asko bezalakoak.$\nOhartu hauek ez direla beharrezkoak formato arruntenak irakurtzeko, DVD, MPEG-1/2/4, etab."
+${LangFileString} MPlayer_Codec_Msg "Kodek binario paketeek jatorrizkoan ez dauden kodek sostengua gehitzen dute, RealVideo aldaera berrienak eta formato ez arrunt asko bezalakoak.$\nOhartu hauek ez direla beharrezkoak heuskarri arruntenak irakurtzeko, DVD, MPEG-1/2/4, etab."
; Upgrade/Reinstall Page
-${LangFileString} Reinstall_Header_Text "Select Install Type"
-${LangFileString} Reinstall_Header_SubText "Select Overwrite or Uninstall mode."
-
-${LangFileString} Reinstall_Msg1 "You have an existing installation of SMPlayer in the following folder:"
-${LangFileString} Reinstall_Msg2 "Please select how to proceed:"
-${LangFileString} Reinstall_Overwrite "Overwrite ($Inst_Type) the existing installation"
-${LangFileString} Reinstall_Uninstall "Uninstall (remove) the existing installation"
-${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
-${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
-${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
-${LangFileString} Reinstall_Msg4 "Change Installation Settings"
-
-${LangFileString} Type_Reinstall "reinstall"
-${LangFileString} Type_Downgrade "downgrade"
-${LangFileString} Type_Upgrade "upgrade"
-
-${LangFileString} StartBtn "Start"
-
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "MPlayer jeisten..."
-${LangFileString} MPlayer_DL_Retry "MPlayer ez da ongi ezarri. Berriro saiatu?"
-${LangFileString} MPlayer_DL_Failed "Hutsegitea MPlayer: '$R0'. jeisterakoan"
-${LangFileString} MPlayer_Inst_Failed "Hutsegitea MPlayer ezartzerakoan. MPlayer beharrezkoa da irakurketarako"
+${LangFileString} Reinstall_Header_Text "Hautatu Ezarpen Mota"
+${LangFileString} Reinstall_Header_SubText "Hautatu Gainidatzi edo Kendu modua."
+
+${LangFileString} Reinstall_Msg1 "Jadanik baduzu SMPlayerren ezarpen bat agiritegi honetan:"
+${LangFileString} Reinstall_Msg2 "Mesedez hautatu nola jarraitu:"
+${LangFileString} Reinstall_Overwrite "Gainidatzi ($Inst_Type) dagoen ezarpena"
+${LangFileString} Reinstall_Uninstall "Kendu (kendu) dagoen ezarpena"
+${LangFileString} Reinstall_Msg3_1 "Klikatu Hasi jarraitzeko gertu zaudenean."
+${LangFileString} Reinstall_Msg3_2 "Klikatu Hurrengoa jarraitzeko gertu zaudenean."
+${LangFileString} Reinstall_Msg3_3 "Klikatu Kendu jarraitzeko gertu zaudenean."
+${LangFileString} Reinstall_Msg4 "Aldatu Ezarpenaren Hobespenak"
+
+${LangFileString} Type_Reinstall "berrezarri"
+${LangFileString} Type_Downgrade "aurrekoratu"
+${LangFileString} Type_Upgrade "eguneratu"
+
+${LangFileString} StartBtn "Hasi"
; Codecs Section
${LangFileString} Codecs_DL_Msg "MPlayer kodekak jeisten..."
@@ -88,9 +83,10 @@ ${LangFileString} VerInfo_DL_Msg "Bertsio argibideak jeisten..."
${LangFileString} VerInfo_DL_Failed "Hutsegitea bertsio argibideak jeisterakoan: '$R0'. Berezko bertsioa erabiltzen."
; Uninstaller
-${LangFileString} Uninstaller_No_Admin "Ezarpen hau administrari eskubidea duen erabiltzaileak bakarrik kendu dezake."
+${LangFileString} Uninstaller_No_Admin "Ezarpen hau administratzaile eskubidea duen erabiltzaileak bakarrik kendu dezake."
${LangFileString} Uninstaller_Aborted "Kentzea erabiltzaileak utzita."
${LangFileString} Uninstaller_NotInstalled "Ez da agertzen SMPlayer zuzenbidean ezarrita dagoenik '$INSTDIR'.$\r$\nJarraitu horrela ere (ez da gomendagarria)?"
+${LangFileString} Uninstaller_64bitOnly "Ezarpen hau 64-biteko Windowsetik bakarrik kendu daiteke."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer aurrealde-amaiera oso bat da MPlayer-entzat, ohinarrizko eginkizunetatik: Bideo, DVD, VCD irakurketatik, eginkizun aurreratuenetarainok: MPlayer iragazkiak, edl zerrenda, eta gehiago."
@@ -100,5 +96,5 @@ ${LangFileString} Info_Del_Files "Agiriak Ezabatzen..."
${LangFileString} Info_Del_Registry "Erresgistro Giltzak Ezabatzen..."
${LangFileString} Info_Del_Shortcuts "Lasterbideak Ezabatzen..."
${LangFileString} Info_Rest_Assoc "Agiri elkarketak birrezartzen..."
-${LangFileString} Info_RollBack "Rolling back changes..."
+${LangFileString} Info_RollBack "Aldaketak desegiten..."
${LangFileString} Info_Files_Extract "Agiriak ateratzen..."
diff --git a/setup/translations/catalan.nsh b/setup/translations/catalan.nsh
index b9b9c27..818097c 100644
--- a/setup/translations/catalan.nsh
+++ b/setup/translations/catalan.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "The installer is already running."
${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Shortcuts"
${LangFileString} MPlayerGroupTitle "MPlayer Components"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Start Menu"
${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Downloading MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer was not successfully installed. Retry?"
-${LangFileString} MPlayer_DL_Failed "Failed to download MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Failed to install MPlayer. MPlayer is required for playback."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Downloading MPlayer codecs..."
${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Failed to download version info: '$R0'. Usi
${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
${LangFileString} Uninstaller_Aborted "Uninstall aborted by user."
${LangFileString} Uninstaller_NotInstalled "It does not appear that SMPlayer is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer is a complete front-end for MPlayer, from basic features like playing videos, DVDs, VCDs to more advanced features like support for MPlayer filters, edl lists, and more."
diff --git a/setup/translations/croatian.nsh b/setup/translations/croatian.nsh
index a7981fd..9257a17 100644
--- a/setup/translations/croatian.nsh
+++ b/setup/translations/croatian.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "The installer is already running."
${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Shortcuts"
${LangFileString} MPlayerGroupTitle "MPlayer Components"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Start Menu"
${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Downloading MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer was not successfully installed. Retry?"
-${LangFileString} MPlayer_DL_Failed "Failed to download MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Failed to install MPlayer. MPlayer is required for playback."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Downloading MPlayer Codecs..."
${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Failed to download version info: '$R0'. Usi
${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
${LangFileString} Uninstaller_Aborted "Uninstall aborted by user."
${LangFileString} Uninstaller_NotInstalled "It does not appear that SMPlayer is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer is a complete front-end for MPlayer, from basic features like playing videos, DVDs, VCDs to more advanced features like support for MPlayer filters, edl lists, and more."
diff --git a/setup/translations/czech.nsh b/setup/translations/czech.nsh
index a883006..0dc6488 100644
--- a/setup/translations/czech.nsh
+++ b/setup/translations/czech.nsh
@@ -11,9 +11,14 @@ ${LangFileString} Installer_Is_Running "Instalátor již běží."
${LangFileString} Installer_No_Admin "Instalaci tohoto programu je potřeba provést s právy administrátora."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
-${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
-${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
-${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
+${LangFileString} Win64_Required "Pro instalaci tohoto software je zapotřebí mít 64-bitový oprační systém Windows."
+${LangFileString} Existing_32bitInst "Máte nainstalovánu 32-bitovou verzi SMPlayeru. Musíte nejprve odinstalovat 32-bitový SMPlayer."
+${LangFileString} Existing_64bitInst "Máte nainstalovánu 64-bitovou verzi SMPlayeru. Musíte nejprve odinstalovat 64-bitový SMPlayer."
+
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
; Components Page
${LangFileString} ShortcutGroupTitle "Zástupci"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Nabídka Start"
${LangFileString} Section_StartMenu_Desc "Vytvoří zástupce SMPlayeru v nabídce Start."
${LangFileString} Section_MPlayer "MPlayer (vyžadován)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; vyžadován pro přehrávání."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; vyžadován pro přehrávání. (Pro instalaci je potřeba připojení k Internetu)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binární kodeky"
!ifdef WITH_CODECS
@@ -42,7 +43,7 @@ ${LangFileString} Section_MPlayerCodecs_Desc "Přídavné kodeky MPlayeru."
${LangFileString} Section_MPlayerCodecs_Desc "Přídavné kodeky MPlayeru. (Pro instalaci je potřeba připojení k Internetu)"
!endif
-${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
+${LangFileString} Section_MEncoder_Desc "Dodatkový program pro MPlayer, který se využívá k enkódování nebo transformaci audio/video souborů."
${LangFileString} Section_IconThemes "Témata ikon"
${LangFileString} Section_IconThemes_Desc "Přídavná témata ikon pro SMPlayer."
@@ -53,30 +54,24 @@ ${LangFileString} Section_Translations_Desc "Neanglické lokalizace."
${LangFileString} MPlayer_Codec_Msg "Binární kodeky podporují formáty, které zatím nejsou implementovány nativně, např. novější varianty RealVideo a jiné málo používané formáty.$\nPro většinu běžných formátů nejsou potřeba (DVD, MPEG-1/2/4, apod.)."
; Upgrade/Reinstall Page
-${LangFileString} Reinstall_Header_Text "Select Install Type"
-${LangFileString} Reinstall_Header_SubText "Select Overwrite or Uninstall mode."
-
-${LangFileString} Reinstall_Msg1 "You have an existing installation of SMPlayer in the following folder:"
-${LangFileString} Reinstall_Msg2 "Please select how to proceed:"
-${LangFileString} Reinstall_Overwrite "Overwrite ($Inst_Type) the existing installation"
-${LangFileString} Reinstall_Uninstall "Uninstall (remove) the existing installation"
-${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
-${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
-${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
-${LangFileString} Reinstall_Msg4 "Change Installation Settings"
-
-${LangFileString} Type_Reinstall "reinstall"
+${LangFileString} Reinstall_Header_Text "Vyberte typ instalace"
+${LangFileString} Reinstall_Header_SubText "Vyberte přepsání nebo odinstalaci."
+
+${LangFileString} Reinstall_Msg1 "SMPlayer již máte nainstalován v tomto adresáři:"
+${LangFileString} Reinstall_Msg2 "Prosím vyberte jak pokračovat:"
+${LangFileString} Reinstall_Overwrite "Přepsat ($Inst_Type) existující instalaci"
+${LangFileString} Reinstall_Uninstall "Odinstalovat (odebrat) existující instalaci"
+${LangFileString} Reinstall_Msg3_1 "Stiskněte Start jste-li připraveni."
+${LangFileString} Reinstall_Msg3_2 "Stiskněte Další jste-li připraveni."
+${LangFileString} Reinstall_Msg3_3 "Stiskněte Odinstalovat jste-li připraveni."
+${LangFileString} Reinstall_Msg4 "Změnit nastavení instalace"
+
+${LangFileString} Type_Reinstall "reinstalovat"
${LangFileString} Type_Downgrade "downgrade"
${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Stahuji MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer se nepovedlo nainstalovat. Zkusit znovu?"
-${LangFileString} MPlayer_DL_Failed "Nepovedlo se stáhnout MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Nepovedlo se nainstalovat MPlayer. MPlayer je potřebný pro přehrávání."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Instaluji kodeky MPlayeru..."
${LangFileString} Codecs_DL_Retry "Kodeky MPlayeru se nepovedlo nainstalovat. Zkusit znovu?"
@@ -91,14 +86,15 @@ ${LangFileString} VerInfo_DL_Failed "Nepovedlo se stáhnout informace o verzích
${LangFileString} Uninstaller_No_Admin "Odinstalaci je potřeba provést s právy administrátora."
${LangFileString} Uninstaller_Aborted "Odinstalace přerušena uživatelem."
${LangFileString} Uninstaller_NotInstalled "V adresáři '$INSTDIR' není SMPlayer nainstalován .$\r$\nPokračovat (nedoporučeno)?"
+${LangFileString} Uninstaller_64bitOnly "Tato instalace jde odinstalovat pouze na 64-bitové verzi Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer je kompletní frontend pro MPlayer, podporuje vše od základních funkcí jako přehrávání videí, DVD, VCD až po pokročilé funkce jako filtry MPlayeru, edl a více."
; Misc
-${LangFileString} Info_Del_Files "Deleting Files..."
-${LangFileString} Info_Del_Registry "Deleting Registry Keys..."
-${LangFileString} Info_Del_Shortcuts "Deleting Shortcuts..."
-${LangFileString} Info_Rest_Assoc "Restoring file associations..."
-${LangFileString} Info_RollBack "Rolling back changes..."
-${LangFileString} Info_Files_Extract "Extracting files..."
+${LangFileString} Info_Del_Files "Mažu soubory..."
+${LangFileString} Info_Del_Registry "Mažu záznamy registru..."
+${LangFileString} Info_Del_Shortcuts "Mažu zástupce..."
+${LangFileString} Info_Rest_Assoc "Obnovuji asociace souborů..."
+${LangFileString} Info_RollBack "Beru zpět změny..."
+${LangFileString} Info_Files_Extract "Extrahuji soubory..."
diff --git a/setup/translations/danish.nsh b/setup/translations/danish.nsh
index b993ec9..b22f185 100644
--- a/setup/translations/danish.nsh
+++ b/setup/translations/danish.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "The installer is already running."
${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Shortcuts"
${LangFileString} MPlayerGroupTitle "MPlayer Components"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Start Menu"
${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Downloading MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer was not successfully installed. Retry?"
-${LangFileString} MPlayer_DL_Failed "Failed to download MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Failed to install MPlayer. MPlayer is required for playback."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Downloading MPlayer codecs..."
${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Failed to download version info: '$R0'. Usi
${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
${LangFileString} Uninstaller_Aborted "Uninstall aborted by user."
${LangFileString} Uninstaller_NotInstalled "It does not appear that SMPlayer is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer is a complete front-end for MPlayer, from basic features like playing videos, DVDs, VCDs to more advanced features like support for MPlayer filters, edl lists, and more."
diff --git a/setup/translations/dutch.nsh b/setup/translations/dutch.nsh
index dd658c3..0d801d1 100644
--- a/setup/translations/dutch.nsh
+++ b/setup/translations/dutch.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "The installer is already running."
${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Shortcuts"
${LangFileString} MPlayerGroupTitle "MPlayer Components"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Start Menu"
${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Downloading MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer was not successfully installed. Retry?"
-${LangFileString} MPlayer_DL_Failed "Failed to download MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Failed to install MPlayer. MPlayer is required for playback."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Downloading MPlayer codecs..."
${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Failed to download version info: '$R0'. Usi
${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
${LangFileString} Uninstaller_Aborted "Uninstall aborted by user."
${LangFileString} Uninstaller_NotInstalled "It does not appear that SMPlayer is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer is a complete front-end for MPlayer, from basic features like playing videos, DVDs, VCDs to more advanced features like support for MPlayer filters, edl lists, and more."
diff --git a/setup/translations/english.nsh b/setup/translations/english.nsh
index 6f6c872..132f798 100644
--- a/setup/translations/english.nsh
+++ b/setup/translations/english.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "The installer is already running."
${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Shortcuts"
${LangFileString} MPlayerGroupTitle "MPlayer Components"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Start Menu"
${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Downloading MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer was not successfully installed. Retry?"
-${LangFileString} MPlayer_DL_Failed "Failed to download MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Failed to install MPlayer. MPlayer is required for playback."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Downloading MPlayer Codecs..."
${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Failed to download version info: '$R0'. Usi
${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
${LangFileString} Uninstaller_Aborted "Uninstall aborted by user."
${LangFileString} Uninstaller_NotInstalled "It does not appear that SMPlayer is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer is a complete front-end for MPlayer, from basic features like playing videos, DVDs, VCDs to more advanced features like support for MPlayer filters, edl lists, and more."
diff --git a/setup/translations/finnish.nsh b/setup/translations/finnish.nsh
index 39a8a8e..2541c01 100644
--- a/setup/translations/finnish.nsh
+++ b/setup/translations/finnish.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "The installer is already running."
${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Shortcuts"
${LangFileString} MPlayerGroupTitle "MPlayer Components"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Start Menu"
${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Downloading MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer was not successfully installed. Retry?"
-${LangFileString} MPlayer_DL_Failed "Failed to download MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Failed to install MPlayer. MPlayer is required for playback."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Downloading MPlayer codecs..."
${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Failed to download version info: '$R0'. Usi
${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
${LangFileString} Uninstaller_Aborted "Uninstall aborted by user."
${LangFileString} Uninstaller_NotInstalled "It does not appear that SMPlayer is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer is a complete front-end for MPlayer, from basic features like playing videos, DVDs, VCDs to more advanced features like support for MPlayer filters, edl lists, and more."
diff --git a/setup/translations/french.nsh b/setup/translations/french.nsh
index 5276813..83cb6d8 100644
--- a/setup/translations/french.nsh
+++ b/setup/translations/french.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "The installer is already running."
${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Shortcuts"
${LangFileString} MPlayerGroupTitle "MPlayer Components"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Start Menu"
${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Downloading MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer was not successfully installed. Retry?"
-${LangFileString} MPlayer_DL_Failed "Failed to download MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Failed to install MPlayer. MPlayer is required for playback."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Downloading MPlayer codecs..."
${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Failed to download version info: '$R0'. Usi
${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
${LangFileString} Uninstaller_Aborted "Uninstall aborted by user."
${LangFileString} Uninstaller_NotInstalled "It does not appear that SMPlayer is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer is a complete front-end for MPlayer, from basic features like playing videos, DVDs, VCDs to more advanced features like support for MPlayer filters, edl lists, and more."
diff --git a/setup/translations/german.nsh b/setup/translations/german.nsh
index 390d823..2168f5c 100644
--- a/setup/translations/german.nsh
+++ b/setup/translations/german.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "Das Installationsprogramm läuft bereits
${LangFileString} Installer_No_Admin "Es sind Administratorrechte nötig, um dieses Programm zu installieren."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Verknüpfung"
${LangFileString} MPlayerGroupTitle "MPlayer-Komponenten"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Startmenü"
${LangFileString} Section_StartMenu_Desc "Erstellt einen Startmenü-Eintrag für SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (erforderlich)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer – benötigt für die Wiedergabe."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer – benötigt für die Wiedergabe. (Internetverbindung benötigt für Installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binärcodecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "MPlayer herunterladen …"
-${LangFileString} MPlayer_DL_Retry "MPlayer ist nicht erfolgreich installiert worden. Erneut versuchen?"
-${LangFileString} MPlayer_DL_Failed "Fehler beim Herunterladen von MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Fehler beim Installieren von MPlayer. MPlayer ist erforderlich für die Wiedergabe."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "MPlayer-Codecs herunterladen …"
${LangFileString} Codecs_DL_Retry "Die MPlayer-Codecs sind nicht erfolgreich installiert worden. Erneut versuchen?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Fehler beim Herunterladen der Versionsinfo:
${LangFileString} Uninstaller_No_Admin "Es sind Administratorrechte nötig, um dieses Programm zu deinstallieren."
${LangFileString} Uninstaller_Aborted "Die Deinstallation ist vom Benutzer abgebrochen worden."
${LangFileString} Uninstaller_NotInstalled "Es scheint, dass SMPlayer nicht im Verzeichnis '$INSTDIR' installiert ist.$\r$\nTrotzdem fortfahren (nicht empfohlen)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer ist ein komplettes grafische Oberfläche für MPlayer, von grundlegenden Funktionen, wie das Abspielen von Videos, DVDs, VCDs, bis zu erweiterten Funktionen, wie die Unterstützung für MPlayer-Filter, edl-Listen und vielem mehr."
diff --git a/setup/translations/hebrew.nsh b/setup/translations/hebrew.nsh
index fd28824..5e4fa24 100644
--- a/setup/translations/hebrew.nsh
+++ b/setup/translations/hebrew.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "The installer is already running."
${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Shortcuts"
${LangFileString} MPlayerGroupTitle "MPlayer Components"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Start Menu"
${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Downloading MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer was not successfully installed. Retry?"
-${LangFileString} MPlayer_DL_Failed "Failed to download MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Failed to install MPlayer. MPlayer is required for playback."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Downloading MPlayer codecs..."
${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Failed to download version info: '$R0'. Usi
${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
${LangFileString} Uninstaller_Aborted "Uninstall aborted by user."
${LangFileString} Uninstaller_NotInstalled "It does not appear that SMPlayer is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer is a complete front-end for MPlayer, from basic features like playing videos, DVDs, VCDs to more advanced features like support for MPlayer filters, edl lists, and more."
diff --git a/setup/translations/hungarian.nsh b/setup/translations/hungarian.nsh
index 0aa721c..b741955 100644
--- a/setup/translations/hungarian.nsh
+++ b/setup/translations/hungarian.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "A telepítő már fut."
${LangFileString} Installer_No_Admin "Rendszergazdaként kell bejelentkeznie a program telepítéséhez."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Shortcuts"
${LangFileString} MPlayerGroupTitle "MPlayer Components"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Start Menu"
${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Az MPlayer letöltése..."
-${LangFileString} MPlayer_DL_Retry "Az MPlayer telepítése nem sikerült. Újra próbáljam?"
-${LangFileString} MPlayer_DL_Failed "Az MPlayer letöltése nem sikerült: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Az MPlayer telepítése nem sikerült. Az MPlayerre szükség van a lejátszáshoz."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "MPlayer kodekek letöltése..."
${LangFileString} Codecs_DL_Retry "Az MPlayer kodekek telepítése nem sikerült. Újra próbáljam?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Verzió információ letöltése nem siker
${LangFileString} Uninstaller_No_Admin "A program eltávolításához rendszergazda jogosultság szükséges."
${LangFileString} Uninstaller_Aborted "Az eltávolítást a felhasználó megszakította."
${LangFileString} Uninstaller_NotInstalled "Nem úgy néz ki, mint ha az SMPlayer ebbe a könyvtárba lett volna telepítve: '$INSTDIR'.$\r$\nMégis folytassam (nem ajánlott)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "Az SMPlayer egy komplett felület az MPlayerhez, mindent támogat az alap funkcióktól kezdve, mint a videók, DVDk, VCDk lejátszása, haladó funkciókig, mint az MPlayer szűrők, edl listák és még sok más."
diff --git a/setup/translations/italian.nsh b/setup/translations/italian.nsh
index 5cbc5db..a11f256 100644
--- a/setup/translations/italian.nsh
+++ b/setup/translations/italian.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "Il programma di installazione è già in
${LangFileString} Installer_No_Admin "Devi essere autenticato come amministratore per installare questo programma."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Collegamenti"
${LangFileString} MPlayerGroupTitle "Componenti di MPlayer"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Menu di avvio"
${LangFileString} Section_StartMenu_Desc "Crea un elemento nel menu di avvio per SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (essenziale)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; essenziale per la riproduzione."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; essenziale per la riproduzione. (Connessione a Internet richiesta per l'installazione)"
-!endif
${LangFileString} Section_MPlayerCodecs "Codec binari"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Sto scaricando MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer non è stato completamente installato. Riprova?"
-${LangFileString} MPlayer_DL_Failed "Scaricamento di MPlayer fallito: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Installazione di MPlayer fallita. MPlayer è un componente necessario per la riproduzione multimediale."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Sto scaricando i codec di MPlayer..."
${LangFileString} Codecs_DL_Retry "I codec di MPlayer non sono stati completamente installati. Riprova?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Scaricamento delle informazioni di versione
${LangFileString} Uninstaller_No_Admin "La disinstallazione può essere effettuata solo da un utente con permessi amministrativi."
${LangFileString} Uninstaller_Aborted "Disinstallazione annullata dall'utente."
${LangFileString} Uninstaller_NotInstalled "Sembra che SMPlayer non sia installato nella cartella '$INSTDIR'.$\r$\nContinua comunque (non raccomandato)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer è un'interfaccia completa per MPlayer, fornisce funzionalità di base come la riproduzione di video, DVD, VCD e funzionalità più avanzate come il supporto dei filtri di MPlayer, le liste edl e altro ancora."
diff --git a/setup/translations/japanese.nsh b/setup/translations/japanese.nsh
index c05b59a..5461f48 100644
--- a/setup/translations/japanese.nsh
+++ b/setup/translations/japanese.nsh
@@ -11,9 +11,14 @@ ${LangFileString} Installer_Is_Running "インストーラーは既に実行中
${LangFileString} Installer_No_Admin "このプログラムをインストールするときは管理者としてログインする必要があります。"
${LangFileString} SMPlayer_Is_Running "SMPlayer のインスタンスが実行中です。SMPlayer を終了してやり直してください。"
-${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
-${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
-${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+${LangFileString} OS_Not_Supported "サポートされていないオペレーティング システムです。$\nSMPlayer ${SMPLAYER_VERSION} は Windows XP 以上を必要とし、お使いのシステムでは正常に動作しない可能性があります。$\n本当にインストールを続行しますか?"
+${LangFileString} Win64_Required "このソフトウェアをインストールするには 64 ビットの Windows オペレーティング システムが必要です。"
+${LangFileString} Existing_32bitInst "32 ビットの SMPlayer が既にインストールされています。先に 32 ビットの SMPlayer をアンインストールする必要があります。"
+${LangFileString} Existing_64bitInst "64 ビットの SMPlayer が既にインストールされています。先に 64 ビットの SMPlayer をアンインストールする必要があります。"
+
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) のセットアップ"
+${LangFileString} WelcomePage_Text "セットアップは $(^NameDA) のインストールをご案内します。$\r$\n$\r$\nセットアップの開始前にすべての SMPlayer のインスタンスを閉じることが推奨されます。これによりお使いのコンピューターを再起動する必要なく関連するプログラム ファイルを更新することが可能になります。$\r$\n$\r$\n$_CLICK"
; Components Page
${LangFileString} ShortcutGroupTitle "ショートカット"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "[スタート] メニュー"
${LangFileString} Section_StartMenu_Desc "SMPlayer の [スタート] メニュー エントリを作成します。"
${LangFileString} Section_MPlayer "MPlayer (必須)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "再生のために必要な MPlayer です。"
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "再生のために必要な MPlayer です。(インストールにはインターネット接続が必要です)"
-!endif
${LangFileString} Section_MPlayerCodecs "バイナリ コーデック"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "アップグレード"
${LangFileString} StartBtn "開始"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "MPlayer をダウンロードしています..."
-${LangFileString} MPlayer_DL_Retry "MPlayer は正常にインストールされませんでした。再試行しますか?"
-${LangFileString} MPlayer_DL_Failed "MPlayer のダウンロードに失敗しました: '$R0'。"
-${LangFileString} MPlayer_Inst_Failed "MPlayer のインストールに失敗しました。MPlayer は再生に必要です。"
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "MPlayer コーデックをダウンロードしています..."
${LangFileString} Codecs_DL_Retry "MPlayer コーデックは正常にインストールされませんでした。再試行しますか?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "バージョン情報のダウンロード
${LangFileString} Uninstaller_No_Admin "このインストールは管理者特権のあるユーザーによってのみアンインストールできます。"
${LangFileString} Uninstaller_Aborted "アンインストールはユーザーによって中止されました。"
${LangFileString} Uninstaller_NotInstalled "ディレクトリ '$INSTDIR' に SMPlayer がインストールされているように見えません。$\r$\nこのまま続行しますか (推奨されません)?"
+${LangFileString} Uninstaller_64bitOnly "このインストールは 64 ビットの Windows でのみアンインストールできます。"
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer はビデオ、DVD、VCD の再生のような基本的な機能から MPlayer フィルター、edl リストなどへのサポートのような高度な機能まで、MPlayer の完全なフロントエンドです。"
diff --git a/setup/translations/korean.nsh b/setup/translations/korean.nsh
index 01c6ea5..2923bc7 100644
--- a/setup/translations/korean.nsh
+++ b/setup/translations/korean.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "The installer is already running."
${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Shortcuts"
${LangFileString} MPlayerGroupTitle "MPlayer Components"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Start Menu"
${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Downloading MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer was not successfully installed. Retry?"
-${LangFileString} MPlayer_DL_Failed "Failed to download MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Failed to install MPlayer. MPlayer is required for playback."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Downloading MPlayer codecs..."
${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Failed to download version info: '$R0'. Usi
${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
${LangFileString} Uninstaller_Aborted "Uninstall aborted by user."
${LangFileString} Uninstaller_NotInstalled "It does not appear that SMPlayer is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer is a complete front-end for MPlayer, from basic features like playing videos, DVDs, VCDs to more advanced features like support for MPlayer filters, edl lists, and more."
diff --git a/setup/translations/norwegian.nsh b/setup/translations/norwegian.nsh
index 8f720c7..1791b63 100644
--- a/setup/translations/norwegian.nsh
+++ b/setup/translations/norwegian.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "The installer is already running."
${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Shortcuts"
${LangFileString} MPlayerGroupTitle "MPlayer Components"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Start Menu"
${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Downloading MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer was not successfully installed. Retry?"
-${LangFileString} MPlayer_DL_Failed "Failed to download MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Failed to install MPlayer. MPlayer is required for playback."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Downloading MPlayer codecs..."
${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Failed to download version info: '$R0'. Usi
${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
${LangFileString} Uninstaller_Aborted "Uninstall aborted by user."
${LangFileString} Uninstaller_NotInstalled "It does not appear that SMPlayer is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer is a complete front-end for MPlayer, from basic features like playing videos, DVDs, VCDs to more advanced features like support for MPlayer filters, edl lists, and more."
diff --git a/setup/translations/polish.nsh b/setup/translations/polish.nsh
index 6e8411c..88ded59 100644
--- a/setup/translations/polish.nsh
+++ b/setup/translations/polish.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "Instalator już jest uruchomiony."
${LangFileString} Installer_No_Admin "Do instalacji tego programu wymagane są uprawnienia administratora."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Skróty"
${LangFileString} MPlayerGroupTitle "Komponenty MPlayera"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Menu Start"
${LangFileString} Section_StartMenu_Desc "Tworzy skrót do programu w Menu Start."
${LangFileString} Section_MPlayer "MPlayer (wymagane)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; wymagany do odtwarzania filmów."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; wymagany do odtwarzania filmów. (Wymagane połączenie z internetem)"
-!endif
${LangFileString} Section_MPlayerCodecs "Kodeki"
!ifdef WITH_CODECS
@@ -70,12 +71,6 @@ ${LangFileString} Type_Upgrade "aktualizuj"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Pobieram MPlayera..."
-${LangFileString} MPlayer_DL_Retry "Instalacja MPlayera nie powiodła się. Ponowić próbę?"
-${LangFileString} MPlayer_DL_Failed "Nie udało się pobrać MPlayera: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Nie udało się zainstalować MPlayera. Bez MPlayera odtwarzanie filmów nie jest możliwe."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Pobieram kodeki do MPlayera..."
${LangFileString} Codecs_DL_Retry "Instalacja Kodeków MPlayera nie powiodła się. Ponowić próbę?"
@@ -90,6 +85,7 @@ ${LangFileString} VerInfo_DL_Failed "Nie udało się pobrać informacji o wersji
${LangFileString} Uninstaller_No_Admin "Aplikacja może być usunięta tylko przez osobe z uprawnieniami Administratora."
${LangFileString} Uninstaller_Aborted "Usuwanie anulowane przez użytkownika."
${LangFileString} Uninstaller_NotInstalled "Wygląda na to, że SMPlayer nie został zainstalowany w katalogu '$INSTDIR'.$\r$\nKontynuować mimo to (nie zalecane)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer jest graficzną nakładką programu MPlayer, z prostymi funkcjami, takimi jak odtwarzanie wideo, DVD i VCD oraz z bardziej zaawansowanymi funkcjami np: obsługa filtrów MPlayera i wiele innych."
diff --git a/setup/translations/portuguese.nsh b/setup/translations/portuguese.nsh
index 1d2e268..51ffcda 100644
--- a/setup/translations/portuguese.nsh
+++ b/setup/translations/portuguese.nsh
@@ -11,9 +11,14 @@ ${LangFileString} Installer_Is_Running "O instalador já está em execução."
${LangFileString} Installer_No_Admin "Tem que iniciar a sessão como administrador para instalar este programa."
${LangFileString} SMPlayer_Is_Running "Já existe uma instância SMPlayer em execução. Feche o SMPlayer e tente novamente."
-${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
-${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
-${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+${LangFileString} OS_Not_Supported "O sistema operativo não é suportado.$\nO SMPlayer ${SMPLAYER_VERSION} requer, pelo menos, o Windows XP para funcionar corretamente.$\nQuer mesmo continuar com a instalação?"
+${LangFileString} Win64_Required "Para instalar esta versão, tem que possuir um sistema de 64 bits."
+${LangFileString} Existing_32bitInst "Já existe uma instalação 32 bits do SMPlayer. Tem que a desinstalar antes de efetuar uma nova instalação."
+${LangFileString} Existing_64bitInst "Já existe uma instalação 64 bits do SMPlayer. Tem que a desinstalar antes de efetuar uma nova instalação."
+
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Esta configuração irá ajuda-lo a instalar o $(^NameDA).$\r$\n$\r$\nÉ altamente recomendado o encerramento de quaisquer instâncias do SMPlayer antes de iniciar a instalação. Deste modo, será possível atualizar os ficheiros do programa sem ter que reiniciar o computador.$\r$\n$\r$\n$_CLICK"
; Components Page
${LangFileString} ShortcutGroupTitle "Atalhos"
@@ -29,17 +34,13 @@ ${LangFileString} Section_StartMenu "Menu Iniciar"
${LangFileString} Section_StartMenu_Desc "Cria uma entrada no Menu Iniciar para o SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (obrigatório)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; necessário para a reprodução."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; necessário para a reprodução. (Precisa de uma ligação à Internet)"
-!endif
${LangFileString} Section_MPlayerCodecs "Codificadores"
!ifdef WITH_CODECS
${LangFileString} Section_MPlayerCodecs_Desc "Codificadores opcionais para o MPlayer."
!else ifndef WITH_CODECS
-${LangFileString} Section_MPlayerCodecs_Desc "Codificadores opcionais para o MPlayer. (Precisa de uma ligação à Internet)"
+${LangFileString} Section_MPlayerCodecs_Desc "Codificadores opcionais para o MPlayer. (precisa de uma ligação à Internet)"
!endif
${LangFileString} Section_MEncoder_Desc "Um programa complementar ao MPlayer, utilizado para codificar ou converter emissões de vídeo e áudio."
@@ -50,14 +51,14 @@ ${LangFileString} Section_IconThemes_Desc "Ícones adicionais para o SMPlayer."
${LangFileString} Section_Translations "Idiomas"
${LangFileString} Section_Translations_Desc "Idiomas adicionais para o SMPlayer."
-${LangFileString} MPlayer_Codec_Msg "O pacote de codificadores adiciona suporte para os formatos que ainda não foram implementados no MPlayer, tais como as novas variantes RealVideo e outros formatos não usuais.$\nNote que estes não serão necessários para os formatos mais comuns como DVDs, MPEG-1/2/4, etc."
+${LangFileString} MPlayer_Codec_Msg "O pacote de codificadores adiciona suporte para os formatos que ainda não foram implementados no MPlayer, tais como as novas variantes RealVideo e outros formatos.$\nEstes codificadores não são necessários para os formatos mais comuns como DVDs, MPEG-1/2/4, etc."
; Upgrade/Reinstall Page
${LangFileString} Reinstall_Header_Text "Selecione o tipo de instalação"
${LangFileString} Reinstall_Header_SubText "Selecione o modo de substituição ou desinstalação."
${LangFileString} Reinstall_Msg1 "Você possui uma instalação do SMPlayer nesta pasta:"
-${LangFileString} Reinstall_Msg2 "Por favor, escolha o método a utilizar:"
+${LangFileString} Reinstall_Msg2 "Por favor escolha o método a utilizar:"
${LangFileString} Reinstall_Overwrite "Substituir ($Inst_Type) a instalação existente"
${LangFileString} Reinstall_Uninstall "Desinstalar (remove) a instalação existente"
${LangFileString} Reinstall_Msg3_1 "Clique Iniciar para continuar."
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "Atualizar"
${LangFileString} StartBtn "Iniciar"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "A transferir o MPlayer..."
-${LangFileString} MPlayer_DL_Retry "O MPlayer não foi instalado corretamente. Tentar novamente?"
-${LangFileString} MPlayer_DL_Failed "Falha ao transferir o MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Falha ao instalar o MPlayer. O MPlayer é necessário para reproduzir ficheiros."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "A transferir os codificadores MPlayer..."
${LangFileString} Codecs_DL_Retry "Os codificadores MPlayer não foram instalados corretamente. Tentar novamente?"
@@ -91,9 +86,10 @@ ${LangFileString} VerInfo_DL_Failed "Ocorreu um erro ao transferir ao informaç
${LangFileString} Uninstaller_No_Admin "Esta aplicação só pode ser desinstalada no modo de administrador."
${LangFileString} Uninstaller_Aborted "Desinstalação cancelada pelo utilizador."
${LangFileString} Uninstaller_NotInstalled "Parece que o SMPlayer não está instalado no diretório '$INSTDIR'.$\r$\nContinuar (não recomendado)?"
+${LangFileString} Uninstaller_64bitOnly "Esta instalação só pode ser desinstalada num sistema Windows de 64 bits."
; Vista & Later Default Programs Registration
-${LangFileString} Application_Description "O SMPlayer é um interface gráfico para o MPlayer, com funções simples como a reprodução de vídeos, DVDs e VCDs bem como outras mais avançadas(suporte a filtros MPlayer, listas e mais)."
+${LangFileString} Application_Description "O SMPlayer é uma interface gráfico para o MPlayer, com funções simples como a reprodução de vídeos, DVDs e VCDs bem como outras mais avançadas(suporte a filtros MPlayer, listas e mais)."
; Misc
${LangFileString} Info_Del_Files "A eliminar ficheiros..."
diff --git a/setup/translations/russian.nsh b/setup/translations/russian.nsh
index 2ddbf02..41e2fb9 100644
--- a/setup/translations/russian.nsh
+++ b/setup/translations/russian.nsh
@@ -8,97 +8,93 @@
; Startup
${LangFileString} Installer_Is_Running "Программа установки уже запущена."
-${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
-${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} Installer_No_Admin "Для установки программы необходимо войти в систему как администратор."
+${LangFileString} SMPlayer_Is_Running "Экземпляр SMPlayer запущен. Пожалуйста, закройте SMPlayer и попытайтесь снова."
-${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
-${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
-${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
+${LangFileString} Win64_Required "Для установки данного ПО требуется 64-битная ОС Windows."
+${LangFileString} Existing_32bitInst "Существует 32-битная установка SMPlayer. Сначала далите 32-битный SMPlayer."
+${LangFileString} Existing_64bitInst "Существует 64-битная установка SMPlayer. Сначала далите 64-битный SMPlayer."
+
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
; Components Page
-${LangFileString} ShortcutGroupTitle "Shortcuts"
-${LangFileString} MPlayerGroupTitle "MPlayer Components"
+${LangFileString} ShortcutGroupTitle "Ярлыки"
+${LangFileString} MPlayerGroupTitle "Компоненты MPlayer"
-${LangFileString} Section_SMPlayer "SMPlayer (required)"
-${LangFileString} Section_SMPlayer_Desc "SMPlayer, shared libraries, and documentation."
+${LangFileString} Section_SMPlayer "SMPlayer (необходимо)"
+${LangFileString} Section_SMPlayer_Desc "SMPlayer, разделяемые библиотеки и документация."
-${LangFileString} Section_DesktopShortcut "Desktop"
-${LangFileString} Section_DesktopShortcut_Desc "Creates a shortcut to SMPlayer on the desktop."
+${LangFileString} Section_DesktopShortcut "Рабочий стол"
+${LangFileString} Section_DesktopShortcut_Desc "Создаёт ярлыки SMPlayer на рабочем столе."
-${LangFileString} Section_StartMenu "Start Menu"
-${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
+${LangFileString} Section_StartMenu "Стартовое меню"
+${LangFileString} Section_StartMenu_Desc "Создаёт ярлыки SMPlayer в стартовом меню."
-${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
+${LangFileString} Section_MPlayer "MPlayer (необходимо)"
+${LangFileString} Section_MPlayer_Desc "MPlayer; необходимо для воспроизведения."
-${LangFileString} Section_MPlayerCodecs "Binary Codecs"
+${LangFileString} Section_MPlayerCodecs "Бинарные кодеки"
!ifdef WITH_CODECS
-${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer."
+${LangFileString} Section_MPlayerCodecs_Desc "Дополнительные кодеки для MPlayer."
!else ifndef WITH_CODECS
-${LangFileString} Section_MPlayerCodecs_Desc "Optional codecs for MPlayer. (Internet Connection required for installation)"
+${LangFileString} Section_MPlayerCodecs_Desc "Дополнительные кодеки для MPlayer. (Для установки требуется подключение к сети Интернет)"
!endif
-${LangFileString} Section_MEncoder_Desc "A companion program to MPlayer that can be used to encode or transform supported audio or video streams."
+${LangFileString} Section_MEncoder_Desc "Сопутствующая MPlayer программа, которую можно использовать для кодирования и преобразования поддерживаемых аудио и видео потоков."
-${LangFileString} Section_IconThemes "Icon Themes"
-${LangFileString} Section_IconThemes_Desc "Additional icon themes for SMPlayer."
+${LangFileString} Section_IconThemes "Темы иконок"
+${LangFileString} Section_IconThemes_Desc "Дополнительные темы иконок для SMPlayer."
-${LangFileString} Section_Translations "Languages"
-${LangFileString} Section_Translations_Desc "Non-English language files for SMPlayer."
+${LangFileString} Section_Translations "Переводы"
+${LangFileString} Section_Translations_Desc "Языковые файлы SMPlayer, помимо английского."
${LangFileString} MPlayer_Codec_Msg "Пакеты с бинарными кодеками добавляют поддержку кодеков, не встроенных в mplayer, например, RealVideo и других нестандартных форматов.$\nОбратите внимание, что эти кодеки не нужны для воспроизведения большинства обычных форматов вроде DVD, MPEG-1/2/4 и т.п."
; Upgrade/Reinstall Page
-${LangFileString} Reinstall_Header_Text "Select Install Type"
-${LangFileString} Reinstall_Header_SubText "Select Overwrite or Uninstall mode."
-
-${LangFileString} Reinstall_Msg1 "You have an existing installation of SMPlayer in the following folder:"
-${LangFileString} Reinstall_Msg2 "Please select how to proceed:"
-${LangFileString} Reinstall_Overwrite "Overwrite ($Inst_Type) the existing installation"
-${LangFileString} Reinstall_Uninstall "Uninstall (remove) the existing installation"
-${LangFileString} Reinstall_Msg3_1 "Click Start when ready to proceed."
-${LangFileString} Reinstall_Msg3_2 "Click Next when ready to proceed."
-${LangFileString} Reinstall_Msg3_3 "Click Uninstall when ready to proceed."
-${LangFileString} Reinstall_Msg4 "Change Installation Settings"
-
-${LangFileString} Type_Reinstall "reinstall"
-${LangFileString} Type_Downgrade "downgrade"
-${LangFileString} Type_Upgrade "upgrade"
-
-${LangFileString} StartBtn "Start"
-
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Загрузка MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer was not successfully installed. Retry?"
-${LangFileString} MPlayer_DL_Failed "Не удалось загрузить MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Ошибка при установке MPlayer. MPlayer требуется для воспроизведения."
+${LangFileString} Reinstall_Header_Text "Выберите тип установки"
+${LangFileString} Reinstall_Header_SubText "Выберите режим установки поверх или удаления."
+
+${LangFileString} Reinstall_Msg1 "Существует установка SMPlayer в следующем каталоге:"
+${LangFileString} Reinstall_Msg2 "Выберите метод для продолжения:"
+${LangFileString} Reinstall_Overwrite "Перезаписать ($Inst_Type) существующую установку"
+${LangFileString} Reinstall_Uninstall "Удалить существующую установку"
+${LangFileString} Reinstall_Msg3_1 "Нажмите Старт для продолжения."
+${LangFileString} Reinstall_Msg3_2 "Нажмите Далее для продолжения."
+${LangFileString} Reinstall_Msg3_3 "Нажмите Удалить для продолжения."
+${LangFileString} Reinstall_Msg4 "Изменить настройки установки"
+
+${LangFileString} Type_Reinstall "переустановить"
+${LangFileString} Type_Downgrade "откатить"
+${LangFileString} Type_Upgrade "обновить"
+
+${LangFileString} StartBtn "Старт"
; Codecs Section
${LangFileString} Codecs_DL_Msg "Загрузка бинарных кодеков для MPlayer..."
-${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
+${LangFileString} Codecs_DL_Retry "Не удалось успешно установить кодеки MPlayer. Попытаться ещё раз?"
${LangFileString} Codecs_DL_Failed "Не удалось загрузить бинарные кодеки для MPlayer: '$R0'."
${LangFileString} Codecs_Inst_Failed "Ошибка при установке бинарных кодеков для MPlayer."
; Version information
${LangFileString} VerInfo_DL_Msg "Загрузка информации о версии..."
-${LangFileString} VerInfo_DL_Failed "Не удалось загрузить информацию о версии: '$R0'. Using a default version."
+${LangFileString} VerInfo_DL_Failed "Не удалось загрузить информацию о версии: '$R0'. Будет использована версия по умолчанию."
; Uninstaller
-${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
+${LangFileString} Uninstaller_No_Admin "Эта установка может быть удалена только пользователем с правами администратора."
${LangFileString} Uninstaller_Aborted "Удаление прервано пользователем."
${LangFileString} Uninstaller_NotInstalled "Не похоже, что SMPlayer установлен в каталог '$INSTDIR'.$\r$\nПродолжить всё равно (не рекомендуется)?"
+${LangFileString} Uninstaller_64bitOnly "Эта установка может быть удалена только на 64-битной Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer - полноценная оболочка для MPlayer, начиная от базовых функций вроде воспроизведения видеофайлов, DVD, VCD и заканчивая более продвинутыми вроде поддержки фильтров MPlayer, списков и т.д."
; Misc
-${LangFileString} Info_Del_Files "Deleting Files..."
-${LangFileString} Info_Del_Registry "Deleting Registry Keys..."
-${LangFileString} Info_Del_Shortcuts "Deleting Shortcuts..."
-${LangFileString} Info_Rest_Assoc "Restoring file associations..."
-${LangFileString} Info_RollBack "Rolling back changes..."
-${LangFileString} Info_Files_Extract "Extracting files..."
+${LangFileString} Info_Del_Files "Удаление файлов..."
+${LangFileString} Info_Del_Registry "Удаление ключей реестра..."
+${LangFileString} Info_Del_Shortcuts "Удаление ярлыков..."
+${LangFileString} Info_Rest_Assoc "Восстановление ассоциаций файлов..."
+${LangFileString} Info_RollBack "Откат изменений..."
+${LangFileString} Info_Files_Extract "Извлечение файлов..."
diff --git a/setup/translations/simpchinese.nsh b/setup/translations/simpchinese.nsh
index 5435b4e..56a687b 100644
--- a/setup/translations/simpchinese.nsh
+++ b/setup/translations/simpchinese.nsh
@@ -7,13 +7,18 @@
!insertmacro LANGFILE "SimpChinese" "简体中文"
; Startup
-${LangFileString} Installer_Is_Running "安装程序已经运行。"
-${LangFileString} Installer_No_Admin "安装本程序时,您必须以管理员身份登录。"
-${LangFileString} SMPlayer_Is_Running "一个 SMPlayer 实例正在运行。请退出 SMPlayer,然后再试一次。"
+${LangFileString} Installer_Is_Running "安装程序已经在运行。"
+${LangFileString} Installer_No_Admin "安装此程序时,您必须以管理员身份登录。"
+${LangFileString} SMPlayer_Is_Running "SMPlayer 的一个实例正在运行。请退出 SMPlayer,然后再试一次。"
-${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
-${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
-${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+${LangFileString} OS_Not_Supported "不支持的操作系统。$\nSMPlayer ${SMPLAYER_VERSION} 要求至少是 Windows XP,其在您的系统上可能无法正常工作。$\n您真的要继续安装吗?"
+${LangFileString} Win64_Required "安装此软件需要 64 位 Windows 操作系统。"
+${LangFileString} Existing_32bitInst "存在一个现有的 SMPlayer 32 位安装。您必须先卸载 32 位的 SMPlayer。"
+${LangFileString} Existing_64bitInst "存在一个现有的 SMPlayer 64 位安装。您必须先卸载 64 位的 SMPlayer。"
+
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) 安装程序"
+${LangFileString} WelcomePage_Text "安装程序将引导您完成 $(^NameDA) 的安装。$\r$\n$\r$\n建议您在开始安装之前关闭所有的 SMPlayer 实例。这将使它能够更新相关的程序文件,而无需重新启动您的计算机。$\r$\n$\r$\n$_CLICK"
; Components Page
${LangFileString} ShortcutGroupTitle "快捷方式"
@@ -29,34 +34,30 @@ ${LangFileString} Section_StartMenu "开始菜单"
${LangFileString} Section_StartMenu_Desc "创建 SMPlayer 开始菜单项。"
${LangFileString} Section_MPlayer "MPlayer (必需)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "播放媒体文件所必需的 MPlayer 内核。"
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "播放媒体文件所必需的 MPlayer 内核。(安装需要使用网络连接)"
-!endif
${LangFileString} Section_MPlayerCodecs "二进制编解码器"
!ifdef WITH_CODECS
-${LangFileString} Section_MPlayerCodecs_Desc "用于 MPlayer 的可选编解码器包。"
+${LangFileString} Section_MPlayerCodecs_Desc "适用于 MPlayer 的可选编解码器包。"
!else ifndef WITH_CODECS
-${LangFileString} Section_MPlayerCodecs_Desc "用于 MPlayer 的可选编解码器包。(安装需要使用网络连接)"
+${LangFileString} Section_MPlayerCodecs_Desc "适用于 MPlayer 的可选编解码器包。(安装需要使用网络连接)"
!endif
-${LangFileString} Section_MEncoder_Desc "MPlayer 伴侣程序,可用于编码或转换支持的音频/视频流。"
+${LangFileString} Section_MEncoder_Desc "MPlayer 的配套程序,可以用来编码或转换支持的音频/视频流。"
${LangFileString} Section_IconThemes "图标主题"
-${LangFileString} Section_IconThemes_Desc "用于 SMPlayer 的附加图标主题。"
+${LangFileString} Section_IconThemes_Desc "SMPlayer 的附加图标主题。"
${LangFileString} Section_Translations "语言"
-${LangFileString} Section_Translations_Desc "用于 SMPlayer 的语言文件 (除英语)。"
+${LangFileString} Section_Translations_Desc "SMPlayer 的语言文件。(除英语)"
-${LangFileString} MPlayer_Codec_Msg "二进制编解码器包可增加对新 RealVideo 变种和很多不常见格式的支持。$\n请注意,播放像 DVD, MPEG-1/2/4 这样平时常见的格式无需安装本编解码器包。"
+${LangFileString} MPlayer_Codec_Msg "二进制编解码器包可增加对新 RealVideo 变种和很多不常见格式的支持。$\n请注意,播放像 DVD、MPEG-1/2/4 这样平时常见的格式无需安装本编解码器包。"
; Upgrade/Reinstall Page
${LangFileString} Reinstall_Header_Text "选择安装类型"
-${LangFileString} Reinstall_Header_SubText "选择覆盖或卸载模式。"
+${LangFileString} Reinstall_Header_SubText "选择“覆盖”或“卸载”模式。"
-${LangFileString} Reinstall_Msg1 "您有一个已存在的 SMPlayer 安装位于以下文件夹:"
+${LangFileString} Reinstall_Msg1 "您有一个现有的 SMPlayer 安装位于以下文件夹:"
${LangFileString} Reinstall_Msg2 "请选择如何继续:"
${LangFileString} Reinstall_Overwrite "覆盖 ($Inst_Type) 现有的安装"
${LangFileString} Reinstall_Uninstall "卸载 (移除) 现有的安装"
@@ -71,29 +72,24 @@ ${LangFileString} Type_Upgrade "升级"
${LangFileString} StartBtn "开始"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "正在下载 MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer 没有成功安装。是否重试?"
-${LangFileString} MPlayer_DL_Failed "无法下载 MPlayer: '$R0'。"
-${LangFileString} MPlayer_Inst_Failed "无法安装 MPlayer。要播放媒体文件必须安装 MPlayer。"
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "正在下载 MPlayer 编解码器..."
${LangFileString} Codecs_DL_Retry "MPlayer 编解码器没有成功安装。是否重试?"
-${LangFileString} Codecs_DL_Failed "无法下载 MPlayer 编解码器: '$R0'。"
-${LangFileString} Codecs_Inst_Failed "无法安装 MPlayer 编解码器。"
+${LangFileString} Codecs_DL_Failed "MPlayer 编解码器下载失败: '$R0'。"
+${LangFileString} Codecs_Inst_Failed "MPlayer 编解码器安装失败。"
; Version information
${LangFileString} VerInfo_DL_Msg "正在下载版本信息..."
-${LangFileString} VerInfo_DL_Failed "无法下载版本信息: '$R0'。将使用默认版本。"
+${LangFileString} VerInfo_DL_Failed "版本信息下载失败: '$R0'。将使用默认版本。"
; Uninstaller
-${LangFileString} Uninstaller_No_Admin "本安装只能由具有管理员权限的用户卸载。"
+${LangFileString} Uninstaller_No_Admin "安装只能由具有管理员权限的用户卸载。"
${LangFileString} Uninstaller_Aborted "卸载由用户中止。"
-${LangFileString} Uninstaller_NotInstalled "没有发现 SMPlayer 被安装在目录 '$INSTDIR' 中。$\r$\n仍要继续吗? (不推荐)"
+${LangFileString} Uninstaller_NotInstalled "没有发现 SMPlayer 被安装在目录 '$INSTDIR' 中。$\r$\n仍然要继续吗? (不推荐)"
+${LangFileString} Uninstaller_64bitOnly "安装只能在 64 位 Windows 中卸载。"
; Vista & Later Default Programs Registration
-${LangFileString} Application_Description "SMPlayer 是一个从播放视频、DVD、VCD 等基本特性到支持 MPlayer 过滤器、EDL 列表等高级特性的完整 MPlayer 前端程序。"
+${LangFileString} Application_Description "SMPlayer 是一个完备的 MPlayer 前端,从像播放视频、DVD、VCD 这样的基本功能,到支持 MPlayer 过滤器、EDL 列表等更多高级功能。"
; Misc
${LangFileString} Info_Del_Files "正在删除文件..."
diff --git a/setup/translations/slovak.nsh b/setup/translations/slovak.nsh
index 8f600ef..452fec4 100644
--- a/setup/translations/slovak.nsh
+++ b/setup/translations/slovak.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "The installer is already running."
${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Shortcuts"
${LangFileString} MPlayerGroupTitle "MPlayer Components"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Start Menu"
${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Downloading MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer was not successfully installed. Retry?"
-${LangFileString} MPlayer_DL_Failed "Failed to download MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Failed to install MPlayer. MPlayer is required for playback."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Downloading MPlayer codecs..."
${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Failed to download version info: '$R0'. Usi
${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
${LangFileString} Uninstaller_Aborted "Uninstall aborted by user."
${LangFileString} Uninstaller_NotInstalled "It does not appear that SMPlayer is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer is a complete front-end for MPlayer, from basic features like playing videos, DVDs, VCDs to more advanced features like support for MPlayer filters, edl lists, and more."
diff --git a/setup/translations/slovenian.nsh b/setup/translations/slovenian.nsh
index 3b5b7d0..db4f7bd 100644
--- a/setup/translations/slovenian.nsh
+++ b/setup/translations/slovenian.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "The installer is already running."
${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Shortcuts"
${LangFileString} MPlayerGroupTitle "MPlayer Components"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Start Menu"
${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Downloading MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer was not successfully installed. Retry?"
-${LangFileString} MPlayer_DL_Failed "Failed to download MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Failed to install MPlayer. MPlayer is required for playback."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Downloading MPlayer codecs..."
${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Failed to download version info: '$R0'. Usi
${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
${LangFileString} Uninstaller_Aborted "Uninstall aborted by user."
${LangFileString} Uninstaller_NotInstalled "It does not appear that SMPlayer is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer is a complete front-end for MPlayer, from basic features like playing videos, DVDs, VCDs to more advanced features like support for MPlayer filters, edl lists, and more."
diff --git a/setup/translations/spanish.nsh b/setup/translations/spanish.nsh
index 4b0b3a3..f2dda99 100644
--- a/setup/translations/spanish.nsh
+++ b/setup/translations/spanish.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "La instalación ya se está ejecutando."
${LangFileString} Installer_No_Admin "Debes tener permisos de administrador para instalar este programa."
${LangFileString} SMPlayer_Is_Running "SMPlayer se está ejecutando. Por favor, ciérralo e inténtalo de nuevo."
+${LangFileString} OS_Not_Supported "Sistema operativo no soportado.$\nSMPlayer ${SMPLAYER_VERSION} requiere al menos Windows XP y podría no funcionar correctamente en este sistema.$\n¿Realmente quieres continuar con la instalación?"
${LangFileString} Win64_Required "Se necesita un Windows de 64 bits para instalar este programa."
${LangFileString} Existing_32bitInst "Existe una versión de 32 bits instalada. Debes desinstalarla primero."
${LangFileString} Existing_64bitInst "Existe una versión de 64 bits instalada. Debes desinstalarla primero."
+; Welcome page
+${LangFileString} WelcomePage_Title "Instalación de $(^NameDA)"
+${LangFileString} WelcomePage_Text "A continuación se procederá a la instalación de $(^NameDA).$\r$\n$\r$\nSe recomienda cerrar todos los procesos de SMPlayer antes de comenzar con la instalación. De esta manera será posible actualizar los ficheros del programa sin tener que reiniciar el ordenador.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Accesos"
${LangFileString} MPlayerGroupTitle "Componentes de MPlayer"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Menú Inicio"
${LangFileString} Section_StartMenu_Desc "Crea una entrada en el Menú Inicio para SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (requerido)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; requerido para la reproducción multimedia."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; requerido para la reproducción multimedia. (Se necesita conexión a internet para la instalación)"
-!endif
${LangFileString} Section_MPlayerCodecs "Códecs Binarios"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "actualizar"
${LangFileString} StartBtn "Comenzar"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Descargando el MPlayer..."
-${LangFileString} MPlayer_DL_Retry "El MPlayer no se ha instalado correctamente. ¿Reintentar?"
-${LangFileString} MPlayer_DL_Failed "Ha fallado la descarga del MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Ha fallado la instalación del MPlayer. El MPlayer es imprescindible o no se podrá reproducir nada."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Descargando los códecs del MPlayer..."
${LangFileString} Codecs_DL_Retry "Los códecs del MPlayer no se han instalado correctamente. ¿Reintentar?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Ha fallado la descarga de la información d
${LangFileString} Uninstaller_No_Admin "Este programa sólo se puede desinstalar por un usuario con permisos de administrador."
${LangFileString} Uninstaller_Aborted "Desinstalación cancelada por el usuario."
${LangFileString} Uninstaller_NotInstalled "No parece que el SMPlayer esté instalado en el directorio '$INSTDIR'.$\r$\n¿Continuar de todos modos (no recomendado)?"
+${LangFileString} Uninstaller_64bitOnly "Esta instalación sólo se puede desinstalar en Windows de 64 bits."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer pretende ser un interfaz completo para MPlayer, con opciones para cosas básicas, como reproducir vídeos, DVDs y VCDs hasta opciones más avanzadas como soporte para los filtros del MPlayer y mucho más."
diff --git a/setup/translations/tradchinese.nsh b/setup/translations/tradchinese.nsh
index d14f719..5e8ad70 100644
--- a/setup/translations/tradchinese.nsh
+++ b/setup/translations/tradchinese.nsh
@@ -11,10 +11,15 @@ ${LangFileString} Installer_Is_Running "The installer is already running."
${LangFileString} Installer_No_Admin "You must be logged in as an administrator when installing this program."
${LangFileString} SMPlayer_Is_Running "An instance of SMPlayer is running. Please exit SMPlayer and try again."
+${LangFileString} OS_Not_Supported "Unsupported operating system.$\nSMPlayer ${SMPLAYER_VERSION} requires at least Windows XP and may not work correctly on your system.$\nDo you really want to continue with the installation?"
${LangFileString} Win64_Required "A 64-bit Windows operating system is required to install this software."
${LangFileString} Existing_32bitInst "An existing 32-bit installation of SMPlayer exists. You must uninstall 32-bit SMPlayer first."
${LangFileString} Existing_64bitInst "An existing 64-bit installation of SMPlayer exists. You must uninstall 64-bit SMPlayer first."
+; Welcome page
+${LangFileString} WelcomePage_Title "$(^NameDA) Setup"
+${LangFileString} WelcomePage_Text "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all instances of SMPlayer before starting setup. This will make it possible to update relevant program files without having to reboot your computer.$\r$\n$\r$\n$_CLICK"
+
; Components Page
${LangFileString} ShortcutGroupTitle "Shortcuts"
${LangFileString} MPlayerGroupTitle "MPlayer Components"
@@ -29,11 +34,7 @@ ${LangFileString} Section_StartMenu "Start Menu"
${LangFileString} Section_StartMenu_Desc "Create a Start Menu entry for SMPlayer."
${LangFileString} Section_MPlayer "MPlayer (required)"
-!ifdef WITH_MPLAYER
${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback."
-!else ifndef WITH_MPLAYER
-${LangFileString} Section_MPlayer_Desc "MPlayer; required for playback. (Internet Connection required for installation)"
-!endif
${LangFileString} Section_MPlayerCodecs "Binary Codecs"
!ifdef WITH_CODECS
@@ -71,12 +72,6 @@ ${LangFileString} Type_Upgrade "upgrade"
${LangFileString} StartBtn "Start"
-; MPlayer Section
-${LangFileString} MPlayer_DL_Msg "Downloading MPlayer..."
-${LangFileString} MPlayer_DL_Retry "MPlayer was not successfully installed. Retry?"
-${LangFileString} MPlayer_DL_Failed "Failed to download MPlayer: '$R0'."
-${LangFileString} MPlayer_Inst_Failed "Failed to install MPlayer. MPlayer is required for playback."
-
; Codecs Section
${LangFileString} Codecs_DL_Msg "Downloading MPlayer codecs..."
${LangFileString} Codecs_DL_Retry "MPlayer codecs were not successfully installed. Retry?"
@@ -91,6 +86,7 @@ ${LangFileString} VerInfo_DL_Failed "Failed to download version info: '$R0'. Usi
${LangFileString} Uninstaller_No_Admin "This installation can only be uninstalled by a user with administrator privileges."
${LangFileString} Uninstaller_Aborted "Uninstall aborted by user."
${LangFileString} Uninstaller_NotInstalled "It does not appear that SMPlayer is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
+${LangFileString} Uninstaller_64bitOnly "This installation can only be uninstalled on 64-bit Windows."
; Vista & Later Default Programs Registration
${LangFileString} Application_Description "SMPlayer is a complete front-end for MPlayer, from basic features like playing videos, DVDs, VCDs to more advanced features like support for MPlayer filters, edl lists, and more."