diff --git a/development/Win32/packaging/LyXWinInstaller/Aspell.nsh b/development/Win32/packaging/LyXWinInstaller/Aspell.nsh deleted file mode 100644 index d6b092513c..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/Aspell.nsh +++ /dev/null @@ -1,303 +0,0 @@ -; Aspell dictionaries - -Function DownloadDictionary - - FileOpen $R5 "$INSTDIR\Resources\AspellDictionaryNames.txt" r - ${Do} - FileRead $R5 $String ; $String is now the dictionary name - StrCpy $R3 $String 2 ; $R3 is now the dictionary language code - ${if} $R3 == "tr" - ${andif} $DictCode != "tr" ; if nothing was found - FileClose $R5 - StrCpy $String "" - StrCpy $AspellInstallYes "$RunNumber$AspellInstallYes" - Goto abortinstall - ${endif} - ${LoopUntil} $DictCode == $R3 - FileClose $R5 - - StrCpy $String $String -2 ; delete the linebreak characters at the end - - ; Download aspell dictionaries, - ; if first download repository is not available try the other ones listed in "AspellRepositories.txt" - FileOpen $R5 "$INSTDIR\Resources\AspellRepositories.txt" r - ${For} $4 1 4 - FileRead $R5 $Search ; $Search is now the AspellLocation - StrCpy $Search $Search -2 ; delete the linebreak characters at the end - Push $R0 - InetLoad::load /TIMEOUT=5000 "$Search/aspell6-$String.exe" "$INSTDIR\aspell6-$String.exe" /END - Pop $R0 - ; test if the downloaded file is really the expected one, because if the file didn't exist on the download server, - ; berlios.de downloads a text file with the name of the non-existing file that contains the line "File doesn't exist" - FileOpen $R4 "$INSTDIR\aspell6-$String.exe" r - FileRead $R4 $Search - FileClose $R4 - StrCpy $Search $Search -1 ; delete the unix linebreak character at the end - ${if} $Search == "File doesn't exist" - StrCpy $R0 "" - ${endif} - ${if} $R0 == "OK" - ${ExitFor} - ${endif} - ${Next} - FileClose $R5 - - ; Download failed - ${if} $R0 != "OK" - MessageBox MB_OK|MB_ICONEXCLAMATION "$(AspellDownloadFailed) $R0" - StrCpy $AspellInstallYes "$RunNumber$AspellInstallYes" - Goto abortinstall - ${endif} - - ; Download successful - ExecWait '"$INSTDIR\aspell6-$String.exe" /NoDirChange /AutoClose' - ${if} $AspellBaseReg == "HKLM" - ReadRegStr $R2 HKLM "Software\Aspell\Dictionaries" $DictCode - ${else} - ReadRegStr $R2 HKCU "Software\Aspell\Dictionaries" $DictCode - ${endif} - ${if} $R2 == "" - MessageBox MB_OK|MB_ICONEXCLAMATION "$(AspellInstallFailed)" - StrCpy $AspellInstallYes "$RunNumber$AspellInstallYes" - ${endif} - - abortinstall: - Delete "$INSTDIR\aspell6-$String.exe" - -FunctionEnd - -;-------------------------------- - -Function InstallAspellDictionary - - StrCpy $AspellInstallYes "" - - ; install the english dictionary if not already installed - StrCpy $DictCode "en" - StrCpy $RunNumber "1" - ${if} $AspellBaseReg == "HKLM" ; $AspellBaseReg is either "HKLM" or if Aspell is already installed only for the current user "HKCU" - ReadRegStr $R2 HKLM "Software\Aspell\Dictionaries" $DictCode - ${else} - ReadRegStr $R2 HKCU "Software\Aspell\Dictionaries" $DictCode - ${endif} - ${if} $R2 == "" - MessageBox MB_OK|MB_ICONINFORMATION "$(AspellInfo)" - StrCpy $AspellMessage "Yes" - Call DownloadDictionary - ${else} - StrCpy $AspellInstallYes "$RunNumber$AspellInstallYes" - ${endif} - - ; install the dictionary corresponding to the system and the chosen menu language - ; check if the system language and the chosen menu language are the same, if not install - ; both dictionaries - StrCpy $DictCode $LangCode 2 - StrCpy $0 $DictCode ; $0 is now the language code of the chosen LyX menu language - StrCpy $RunNumber "2" - ${if} $AspellInstallYes == "1" - ${andif} $DictCode == "en" - StrCpy $AspellInstallYes "$RunNumber$AspellInstallYes" - ${else} - ${if} $AspellBaseReg == "HKLM" - ReadRegStr $R2 HKLM "Software\Aspell\Dictionaries" $DictCode - ${else} - ReadRegStr $R2 HKCU "Software\Aspell\Dictionaries" $DictCode - ${endif} - ${if} $R2 == "" - ${if} $AspellMessage != "Yes" - MessageBox MB_OK|MB_ICONINFORMATION "$(AspellInfo)" - ${endif} - Call DownloadDictionary - ${else} - StrCpy $AspellInstallYes "$RunNumber$AspellInstallYes" - ${endif} - ${endif} ; endif $AspellInstallYes == "1" - ${if} $LangCodeSys != $DictCode - StrCpy $RunNumber "3" - ${if} $LangCodeSys == "en" - StrCpy $AspellInstallYes "$RunNumber$AspellInstallYes" - ${else} - StrCpy $DictCode $LangCodeSys - ${if} $AspellBaseReg == "HKLM" - ReadRegStr $R2 HKLM "Software\Aspell\Dictionaries" $DictCode - ${else} - ReadRegStr $R2 HKCU "Software\Aspell\Dictionaries" $DictCode - ${endif} - ${if} $R2 == "" - ${if} $AspellMessage != "Yes" - MessageBox MB_OK|MB_ICONINFORMATION "$(AspellInfo)" - ${endif} - Call DownloadDictionary - ${else} - StrCpy $AspellInstallYes "$RunNumber$AspellInstallYes" - ${endif} - ${endif} ; endif $LangCodeSys == "en" - ${else} ; else ${if} $LangCodeSys != $DictCode - StrCpy $AspellInstallYes "4$AspellInstallYes" - ${endif} - - ; check the registry to divide between nothing installed or all already installed - ${if} $AspellInstallYes == "321" - ${orif} $AspellInstallYes == "421" - ${if} $AspellBaseReg == "HKLM" - ReadRegStr $R2 HKLM "Software\Aspell\Dictionaries" "en" - ${else} - ReadRegStr $R2 HKCU "Software\Aspell\Dictionaries" "en" - ${endif} - ${if} $R2 != "" - ${if} $0 == "en" - ${andif} $LangCodeSys == "en" - MessageBox MB_ICONINFORMATION|MB_DEFBUTTON2|MB_YESNO "$(AspellAll) English$(AspellPart4)" IDYES DownloadNow IDNO DownloadLater - ${endif} - ${if} $0 == "en" - MessageBox MB_ICONINFORMATION|MB_DEFBUTTON2|MB_YESNO "$(AspellAll) English$(AspellPartAnd)$LangNameSys$(AspellPart4)" IDYES DownloadNow IDNO DownloadLater - ${endif} - ${if} $LangCodeSys == "en" - MessageBox MB_ICONINFORMATION|MB_DEFBUTTON2|MB_YESNO "$(AspellAll) English$(AspellPartAnd)$LangName$(AspellPart4)" IDYES DownloadNow IDNO DownloadLater - ${endif} - ${if} $LangCodeSys != $0 - MessageBox MB_ICONINFORMATION|MB_DEFBUTTON2|MB_YESNO "$(AspellAll) English$(AspellPartSep)$LangName$(AspellPartAnd)$LangNameSys$\r$\n$(AspellPart4)" IDYES DownloadNow IDNO DownloadLater - ${endif} - ${if} $LangCodeSys == $0 - MessageBox MB_ICONINFORMATION|MB_DEFBUTTON2|MB_YESNO "$(AspellAll) English$(AspellPartAnd)$LangName$(AspellPart4)" IDYES DownloadNow IDNO DownloadLater - ${endif} - ${endif} - ${endif} - - Delete "$INSTDIR\Resources\AspellDictionaryNames.txt" - Delete "$INSTDIR\Resources\AspellRepositories.txt" - - ; show message about Aspell dictionaries - ; the code rule to display the correct message: - ; - when the englisch dictionary is already installed or couldn't be installed -> set a "1" - ; - when the dictionary of the chosen LyX menu language is already installed or couldn't be installed -> set a "2" - ; - when the dictionary of the Windows system language is already installed or couldn't be installed -> set a "3" - ; - when the dictionary of the chosen LyX menu language is equal to the dictionary of the Windows system language -> set a "4" - ${if} $AspellInstallYes == "32" - ${orif} $AspellInstallYes == "42" - MessageBox MB_ICONINFORMATION|MB_DEFBUTTON2|MB_YESNO "$(AspellPartStart)$(AspellPart1)$(AspellPart4)" IDYES DownloadNow IDNO DownloadLater - ${endif} - ${if} $AspellInstallYes == "3" - ${orif} $AspellInstallYes == "4" - MessageBox MB_ICONINFORMATION|MB_DEFBUTTON2|MB_YESNO "$(AspellPartStart)$(AspellPart1)$(AspellPartAnd)$(AspellPart2)$(AspellPart4)" IDYES DownloadNow IDNO DownloadLater - ${endif} - ${if} $AspellInstallYes == "2" - MessageBox MB_ICONINFORMATION|MB_DEFBUTTON2|MB_YESNO "$(AspellPartStart)$(AspellPart1)$(AspellPartAnd)$(AspellPart3)$(AspellPart4)" IDYES DownloadNow IDNO DownloadLater - ${endif} - ${if} $AspellInstallYes == "" - MessageBox MB_ICONINFORMATION|MB_DEFBUTTON2|MB_YESNO "$(AspellPartStart)$(AspellPart1)$(AspellPartSep)$(AspellPart2)$(AspellPartAnd)$(AspellPart3)$(AspellPart4)" IDYES DownloadNow IDNO DownloadLater - ${endif} - ${if} $AspellInstallYes == "321" - ${orif} $AspellInstallYes == "421" - MessageBox MB_ICONINFORMATION|MB_DEFBUTTON2|MB_YESNO "$(AspellNone)" IDYES DownloadNow IDNO DownloadLater - ${endif} - ${if} $AspellInstallYes == "31" - ${orif} $AspellInstallYes == "41" - MessageBox MB_ICONINFORMATION|MB_DEFBUTTON2|MB_YESNO "$(AspellPartStart)$(AspellPart2)$(AspellPart4)" IDYES DownloadNow IDNO DownloadLater - ${endif} - ${if} $AspellInstallYes == "21" - MessageBox MB_ICONINFORMATION|MB_DEFBUTTON2|MB_YESNO "$(AspellPartStart)$(AspellPart3)$(AspellPart4)" IDYES DownloadNow IDNO DownloadLater - ${endif} - ${if} $AspellInstallYes == "1" - MessageBox MB_ICONINFORMATION|MB_DEFBUTTON2|MB_YESNO "$(AspellPartStart)$(AspellPart2)$(AspellPartAnd)$(AspellPart3)$(AspellPart4)" IDYES DownloadNow IDNO DownloadLater - ${endif} - - DownloadNow: - ExecShell "open" "${AspellLocationExact}" - DownloadLater: - -FunctionEnd - -;--------------------------- - -Function un.UninstAspell - - ReadRegStr $1 HKLM "Software\Aspell" "Base Path" - ; delete Aspells' install folder - RMDir /r $1 - ; unregister Aspell and its dictionaries - DeleteRegKey HKLM "Software\Aspell" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-af" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-am" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-az" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-be" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-bg" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-bn" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-br" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-ca" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-cs" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-csb" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-cy" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-da" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-de" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-en" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-el" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-eo" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-es" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-et" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-fa" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-fi" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-fo" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-fr" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-ga" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-gd" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-gl" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-gu" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-gv" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-he" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-hi" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-hil" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-hr" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-hsb" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-hu" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-ia" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-id" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-is" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-it" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-ku" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-la" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-lt" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-lv" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-mg" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-mi" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-mk" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-mn" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-mr" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-ms" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-mt" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-nb" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-nds" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-nl" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-nn" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-no" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-ny" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-or" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-pa" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-pl" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-pt" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-qu" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-ro" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-ru" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-rw" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-sc" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-sk" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-sl" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-sr" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-sv" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-sw" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-ta" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-te" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-tet" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-tl" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-tn" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-tr" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-uk" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-uz" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-vi" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-wa" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-yi" - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aspell6-Dictionary-zu" - -FunctionEnd - diff --git a/development/Win32/packaging/LyXWinInstaller/Changelog.txt b/development/Win32/packaging/LyXWinInstaller/Changelog.txt deleted file mode 100644 index a926006696..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/Changelog.txt +++ /dev/null @@ -1,98 +0,0 @@ -Version LyX 1.5svn-23-01-2007 - -- LyX 1.5svn from 23-01-2007: - - InstantPreview and formal tables now work properly - - fix some problems when file paths have accented characters - - new toolbar to view/update view documents - - lots of crashes fixed - -- fix crash when viewing PDF when Acrobat 8 Standard/Professional is used -- existing Python installation is now only used for LyX when it is Python 2.5 - (some Compaq and Dell computers are delivered with outdated Python interpreters) -- the thesaurus program "Aiksaurus" that is used by LyX is now registered separately from LyX - -- updated to ImageMagick 6.3.2-0 - -Thanks to Christian Ridderström: -- updated Swedish translation of the installer -Thanks to Szõke Sándor: -- updated Hungarian translation of the installer -Thanks to Edwin Leuven: -- updated Dutch translation of the installer - -Known problem: -- LyX's package and class database is incomplete when you don't have an open internet - connection while LyX is first started. (This is a bug in MiKTeX.) - Workaround: open an internet connection and reconfigure LyX - - -Version LyX 1.5svn-15-01-2007 - -- LyX 1.5svn from 15-01-2007: - - improved bookmark handling - - copy/paste now possible between LyX-files opened in different LyX instances (programs). - - updated documentation -- this LyX 1.5svn build can now be started on every Windows 2000/XP machine - -- updated Readme files for the installer sourcecode: - - mention the Galician translation files for NSIS - -- updated Galician translation of the installer - -Known LyX problem: -- LyX's package and class database is incomplete when you don't have an open internet - connection while LyX is first started. (This is a bug in MiKTeX.) - Workaround: open an internet connection and reconfigure LyX - - -Version LyX 1.5svn-07-01-2007 - -- LyX 1.5svn from 07-01-2007: - - the tex2lyx.exe and lyx.exe and LyX's dialogs now have an icon - - LyX is now also translated into Galician - - you can now copy and paste stuff from other programs to LyX with "Strg-v" - like for all other Windows programs - - lots of bugfixes: e.g. TOC dialog, spellchecker, change tracking, LaTeX-error dialog - -- updated Readme files for the installer sourcecode: - - mention the required NSIS-package "InetLoad" - - require NSIS 2.22 to create the installer -- updated installer source code documentation - -- fix bug that small installer version took care about JabRef while uninstalling -- fix that complete installer version does no longer propose to install programs - that are already installed -- fix crash when viewing PDF when Adobe Reader 8 is used - -Thanks to Ramon Flores : -- updated Spanish and Portuguese translation and new Galician translation of the installer - - -Version LyX 1.5svn-22-12-2006 - -- LyX 1.5svn from 22-12-2006 -- added two .dll-files needed to get LyX working on all Windows platforms - -!Happy new year! - - -Version LyX 1.5svn-18-12-2006 - -- LyX 1.5svn from 18-12-2006 -- open LyX with defined session file -- update to MiKTeX 2.5.2540 -- update to - ImageMagick 6.3.1-2 -- fix bug that installed Ghostscript is not always recognized -- fix error when invoking View -> PDF (pdflatex) -- GSView is no longer shipped with the small installer version -- the complete installer version comes now with the bibliography manager "JabRef" - which can be installed optionally -- updated to version 1.4.3-6 of the Extended-Insets manual - - -Version LyX 1.5svn-13-12-2006 - -- LyX 1.5svn from 13-12-2006 -- ImageMagick 6.3.1-1 -- new method to view PDF-files -- fixes bug in Aspell that prevents words to be added to spellchecker database diff --git a/development/Win32/packaging/LyXWinInstaller/FindProcDLL.dll b/development/Win32/packaging/LyXWinInstaller/FindProcDLL.dll deleted file mode 100644 index 790c227969..0000000000 Binary files a/development/Win32/packaging/LyXWinInstaller/FindProcDLL.dll and /dev/null differ diff --git a/development/Win32/packaging/LyXWinInstaller/InetLoad.dll b/development/Win32/packaging/LyXWinInstaller/InetLoad.dll deleted file mode 100644 index 000152d535..0000000000 Binary files a/development/Win32/packaging/LyXWinInstaller/InetLoad.dll and /dev/null differ diff --git a/development/Win32/packaging/LyXWinInstaller/InstallActions-complete.nsh b/development/Win32/packaging/LyXWinInstaller/InstallActions-complete.nsh deleted file mode 100644 index 58ef0fc0a0..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/InstallActions-complete.nsh +++ /dev/null @@ -1,359 +0,0 @@ -; The '-' makes the section invisible. -; Sections are entered in order, so the settings above are all -; available to SecInstallation -Section "-Installation actions" SecInstallation - ; extract all files - SetOutPath "$INSTDIR" - File /r "${PRODUCT_SOURCEDIR}\bin" - File /r "${PRODUCT_SOURCEDIR}\etc" - File /r "${PRODUCT_SOURCEDIR}\Resources" - File /r "${PRODUCT_SOURCEDIR}\external" - - ; install MiKTeX if not already installed - ${if} $LatexPath == "" - ; launch MiKTeX's installer - MessageBox MB_OK|MB_ICONINFORMATION "$(LatexInfo)" - ExecWait ${MiKTeXInstall} - ; test if MiKTeX is installed - ReadRegStr $String HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "Path" - StrCpy $Search "miktex" - Call LaTeXCheck - ${if} $LatexPath == "" - StrCpy $MiKTeXUser "HKCU" - ReadRegStr $String HKCU "Environment" "Path" - StrCpy $Search "miktex" - Call LaTeXCheck - ${endif} - ${if} $LatexPath != "" - ; set package repository (MiKTeX's primary package repository) - WriteRegStr HKLM "SOFTWARE\MiKTeX.org\MiKTeX" "OnlyWithLyX" "Yes" ; special entry to tell the uninstaller that it was installed with LyX - StrCpy $MiKTeXInstalled "yes" - ${if} $MiKTeXUser != "HKCU" - StrCpy $MiKTeXPath "$LatexPath" -11 - ;MessageBox MB_OK|MB_ICONINFORMATION "$(MiKTeXPathInfo)" ; info that MiKTeX's installation folder must have write permissions for all users to work properly - ${endif} - ${else} - MessageBox MB_OK|MB_ICONSTOP "$(LatexError1)" - SetOutPath $TEMP ; to be able to delete the $INSTDIR - RMDir /r $INSTDIR - Abort - ${endif} ; endif $LatexPath != "" - ${endif} - - ${if} $GhostscriptPath == "" - ; register Ghostscript - WriteRegStr HKLM "SOFTWARE\GPL Ghostscript\${GhostscriptVersion}" "GS_DLL" "${GhostscriptDir}\bin\gsdll32.dll" - WriteRegStr HKLM "SOFTWARE\GPL Ghostscript\${GhostscriptVersion}" "GS_LIB" "${GhostscriptDir}\lib;${GhostscriptDir}\fonts;${GhostscriptDir}\Resource" - - WriteRegStr HKLM "SOFTWARE\GPL Ghostscript" "OnlyWithLyX" "Yes" ; special entry to tell the uninstaller that it was installed with LyX - StrCpy $GhostscriptPath "${GhostscriptDir}\bin" - ${else} - ; delete unnecessary files - RMDir /r ${GhostscriptDir} - ${endif} - - ${if} $ImageMagickPath == "" - ; register ImageMagick - WriteRegStr HKLM "SOFTWARE\Classes\Applications" "AutoRun" "${ImageMagickDir}\convert.exe $$" - WriteRegStr HKLM "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "BinPath" "${ImageMagickDir}" - WriteRegStr HKLM "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "CoderModulesPath" "${ImageMagickDir}\modules\coders" - WriteRegStr HKLM "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "ConfigurePath" "${ImageMagickDir}\config" - WriteRegStr HKLM "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "FilterModulesPath" "${ImageMagickDir}\modules\filters" - WriteRegStr HKLM "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "LibPath" "${ImageMagickDir}" - - WriteRegStr HKLM "SOFTWARE\ImageMagick\Current" "BinPath" "${ImageMagickDir}" - WriteRegStr HKLM "SOFTWARE\ImageMagick\Current" "CoderModulesPath" "${ImageMagickDir}\modules\coders" - WriteRegStr HKLM "SOFTWARE\ImageMagick\Current" "ConfigurePath" "${ImageMagickDir}\config" - WriteRegStr HKLM "SOFTWARE\ImageMagick\Current" "FilterModulesPath" "${ImageMagickDir}\modules\filters" - WriteRegStr HKLM "SOFTWARE\ImageMagick\Current" "LibPath" "${ImageMagickDir}" - WriteRegDWORD HKLM "SOFTWARE\ImageMagick\Current" "QuantumDepth" 0x00000010 - WriteRegStr HKLM "SOFTWARE\ImageMagick\Current" "Version" "${ImageMagickVersion}" - - WriteRegStr HKLM "Software\ImageMagick" "OnlyWithLyX" "Yes" ; special entry to tell the uninstaller that it was installed with LyX - StrCpy $ImageMagickPath ${ImageMagickDir} - ${else} - ; delete unnecessary files - RMDir /r ${ImageMagickDir} - ${endif} - - ${if} $AspellPath == "" - ; extract Aspell's program files - SetOutPath "$INSTDIR\external" - File /r "${PRODUCT_SOURCEDIR}\${AspellInstall}" - ; copy the files and register Aspell - CopyFiles "$INSTDIR\${AspellInstall}" "$APPDATA" - - WriteRegStr HKLM "SOFTWARE\Aspell" "Base Path" "${AspellDir}" - WriteRegStr HKLM "SOFTWARE\Aspell" "Dictionary Path" "${AspellDictPath}" - WriteRegStr HKLM "SOFTWARE\Aspell" "Personal Path" "${AspellPersonalPath}" - - WriteRegStr HKLM "Software\Aspell" "OnlyWithLyX" "Yes" ; special entry to tell the uninstaller that it was installed with LyX - - WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Aspell" "DisplayName" "${AspellDisplay}" - WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Aspell" "NoModify" 0x00000001 - WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Aspell" "NoRepair" 0x00000001 - WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Aspell" "UninstallString" "${AspellDir}\${AspellUninstall}" - ${endif} - - ${if} $AiksaurusPath == "" - ; extract Aiksaurus' program files - SetOutPath "$INSTDIR\external" - File /r "${PRODUCT_SOURCEDIR}\${AiksaurusInstall}" - ; copy the files and register Aiksaurus - CopyFiles "$INSTDIR\${AiksaurusInstall}" "$APPDATA" - WriteRegStr HKLM "Software\Aiksaurus" "OnlyWithLyX" "Yes" ; special entry to tell the uninstaller that it was installed with LyX - WriteRegStr HKLM "Software\Aiksaurus" "Data Path" "${AiksaurusDir}" - ${endif} - - ${if} $PSVPath == "" - ${if} $InstallGSview == "true" - ; launch installer - MessageBox MB_OK|MB_ICONINFORMATION "$(GSviewInfo)" - ExecWait "$INSTDIR\${GSviewInstall}" - ; test if GSview is installed - StrCpy $PSVPath "" - ReadRegStr $PSVPath HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\gsview32.exe" "Path" - ${if} $PSVPath == "" - MessageBox MB_OK|MB_ICONEXCLAMATION "$(GSviewError)" - ${endif} - ${endif} - ${endif} - - ${if} $BibTeXEditorPath == "" - ${if} $InstallJabRef == "true" - ; launch installer - MessageBox MB_OK|MB_ICONINFORMATION "$(JabRefInfo)" - ExecWait "$INSTDIR\${JabRefInstall}" - ; test if JabRef is installed - StrCpy $BibTeXEditorPath "" - ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${JabRefVersion}" "UninstallString" - ${if} $BibTeXEditorPath == "" - MessageBox MB_OK|MB_ICONEXCLAMATION "$(JabRefError)" - ${else} - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${JabRefVersion}" "OnlyWithLyX" "Yes" ; special entry to tell the uninstaller that it was installed with LyX - ${endif} - ${endif} - ${endif} - - ; create the PathPrefix - StrCpy $PathPrefix "$INSTDIR\bin" - ${if} $PythonPath != "" - StrCpy $PathPrefix "$PathPrefix;$PythonPath" - ${endif} - ${if} $LatexPath != "" - StrCpy $PathPrefix "$PathPrefix;$LatexPath" - ${endif} - ${if} $GhostscriptPath != "" - StrCpy $PathPrefix "$PathPrefix;$GhostscriptPath" - ${endif} - ${if} $ImageMagickPath != "" - StrCpy $PathPrefix "$PathPrefix;$ImageMagickPath" - ${endif} - ${if} $PDFVPath != "" - StrCpy $PathPrefix "$PathPrefix;$PDFVPath" - ${endif} - ${if} $PSVPath != "" - StrCpy $PathPrefix "$PathPrefix;$PSVPath" - ${endif} - ${if} $EditorPath != "" - StrCpy $PathPrefix "$PathPrefix;$EditorPath" - ${endif} - ${if} $ImageEditorPath != "" - StrCpy $PathPrefix "$PathPrefix;$ImageEditorPath" - ${endif} - - ; install the LaTeX class files that are delivered with LyX - ; and enable MiKTeX's automatic package installation - StrCpy $String $LatexPath - StrCpy $Search "miktex\bin" - StrLen $3 $String - Call StrPoint ; search the LaTeXPath for the phrase "miktex\bin" (function from LyXUtils.nsh) - ${if} $Pointer != "-1" ; if something was found - IntOp $Pointer $Pointer - 1 ; jump before the first "\" of "\miktex\bin" - StrCpy $String $String "$Pointer" ; $String is now the part before "\miktex\bin" - ; install LaTeX class files - SetOutPath "$String\tex\latex" - File "${ClassFileDir}\cv.cls" - CreateDirectory "$String\tex\latex\lyx" - SetOutPath "$String\tex\latex\lyx" - File "${ClassFileDir}\lyxchess.sty" - File "${ClassFileDir}\lyxskak.sty" - CreateDirectory "$String\tex\latex\revtex" - SetOutPath "$String\tex\latex\revtex" - File "${ClassFileDir}\revtex.cls" - CreateDirectory "$String\tex\latex\hollywood" - SetOutPath "$String\tex\latex\hollywood" - File "${ClassFileDir}\hollywood.cls" - CreateDirectory "$String\tex\latex\broadway" - SetOutPath "$String\tex\latex\broadway" - File "${ClassFileDir}\broadway.cls" - ; install LaTeX-package dvipost (dvipost is not available for MiKTeX) - SetOutPath "$String\tex\latex\" - File /r "${DVIPostFileDir}" - - ${if} $MiKTeXVersion == "2.4" - ; refresh MiKTeX's file name database - ExecWait "$String\miktex\bin\initexmf --update-fndb" - ; delete MiKTeX 2.4's dvipng executable as it is an old broken version. Then install a working one. - Delete "$String\miktex\bin\dvipng.exe" - ; Install a new one - SetOutPath "$String\miktex\bin" - File "${PRODUCT_DIR}\LyX\external\dvipng.exe" - ; enable package installation without asking (1=Yes, 0=No, 2=Always Ask Before Installing) - WriteRegStr HKCU "SOFTWARE\MiK\MiKTeX\CurrentVersion\MiKTeX" "InstallPackagesOnTheFly" "1" - WriteRegStr HKCU "SOFTWARE\MiK\MiKTeX\CurrentVersion\MPM\Settings" "" "" - ; Setting package repository (MiKTeX's primary package repository) - WriteRegStr HKCU "SOFTWARE\MiK\MiKTeX\CurrentVersion\MPM" "RemotePackageRepository" "${MiKTeXRepo}" - - ${else} ; if MiKTeX 2.5 - ; refresh MiKTeX's file name database - ExecWait "$LaTeXPath\initexmf --update-fndb" - ; enable package installation without asking (t = Yes, f = No) - WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\2.5\MPM" "AutoInstall" "1" ; if only for curent user - WriteRegStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "MIKTEX_AUTOINSTALL" "t" - ; set package repository (MiKTeX's primary package repository) - WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\2.5\MPM" "RemoteRepository" "${MiKTeXRepo}" ; if only for curent user - WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\2.5\MPM" "RepositoryType" "remote" ; if only for curent user - WriteRegStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "MIKTEX_REPOSITORY" "${MiKTeXRepo}" - ${endif} - - ; enable MiKTeX's automatic package installation - ExecWait '$LaTeXPath\mpm.com --update-fndb' -; the following feature is planned to be used for a possible CD-version -; ; copy LaTeX-packages needed by LyX -; SetOutPath "$INSTDIR" -; File /r "${LaTeXPackagesDir}" - ${endif} ; end ${if} $Pointer - - ; install Aspell dictionaries - ${if} $LangCode == "nb_NO" - StrCpy $LangCode "no_NO" ; we only have a norwegian dictionary available - ${endif} - Call InstallAspellDictionary ; function from aspell.nsh - - ; configure LyX - ; Set a path prefix in lyxrc.dist - ClearErrors - ${if} "$PathPrefix" != "" - Delete "$INSTDIR\Resources\lyxrc.dist" - FileOpen $R1 "$INSTDIR\Resources\lyxrc.dist" w - FileWrite $R1 '\path_prefix "$PathPrefix"$\r$\n' - FileClose $R1 - IfErrors 0 +2 - MessageBox MB_OK|MB_ICONEXCLAMATION "$(ModifyingConfigureFailed)" - ${endif} - - ; Create a batch file to start LyX with the environment variables set - ClearErrors - Delete "${PRODUCT_BAT}" - FileOpen $R1 "${PRODUCT_BAT}" w - FileWrite $R1 '@echo off$\r$\n\ - SET LANG=$LangCode$\r$\n\ - start "LyX" "lyx.exe" %*$\r$\n' - FileClose $R1 - IfErrors 0 +2 - MessageBox MB_OK|MB_ICONEXCLAMATION "$(CreateCmdFilesFailed)" - - ; set the preferences file - ; having one preferences file that is modified to fit the needs isn't possible because the e.g. command - ; ${LineFind} "$INSTDIR\Resources\preferences" "" "-16:-11" "DeleteLines" ; macro from TextFunc.nsh - ; removes the file permissions for Users, so that it can later not be read (bug in ${LineFind} of TextFunc.nsh) - ; if not Acrobat or Adobe Reader is used - ${if} $Acrobat == "None" ; clear the entries in the preferences file that define PDFViewWin7 or 8 as viewer - Rename "$INSTDIR\Resources\preferencesGSview" "$INSTDIR\Resources\preferences" - Delete "$INSTDIR\Resources\preferences7" - Delete "$INSTDIR\Resources\preferences8" - ${endif} - ; if Acrobat or Adobe Reader is used - ${if} $Acrobat == "7" ; clear the entries in the preferences file that define PDFViewWin8 as viewer - Rename "$INSTDIR\Resources\preferences7" "$INSTDIR\Resources\preferences" - Delete "$INSTDIR\Resources\preferences8" - Delete "$INSTDIR\Resources\preferencesGSview" - ${endif} - ${if} $Acrobat == "8" ; clear the entries in the preferences filethat define PDFViewWin7 as viewer - Rename "$INSTDIR\Resources\preferences8" "$INSTDIR\Resources\preferences" - Delete "$INSTDIR\Resources\preferences7" - Delete "$INSTDIR\Resources\preferencesGSview" - ${endif} - - ; register LyX - WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "${PRODUCT_EXE}" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "RootKey" "$ProductRootKey" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "${PRODUCT_NAME} ${PRODUCT_VERSION}" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "${PRODUCT_UNINSTALL_EXE}" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "${PRODUCT_EXE}" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "StartMenu" "$SMPROGRAMS\$StartmenuFolder" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLUpdateInfo" "${PRODUCT_INFO_URL}" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_ABOUT_URL}" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "LyX Team" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "HelpLink" "${PRODUCT_HELP_LINK}" - WriteRegDWORD ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "NoModify" 0x00000001 - WriteRegDWORD ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "NoRepair" 0x00000001 - - SetOutPath "$INSTDIR\bin" - CreateDirectory "$SMPROGRAMS\$StartmenuFolder" - CreateShortCut "$SMPROGRAMS\$StartmenuFolder\${PRODUCT_NAME}.lnk" "${PRODUCT_BAT}" "" "${PRODUCT_EXE}" - SetOutPath "$INSTDIR" - CreateShortCut "$SMPROGRAMS\$StartmenuFolder\Uninstall.lnk" "${PRODUCT_UNINSTALL_EXE}" - - ${if} $CreateDesktopIcon == "true" - SetOutPath "$INSTDIR\bin" - CreateShortCut "$DESKTOP\${PRODUCT_NAME}.lnk" "${PRODUCT_BAT}" "" "${PRODUCT_EXE}" - ${endif} - - ; register the extension .lyx - ${if} $CreateFileAssociations == "true" - ${CreateApplicationAssociation} "${PRODUCT_NAME}" "${PRODUCT_NAME}" "$(FileTypeTitle)" "${PRODUCT_EXE}" "${PRODUCT_BAT}" - ${CreateFileAssociation} "${PRODUCT_EXT}" "${PRODUCT_NAME}" "${PRODUCT_MIME_TYPE}" - ${endif} - - ; create the LyX Applcation Data folder for all users - ; this folder is automatically created by LyX when it is first started but we want to start LyX with a specific session file, - ; so we create this folder before LyX starts and copy there the session file - Call CreateAppPathSub ; function from LyXUtils.nsh - - ; delete unnecessary files - ${if} $DelPythonFiles == "True" - Delete $INSTDIR\bin\python.exe - Delete $INSTDIR\bin\python25.dll - Delete $INSTDIR\bin\Python-License.txt - RMDir /r $INSTDIR\bin\Lib - ${endif} - RMDir /r $INSTDIR\external - - ; create Uninstaller - WriteUninstaller "${PRODUCT_UNINSTALL_EXE}" - - ; run LyX's configure script - ; create a bat-file to start configure in a console window so that the user see the progress - ; of the configuration and to have a signal when the configuration is ready to start LyX - ; this is important when LyX is installed together with MiKTeX or when LyX is installed for the first - ; time on a computer, because the installation of missing LaTeX-files required by LyX could last minutes - ; a batch file is needed because simply calling ExecWait '"$INSTDIR\bin\python.exe" "$INSTDIR\Resources\configure.py"' - ; creates the config files in $INSTDIR\bin - StrCpy $1 $INSTDIR 2 ; get drive letter - FileOpen $R1 "$INSTDIR\Resources\configLyX.bat" w - FileWrite $R1 'cd $INSTDIR\Resources\$\r$\n\ - $1$\r$\n\ - "$INSTDIR\bin\python.exe" configure.py' - FileClose $R1 - MessageBox MB_OK|MB_ICONINFORMATION "$(LatexConfigInfo)" - ExecWait '"$INSTDIR\Resources\configLyX.bat"' - Delete "$INSTDIR\Resources\configLyX.bat" - - ; ask to update MiKTeX - ${if} $MiKTeXInstalled == "yes" - MessageBox MB_YESNO|MB_ICONINFORMATION "$(MiKTeXInfo)" IDYES UpdateNow IDNO UpdateLater - UpdateNow: - StrCpy $0 $LaTeXPath -4 ; remove "\bin" - ExecWait '"$LaTeXPath\copystart.exe" "$0\config\update.dat"' ; run MiKTeX's update wizard - UpdateLater: - ${endif} - - ; save MiKTeX's install path to be able to remove LyX's LaTeX files in the uninstaller - FileOpen $R1 "$INSTDIR\Resources\uninstallPaths.dat" w - FileWrite $R1 '$LaTeXPath' - FileClose $R1 - -SectionEnd diff --git a/development/Win32/packaging/LyXWinInstaller/InstallActions-small.nsh b/development/Win32/packaging/LyXWinInstaller/InstallActions-small.nsh deleted file mode 100644 index b9c958458a..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/InstallActions-small.nsh +++ /dev/null @@ -1,293 +0,0 @@ -; The '-' makes the section invisible. -; Sections are entered in order, so the settings above are all -; available to SecInstallation -Section "-Installation actions" SecInstallation - ; extract all files - SetOutPath "$INSTDIR" - File /r "${PRODUCT_SOURCEDIR}\bin" - File /r "${PRODUCT_SOURCEDIR}\etc" - File /r "${PRODUCT_SOURCEDIR}\Resources" - - ${if} $GhostscriptPath == "" - ; register Ghostscript - WriteRegStr HKLM "SOFTWARE\GPL Ghostscript\${GhostscriptVersion}" "GS_DLL" "${GhostscriptDir}\bin\gsdll32.dll" - WriteRegStr HKLM "SOFTWARE\GPL Ghostscript\${GhostscriptVersion}" "GS_LIB" "${GhostscriptDir}\lib;${GhostscriptDir}\fonts;${GhostscriptDir}\Resource" - - WriteRegStr HKLM "SOFTWARE\GPL Ghostscript" "OnlyWithLyX" "Yes" ; special entry to tell the uninstaller that it was installed with LyX - StrCpy $GhostscriptPath "${GhostscriptDir}\bin" - ${else} - ; delete unnecessary files - RMDir /r ${GhostscriptDir} - ${endif} - - ${if} $ImageMagickPath == "" - ; register ImageMagick - WriteRegStr HKLM "SOFTWARE\Classes\Applications" "AutoRun" "${ImageMagickDir}\convert.exe $$" - WriteRegStr HKLM "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "BinPath" "${ImageMagickDir}" - WriteRegStr HKLM "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "CoderModulesPath" "${ImageMagickDir}\modules\coders" - WriteRegStr HKLM "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "ConfigurePath" "${ImageMagickDir}\config" - WriteRegStr HKLM "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "FilterModulesPath" "${ImageMagickDir}\modules\filters" - WriteRegStr HKLM "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "LibPath" "${ImageMagickDir}" - - WriteRegStr HKLM "SOFTWARE\ImageMagick\Current" "BinPath" "${ImageMagickDir}" - WriteRegStr HKLM "SOFTWARE\ImageMagick\Current" "CoderModulesPath" "${ImageMagickDir}\modules\coders" - WriteRegStr HKLM "SOFTWARE\ImageMagick\Current" "ConfigurePath" "${ImageMagickDir}\config" - WriteRegStr HKLM "SOFTWARE\ImageMagick\Current" "FilterModulesPath" "${ImageMagickDir}\modules\filters" - WriteRegStr HKLM "SOFTWARE\ImageMagick\Current" "LibPath" "${ImageMagickDir}" - WriteRegDWORD HKLM "SOFTWARE\ImageMagick\Current" "QuantumDepth" 0x00000010 - WriteRegStr HKLM "SOFTWARE\ImageMagick\Current" "Version" "${ImageMagickVersion}" - - WriteRegStr HKLM "Software\ImageMagick" "OnlyWithLyX" "Yes" ; special entry to tell the uninstaller that it was installed with LyX - StrCpy $ImageMagickPath ${ImageMagickDir} - ${else} - ; delete unnecessary files - RMDir /r ${ImageMagickDir} - ${endif} - - ${if} $AspellPath == "" - ; extract Aspell's program files - SetOutPath "$INSTDIR\external" - File /r "${PRODUCT_SOURCEDIR}\${AspellInstall}" - ; copy the files and register Aspell - CopyFiles "$INSTDIR\${AspellInstall}" "$APPDATA" - - WriteRegStr HKLM "SOFTWARE\Aspell" "Base Path" "${AspellDir}" - WriteRegStr HKLM "SOFTWARE\Aspell" "Dictionary Path" "${AspellDictPath}" - WriteRegStr HKLM "SOFTWARE\Aspell" "Personal Path" "${AspellPersonalPath}" - - WriteRegStr HKLM "Software\Aspell" "OnlyWithLyX" "Yes" ; special entry to tell the uninstaller that it was installed with LyX - - WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Aspell" "DisplayName" "${AspellDisplay}" - WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Aspell" "NoModify" 0x00000001 - WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Aspell" "NoRepair" 0x00000001 - WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Aspell" "UninstallString" "${AspellDir}\${AspellUninstall}" - ${endif} - - ${if} $AiksaurusPath == "" - ; extract Aiksaurus' program files - SetOutPath "$INSTDIR\external" - File /r "${PRODUCT_SOURCEDIR}\${AiksaurusInstall}" - ; copy the files and register Aiksaurus - CopyFiles "$INSTDIR\${AiksaurusInstall}" "$APPDATA" - WriteRegStr HKLM "Software\Aiksaurus" "OnlyWithLyX" "Yes" ; special entry to tell the uninstaller that it was installed with LyX - WriteRegStr HKLM "Software\Aiksaurus" "Data Path" "${AiksaurusDir}" - ${endif} - - ; create the PathPrefix - StrCpy $PathPrefix "$INSTDIR\bin" - ${if} $PythonPath != "" - StrCpy $PathPrefix "$PathPrefix;$PythonPath" - ${endif} - ${if} $LatexPath != "" - StrCpy $PathPrefix "$PathPrefix;$LatexPath" - ${endif} - ${if} $GhostscriptPath != "" - StrCpy $PathPrefix "$PathPrefix;$GhostscriptPath" - ${endif} - ${if} $ImageMagickPath != "" - StrCpy $PathPrefix "$PathPrefix;$ImageMagickPath" - ${endif} - ${if} $PDFVPath != "" - StrCpy $PathPrefix "$PathPrefix;$PDFVPath" - ${endif} - ${if} $PSVPath != "" - StrCpy $PathPrefix "$PathPrefix;$PSVPath" - ${endif} - ${if} $EditorPath != "" - StrCpy $PathPrefix "$PathPrefix;$EditorPath" - ${endif} - ${if} $ImageEditorPath != "" - StrCpy $PathPrefix "$PathPrefix;$ImageEditorPath" - ${endif} - - ; install the LaTeX class files that are delivered with LyX - ; and enable MiKTeX's automatic package installation - StrCpy $String $LatexPath - StrCpy $Search "miktex\bin" - StrLen $3 $String - Call StrPoint ; search the LaTeXPath for the phrase "miktex\bin" (function from LyXUtils.nsh) - ${if} $Pointer != "-1" ; if something was found - IntOp $Pointer $Pointer - 1 ; jump before the first "\" of "\miktex\bin" - StrCpy $String $String "$Pointer" ; $String is now the part before "\miktex\bin" - ; install LaTeX class files - SetOutPath "$String\tex\latex" - File "${ClassFileDir}\cv.cls" - CreateDirectory "$String\tex\latex\lyx" - SetOutPath "$String\tex\latex\lyx" - File "${ClassFileDir}\lyxchess.sty" - File "${ClassFileDir}\lyxskak.sty" - CreateDirectory "$String\tex\latex\revtex" - SetOutPath "$String\tex\latex\revtex" - File "${ClassFileDir}\revtex.cls" - CreateDirectory "$String\tex\latex\hollywood" - SetOutPath "$String\tex\latex\hollywood" - File "${ClassFileDir}\hollywood.cls" - CreateDirectory "$String\tex\latex\broadway" - SetOutPath "$String\tex\latex\broadway" - File "${ClassFileDir}\broadway.cls" - ; install LaTeX-package dvipost (dvipost is not available for MiKTeX) - SetOutPath "$String\tex\latex\" - File /r "${DVIPostFileDir}" - - ${if} $MiKTeXVersion == "2.4" - ; refresh MiKTeX's file name database - ExecWait "$String\miktex\bin\initexmf --update-fndb" - ; delete MiKTeX 2.4's dvipng executable as it is an old broken version. Then install a working one. - Delete "$String\miktex\bin\dvipng.exe" - ; Install a new one - SetOutPath "$String\miktex\bin" - File "${PRODUCT_DIR}\LyX\external\dvipng.exe" - ; enable package installation without asking (1=Yes, 0=No, 2=Always Ask Before Installing) - WriteRegStr HKCU "SOFTWARE\MiK\MiKTeX\CurrentVersion\MiKTeX" "InstallPackagesOnTheFly" "1" - WriteRegStr HKCU "SOFTWARE\MiK\MiKTeX\CurrentVersion\MPM\Settings" "" "" - ; Setting package repository (MiKTeX's primary package repository) - WriteRegStr HKCU "SOFTWARE\MiK\MiKTeX\CurrentVersion\MPM" "RemotePackageRepository" "${MiKTeXRepo}" - - ${else} ; if MiKTeX 2.5 - ; refresh MiKTeX's file name database - ExecWait "$LaTeXPath\initexmf --update-fndb" - ; enable package installation without asking (t = Yes, f = No) - WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\2.5\MPM" "AutoInstall" "1" ; if only for curent user - WriteRegStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "MIKTEX_AUTOINSTALL" "t" - ; set package repository (MiKTeX's primary package repository) - WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\2.5\MPM" "RemoteRepository" "${MiKTeXRepo}" ; if only for curent user - WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\2.5\MPM" "RepositoryType" "remote" ; if only for curent user - WriteRegStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "MIKTEX_REPOSITORY" "${MiKTeXRepo}" - ${endif} - - ; enable MiKTeX's automatic package installation - ExecWait '$LaTeXPath\mpm.com --update-fndb' - ${endif} ; end ${if} $Pointer - - ; install Aspell dictionaries - ${if} $LangCode == "nb_NO" - StrCpy $LangCode "no_NO" ; we only have a norwegian dictionary available - ${endif} - Call InstallAspellDictionary ; function from aspell.nsh - - ; configure LyX - ; Set a path prefix in lyxrc.dist - ClearErrors - ${if} "$PathPrefix" != "" - Delete "$INSTDIR\Resources\lyxrc.dist" - FileOpen $R1 "$INSTDIR\Resources\lyxrc.dist" w - FileWrite $R1 '\path_prefix "$PathPrefix"$\r$\n' - FileClose $R1 - IfErrors 0 +2 - MessageBox MB_OK|MB_ICONEXCLAMATION "$(ModifyingConfigureFailed)" - ${endif} - - ; Create a batch file to start LyX with the environment variables set - ClearErrors - Delete "${PRODUCT_BAT}" - FileOpen $R1 "${PRODUCT_BAT}" w - FileWrite $R1 '@echo off$\r$\n\ - SET LANG=$LangCode$\r$\n\ - start "LyX" "lyx.exe" %*$\r$\n' - FileClose $R1 - IfErrors 0 +2 - MessageBox MB_OK|MB_ICONEXCLAMATION "$(CreateCmdFilesFailed)" - - ; set the preferences file - ; having one preferences file that is modified to fit the needs isn't possible because the e.g. command - ; ${LineFind} "$INSTDIR\Resources\preferences" "" "-16:-11" "DeleteLines" ; macro from TextFunc.nsh - ; removes the file permissions for Users, so that it can later not be read (bug in ${LineFind} of TextFunc.nsh) - ; if not Acrobat or Adobe Reader is used - ${if} $Acrobat == "None" ; clear the entries in the preferences file that define PDFViewWin7 or 8 as viewer - Rename "$INSTDIR\Resources\preferencesGSview" "$INSTDIR\Resources\preferences" - Delete "$INSTDIR\Resources\preferences7" - Delete "$INSTDIR\Resources\preferences8" - ${endif} - ; if Acrobat or Adobe Reader is used - ${if} $Acrobat == "7" ; clear the entries in the preferences file that define PDFViewWin8 as viewer - Rename "$INSTDIR\Resources\preferences7" "$INSTDIR\Resources\preferences" - Delete "$INSTDIR\Resources\preferences8" - Delete "$INSTDIR\Resources\preferencesGSview" - ${endif} - ${if} $Acrobat == "8" ; clear the entries in the preferences filethat define PDFViewWin7 as viewer - Rename "$INSTDIR\Resources\preferences8" "$INSTDIR\Resources\preferences" - Delete "$INSTDIR\Resources\preferences7" - Delete "$INSTDIR\Resources\preferencesGSview" - ${endif} - - ; register LyX - WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "${PRODUCT_EXE}" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "RootKey" "$ProductRootKey" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "${PRODUCT_NAME} ${PRODUCT_VERSION}" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "${PRODUCT_UNINSTALL_EXE}" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "${PRODUCT_EXE}" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "StartMenu" "$SMPROGRAMS\$StartmenuFolder" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLUpdateInfo" "${PRODUCT_INFO_URL}" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_ABOUT_URL}" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "LyX Team" - WriteRegStr ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "HelpLink" "${PRODUCT_HELP_LINK}" - WriteRegDWORD ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "NoModify" 0x00000001 - WriteRegDWORD ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "NoRepair" 0x00000001 - - SetOutPath "$INSTDIR\bin" - CreateDirectory "$SMPROGRAMS\$StartmenuFolder" - CreateShortCut "$SMPROGRAMS\$StartmenuFolder\${PRODUCT_NAME}.lnk" "${PRODUCT_BAT}" "" "${PRODUCT_EXE}" - SetOutPath "$INSTDIR" - CreateShortCut "$SMPROGRAMS\$StartmenuFolder\Uninstall.lnk" "${PRODUCT_UNINSTALL_EXE}" - - ${if} $CreateDesktopIcon == "true" - SetOutPath "$INSTDIR\bin" - CreateShortCut "$DESKTOP\${PRODUCT_NAME}.lnk" "${PRODUCT_BAT}" "" "${PRODUCT_EXE}" - ${endif} - - ; register the extension .lyx - ${if} $CreateFileAssociations == "true" - ${CreateApplicationAssociation} "${PRODUCT_NAME}" "${PRODUCT_NAME}" "$(FileTypeTitle)" "${PRODUCT_EXE}" "${PRODUCT_BAT}" - ${CreateFileAssociation} "${PRODUCT_EXT}" "${PRODUCT_NAME}" "${PRODUCT_MIME_TYPE}" - ${endif} - - ; create the LyX Applcation Data folder for all users - ; this folder is automatically created by LyX when it is first started but we want to start LyX with a specific session file, - ; so we create this folder before LyX starts and copy there the session file - Call CreateAppPathSub ; function from LyXUtils.nsh - - ; delete unnecessary files - ${if} $DelPythonFiles == "True" - Delete $INSTDIR\bin\python.exe - Delete $INSTDIR\bin\python25.dll - Delete $INSTDIR\bin\Python-License.txt - RMDir /r $INSTDIR\bin\Lib - ${endif} - RMDir /r $INSTDIR\external - - ; create Uninstaller - WriteUninstaller "${PRODUCT_UNINSTALL_EXE}" - - ; run LyX's configure script - ; create a bat-file to start configure in a console window so that the user see the progress - ; of the configuration and to have a signal when the configuration is ready to start LyX - ; this is important when LyX is installed together with MiKTeX or when LyX is installed for the first - ; time on a computer, because the installation of missing LaTeX-files required by LyX could last minutes - ; a batch file is needed because simply calling ExecWait '"$INSTDIR\bin\python.exe" "$INSTDIR\Resources\configure.py"' - ; creates the config files in $INSTDIR\bin - StrCpy $1 $INSTDIR 2 ; get drive letter - FileOpen $R1 "$INSTDIR\Resources\configLyX.bat" w - FileWrite $R1 'cd $INSTDIR\Resources\$\r$\n\ - $1$\r$\n\ - "$INSTDIR\bin\python.exe" configure.py' - FileClose $R1 - MessageBox MB_OK|MB_ICONINFORMATION "$(LatexConfigInfo)" - ExecWait '"$INSTDIR\Resources\configLyX.bat"' - Delete "$INSTDIR\Resources\configLyX.bat" - - ; ask to update MiKTeX - ${if} $MiKTeXInstalled == "yes" - MessageBox MB_YESNO|MB_ICONINFORMATION "$(MiKTeXInfo)" IDYES UpdateNow IDNO UpdateLater - UpdateNow: - StrCpy $0 $LaTeXPath -4 ; remove "\bin" - ExecWait '"$LaTeXPath\copystart.exe" "$0\config\update.dat"' ; run MiKTeX's update wizard - UpdateLater: - ${endif} - - ; save MiKTeX's install path to be able to remove LyX's LaTeX files in the uninstaller - FileOpen $R1 "$INSTDIR\Resources\uninstallPaths.dat" w - FileWrite $R1 '$LaTeXPath' - FileClose $R1 - -SectionEnd diff --git a/development/Win32/packaging/LyXWinInstaller/LaTeXFolder.nsh b/development/Win32/packaging/LyXWinInstaller/LaTeXFolder.nsh deleted file mode 100644 index 92d8b564b2..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/LaTeXFolder.nsh +++ /dev/null @@ -1,39 +0,0 @@ -Function LatexFolder - - !insertmacro MUI_INSTALLOPTIONS_EXTRACT "io_latex.ini" - ; generate the installer page - !insertmacro MUI_HEADER_TEXT "$(EnterLaTeXHeader1)" "$(EnterLaTeXHeader2)" - ${if} $LatexName != "" - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_latex.ini" "Field 1" "Text" "$(EnterLaTeXFolder)" - ${else} - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_latex.ini" "Field 1" "Text" "$(EnterLaTeXFolderNone)" - ${endif} - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_latex.ini" "Field 2" "Text" "$(PathName)" - ${if} $LatexPath == "" - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_latex.ini" "Field 3" "State" "C:\" - ${else} - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_latex.ini" "Field 3" "State" "$LatexPath" - ${endif} - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_latex.ini" "Field 4" "Text" "$(DontUseLaTeX)" - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_latex.ini" "Field 4" "State" "$State" - AgainFolder: - !insertmacro MUI_INSTALLOPTIONS_DISPLAY "io_latex.ini" - !insertmacro MUI_INSTALLOPTIONS_READ "$State" "io_latex.ini" "Field 4" "State" ; read checkbox if LaTeX should be used, "0" or not "1" - ${if} $State == "1" - StrCpy $LatexPath "" - Goto ReadyFolder - ${endif} - !insertmacro MUI_INSTALLOPTIONS_READ "$LatexPath" "io_latex.ini" "Field 3" "State" - ; check if the latex.exe exists in the $LatexPath folder - !insertmacro FileCheck $5 "latex.exe" "$LatexPath" - ${if} $5 == "False" - MessageBox MB_RETRYCANCEL "$(InvalidLaTeXFolder)" IDRETRY AgainFolder - StrCpy $LatexPath "" - ${endif} - ReadyFolder: - -FunctionEnd - -Function LatexFolder_LeaveFunction - -FunctionEnd diff --git a/development/Win32/packaging/LyXWinInstaller/LanguageSettings.nsh b/development/Win32/packaging/LyXWinInstaller/LanguageSettings.nsh deleted file mode 100644 index bef1f7b5bc..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/LanguageSettings.nsh +++ /dev/null @@ -1,563 +0,0 @@ -; Language settings for the installer -; create language code for the Windows system language - -; LangNme is the language name when there exists a LyX translation for this language; used for the menu language dialog and for the Aspell installation -; LangNmeSys is the Windows system language; used for the Aspell installation -; LangCdeSys is the ISO 630 language code of the language; used for the Aspell installation -; LangSysEnc is the Windows codepage for the character encoding of the language; used in lyx.bat to assure that scripts are correctly executed -!macro TranslateLangCode LangNme LangNmeSys LangCdeSys LangISOCode LangSysEnc - - StrCpy ${LangCdeSys} "" - - ${if} ${LangISOCode} = 1025 - StrCpy ${LangCdeSys} "ar" - StrCpy ${LangNmeSys} "Arabic" - StrCpy ${LangSysEnc} "1256" - ${endif} - - ${if} ${LangISOCode} = 1026 - StrCpy ${LangCdeSys} "bg" - StrCpy ${LangNmeSys} "Bulgarian" - StrCpy ${LangSysEnc} "1251" - ${endif} - - ${if} ${LangISOCode} = 1027 - StrCpy ${LangCdeSys} "ca" - StrCpy ${LangNmeSys} "Catal" - StrCpy ${LangSysEnc} "1252" - ${endif} - -; currently no dictionary available -; ${if} ${LangISOCode} = 1028 -; StrCpy ${LangCdeSys} "zh" -; StrCpy ${LangNmeSys} "Chinese" -; ${endif} - - ${if} ${LangISOCode} = 1029 - StrCpy ${LangNme} "Cetina" - StrCpy ${LangCdeSys} "cs" - StrCpy ${LangNmeSys} "Cetina" - StrCpy ${LangSysEnc} "1250" - ${endif} - - ${if} ${LangISOCode} = 1030 - StrCpy ${LangNme} "Dansk" - StrCpy ${LangCdeSys} "da" - StrCpy ${LangNmeSys} "Dansk" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 1031 - StrCpy ${LangNme} "Deutsch" - StrCpy ${LangCdeSys} "de" - StrCpy ${LangNmeSys} "Deutsch" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 1032 - StrCpy ${LangCdeSys} "el" - StrCpy ${LangNmeSys} "Greek" - StrCpy ${LangSysEnc} "1253" - ${endif} - - ${if} ${LangISOCode} = 1033 - StrCpy ${LangNme} "English" - StrCpy ${LangCdeSys} "en" - StrCpy ${LangNmeSys} "English" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 1034 - StrCpy ${LangNme} "Espaol" - StrCpy ${LangCdeSys} "es" - StrCpy ${LangNmeSys} "Espaol" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 1035 - StrCpy ${LangNme} "Suomi" - StrCpy ${LangCdeSys} "fi" - StrCpy ${LangNmeSys} "Suomi" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 1036 - StrCpy ${LangNme} "Franais" - StrCpy ${LangCdeSys} "fr" - StrCpy ${LangNmeSys} "Franais" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 1037 - StrCpy ${LangCdeSys} "he" - StrCpy ${LangNmeSys} "Hebrew" - StrCpy ${LangSysEnc} "1255" - ${endif} - - ${if} ${LangISOCode} = 1038 - StrCpy ${LangNme} "Magyar" - StrCpy ${LangCdeSys} "hu" - StrCpy ${LangNmeSys} "Magyar" - StrCpy ${LangSysEnc} "1250" - ${endif} - - ${if} ${LangISOCode} = 1039 - StrCpy ${LangCdeSys} "is" - StrCpy ${LangNmeSys} "slenska" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 1040 - StrCpy ${LangNme} "Italiano" - StrCpy ${LangCdeSys} "it" - StrCpy ${LangNmeSys} "Italiano" - StrCpy ${LangSysEnc} "1252" - ${endif} - -; currently no dictionary available -; ${if} ${LangISOCode} = 1041 -; StrCpy ${LangCdeSys} "ja" -; StrCpy ${LangNmeSys} "Japanese" -; ${endif} - -; currently no dictionary available -; ${if} ${LangISOCode} = 1042 -; StrCpy ${LangCdeSys} "ko" -; StrCpy ${LangNmeSys} "Korean" -; ${endif} - - ${if} ${LangISOCode} = 1043 - StrCpy ${LangNme} "Nederlands" - StrCpy ${LangCdeSys} "nl" - StrCpy ${LangNmeSys} "Nederlands" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 1044 - StrCpy ${LangNme} "Norsk" - StrCpy ${LangCdeSys} "no" - StrCpy ${LangNmeSys} "Norsk" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 1045 - StrCpy ${LangNme} "Polski" - StrCpy ${LangCdeSys} "pl" - StrCpy ${LangNmeSys} "Polski" - StrCpy ${LangSysEnc} "1250" - ${endif} - - ${if} ${LangISOCode} = 1046 ; for portuguese (brasilian) - StrCpy ${LangNme} "English" ; there is currently no portuguese translation of LyX but of the installer - StrCpy ${LangCdeSys} "pt" - StrCpy ${LangNmeSys} "Portugus" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 1048 - StrCpy ${LangNme} "Romna" - StrCpy ${LangCdeSys} "ro" - StrCpy ${LangNmeSys} "Romna" - StrCpy ${LangSysEnc} "1250" - ${endif} - - ${if} ${LangISOCode} = 1049 - StrCpy ${LangNme} "Russian" - StrCpy ${LangCdeSys} "ru" - StrCpy ${LangNmeSys} "Russian" - StrCpy ${LangSysEnc} "1251" - ${endif} - - ${if} ${LangISOCode} = 1050 - StrCpy ${LangCdeSys} "hr" - StrCpy ${LangNmeSys} "Hrvatski" - StrCpy ${LangSysEnc} "1250" - ${endif} - - ${if} ${LangISOCode} = 1051 - StrCpy ${LangNme} "Slovensk" - StrCpy ${LangCdeSys} "sk" - StrCpy ${LangNmeSys} "Slovensk" - StrCpy ${LangSysEnc} "1250" - ${endif} - -; currently no dictionary available -; ${if} ${LangISOCode} = 1052 -; StrCpy ${LangCdeSys} "sq" -; StrCpy ${LangNmeSys} "Shqip" -; StrCpy ${LangSysEnc} "1252" -; ${endif} - - ${if} ${LangISOCode} = 1053 - StrCpy ${LangNme} "Svenska" - StrCpy ${LangCdeSys} "sv" - StrCpy ${LangNmeSys} "Svenska" - StrCpy ${LangSysEnc} "1252" - ${endif} - -; currently no dictionary available -; ${if} ${LangISOCode} = 1054 -; StrCpy ${LangCdeSys} "th" -; StrCpy ${LangNmeSys} "Thai" -; StrCpy ${LangSysEnc} "874" -; ${endif} - - ${if} ${LangISOCode} = 1055 - StrCpy ${LangNme} "Trke" - StrCpy ${LangCdeSys} "tr" - StrCpy ${LangNmeSys} "Trke" - StrCpy ${LangSysEnc} "1254" - ${endif} - - ${if} ${LangISOCode} = 1058 - StrCpy ${LangCdeSys} "uk" - StrCpy ${LangNmeSys} "Ukrainian" - StrCpy ${LangSysEnc} "1251" - ${endif} - - ${if} ${LangISOCode} = 1060 - StrCpy ${LangNme} "Slovencina" - StrCpy ${LangCdeSys} "sl" - StrCpy ${LangNmeSys} "Slovencina" - StrCpy ${LangSysEnc} "1250" - ${endif} - - ${if} ${LangISOCode} = 1061 - StrCpy ${LangCdeSys} "et" - StrCpy ${LangNmeSys} "Eesti" - StrCpy ${LangSysEnc} "1257" - ${endif} - - ${if} ${LangISOCode} = 1062 - StrCpy ${LangCdeSys} "lv" - StrCpy ${LangNmeSys} "Latvieu" - StrCpy ${LangSysEnc} "1257" - ${endif} - - ${if} ${LangISOCode} = 1063 - StrCpy ${LangCdeSys} "lt" - StrCpy ${LangNmeSys} "Lietuva" - StrCpy ${LangSysEnc} "1257" - ${endif} - - ; currently no dictionary available - ${if} ${LangISOCode} = 1069 - StrCpy ${LangNme} "Euskara" - StrCpy ${LangCdeSys} "eu" - StrCpy ${LangNmeSys} "Euskara" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 1078 - StrCpy ${LangCdeSys} "af" - StrCpy ${LangNmeSys} "Afrikaans" - StrCpy ${LangSysEnc} "1252" - ${endif} - -; currently no dictionary available -; ${if} ${LangISOCode} = 1081 -; StrCpy ${LangCdeSys} "hi" -; StrCpy ${LangNmeSys} "Hindi" -; ${endif} - - ${if} ${LangISOCode} = 1110 - StrCpy ${LangNme} "Galego" - StrCpy ${LangCdeSys} "gl" - StrCpy ${LangNmeSys} "Galego" - StrCpy ${LangSysEnc} "1252" - ${endif} - -; currently no dictionary available -; ${if} ${LangISOCode} = 2052 -; StrCpy ${LangCdeSys} "zh" -; StrCpy ${LangNmeSys} "Chinese" -; ${endif} - - ${if} ${LangISOCode} = 2055 - StrCpy ${LangCdeSys} "de" - StrCpy ${LangNmeSys} "Deutsch" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 2057 - StrCpy ${LangCdeSys} "en" - StrCpy ${LangNmeSys} "English" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 2058 - StrCpy ${LangCdeSys} "es" - StrCpy ${LangNmeSys} "Espaol" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 2060 - StrCpy ${LangCdeSys} "fr" - StrCpy ${LangNmeSys} "Franais" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 2064 - StrCpy ${LangCdeSys} "it" - StrCpy ${LangNmeSys} "Italiano" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 2067 - StrCpy ${LangCdeSys} "nl" - StrCpy ${LangNmeSys} "Nederlands" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 2068 - StrCpy ${LangNme} "Nynorsk" - StrCpy ${LangCdeSys} "nn" - StrCpy ${LangNmeSys} "Nynorsk" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 2070 ; for portuguese - StrCpy ${LangNme} "English" ; there is currently no portuguese translation of LyX but of the installer - StrCpy ${LangCdeSys} "pt" - StrCpy ${LangNmeSys} "Portugus" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 2074 - StrCpy ${LangCdeSys} "sr" - StrCpy ${LangNmeSys} "Srpski" - StrCpy ${LangSysEnc} "1250" - ${endif} - - ${if} ${LangISOCode} = 2077 - StrCpy ${LangCdeSys} "sv" - StrCpy ${LangNmeSys} "Svenska" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 3079 - StrCpy ${LangCdeSys} "de" - StrCpy ${LangNmeSys} "Deutsch" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 3081 - StrCpy ${LangCdeSys} "en" - StrCpy ${LangNmeSys} "English" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 3082 - StrCpy ${LangCdeSys} "es" - StrCpy ${LangNmeSys} "Espaol" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 3084 - StrCpy ${LangCdeSys} "fr" - StrCpy ${LangNmeSys} "Franais" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 4103 - StrCpy ${LangCdeSys} "de" - StrCpy ${LangNmeSys} "Deutsch" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 4105 - StrCpy ${LangCdeSys} "en" - StrCpy ${LangNmeSys} "English" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 4108 - StrCpy ${LangCdeSys} "fr" - StrCpy ${LangNmeSys} "Franais" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 5129 - StrCpy ${LangCdeSys} "en" - StrCpy ${LangNmeSys} "English" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 5132 - StrCpy ${LangCdeSys} "fr" - StrCpy ${LangNmeSys} "Franais" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 7177 - StrCpy ${LangCdeSys} "en" - StrCpy ${LangNmeSys} "English" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 11274 - StrCpy ${LangCdeSys} "es" - StrCpy ${LangNmeSys} "Espaol" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 13322 - StrCpy ${LangCdeSys} "es" - StrCpy ${LangNmeSys} "Espaol" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 14346 - StrCpy ${LangCdeSys} "es" - StrCpy ${LangNmeSys} "Espaol" - StrCpy ${LangSysEnc} "1252" - ${endif} - - ${if} ${LangISOCode} = 20490 - StrCpy ${LangCdeSys} "es" - StrCpy ${LangNmeSys} "Espaol" - StrCpy ${LangSysEnc} "1252" - ${endif} - -!macroend - -;------------------------------------------ - -; Setting LyX's menu language - -!macro GetLangCode LangCde Name LangEnc - - ${if} ${Name} == "Cetina" - StrCpy ${LangCde} "cs_CZ" - StrCpy ${LangEnc} "cp-1250" - ${endif} - - ${if} ${Name} == "Dansk" - StrCpy ${LangCde} "da_DK" - StrCpy ${LangEnc} "cp-1252" - ${endif} - - ${if} ${Name} == "Deutsch" - StrCpy ${LangCde} "de_DE" - StrCpy ${LangEnc} "cp-1252" - ${endif} - - ${if} ${Name} == "English" - StrCpy ${LangCde} "en_EN" - StrCpy ${LangEnc} "cp-1252" - ${endif} - - ${if} ${Name} == "Espaol" - StrCpy ${LangCde} "es_ES" - StrCpy ${LangEnc} "cp-1252" - ${endif} - - ${if} ${Name} == "Euskara" - StrCpy ${LangCde} "eu_EU" - StrCpy ${LangEnc} "cp-1252" - ${endif} - - ${if} ${Name} == "Franais" - StrCpy ${LangCde} "fr_FR" - StrCpy ${LangEnc} "cp-1252" - ${endif} - - ${if} ${Name} == "Galego" - StrCpy ${LangCde} "gl_ES" - StrCpy ${LangEnc} "cp-1252" - ${endif} - - ${if} ${Name} == "Italiano" - StrCpy ${LangCde} "it_IT" - StrCpy ${LangEnc} "cp-1252" - ${endif} - - ${if} ${Name} == "Magyar" - StrCpy ${LangCde} "hu_HU" - StrCpy ${LangEnc} "cp-1250" - ${endif} - - ${if} ${Name} == "Nederlands" - StrCpy ${LangCde} "nl_NL" - StrCpy ${LangEnc} "cp-1252" - ${endif} - - ${if} ${Name} == "Norsk" - StrCpy ${LangCde} "nb_NO" - StrCpy ${LangEnc} "cp-1252" - ${endif} - - ${if} ${Name} == "Nynorsk" - StrCpy ${LangCde} "nn_NO" - StrCpy ${LangEnc} "cp-1252" - ${endif} - - ${if} ${Name} == "Polski" - StrCpy ${LangCde} "pl_PL" - StrCpy ${LangEnc} "cp-1250" - ${endif} - - ${if} ${Name} == "Romna" - StrCpy ${LangCde} "ro_RO" - StrCpy ${LangEnc} "cp-1250" - ${endif} - - ${if} ${Name} == "Russian" - StrCpy ${LangCde} "ru_RU" - StrCpy ${LangEnc} "cp-1251" - ${endif} - - ${if} ${Name} == "Slovensk" - StrCpy ${LangCde} "sk_SK" - StrCpy ${LangEnc} "cp-1250" - ${endif} - - ${if} ${Name} == "Slovencina" - StrCpy ${LangCde} "sl_SI" - StrCpy ${LangEnc} "cp-1250" - ${endif} - - ${if} ${Name} == "Suomi" - StrCpy ${LangCde} "fi_FI" - StrCpy ${LangEnc} "cp-1252" - ${endif} - - ${if} ${Name} == "Trke" - StrCpy ${LangCde} "tr_TR" - StrCpy ${LangEnc} "cp-1254" - ${endif} - -!macroend - -;-------------------- -Function SelectMenuLanguage - - !insertmacro MUI_INSTALLOPTIONS_EXTRACT "io_ui_language.ini" - - ${if} $LangName == "" - ; translate NSIS's language code to the language name; macro from lyx_utils.nsh - !insertmacro TranslateLangCode $LangName $LangNameSys $LangCodeSys $Language $LangSysEncoding - ${endif} - - ${if} $LangName == "" - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_ui_language.ini" "Field 2" "State" "English" - ${else} - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_ui_language.ini" "Field 2" "State" "$LangName" - ${endif} - - !insertmacro MUI_HEADER_TEXT "$(LangSelectHeader)" "" - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_ui_language.ini" "Field 1" "Text" "$(AvailableLang)" - !insertmacro MUI_INSTALLOPTIONS_DISPLAY "io_ui_language.ini" - !insertmacro MUI_INSTALLOPTIONS_READ $LangName "io_ui_language.ini" "Field 2" "State" - -FunctionEnd - -Function SelectMenuLanguage_LeaveFunction - - !insertmacro MUI_INSTALLOPTIONS_READ $LangName "io_ui_language.ini" "Field 2" "State" - ; Get the language code; macro from lyx_utils.nsh - StrCpy $LangCode "" - !insertmacro GetLangCode $LangCode $LangName $LangEncoding - -FunctionEnd - diff --git a/development/Win32/packaging/LyXWinInstaller/License.txt b/development/Win32/packaging/LyXWinInstaller/License.txt deleted file mode 100644 index 288ac6991c..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/License.txt +++ /dev/null @@ -1,365 +0,0 @@ - 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - In addition, as a special exception, the LyX Team gives permission to - link the code of this program with the XForms library (or with modified - versions of XForms that use the same license as XForms), and distribute - linked combinations including the two. You must obey the GNU General - Public License in all respects for all of the code used other than XForms. - If you modify this file, you may extend this exception to your version of - the file, but you are not obligated to do so. If you do not wish to do so, - delete this exception statement from your version. - - The GNU General Public License version 2 is included below for your reference. - ------------------------------------------------------------------------- - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 675 Mass Ave, Cambridge, MA 02139, 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 Library 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. - - - Copyright (C) 19yy - - 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., 675 Mass Ave, Cambridge, MA 02139, 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) 19yy 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. - - , 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 Library General -Public License instead of this License. diff --git a/development/Win32/packaging/LyXWinInstaller/LyX-Installer-Complete.nsi b/development/Win32/packaging/LyXWinInstaller/LyX-Installer-Complete.nsi deleted file mode 100644 index c1e6df9587..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/LyX-Installer-Complete.nsi +++ /dev/null @@ -1,460 +0,0 @@ -; Lyx for Windows, NSIS v2 series installer script - -; File LyXWinInstaller.nsi -; This file is part of LyX, the document processor. -; http://www.lyx.org/ -; Licence details can be found in the file COPYING or copy at -; http://www.lyx.org/about/license.php3 - -; Author Uwe Sthr based on the work of Angus Leeming and Joost Verburg -; Full author contact details are available in file CREDITS or copy at -; http://www.lyx.org/about/credits.php - -; This script requires NSIS 2.22 and newer -; http://nsis.sourceforge.net/ -;-------------------------------- - -; Do a Cyclic Redundancy Check to make sure the installer -; was not corrupted by the download. -CRCCheck force - -; Make the installer as small as possible. -; SetCompressor lzma - -;-------------------------------- -; You should need to change only these macros... - -!define PRODUCT_DIR "D:\LyXPackage1.5" -!define PRODUCT_NAME "LyX" -!define PRODUCT_VERSION "1.5svn-23-01-2007" -!define PRODUCT_VERSION_SHORT "150svn" -!define PRODUCT_SUBFOLDER "lyx15" -!define PRODUCT_LICENSE_FILE "${PRODUCT_DIR}\License.txt" -!define PRODUCT_SOURCEDIR "${PRODUCT_DIR}\LyX" -!define PRODUCT_EXE "$INSTDIR\bin\lyx.exe" -!define PRODUCT_BAT "$INSTDIR\bin\lyx.bat" -!define PRODUCT_EXT ".lyx" -!define PRODUCT_MIME_TYPE "application/lyx" -!define PRODUCT_UNINSTALL_EXE "$INSTDIR\LyXWinUninstall.exe" -!define PRODUCT_HELP_LINK "http://www.lyx.org/internet/mailing.php" -!define PRODUCT_ABOUT_URL "http://www.lyx.org/about/" -!define PRODUCT_INFO_URL "http://www.lyx.org/" - -BrandingText "LyXWinInstaller v3.05 - Complete" -!define INSTALLER_VERSION "Complete" -!define INSTALLER_EXE "LyXWin150svnComplete-3-05.exe" -!define INSTALLER2_EXE "LyXWin150svnSmall-3-05.exe" ; to check later if this installer version is running at the same time -!define VERSION_BITMAP "${PRODUCT_DIR}\icons\lyx_logo_vert${PRODUCT_VERSION_SHORT}.bmp" - -; Replaced by HKLM or HKCU depending on SetShellVarContext. -!define PRODUCT_ROOT_KEY "SHCTX" - -!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\lyx.exe" -!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\LyX150svn" - -!define ClassFileDir "${PRODUCT_SOURCEDIR}\Resources\tex" - -!define ImageMagickVersion "6.3.2" -!define ImageMagickDir "$INSTDIR\etc\ImageMagick" ; for some odd reason the ImageMagick folder may not be a subfolder of $INSTDIR\bin! -!define GhostscriptDir "$INSTDIR\etc\Ghostscript" -!define GhostscriptVersion "8.54" -!define AiksaurusDir "$APPDATA\Aiksaurus" -!define AiksaurusInstall "external\Aiksaurus" -!define AspellDir "$APPDATA\Aspell" -!define AspellDisplay "Aspell 0.60.4 Data" -!define AspellInstall "external\Aspell" -!define AspellUninstall "Uninstall-AspellData.exe" -!define AspellDictPath "${AspellDir}\Dictionaries" -!define AspellPersonalPath "${AspellDir}\Personal" -!define AspellLocationExact "http://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=9651" -!define AspellLocation "http://developer.berlios.de/projects/lyxwininstall/" -!define GSviewInstall "external\gsv48w32.exe" -!define JabRefInstall "external\JabRef-2.2b2-Setup.exe" -!define JabRefVersion "JabRef 2.2b2" -!define DVIPostFileDir "${PRODUCT_SOURCEDIR}\external\dvipost" -; the following variable is needed for a possible CD-version, see InstallActions.nsh, around line 213 -;!define LaTeXPackagesDir "${PRODUCT_SOURCEDIR}\latex" -!define MiKTeXRepo "ftp://ftp.tu-chemnitz.de/pub/tex/systems/win32/miktex/tm/packages/" -!define MiKTeXConfigFolder "MiKTeX\2.5\miktex\config" -!define MiKTeXDeliveredVersion "MiKTeX 2.5" -!define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.5.2540.exe" - -;-------------------------------- -; Make some of the information above available to NSIS. - -Name "${PRODUCT_NAME}" -OutFile "${INSTALLER_EXE}" -InstallDir "$PROGRAMFILES\${PRODUCT_NAME} ${PRODUCT_VERSION}" - -;-------------------------------- -; Variables - -Var LatexPath -Var PythonPath -Var DelPythonFiles -Var GhostscriptPath -Var ImageMagickPath -Var AiksaurusPath -Var AspellPath -Var AspellInstallYes -Var AspellBaseReg -Var AspellMessage -Var PDFVPath -Var Acrobat -Var PSVPath -Var EditorPath -Var ImageEditorPath -Var BibTeXEditorPath -Var JabRefInstalled -Var PathPrefix -Var Answer -Var UserName -Var LangName -Var LangNameSys -Var LangCode -Var LangCodeSys -Var LangEncoding -Var LangSysEncoding -Var DictCode -Var MissedProg -Var LaTeXName -Var MiKTeXVersion -Var MiKTeXInstalled -Var MiKTeXUser -Var MiKTeXPath -Var InstallGSview -Var InstallJabRef -Var CreateFileAssociations -Var CreateDesktopIcon -Var StartmenuFolder -Var ProductRootKey -Var AppPre -Var AppSuff -Var AppPath -Var String -Var Search -Var Pointer -Var UserList -Var RunNumber - -;-------------------------------- -; load some NSIS libraries -!include "MUI.nsh" -!include "LogicLib.nsh" -!include "FileFunc.nsh" -!include "StrFunc.nsh" -;!include "TextFunc.nsh" -;!insertmacro LineFind - -; Set of various macros and functions -!include "LyXUtils.nsh" - -; Function to check if needed programs are missing or not -!include "MissingPrograms.nsh" - -; Functions for page to set installer language -; and LyX's menu language -!include "LanguageSettings.nsh" - -; Function for page to install Aspell dictionaries -!include "Aspell.nsh" - -; Use the Abiword macros to help set up associations with the file extension in the Registry. -; Grabbed from -; http://abiword.pchasm.org/source/cvs/abiword-cvs/abi/src/pkg/win/setup/NSISv2/abi_util_fileassoc.nsh -!include "abi_util_fileassoc.nsh" - -;-------------------------------- - -; Remember the installer language -!define MUI_LANGDLL_REGISTRY_ROOT "HKCU" -!define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}" -!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language" - -!define MUI_ABORTWARNING -!define MUI_HEADERIMAGE -!define MUI_HEADERIMAGE_BITMAP "${PRODUCT_DIR}\icons\lyx_logo_hi.bmp" -!define MUI_ICON "${PRODUCT_DIR}\icons\lyx.ico" -!define MUI_UNICON "${PRODUCT_DIR}\icons\lyx.ico" -!define MUI_WELCOMEFINISHPAGE_BITMAP "${VERSION_BITMAP}" - -; Welcome page -!define MUI_WELCOMEPAGE_TEXT "$(WelcomePageText)" -!insertmacro MUI_PAGE_WELCOME - -; Show the license. -!insertmacro MUI_PAGE_LICENSE "${PRODUCT_LICENSE_FILE}" - -; Specify the installation directory. -!insertmacro MUI_PAGE_DIRECTORY - -; Specify LyX's menu language. -Page custom SelectMenuLanguage SelectMenuLanguage_LeaveFunction - -; Define which components to install. -!insertmacro MUI_PAGE_COMPONENTS - -; Specify where to install program shortcuts. -!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_ROOT_KEY}" -!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}" -!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder" -!define MUI_STARTMENUPAGE_DEFAULTFOLDER "LyX ${PRODUCT_VERSION}" -!insertmacro MUI_PAGE_STARTMENU ${PRODUCT_NAME} $StartmenuFolder - -; Check for needed programs -Page custom MissingProgramsPage MissingProgramsPage_LeaveFunction - -; Watch the components being installed. -!insertmacro MUI_PAGE_INSTFILES - -; Finish page -!define MUI_FINISHPAGE_RUN -!define MUI_FINISHPAGE_TEXT "$(FinishPageMessage)" -!define MUI_FINISHPAGE_RUN_TEXT "$(FinishPageRun)" -!define MUI_FINISHPAGE_RUN_FUNCTION "LaunchProduct" -!insertmacro MUI_PAGE_FINISH - -; The uninstaller. -!insertmacro MUI_UNPAGE_COMPONENTS -!insertmacro MUI_UNPAGE_INSTFILES - -;-------------------------------- -; Languages - -!insertmacro MUI_LANGUAGE "English" # first language is the default language -!insertmacro MUI_LANGUAGE "Danish" -!insertmacro MUI_LANGUAGE "Dutch" -!insertmacro MUI_LANGUAGE "French" -!insertmacro MUI_LANGUAGE "German" -!insertmacro MUI_LANGUAGE "Galician" -!insertmacro MUI_LANGUAGE "Hungarian" -!insertmacro MUI_LANGUAGE "Italian" -!insertmacro MUI_LANGUAGE "Norwegian" -!insertmacro MUI_LANGUAGE "Polish" -!insertmacro MUI_LANGUAGE "Portuguese" -!insertmacro MUI_LANGUAGE "Slovak" -!insertmacro MUI_LANGUAGE "Spanish" -!insertmacro MUI_LANGUAGE "Swedish" -!insertmacro MUI_LANGUAGE "Turkish" - -!include "lyx_languages\english.nsh" -!include "lyx_languages\danish.nsh" -!include "lyx_languages\dutch.nsh" -!include "lyx_languages\french.nsh" -!include "lyx_languages\german.nsh" -!include "lyx_languages\galician.nsh" -!include "lyx_languages\hungarian.nsh" -!include "lyx_languages\italian.nsh" -!include "lyx_languages\norwegian.nsh" -!include "lyx_languages\polish.nsh" -!include "lyx_languages\portuguese.nsh" -!include "lyx_languages\slovak.nsh" -!include "lyx_languages\spanish.nsh" -!include "lyx_languages\swedish.nsh" -!include "lyx_languages\turkish.nsh" - -LicenseData "$(LyXLicenseData)" - -;-------------------------------- -; Reserve Files - -; These files are inserted before other files in the data block -!insertmacro MUI_RESERVEFILE_LANGDLL -ReserveFile "io_ui_language.ini" -!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS - -;-------------------------------- -; Installer sections - -Section "!${PRODUCT_NAME}" SecCore - SectionIn RO -SectionEnd -Section "$(SecAllUsersTitle)" SecAllUsers - SetShellVarContext all - StrCpy $ProductRootKey "HKLM" -SectionEnd -Section "$(SecFileAssocTitle)" SecFileAssoc - StrCpy $CreateFileAssociations "true" -SectionEnd -Section "$(SecDesktopTitle)" SecDesktop - StrCpy $CreateDesktopIcon "true" -SectionEnd -Section /o "$(SecInstGSviewTitle)" SecInstGSview - AddSize 4000 - StrCpy $InstallGSview "true" -SectionEnd -Section /o "$(SecInstJabRefTitle)" SecInstJabRef - AddSize 5000 - StrCpy $InstallJabRef "true" -SectionEnd - -; Section descriptions -!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN -!insertmacro MUI_DESCRIPTION_TEXT ${SecCore} "$(SecCoreDescription)" -!insertmacro MUI_DESCRIPTION_TEXT ${SecAllUsers} "$(SecAllUsersDescription)" -!insertmacro MUI_DESCRIPTION_TEXT ${SecFileAssoc} "$(SecFileAssocDescription)" -!insertmacro MUI_DESCRIPTION_TEXT ${SecDesktop} "$(SecDesktopDescription)" -!insertmacro MUI_DESCRIPTION_TEXT ${SecInstGSview} "$(SecInstGSviewDescription)" -!insertmacro MUI_DESCRIPTION_TEXT ${SecInstJabRef} "$(SecInstJabRefDescription)" -!insertmacro MUI_FUNCTION_DESCRIPTION_END - -!include "InstallActions-complete.nsh" - -;-------------------------------- -; This hook function is called internally by NSIS on installer startup -Function .onInit - - ; set the installer language to the Windows locale language - System::Call "kernel32::GetUserDefaultLangID()i.a" - - ; Check that the installer is not currently running - System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${INSTALLER_EXE}.Instance") i .r1 ?e' - Pop $R0 - ${if} $R0 != "0" - MessageBox MB_OK|MB_ICONSTOP "$(InstallRunning)" - Abort - ${endif} - FindProcDLL::FindProc "${INSTALLER2_EXE}" - ${if} $R0 == "1" - MessageBox MB_OK|MB_ICONSTOP "$(InstallRunning)" - Abort - ${endif} - - ; Check if LyX is already installed - ReadRegStr $0 HKLM "${PRODUCT_UNINST_KEY}" "Publisher" - ${if} $0 != "" - MessageBox MB_OK|MB_ICONSTOP "$(StillInstalled)" - Abort - ${endif} - - ; Default settings - ; These can be reset to "all" in section SecAllUsers. - SetShellVarContext current - StrCpy $ProductRootKey "HKCU" - - ; This can be reset to "true" in section SecDesktop. - StrCpy $CreateDesktopIcon "false" - StrCpy $CreateFileAssociations "false" - - ; If the user does *not* have administrator privileges, abort - StrCpy $Answer "" - StrCpy $UserName "" - !insertmacro IsUserAdmin $Answer $UserName ; macro from LyXUtils.nsh - ${if} $Answer == "yes" - !define ENABLE 0x00000001 - SectionGetFlags ${SecAllUsers} $0 - IntOp $0 $0 | ${ENABLE} - SectionSetFlags ${SecAllUsers} $0 - !undef ENABLE - ${else} - MessageBox MB_OK|MB_ICONSTOP "$(NotAdmin)" - Abort - ${endif} - - ; check which programs are installed or not - Call MissingPrograms ; function from MissingPrograms.nsh - - ; don't let the installer sections appear when the programs are already installed - ${if} $PSVPath != "" - SectionSetText 4 "" ; hides the corresponding uninstaller section, ${SecInstGSview} - ${endif} - ${if} $BibTeXEditorPath != "" - SectionSetText 5 "" ; hides the corresponding uninstaller section, ${SecInstJabRef} - ${endif} - - ClearErrors -FunctionEnd - -;-------------------------------- - -Function LaunchProduct - Exec ${PRODUCT_BAT} -FunctionEnd - -;-------------------------------- - -;Function DeleteLines -; StrCpy $0 SkipWrite -; Push $0 -;FunctionEnd - -;-------------------------------- -; The Uninstaller - -Function un.onInit - - ; Check that LyX is not currently running - FindProcDLL::FindProc "lyx.exe" - ${if} $R0 == "1" - MessageBox MB_OK|MB_ICONSTOP "$(UnInstallRunning)" - Abort - ${endif} - - ; Ascertain whether the user has sufficient privileges to uninstall. - SetShellVarContext current - - ReadRegStr $0 HKCU "${PRODUCT_UNINST_KEY}" "RootKey" - ${if} $0 == "" - ReadRegStr $0 HKLM "${PRODUCT_UNINST_KEY}" "RootKey" - ${if} $0 == "" - MessageBox MB_OK|MB_ICONEXCLAMATION "$(UnNotInRegistryLabel)" - ${endif} - ${endif} - - ; If the user does *not* have administrator privileges, abort - StrCpy $Answer "" - !insertmacro IsUserAdmin $Answer $UserName ; macro from LyXUtils.nsh - ${if} $Answer == "yes" - SetShellVarContext all - ${else} - MessageBox MB_OK|MB_ICONSTOP "$(UnNotAdminLabel)" - Abort - ${endif} - - ; Macro to investigate name of LyX's preferences folders to be able remove them - !insertmacro UnAppPreSuff $AppPre $AppSuff ; macro from LyXUtils.nsh - - ; test if Aspell was installed together with LyX - ReadRegStr $0 HKLM "Software\Aspell" "OnlyWithLyX" ; special entry to test if it was installed with LyX - ${if} $0 == "Yes" - SectionSetText 2 "Aspell" ; names the corersponding uninstaller section (has the index "2" as it is the third section in Uninstall.nsh) - StrCpy $AspellInstallYes "Aspell" - ${else} - SectionSetText 2 "" ; hides the corresponding uninstaller section - ${endif} - - ; test if MiKTeX was installed together with LyX - ReadRegStr $0 HKLM "SOFTWARE\MiKTeX.org\MiKTeX" "OnlyWithLyX" - ${if} $0 == "Yes" - SectionSetText 3 "MiKTeX" ; names the corersponding uninstaller section - StrCpy $MiKTeXInstalled "MiKTeX" - ${else} - SectionSetText 3 "" ; hides the corresponding uninstaller section - ${endif} - - ; test if JabRef was installed together with LyX - ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${JabRefVersion}" "OnlyWithLyX" - ${if} $0 == "Yes" - SectionSetText 4 "JabRef" ; names the corersponding uninstaller section - StrCpy $JabRefInstalled "JabRef" - ${else} - SectionSetText 4 "" ; hides the corresponding uninstaller section - ${endif} - - MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "$(UnReallyRemoveLabel)" IDYES +2 - Abort - -FunctionEnd - - -Function un.onUninstSuccess - HideWindow - MessageBox MB_ICONINFORMATION|MB_OK "$(UnRemoveSuccessLabel)" - -FunctionEnd - -;---------------------- -;Installer sections -!include "Uninstall.nsh" - -; eof diff --git a/development/Win32/packaging/LyXWinInstaller/LyX-Installer-Small.nsi b/development/Win32/packaging/LyXWinInstaller/LyX-Installer-Small.nsi deleted file mode 100644 index a9bc40e0b0..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/LyX-Installer-Small.nsi +++ /dev/null @@ -1,439 +0,0 @@ -; Lyx for Windows, NSIS v2 series installer script - -; File LyXWinInstaller.nsi -; This file is part of LyX, the document processor. -; http://www.lyx.org/ -; Licence details can be found in the file COPYING or copy at -; http://www.lyx.org/about/license.php3 - -; Author Uwe Sthr based on the work of Angus Leeming and Joost Verburg -; Full author contact details are available in file CREDITS or copy at -; http://www.lyx.org/about/credits.php - -; This script requires NSIS 2.22 and newer -; http://nsis.sourceforge.net/ -;-------------------------------- - -; Do a Cyclic Redundancy Check to make sure the installer -; was not corrupted by the download. -CRCCheck force - -; Make the installer as small as possible. -; SetCompressor lzma - -;-------------------------------- -; You should need to change only these macros... - -!define PRODUCT_DIR "D:\LyXPackage1.5" -!define PRODUCT_NAME "LyX" -!define PRODUCT_VERSION "1.5svn-23-01-2007" -!define PRODUCT_VERSION_SHORT "150svn" -!define PRODUCT_SUBFOLDER "lyx15" -!define PRODUCT_LICENSE_FILE "${PRODUCT_DIR}\License.txt" -!define PRODUCT_SOURCEDIR "${PRODUCT_DIR}\LyX" -!define PRODUCT_EXE "$INSTDIR\bin\lyx.exe" -!define PRODUCT_BAT "$INSTDIR\bin\lyx.bat" -!define PRODUCT_EXT ".lyx" -!define PRODUCT_MIME_TYPE "application/lyx" -!define PRODUCT_UNINSTALL_EXE "$INSTDIR\LyXWinUninstall.exe" -!define PRODUCT_HELP_LINK "http://www.lyx.org/internet/mailing.php" -!define PRODUCT_ABOUT_URL "http://www.lyx.org/about/" -!define PRODUCT_INFO_URL "http://www.lyx.org/" - -BrandingText "LyXWinInstaller v3.05 - Small" -!define INSTALLER_VERSION "Small" -!define INSTALLER_EXE "LyXWin150svnSmall-3-05.exe" -!define INSTALLER2_EXE "LyXWin150svnComplete-3-05.exe" ; to check later if this installer version is running at the same time -!define VERSION_BITMAP "${PRODUCT_DIR}\icons\lyx_logo_vert${PRODUCT_VERSION_SHORT}.bmp" - -; Replaced by HKLM or HKCU depending on SetShellVarContext. -!define PRODUCT_ROOT_KEY "SHCTX" - -!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\lyx.exe" -!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\LyX150svn" - -!define ClassFileDir "${PRODUCT_SOURCEDIR}\Resources\tex" - -!define ImageMagickVersion "6.3.2" -!define ImageMagickDir "$INSTDIR\etc\ImageMagick" ; for some odd reason the ImageMagick folder may not be a subfolder of $INSTDIR\bin! -!define GhostscriptDir "$INSTDIR\etc\Ghostscript" -!define GhostscriptVersion "8.54" -!define AiksaurusDir "$APPDATA\Aiksaurus" -!define AiksaurusInstall "external\Aiksaurus" -!define AspellDir "$APPDATA\Aspell" -!define AspellDisplay "Aspell 0.60.4 Data" -!define AspellInstall "external\Aspell" -!define AspellUninstall "Uninstall-AspellData.exe" -!define AspellDictPath "${AspellDir}\Dictionaries" -!define AspellPersonalPath "${AspellDir}\Personal" -!define AspellLocationExact "http://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=9651" -!define AspellLocation "http://developer.berlios.de/projects/lyxwininstall/" -!define JabRefVersion "JabRef not included" -!define DVIPostFileDir "${PRODUCT_SOURCEDIR}\external\dvipost" -!define MiKTeXRepo "ftp://ftp.tu-chemnitz.de/pub/tex/systems/win32/miktex/tm/packages/" -!define MiKTeXConfigFolder "MiKTeX\2.5\miktex\config" -!define MiKTeXDeliveredVersion "MiKTeX not included" - -;-------------------------------- -; Make some of the information above available to NSIS. - -Name "${PRODUCT_NAME}" -OutFile "${INSTALLER_EXE}" -InstallDir "$PROGRAMFILES\${PRODUCT_NAME} ${PRODUCT_VERSION}" - -;-------------------------------- -; Variables - -Var LatexPath -Var PythonPath -Var DelPythonFiles -Var GhostscriptPath -Var ImageMagickPath -Var AiksaurusPath -Var AspellPath -Var AspellInstallYes -Var AspellBaseReg -Var AspellMessage -Var PDFVPath -Var Acrobat -Var PSVPath -Var EditorPath -Var ImageEditorPath -Var BibTeXEditorPath -Var JabRefInstalled -Var PathPrefix -Var Answer -Var UserName -Var LangName -Var LangNameSys -Var LangCode -Var LangCodeSys -Var LangEncoding -Var LangSysEncoding -Var DictCode -Var MissedProg -Var LaTeXName -Var MiKTeXVersion -Var MiKTeXInstalled -Var MiKTeXUser -Var CreateFileAssociations -Var CreateDesktopIcon -Var StartmenuFolder -Var ProductRootKey -Var AppPre -Var AppSuff -Var AppPath -Var State -Var String -Var Search -Var Pointer -Var UserList -Var RunNumber - -;-------------------------------- -; load some NSIS libraries -!include "MUI.nsh" -!include "LogicLib.nsh" -!include "FileFunc.nsh" -!include "StrFunc.nsh" -;!include "TextFunc.nsh" -;!insertmacro LineFind - -; Set of various macros and functions -!include "LyXUtils.nsh" - -; Function to check if needed programs are missing or not -!include "MissingPrograms.nsh" - -; Function for page to manually select LaTeX's installation folder -!include "LaTeXFolder.nsh" - -; Functions for page to set installer language -; and LyX's menu language -!include "LanguageSettings.nsh" - -; Function for page to install Aspell dictionaries -!include "Aspell.nsh" - -; Use the Abiword macros to help set up associations with the file extension in the Registry. -; Grabbed from -; http://abiword.pchasm.org/source/cvs/abiword-cvs/abi/src/pkg/win/setup/NSISv2/abi_util_fileassoc.nsh -!include "abi_util_fileassoc.nsh" - -;-------------------------------- - -; Remember the installer language -!define MUI_LANGDLL_REGISTRY_ROOT "HKCU" -!define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}" -!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language" - -!define MUI_ABORTWARNING -!define MUI_HEADERIMAGE -!define MUI_HEADERIMAGE_BITMAP "${PRODUCT_DIR}\icons\lyx_logo_hi.bmp" -!define MUI_ICON "${PRODUCT_DIR}\icons\lyx.ico" -!define MUI_UNICON "${PRODUCT_DIR}\icons\lyx.ico" -!define MUI_WELCOMEFINISHPAGE_BITMAP "${VERSION_BITMAP}" - -; Welcome page -!define MUI_WELCOMEPAGE_TEXT "$(WelcomePageText)" -!insertmacro MUI_PAGE_WELCOME - -; Show the license. -!insertmacro MUI_PAGE_LICENSE "${PRODUCT_LICENSE_FILE}" - -; Specify the installation directory. -!insertmacro MUI_PAGE_DIRECTORY - -; Specify LyX's menu language. -Page custom SelectMenuLanguage SelectMenuLanguage_LeaveFunction - -; Define which components to install. -!insertmacro MUI_PAGE_COMPONENTS - -; Specify where to install program shortcuts. -!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_ROOT_KEY}" -!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}" -!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder" -!define MUI_STARTMENUPAGE_DEFAULTFOLDER "LyX ${PRODUCT_VERSION}" -!insertmacro MUI_PAGE_STARTMENU ${PRODUCT_NAME} $StartmenuFolder - -; Select latex.exe manually -Page custom LatexFolder LatexFolder_LeaveFunction - -; Check for needed programs -Page custom MissingProgramsPage MissingProgramsPage_LeaveFunction - -; Watch the components being installed. -!insertmacro MUI_PAGE_INSTFILES - -; Finish page -!define MUI_FINISHPAGE_RUN -!define MUI_FINISHPAGE_TEXT "$(FinishPageMessage)" -!define MUI_FINISHPAGE_RUN_TEXT "$(FinishPageRun)" -!define MUI_FINISHPAGE_RUN_FUNCTION "LaunchProduct" -!insertmacro MUI_PAGE_FINISH - -; The uninstaller. -!insertmacro MUI_UNPAGE_COMPONENTS -!insertmacro MUI_UNPAGE_INSTFILES - -;-------------------------------- -; Languages - -!insertmacro MUI_LANGUAGE "English" # first language is the default language -!insertmacro MUI_LANGUAGE "Danish" -!insertmacro MUI_LANGUAGE "Dutch" -!insertmacro MUI_LANGUAGE "French" -!insertmacro MUI_LANGUAGE "German" -!insertmacro MUI_LANGUAGE "Galician" -!insertmacro MUI_LANGUAGE "Hungarian" -!insertmacro MUI_LANGUAGE "Italian" -!insertmacro MUI_LANGUAGE "Norwegian" -!insertmacro MUI_LANGUAGE "Polish" -!insertmacro MUI_LANGUAGE "Portuguese" -!insertmacro MUI_LANGUAGE "Slovak" -!insertmacro MUI_LANGUAGE "Spanish" -!insertmacro MUI_LANGUAGE "Swedish" -!insertmacro MUI_LANGUAGE "Turkish" - -!include "lyx_languages\english.nsh" -!include "lyx_languages\danish.nsh" -!include "lyx_languages\dutch.nsh" -!include "lyx_languages\french.nsh" -!include "lyx_languages\german.nsh" -!include "lyx_languages\galician.nsh" -!include "lyx_languages\hungarian.nsh" -!include "lyx_languages\italian.nsh" -!include "lyx_languages\norwegian.nsh" -!include "lyx_languages\polish.nsh" -!include "lyx_languages\portuguese.nsh" -!include "lyx_languages\slovak.nsh" -!include "lyx_languages\spanish.nsh" -!include "lyx_languages\swedish.nsh" -!include "lyx_languages\turkish.nsh" - -LicenseData "$(LyXLicenseData)" - -;-------------------------------- -; Reserve Files - -; These files are inserted before other files in the data block -!insertmacro MUI_RESERVEFILE_LANGDLL -ReserveFile "io_ui_language.ini" -!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS - -;-------------------------------- -; Installer sections - -Section "!${PRODUCT_NAME}" SecCore - SectionIn RO -SectionEnd -Section "$(SecAllUsersTitle)" SecAllUsers - SetShellVarContext all - StrCpy $ProductRootKey "HKLM" -SectionEnd -Section "$(SecFileAssocTitle)" SecFileAssoc - StrCpy $CreateFileAssociations "true" -SectionEnd -Section "$(SecDesktopTitle)" SecDesktop - StrCpy $CreateDesktopIcon "true" -SectionEnd - -; Section descriptions -!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN -!insertmacro MUI_DESCRIPTION_TEXT ${SecCore} "$(SecCoreDescription)" -!insertmacro MUI_DESCRIPTION_TEXT ${SecAllUsers} "$(SecAllUsersDescription)" -!insertmacro MUI_DESCRIPTION_TEXT ${SecFileAssoc} "$(SecFileAssocDescription)" -!insertmacro MUI_DESCRIPTION_TEXT ${SecDesktop} "$(SecDesktopDescription)" -!insertmacro MUI_FUNCTION_DESCRIPTION_END - -!include "InstallActions-small.nsh" - -;-------------------------------- -; This hook function is called internally by NSIS on installer startup -Function .onInit - - ; set the installer language to the Windows locale language - System::Call "kernel32::GetUserDefaultLangID()i.a" - - ; Check that the installer is not currently running - System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${INSTALLER_EXE}.Instance") i .r1 ?e' - Pop $R0 - ${if} $R0 != "0" - MessageBox MB_OK|MB_ICONSTOP "$(InstallRunning)" - Abort - ${endif} - FindProcDLL::FindProc "${INSTALLER2_EXE}" - ${if} $R0 == "1" - MessageBox MB_OK|MB_ICONSTOP "$(InstallRunning)" - Abort - ${endif} - - ; Check if LyX is already installed - ReadRegStr $0 HKLM "${PRODUCT_UNINST_KEY}" "Publisher" - ${if} $0 != "" - MessageBox MB_OK|MB_ICONSTOP "$(StillInstalled)" - Abort - ${endif} - - ; Default settings - ; These can be reset to "all" in section SecAllUsers. - SetShellVarContext current - StrCpy $ProductRootKey "HKCU" - - ; This can be reset to "true" in section SecDesktop. - StrCpy $CreateDesktopIcon "false" - StrCpy $CreateFileAssociations "false" - - ; If the user does *not* have administrator privileges, abort - StrCpy $Answer "" - StrCpy $UserName "" - !insertmacro IsUserAdmin $Answer $UserName ; macro from LyXUtils.nsh - ${if} $Answer == "yes" - !define ENABLE 0x00000001 - SectionGetFlags ${SecAllUsers} $0 - IntOp $0 $0 | ${ENABLE} - SectionSetFlags ${SecAllUsers} $0 - !undef ENABLE - ${else} - MessageBox MB_OK|MB_ICONSTOP "$(NotAdmin)" - Abort - ${endif} - - ; check which programs are installed or not - Call MissingPrograms ; function from MissingPrograms.nsh - - ; used later in the function LatexFolder - StrCpy $State "0" - - ClearErrors -FunctionEnd - -;-------------------------------- - -Function LaunchProduct - Exec ${PRODUCT_BAT} -FunctionEnd - -;-------------------------------- - -;Function DeleteLines -; StrCpy $0 SkipWrite -; Push $0 -;FunctionEnd - -;-------------------------------- -; The Uninstaller - -Function un.onInit - - ; Check that LyX is not currently running - FindProcDLL::FindProc "lyx.exe" - ${if} $R0 == "1" - MessageBox MB_OK|MB_ICONSTOP "$(UnInstallRunning)" - Abort - ${endif} - - ; Ascertain whether the user has sufficient privileges to uninstall. - SetShellVarContext current - - ReadRegStr $0 HKCU "${PRODUCT_UNINST_KEY}" "RootKey" - ${if} $0 == "" - ReadRegStr $0 HKLM "${PRODUCT_UNINST_KEY}" "RootKey" - ${if} $0 == "" - MessageBox MB_OK|MB_ICONEXCLAMATION "$(UnNotInRegistryLabel)" - ${endif} - ${endif} - - ; If the user does *not* have administrator privileges, abort - StrCpy $Answer "" - !insertmacro IsUserAdmin $Answer $UserName ; macro from LyXUtils.nsh - ${if} $Answer == "yes" - SetShellVarContext all - ${else} - MessageBox MB_OK|MB_ICONSTOP "$(UnNotAdminLabel)" - Abort - ${endif} - - ; Macro to investigate name of LyX's preferences folders to be able remove them - !insertmacro UnAppPreSuff $AppPre $AppSuff ; macro from LyXUtils.nsh - - ; test if Aspell was installed together with LyX - ReadRegStr $0 HKLM "Software\Aspell" "OnlyWithLyX" ; special entry to test if it was installed with LyX - ${if} $0 == "Yes" - SectionSetText 2 "Aspell" ; names the corersponding uninstaller section (has the index "2" as it is the third section in Uninstall.nsh) - StrCpy $AspellInstallYes "Aspell" - ${else} - SectionSetText 2 "" ; hides the corresponding uninstaller section - ${endif} - - ; test if MiKTeX was installed together with LyX - ReadRegStr $0 HKLM "SOFTWARE\MiKTeX.org\MiKTeX" "OnlyWithLyX" - ${if} $0 == "Yes" - SectionSetText 3 "MiKTeX" ; names the corersponding uninstaller section - StrCpy $MiKTeXInstalled "MiKTeX" - ${else} - SectionSetText 3 "" ; hides the corresponding uninstaller section - ${endif} - - ; ignore JabRef because this could only be installed with the complete installer version - SectionSetText 4 "" ; hides the corresponding uninstaller section - StrCpy $JabRefInstalled "" - - MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "$(UnReallyRemoveLabel)" IDYES +2 - Abort - -FunctionEnd - - -Function un.onUninstSuccess - HideWindow - MessageBox MB_ICONINFORMATION|MB_OK "$(UnRemoveSuccessLabel)" - -FunctionEnd - -;---------------------- -;Installer sections -!include "Uninstall.nsh" - -; eof diff --git a/development/Win32/packaging/LyXWinInstaller/LyXUtils.nsh b/development/Win32/packaging/LyXWinInstaller/LyXUtils.nsh deleted file mode 100644 index c841b0564b..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/LyXUtils.nsh +++ /dev/null @@ -1,534 +0,0 @@ -; This script contains the following functions: -; -; - LaTeXCheck (check installed LaTeX-system), uses: -; StrPointer -; StrPoint -; RevStrPointer -; RevStrPoint -; -; - un.DelAppPathSub and UnAppPreSuff, (delete the folder ~\Documents and Settings\username\Application Data\LyX for all users), uses: -; un.GetParent -; un.GetUsers -; un.StrPoint -; StrPointer -; StrPoint -; UnAppPreSuff -; -; - CreateAppPathSub and AppPreSuff, (creates the folder ~\Documents and Settings\username\Application Data\LyX for all users), uses: -; GetParent -; GetUsers -; StrPointer -; StrPoint -; UnAppPreSuff -; -; - IsUserAdmin (checks if user is admin) -; -; - FileCheck (checks if a given file exists) -; -; - EditorCheck (check for installed editors) -; -;-------------------------- - -!macro StrPointer FindStr SearchStr Pointer - ; searches for a string/character (SearchStr) in another string (FindStr) - ; and returns the number of the character in the FindStr where the SearchStr was found (Pointer) - ; if nothing was found or the search is impossible the Pointer is set to -1 - - StrLen $R2 ${SearchStr} - StrLen $R4 ${FindStr} - StrCpy $R5 0 - ${if} $R2 == 0 - ${orif} $R4 == 0 - Goto NotFound - ${endif} - IntCmp $R4 $R2 loopA NotFound - loopA: - StrCpy $R3 ${FindStr} $R2 $R5 - StrCmp $R3 ${SearchStr} Found - IntOp $R5 $R5 + 1 - IntCmp $R4 $R5 loopA NotFound - Goto loopA - Found: - StrCpy ${Pointer} $R5 - Goto done - NotFound: - StrCpy ${Pointer} "-1" - done: - -!macroend - -;-------------------------------- - -Function StrPoint - !insertmacro StrPointer $String $Search $Pointer -FunctionEnd - -;-------------------------------- - -!macro RevStrPointer FindStr SearchStr Pointer - ; searches for a string/character (SearchStr) in another string (FindStr) in reverse order - ; and returns the number of the character in the FindStr where the SearchStr was found (Pointer) - ; if nothing was found or the search is impossible the Pointer is set to +1 - - StrLen $R2 ${SearchStr} - StrLen $R4 ${FindStr} - ${if} $R2 == 0 - ${orif} $R4 == 0 - Goto NotFound - ${endif} - IntCmp $R4 $R2 loopA NotFound - StrCpy $R5 "-$R2" - loopA: - StrCpy $R3 ${FindStr} $R2 $R5 - StrCmp $R3 ${SearchStr} Found - IntOp $R5 $R5 - 1 - IntCmp "$R5" "-$R4" loopA NotFound - Goto loopA - Found: - StrCpy ${Pointer} $R5 - Goto done - NotFound: - StrCpy ${Pointer} "+1" - done: - -!macroend - -;-------------------------------- - -Function RevStrPoint - !insertmacro RevStrPointer $String $Search $Pointer -FunctionEnd - -;-------------------------------- - -!macro AppPreSuff AppPre AppSuff - ; the APPDATA path has always the following structure: - ; C:\Documents and Settings\username\Application Data - ; this macro saves the "C:\Documents and Settings\" substring into the variable "AppPre" - ; and the "Application Data" substring into the variable "AppSuff" - - StrCpy $String "$APPDATA" - StrCpy $Search "\" - Call StrPoint ; search for the first "\" - IntOp $Pointer $Pointer + 1 ; jump after the "\" - StrCpy $String $String "" $Pointer ; cut off the part before the first "\" - StrCpy $0 $Pointer - Call StrPoint ; search for the second "\" - IntOp $0 $0 + $Pointer ; $0 is now the pointer to the second "\" in the APPDATA string - StrCpy ${AppPre} $APPDATA $0 ; save the part before the second "\" - IntOp $Pointer $Pointer + 1 ; jump after the "\" - StrCpy $String $String "" $Pointer ; cut off the part before the second "\" - Call StrPoint ; search for the third "\" - IntOp $Pointer $Pointer + 1 ; jump after the "\" - StrCpy ${AppSuff} $String "" $Pointer ; save the part after the third "\" - -!macroend - -;-------------------------------- - -Function GetParent - ; deletes a subfolder of the APPDATA path for all users - ; used by the function "un.getUsers" - - Exch $R0 - Push $R1 - Push $R2 - Push $R3 - StrCpy $R1 0 - StrLen $R2 $R0 - loop: - IntOp $R1 $R1 + 1 - IntCmp $R1 $R2 get 0 get - StrCpy $R3 $R0 1 -$R1 - StrCmp $R3 "\" get - Goto loop - get: - StrCpy $R0 $R0 -$R1 - Pop $R3 - Pop $R2 - Pop $R1 - Exch $R0 - -FunctionEnd - -;-------------------------------- - -Function GetUsers - ; reads the subfolders of the "Documents and Settings" folder to get a list of the users - - StrCpy $R3 "" - Push "$PROFILE" - Call GetParent - Pop $R2 - StrCpy $R2 "$R2" - FindFirst $R0 $R1 "$R2\*" - StrCmp $R1 "" findend 0 - findloop: - IfFileExists "$R2\$R1\*.*" 0 notDir - StrCmp $R1 "." notDir - StrCmp $R1 ".." notDir - StrCmp $R1 "All Users" notDir - StrCmp $R1 "Default User" notDir - StrCmp $R1 "All Users.WINNT" notDir - StrCmp $R1 "Default User.WINNT" notDir - StrCpy $R3 "$R3|$R1" - notDir: - FindNext $R0 $R1 - StrCmp $R1 "" findend 0 - Goto findloop - findend: - FindClose $R0 - -FunctionEnd - -;-------------------------------- - -Function un.GetParent - ; deletes a subfolder of the APPDATA path for all users - ; used by the function "un.getUsers" - - Exch $R0 - Push $R1 - Push $R2 - Push $R3 - StrCpy $R1 0 - StrLen $R2 $R0 - loop: - IntOp $R1 $R1 + 1 - IntCmp $R1 $R2 get 0 get - StrCpy $R3 $R0 1 -$R1 - StrCmp $R3 "\" get - Goto loop - get: - StrCpy $R0 $R0 -$R1 - Pop $R3 - Pop $R2 - Pop $R1 - Exch $R0 - -FunctionEnd - -;-------------------------------- - -Function un.GetUsers - ; reads the subfolders of the "Documents and Settings" folder to get a list of the users - - StrCpy $R3 "" - Push "$PROFILE" - Call un.GetParent - Pop $R2 - StrCpy $R2 "$R2" - FindFirst $R0 $R1 "$R2\*" - StrCmp $R1 "" findend 0 - findloop: - IfFileExists "$R2\$R1\*.*" 0 notDir - StrCmp $R1 "." notDir - StrCmp $R1 ".." notDir - StrCmp $R1 "All Users" notDir - StrCmp $R1 "Default User" notDir - StrCmp $R1 "All Users.WINNT" notDir - StrCmp $R1 "Default User.WINNT" notDir - StrCpy $R3 "$R3|$R1" - notDir: - FindNext $R0 $R1 - StrCmp $R1 "" findend 0 - Goto findloop - findend: - FindClose $R0 - -FunctionEnd - -;-------------------------------- - -Function un.StrPoint - !insertmacro StrPointer $String $Search $Pointer -FunctionEnd - -;-------------------------------- - -!macro UnAppPreSuff AppPre AppSuff - ; the APPDATA path has always the following structure: - ; C:\Documents and Settings\username\Application Data - ; this macro saves the "C:\Documents and Settings\" substring into the variable "AppPre" - ; and the "Application Data" substring into the variable "AppSuff" - - StrCpy $String "$APPDATA" - StrCpy $Search "\" - Call un.StrPoint ; search for the first "\" - IntOp $Pointer $Pointer + 1 ; jump after the "\" - StrCpy $String $String "" $Pointer ; cut off the part before the first "\" - StrCpy $0 $Pointer - Call un.StrPoint ; search for the second "\" - IntOp $0 $0 + $Pointer ; $0 is now the pointer to the second "\" in the APPDATA string - StrCpy ${AppPre} $APPDATA $0 ; save the part before the second "\" - IntOp $Pointer $Pointer + 1 ; jump after the "\" - StrCpy $String $String "" $Pointer ; cut off the part before the second "\" - Call un.StrPoint ; search for the third "\" - IntOp $Pointer $Pointer + 1 ; jump after the "\" - StrCpy ${AppSuff} $String "" $Pointer ; save the part after the third "\" - -!macroend - -;-------------------------------- - -Function un.DelAppPathSub - ; deletes a subfolder of the APPDATA path for all users - - ; get list of all users - Push $R0 - Push $R1 - Push $R2 - Push $R3 - Call un.GetUsers - StrCpy $UserList $R3 "" 1 ; cut off the "|" at the end of the list - Pop $R3 - Pop $R2 - Pop $R1 - Pop $R0 - - ; the usernames in the list of all users is separated by "|" - loop: - StrCpy $String "$UserList" - StrCpy $Search "|" - Call un.StrPoint ; search for the "|" - StrCmp $Pointer "-1" ready - StrCpy $0 $UserList $Pointer ; $0 contains now the username - IntOp $Pointer $Pointer + 1 ; jump after the "|" - StrCpy $UserList $UserList "" $Pointer ; cut off the first username in the list - ; generate the string for the current user - ; AppPre and AppSuff are generated in the macro "AppPreSuff" - StrCpy $AppPath "$AppPre\$0\$AppSuff\${PRODUCT_SUBFOLDER}" - RMDir /r $AppPath ; delete the folder - Goto loop - ready: - StrCpy $0 $UserList - StrCpy $AppPath "$AppPre\$0\$AppSuff\${PRODUCT_SUBFOLDER}" - RMDir /r $AppPath ; delete the folder - -FunctionEnd - -;-------------------------------- - -Function CreateAppPathSub - ; creates a subfolder of the APPDATA path for all users - - ; get folder names - !insertmacro AppPreSuff $AppPre $AppSuff - - ; get list of all users - Push $R0 - Push $R1 - Push $R2 - Push $R3 - Call GetUsers - StrCpy $UserList $R3 "" 1 ; cut off the "|" at the end of the list - Pop $R3 - Pop $R2 - Pop $R1 - Pop $R0 - - ; the usernames in the list of all users is separated by "|" - loop: - StrCpy $String "$UserList" - StrCpy $Search "|" - Call StrPoint ; search for the "|" - StrCmp $Pointer "-1" ready - StrCpy $0 $UserList $Pointer ; $0 contains now the username - IntOp $Pointer $Pointer + 1 ; jump after the "|" - StrCpy $UserList $UserList "" $Pointer ; cut off the first username in the list - ; generate the string for the current user - ; AppPre and AppSuff are generated in the macro "AppPreSuff" - StrCpy $AppPath "$AppPre\$0\$AppSuff\${PRODUCT_SUBFOLDER}" - CreateDirectory $AppPath ; create the folder - CopyFiles "$INSTDIR\Resources\session" "$AppPath" - Goto loop - ready: - StrCpy $0 $UserList - StrCpy $AppPath "$AppPre\$0\$AppSuff\${PRODUCT_SUBFOLDER}" - CreateDirectory $AppPath ; create the folder - CopyFiles "$INSTDIR\Resources\session" "$AppPath" - Delete "$INSTDIR\Resources\session" ; delete the session file in the INSTDIR because it is unneeded there - -FunctionEnd - -;-------------------------------- - -!macro IsUserAdmin Result Name - - ClearErrors - UserInfo::GetName - IfErrors Win9x - Pop $0 - StrCpy ${Name} $0 - UserInfo::GetAccountType - Pop $1 - ${if} $1 == "Admin" - StrCpy ${Result} "yes" - ${else} - StrCpy ${Result} "no" - ${endif} - Goto done - - Win9x: - StrCpy ${Result} "yes" - done: - -!macroend - -;-------------------------------- - -!macro FileCheck Result FileName FilePath - ; checks if a file exists, returns "True" or "False" - - Push $0 - Push $1 - StrCpy $0 "" - StrCpy $1 "" - FileOpen $0 "${Filepath}\${FileName}" r - ${if} $0 = "" - StrCpy $1 "False" - ${Else} - StrCpy $1 "True" - ${endif} - FileClose $0 - StrCpy ${Result} $1 - Pop $1 - Pop $0 - -!macroend - -;------------------------------------------ - -Function LaTeXCheck - ; searches the string "$Search" in the string "$String" and extracts the path around it - ; the extracted path is checked if the file "latex.exe" is in it - - StartCheck: - StrLen $3 $String - Call StrPoint - ${if} $Pointer == "-1" ; if nothing was found - StrCpy $LatexPath "" - Return - ${endif} - IntOp $3 $3 - $Pointer - StrCpy $4 $String $3 "-$3" ; $4 is now the part behind the $Search string - StrCpy $String $String $Pointer ; $String is now the part before the $Search string - StrCpy $Search ":" ; search for the ":" after the first previous drive letter - Call RevStrPoint - IntOp $Pointer $Pointer - 1 ; jump before the ":" to the drive letter - StrCpy $Pointer $Pointer "" 1 ; cut of the "-" sign - StrCpy $LatexPath $String $Pointer "-$Pointer" - StrCpy $String $4 - StrCpy $Search ";" ; search for the following ";" that separates the different paths - Call StrPoint - ${if} $Pointer != "-1" ; if something was found - StrCpy $String $String $Pointer - ${endif} - StrCpy $LatexPath "$LatexPath$String" - ; check if the latex.exe exists in the $LatexPath folder - !insertmacro FileCheck $5 "latex.exe" "$LatexPath" - ${if} $5 == "False" ; delete the entry with the wrong path to the latex.exe and try again - StrCpy $LatexPath "" - StrLen $3 $String - StrCpy $String $4 "" $3 - ${if} $2 == "TeXLive" - StrCpy $Search "TeXLive" - ${else} - StrCpy $Search "miktex" - ${endif} - Goto StartCheck - ${endif} - -FunctionEnd - -;------------------------------------------ - -Function EditorCheck - - ; test if an editor with syntax-highlighting for LaTeX-files is installed - ; (check for jEdit, PSPad, WinShell, ConTEXT, Crimson Editor, Vim, TeXnicCenter, LaTeXEditor, WinEdt, LEd, WinTeX) - StrCpy $EditorPath "" - StrCpy $0 "" - ; check for jEdit - ReadRegStr $EditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jEdit_is1" "InstallLocation" - ${if} $EditorPath != "" - StrCpy $EditorPath $EditorPath -1 ; remove "\" from the end of the string - ${endif} - ; check for PSPad - StrCpy $0 "" - ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PSPad editor_is1" "InstallLocation" - ${if} $0 != "" - StrCpy $0 $0 -1 - StrCpy $EditorPath "$EditorPath;$0" - ${endif} - ; check for WinShell - StrCpy $0 "" - ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\WinShell_is1" "InstallLocation" - ${if} $0 != "" - StrCpy $0 $0 -1 - StrCpy $EditorPath "$EditorPath;$0" - ${endif} - ; check for ConTEXT - StrCpy $0 "" - ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ConTEXTEditor_is1" "InstallLocation" - ${if} $0 != "" - StrCpy $0 $0 -1 - StrCpy $EditorPath "$EditorPath;$0" - ${endif} - ; check for Crimson Editor - StrCpy $0 "" - ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Crimson Editor" "UninstallString" - ${if} $0 != "" - StrCpy $0 $0 -14 ; remove "\uninstall.exe" - StrCpy $EditorPath "$EditorPath;$0" - ${endif} - ; check for Vim 6.x - StrCpy $0 "" - ReadRegStr $0 HKLM "Software\Classes\Applications\gvim.exe\shell\edit\command" "" - ${if} $0 != "" - StrCpy $0 $0 -13 ; remove "gvim.exe "%1"" - StrCpy $EditorPath "$EditorPath;$0" - ${endif} - ; check for Vim 7.0 - StrCpy $0 "" - ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Vim 7.0" "UninstallString" - ${if} $0 != "" - StrCpy $0 $0 -18 ; remove "\uninstall-gui.exe" - StrCpy $EditorPath "$EditorPath;$0" - ${endif} - ; check for TeXnicCenter - StrCpy $0 "" - ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\TeXnicCenter_is1" "Inno Setup: App Path" - ${if} $0 != "" - StrCpy $EditorPath "$EditorPath;$0" - ${endif} - ; check for LaTeXEditor - StrCpy $0 "" - ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\LaTeX Editor" "InstallLocation" - ${if} $0 != "" - StrCpy $EditorPath "$EditorPath;$0" - ${endif} - ; check for WinEdt - StrCpy $0 "" - ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\WinEdt_is1" "InstallLocation" - ${if} $0 != "" - StrCpy $0 $0 -1 - StrCpy $EditorPath "$EditorPath;$0" - ${endif} - ; check for LEd - StrCpy $0 "" - ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\LEd_is1" "InstallLocation" - ${if} $0 != "" - StrCpy $0 $0 -1 - StrCpy $EditorPath "$EditorPath;$0" - ${endif} - ; check for WinTeX - StrCpy $0 "" - ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\WinTeX XP" "DisplayIcon" - ${if} $0 != "" - StrCpy $0 $0 -11 ; remove "\wintex.exe" - StrCpy $EditorPath "$EditorPath;$0" - ${endif} - -FunctionEnd - diff --git a/development/Win32/packaging/LyXWinInstaller/LyXWinInstallerReadme.txt b/development/Win32/packaging/LyXWinInstaller/LyXWinInstallerReadme.txt deleted file mode 100644 index 86334d66ed..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/LyXWinInstallerReadme.txt +++ /dev/null @@ -1,11 +0,0 @@ -This installer is different from the one existing in the svn folder -D:\LyXSVN\lyx-devel\development\Win32\packaging\installer - -The changes are listed here (compared against LyX 1.4.3-5): -http://wiki.lyx.org/Windows/LyXWinInstaller -(The toolbar changes listed there can be ignored.) - -The installer for LyX 1.5 comes furthermore with support for -the bibliography manager "JabRef" - -Responsible author: Uwe Sthr \ No newline at end of file diff --git a/development/Win32/packaging/LyXWinInstaller/MissingPrograms.nsh b/development/Win32/packaging/LyXWinInstaller/MissingPrograms.nsh deleted file mode 100644 index 12341c48b5..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/MissingPrograms.nsh +++ /dev/null @@ -1,240 +0,0 @@ -Function MissingPrograms - - StrCpy $MissedProg "False" - - ; test if MiKTeX is installed - ; read the PATH variable via the registry because NSIS' "$%Path%" variable is not updated when the PATH changes - ReadRegStr $String HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "Path" - StrCpy $Search "miktex" - Call LaTeXCheck ; sets the path to the latex.exe to $LatexPath ; function from LyXUtils.nsh - ; check if MiKTeX 2.4 or 2.5 is installed - StrCpy $String "" - ReadRegStr $String HKLM "Software\MiK\MiKTeX\CurrentVersion\MiKTeX" "Install Root" - ${if} $String != "" - StrCpy $MiKTeXVersion "2.4" ; needed later for the configuration of MiKTeX - StrCpy $LaTeXName "MiKTeX 2.4" - ${endif} - - ${if} $LatexPath == "" ; check if MiKTeX is installed only for the current user - ; check for MiKTeX 2.5 - ReadRegStr $String HKCU "Environment" "Path" - StrCpy $Search "miktex" - Call LaTeXCheck - ${if} $LatexPath != "" - StrCpy $MiKTeXUser "HKCU" ; needed later to for a message about MiKTeX's install folder write permissions, see InstallActions-*.nsh - ${endif} - ; check for MiKTeX 2.4 - StrCpy $String "" - ReadRegStr $String HKCU "Software\MiK\MiKTeX\CurrentVersion\MiKTeX" "Install Root" - ${if} $String != "" - StrCpy $MiKTeXVersion "2.4" - StrCpy $LaTeXName "MiKTeX 2.4" - ${endif} - ${endif} - - ${if} $LatexPath != "" - StrCpy $MiKTeXInstalled "yes" - ${if} $LaTeXName != "MiKTeX 2.4" - StrCpy $LaTeXName "MiKTeX 2.5" - ${endif} - ${endif} - - ; test if TeXLive is installed - ; as described at TeXLives' homepage there should be an entry in the PATH - ${if} $LatexPath == "" - ReadRegStr $String HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "Path" - StrCpy $Search "TeXLive" - Call LaTeXCheck - ${endif} - ; check for the current user Path variable (the case when it is a live CD/DVD) - ${if} $LatexPath == "" - ReadRegStr $String HKCU "Environment" "Path" - StrCpy $Search "texlive" - StrCpy $2 "TeXLive" - Call LaTeXCheck - ${endif} - ; check if the variable TLroot exists (the case when it is installed using the program "tlpmgui") - ${if} $LatexPath == "" - ReadRegStr $String HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "TLroot" - ${if} $String == "" - ReadRegStr $String HKCU "Environment" "TLroot" ; the case when installed without admin permissions - ${endif} - StrCpy $LatexPath "$String\bin\win32" - ; check if the latex.exe exists in the $LatexPath folder - !insertmacro FileCheck $5 "latex.exe" "$LatexPath" - ${if} $5 == "False" - StrCpy $LatexPath "" - ${endif} - ${endif} - ${if} $LatexPath != "" - ${andif} $LaTeXName != "MiKTeX 2.4" - ${andif} $LaTeXName != "MiKTeX 2.5" - StrCpy $LaTeXName "TeXLive" - ${endif} - - ; test if Ghostscript is installed - GSloop: - EnumRegKey $1 HKLM "Software\AFPL Ghostscript" 0 - ${if} $1 == "" - EnumRegKey $1 HKLM "Software\GPL Ghostscript" 0 - ${if} $1 != "" - StrCpy $2 "True" - ${endif} - ${endif} - ${if} $1 != "" - ${if} $2 == "True" - ReadRegStr $3 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GPL Ghostscript $1" "DisplayName" - StrCpy $0 "Software\GPL Ghostscript\$1" - ${else} - ReadRegStr $3 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AFPL Ghostscript $1" "DisplayName" - StrCpy $0 "Software\AFPL Ghostscript\$1" - ${endif} - ${if} $3 == "" ; if nothing was found in the uninstall section - ReadRegStr $3 HKLM "SOFTWARE\GPL Ghostscript" "OnlyWithLyX" ; check if Ghostscript was installed together with LyX - ${endif} - ${if} $3 == "" ; if nothing was found in the uninstall section - DeleteRegKey HKLM "$0" - goto GSloop - ${else} - ReadRegStr $GhostscriptPath HKLM $0 "GS_DLL" - ${if} $GhostscriptPath != "" - StrCpy $GhostscriptPath "$GhostscriptPath" -12 ; remove ending "gsdll32.dll" - ${else} - StrCpy $MissedProg "True" - ${endif} - ${endif} ; if $3 - ${else} ; if $1 - StrCpy $GhostscriptPath "" - StrCpy $MissedProg "True" - ${endif} - - ; test if Imagemagick is installed - ReadRegStr $ImageMagickPath HKLM "Software\ImageMagick\Current" "BinPath" - ${if} $ImageMagickPath == "" - StrCpy $MissedProg "True" - ${endif} - - ; test if Aiksaurus is installed - ReadRegStr $AiksaurusPath HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "AIK_DATA_DIR" - - ; test if Aspell is installed - StrCpy $5 "" - ReadRegStr $5 HKCU "SOFTWARE\Aspell" "Base Path" - ${if} $5 == "" - ReadRegStr $5 HKLM "SOFTWARE\Aspell" "Base Path" - StrCpy $AspellBaseReg "HKLM" ; used in the aspell installation section - ${else} - StrCpy $AspellBaseReg "HKCU" - ${endif} - ${if} $5 == "" - StrCpy $MissedProg "True" - ${else} - StrCpy $AspellPath "$5" - ${endif} - - ; test if Python is installed - ; only use an existing python when it is version 2.5 because many Compaq and Dell PC are delivered - ; with outdated Python interpretes - ReadRegStr $PythonPath HKLM "Software\Python\PythonCore\2.5\InstallPath" "" - ${if} $PythonPath != "" - StrCpy $0 $PythonPath "" -1 ; remove the "\" at the end - StrCpy $DelPythonFiles "True" - ${endif} - - ; test if a PDF-viewer is installed, check for Acrobat, Adobe Reader (AroRD32), and GSview32 - StrCpy $PDFVPath "" - ReadRegStr $PDFVPath HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\Acrobat.exe" "Path" - ${if} $PDFVPath == "" - ReadRegStr $PDFVPath HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\AcroRd32.exe" "Path" - ${endif} - ${if} $PDFVPath == "" - StrCpy $Acrobat "None" - ReadRegStr $PDFVPath HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\gsview32.exe" "Path" - ${endif} - StrCpy $0 $PDFVPath "" -1 ; remove the "\" at the end - ${if} $0 == "\" - StrCpy $PDFVPath $PDFVPath -1 - ${endif} - - ; check what program is set to open PDFs - ${if} $Acrobat != "None" - ReadRegStr $String HKCR "AcroExch.Document\shell\open\command" "" - StrCpy $Search "8" ; search for Acrobat or Adobe Reader 8 because then PDFViewWin8 is needed to view PDF-files - !insertmacro StrPointer $String $Search $Pointer ; macro from LyXUtils - ${if} $Pointer == "-1" ; if nothing was found - StrCpy $Acrobat "7" - ${else} - StrCpy $Acrobat "8" - ${endif} - ${endif} - - ; test if a PostScript-viewer is installed, only check for GSview32 - StrCpy $PSVPath "" - ReadRegStr $PSVPath HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\gsview32.exe" "Path" - - ; test if an editor with syntax-highlighting for LaTeX-files is installed (function in LyXUtils.nsh) - Call EditorCheck ; function from LyXUtils.nsh - - ; test if an image editor is installed (due to bug 2654 first check for GIMP) - StrCpy $ImageEditorPath "" - ReadRegStr $ImageEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\WinGimp-2.0_is1" "DisplayIcon" - ${if} $ImageEditorPath != "" - StrCpy $ImageEditorPath "$ImageEditorPath" -13 ; delete "\gimp-2.x.exe" - ${endif} - ; check for Photoshop - ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\Photoshop.exe" "Path" - ${if} $0 != "" - StrCpy $0 "$0" -1 ; delete the last "\" - ${if} $ImageEditorPath != "" - StrCpy $ImageEditorPath "$ImageEditorPath;$0" - ${else} - StrCpy $ImageEditorPath $0 - ${endif} - ${endif} - - ; test if the BibTeX-editor JabRef is installed - StrCpy $BibTeXEditorPath "" - ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef 2.1" "UninstallString" - ${if} $BibTeXEditorPath == "" - ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef 2.2b2" "UninstallString" - ${endif} - -FunctionEnd - -Function MissingProgramsPage - - ; generate the installer page - re-read empty page first - StrCpy $0 "2" - !insertmacro MUI_INSTALLOPTIONS_EXTRACT "io_missing_progs.ini" - !insertmacro MUI_HEADER_TEXT "$(MissProgHeader)" "" - - ${if} $MissedProg == "False" - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_missing_progs.ini" "Field 6" "Text" "$(MissProgMessage)" - ${else} - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_missing_progs.ini" "Field 1" "Text" "$(MissProgCap)" - ${if} ${INSTALLER_VERSION} == "Complete" - ${if} $LatexPath == "" - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_missing_progs.ini" "Field $0" "Text" "$(MissProgLatex)" - IntOp $0 $0 + 1 - ${endif} - ${endif} - ${if} $GhostscriptPath == "" - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_missing_progs.ini" "Field $0" "Text" "$(MissProgGhostscript)" - IntOp $0 $0 + 1 - ${endif} - ${if} $ImageMagickPath == "" - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_missing_progs.ini" "Field $0" "Text" "$(MissProgImageMagick)" - IntOp $0 $0 + 1 - ${endif} - ${if} $AspellPath == "" - !insertmacro MUI_INSTALLOPTIONS_WRITE "io_missing_progs.ini" "Field $0" "Text" "$(MissProgAspell)" - ${endif} - ${endif} - - !insertmacro MUI_INSTALLOPTIONS_DISPLAY "io_missing_progs.ini" - -FunctionEnd - -Function MissingProgramsPage_LeaveFunction - -FunctionEnd diff --git a/development/Win32/packaging/LyXWinInstaller/ReadmeComplete.txt b/development/Win32/packaging/LyXWinInstaller/ReadmeComplete.txt deleted file mode 100644 index bc4d7686c8..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/ReadmeComplete.txt +++ /dev/null @@ -1,94 +0,0 @@ -Description - -This is the readme of the variant "complete" of the LyXWinInstaller. Please read -this file carefully to prevent troubles with the installer. -The LyXWinInstaller installs a complete LaTeX-environment together with the -wordprocessor "LyX" (www.lyx.org) and needed programs on Windows 2000/XP/XPx64. -! Win95, Win98, and WinME are NOT supported. ! - ---- -Prerequisites - -To use the installer you need administrator privileges. - -An open internet connection is recommended as several LaTeX-packages and -spellchecker dictionaris can than be downloaded and installed automatically. - -It is not essential but would be an advantage if you have the PDF-viewer -"Adobe Reader" installed before running the installer. - -If you want to use a LaTeX-distribution from a network drive or a live-CD/DVD -then use the installer version "small". - ---- -Installed Applications - -The variant "complete" of the LyXWinInstaller analyses your system and installs, -if needed, a fully functional version of: - -- MiKTeX, a LaTeX-distribution -- Aspell, a spellchecker -- Ghostscript, an interpreter for Postscript and PDF -- ImageMagick, an image converter -- (optional) GSview, a viewer for Postscript and PDF-documents - -ImageMagick and Ghostscript won't appear in the list of the installed programs -in Window's system control because they are installed in a special version to -use them with LyX. But if you decide to install another version of the programs -you can do this without problems and without uninstalling LyX. -If you want to install GSview manually later you can do this without a new -installation of Ghostscript. - ---- -After the Installation - -To view/edit external files like images LyX uses the default program set in the registry -for a file extension. This installer checks for many programs so that you only need to type -the name of their executables in LyX's preferences to change this. -For example the default viewer for PNG-images on Windows is "Paint". To change it to Gimp, -set "gimp-2.2" as viewer/editor for the PNG file format in LyX's preferences. - ---- -Known Problems - -You can't install LyX to a folder that has accents or umlauts in its name. - -If you use LyX with a computer user account that has accents or umlauts in its name, -change LyX's paths in the menu Edit -> Preferences so that they don't contain accents -and restart LyX. - -The live-variant of TeX-Live don't work together with LyX due to incompatible Ghostscript -and dv2dt/dt2dv versions. -TeX-Live will only work together with LyX when it is installed without Ghostscript. - ---- -The Uninstaller - -LyXWinInstall's uninstaller uninstalls LyX. Aspell, Ghostscript, GSview, ImageMagick and -MiKTeX are only uninstalled when they were installed together with LyX. You can uninstall -Aspell, GSview, and MiKTeX also separately via Window's Software menu in the system control. - ---- -Internationalization - -The installer language string files can be found in the subfolder -"lyx_languages" of the sourcecode package: -https://developer.berlios.de/project/showfiles.php?group_id=5117 - -If you want to help the project you can translate them or create a new language -string file based on the file "english.nsh". -Please send the modified files as patch to -http://developer.berlios.de/patch/?group_id=5117 -or to -uwestoehr@web.de. - ---- -License - -The scripts of the LyXWinInstaller are released under the GNU General Public -License (GPL). A package with the sourcecode can be found -in the section "LyxWinInstallerSource" of -http://developer.berlios.de/project/showfiles.php?group_id=5117 - -The license files of all used pgrograms can be found in the subdirectory "bin" -of LyX's installation folder. diff --git a/development/Win32/packaging/LyXWinInstaller/ReadmePackage.txt b/development/Win32/packaging/LyXWinInstaller/ReadmePackage.txt deleted file mode 100644 index eb7df3408b..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/ReadmePackage.txt +++ /dev/null @@ -1,116 +0,0 @@ -Description - -This is the readme of the complete installer package. -The file LyXPackageComplete-x-x.rar contains the NSIS (Nullsoft Install System) scripts and -all used program files. It is needed if you want to build the LyXWinInstaller by yourself. - ---- -General -To compile the installer scripts you need at least NSIS version 2.22. -The installer scripts need the plugins "FindProc" and "InetLoad". To use it copy the files "FindProcDLL.dll" and "InetLoad.dll" from the "LyXPackage" folder to NSIS'"Plugins" directory. -Also copy the file "Galician.nlf" in NSIS' install folder to -~\Contrib\Language files -and the file "Galician.nsh" to -~\Contrib\Modern UI\Language files - ---- -Internationalization - -The subfolder "lyx_languages" -contains the language string files. If you want to help the project then -translate them or create a new language string file based on the file -"english.nsh". Please send the modified files as patch of the category -"Language" to -http://developer.berlios.de/patch/?group_id=5117 -or to -uwestoehr@web.de. - ---- -License - -The scripts are released under the GNU General Public License (GPL), -see the license file. -The licenses of all used programs can be found in the folder ~\LyX\bin of this package. - ---- -ImageMagick - -License: ImageMagick license - -The folder ~\LyX\etc\ImageMagick contains all used files from ImageMagick 6.2.9 - ---- -Ghostscript - -License: GPL - -The folder ~\LyX\etc\Ghostscript contains all used files from GPL Ghostscript 8.54 - ---- -Aspell - -License: GPL - -The files of Aspell 0.60-4 are in the folder ~\LyX\external\Aspell -Dictionaries will be downloaded at runtime, the different licenses of the dictionaries -will be displayed before they are installed. - ---- -Python - -License: Python license - -The following files from Python 2.4 are used: - -python.exe and python24.dll are in the folder ~\LyX\bin. - -The subfolders of ~\LyX\bin contain all other used python files. - ---- -MiKTeX - -License: GPL - -The small version of MiKTeX is included together with its installer. MiKTeX will be -installed and uninstalled using its own installer. - ---- -GSview - -License: AFPL - -GSview is included completely. It will be installed and uninstalled using its own -installer. - ---- -MSYS - -License: GPL - -The following files from MSYS are used: - -cat.exe -cp.exe -cut.exe -expr.exe -find.exe -grep.exe -ln.exe -ls.exe -mkdir.exe -mv.exe -rm.exe -sed.exe -sh.exe -touch.exe -tr.exe -uname.exe - -They are all in the folder ~\LyX\bin of this package. - -The following used MSYS files are in the folder ~\LyX\etc: - -config.site -fstab.sample -profile -termcap \ No newline at end of file diff --git a/development/Win32/packaging/LyXWinInstaller/ReadmeScripts.txt b/development/Win32/packaging/LyXWinInstaller/ReadmeScripts.txt deleted file mode 100644 index 222a8ad337..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/ReadmeScripts.txt +++ /dev/null @@ -1,32 +0,0 @@ -Description - -This is the readme of the script source code. -The file LyXPackageScripts-x-x.rar contains the NSIS (Nullsoft Install System) scripts and -used plugins. - ---- -General -To compile the installer scripts you need at least NSIS version 2.22. -The installer scripts need the plugins "FindProc" and "InetLoad". To use it copy the files "FindProcDLL.dll" and "InetLoad.dll" from the "LyXPackage" folder to NSIS'"Plugins" directory. -Also copy the file "Galician.nlf" in NSIS' install folder to -~\Contrib\Language files -and the file "Galician.nsh" to -~\Contrib\Modern UI\Language files - ---- -Internationalization - -The subfolder "lyx_languages" -contains the language string files. If you want to help the project then -translate them or create a new language string file based on the file -"english.nsh". Please send the modified files as patch of the category -"Language" to -http://developer.berlios.de/patch/?group_id=5117 -or to -uwestoehr@web.de. - ---- -License - -The scripts are released under the GNU General Public License (GPL), -see the license file. diff --git a/development/Win32/packaging/LyXWinInstaller/ReadmeSmall.txt b/development/Win32/packaging/LyXWinInstaller/ReadmeSmall.txt deleted file mode 100644 index aea054bb27..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/ReadmeSmall.txt +++ /dev/null @@ -1,99 +0,0 @@ -Description - -This is the readme of the variant "small" of the LyXWinInstaller. Please read -this file carefully to prevent troubles with the installer. -The LyXWinInstaller installs the wordprocessor "LyX" (www.lyx.org) and some -needed programs on Windows 2000/XP/XPx64. -! Win95, Win98, and WinME are NOT supported. ! - ---- -General - -The installer variant "small" has the same functionality as the "complete" version -but doesn't include the LaTeX-distribution MiKTeX. It checks your system for an -installed version of MiKTeX (www.miktex.org) or TeXLive (http://www.tug.org/texlive/). - -The installer provides an option to to choose a LaTeX-distribution from a network -drive or a live-CD/DVD and an option to not use LyX with LaTeX. - ---- -Prerequisites - -To use the installer you need administrator privileges. -An open internet connection is recommended as several LaTeX-packages and -spellchecker dictionaris can than be downloaded and installed automatically. - -It is not essential but would be an advantage if you have the PDF-viewer -"Adobe Reader" installed before running the installer. - ---- -Installed Applications - -The variant "small" of the LyXWinInstaller analyses your system and installs, -if needed, a fully functional version of: - -- Aspell, a spellchecker -- Ghostscript, an interpreter for Postscript and PDF -- ImageMagick, an image converter -- (optional) GSview, a viewer for Postscript and PDF-documents - -ImageMagick and Ghostscript won't appear in the list of the installed programs -in Window's system control because they are installed in a special version to -use them with LyX. But if you decide to install another version of the programs -you can do this without problems and without uninstalling LyX. -If you want to install GSview manually later you can do this without a new -installation of Ghostscript. - ---- -After the Installation - -To view/edit external files like images LyX uses the default program set in the registry -for a file extension. This installer checks for many programs so that you only need to type -the name of their executables in LyX's preferences to change this. -For example the default viewer for PNG-images on Windows is "Paint". To change it to Gimp, -set "gimp-2.2" as viewer/editor for the PNG file format in LyX's preferences. - ---- -Known Problems - -You can't install LyX to a folder that has accents or umlauts in its name. - -If you use LyX with a computer user account that has accents or umlauts in its name, -change LyX's paths in the menu Edit -> Preferences so that they don't contain accents -and restart LyX. - -The live-variant of TeX-Live don't work together with LyX due to incompatible Ghostscript -and dv2dt/dt2dv versions. -TeX-Live will only work together with LyX when it is installed without Ghostscript. - ---- -The Uninstaller - -LyXWinInstall's uninstaller uninstalls LyX. Aspell, Ghostscript, GSview, ImageMagick and -MiKTeX are only uninstalled when they were installed together with LyX. You can uninstall -Aspell, GSview, and MiKTeX also separately via Window's Software menu in the system control. - ---- -Internationalization - -The installer language string files can be found in the subfolder -"lyx_languages" of the sourcecode package: -https://developer.berlios.de/project/showfiles.php?group_id=5117 - -If you want to help the project you can translate them or create a new language -string file based on the file "english.nsh". -Please send the modified files as patch to -http://developer.berlios.de/patch/?group_id=5117 -or to -uwestoehr@web.de. - ---- -License - -The scripts of the LyXWinInstaller are released under the GNU General Public -License (GPL). A package with the sourcecode can be found -in the section "LyxWinInstallerSource" of -http://developer.berlios.de/project/showfiles.php?group_id=5117 - -The license files of all used pgrograms can be found in the subdirectory "bin" -of LyX's installation folder. diff --git a/development/Win32/packaging/LyXWinInstaller/Uninstall.nsh b/development/Win32/packaging/LyXWinInstaller/Uninstall.nsh deleted file mode 100644 index 4ed58a111b..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/Uninstall.nsh +++ /dev/null @@ -1,144 +0,0 @@ -; Uninstall sections - -Section "un.LyX" un.SecUnProgramFiles - - SectionIn RO - - ; delete LaTeX class files that were installed together with LyX - FileOpen $R5 "$INSTDIR\Resources\uninstallPaths.dat" r - FileRead $R5 $LatexPath - FileClose $R5 - StrCpy $String $LatexPath - StrCpy $Search "miktex\bin" - StrLen $3 $String - Call un.StrPoint ; search the LaTeXPath for the phrase "miktex\bin" (function from LyXUtils.nsh) - ${if} $Pointer != "-1" ; if something was found - IntOp $Pointer $Pointer - 1 ; jump before the first "\" of "\miktex\bin" - StrCpy $String $String "$Pointer" ; $String is now the part before "\miktex\bin" - Delete "$String\tex\latex\cv.cls" - RMDir /r "$String\tex\latex\lyx" - RMDir /r "$String\tex\latex\revtex" - RMDir /r "$String\tex\latex\hollywood" - RMDir /r "$String\tex\latex\broadway" - ExecWait "$LatexPath\initexmf --update-fndb" - ${endif} - - ; delete LyX's installation folder - RMDir /r $INSTDIR - ; delete start menu folder - ReadRegStr $0 ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "StartMenu" - RMDir /r "$0" - ; delete desktop icon - Delete "$DESKTOP\${PRODUCT_NAME}.lnk" - ; delete registry entries - DeleteRegKey HKCU "${PRODUCT_UNINST_KEY}" - DeleteRegKey ${PRODUCT_ROOT_KEY} "${PRODUCT_UNINST_KEY}" - DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}" - DeleteRegKey HKCR "Applications\lyx.exe" - DeleteRegKey HKCR "Applications\lyx.bat" - - ; Aiksaurus - StrCpy $0 "" - ReadRegStr $0 HKLM "Software\Aiksaurus" "OnlyWithLyX" ; special entry to test if it was installed with LyX - ${if} $0 == "Yes" - ; unregister Aiksaurus - ReadRegStr $1 HKLM "Software\Aiksaurus" "Data Path" - RMDir /r "$1" - DeleteRegKey HKLM "SOFTWARE\Aiksaurus" - ${endif} - - ; ImageMagick - StrCpy $0 "" - ReadRegStr $0 HKLM "Software\ImageMagick" "OnlyWithLyX" ; special entry to test if it was installed with LyX - ${if} $0 == "Yes" - ; unregister ImageMagick - DeleteRegValue HKLM "SOFTWARE\Classes\Applications" "AutoRun" - DeleteRegKey HKLM "SOFTWARE\ImageMagick" - ${endif} - - ; Ghostscript and GSview - StrCpy $0 "" - StrCpy $5 "" - ReadRegStr $0 HKLM "SOFTWARE\GPL Ghostscript" "OnlyWithLyX" ; special entry to test if it was installed with LyX - ${if} $0 == "Yes" - ; unregister Ghostscript - DeleteRegKey HKLM "SOFTWARE\GPL Ghostscript" - ; test if GSview is installed - EnumRegValue $5 HKLM "Software\Ghostgum\GSview" 0 - ${if} $5 != "" - ; unregister GSview - MessageBox MB_ICONINFORMATION|MB_OK "$(UnGSview)" - ReadRegStr $3 HKLM "Software\Ghostgum\GSview" "$5" - ReadRegStr $4 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GSview $5" "UninstallString" - ExecWait "$4" - ${endif} - ${endif} - - ; MiKTeX specific LyX setting - DeleteRegValue HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "MIKTEX_AUTOINSTALL" - DeleteRegValue HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "MIKTEX_REPOSITORY" - - ; remove extension .lyx - ${RemoveFileAssociation} "${PRODUCT_EXT}" "${PRODUCT_NAME}" - DeleteRegKey HKCR "${PRODUCT_NAME}" - - ; clear info that programs were installed together with LyX - DeleteRegValue HKLM "SOFTWARE\MiKTeX.org\MiKTeX" "OnlyWithLyX" - DeleteRegValue HKLM "Software\Aspell" "OnlyWithLyX" - DeleteRegValue HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${JabRefVersion}" "OnlyWithLyX" - - SetAutoClose true - -SectionEnd - -;--------------------------------- -; user preferences -Section "un.$(UnLyXPreferencesTitle)" un.SecUnPreferences - - ; remove LyX's config files - Call un.DelAppPathSub ; function from LyXUtils.nsh - -SectionEnd - -;--------------------------------- -; Aspell -Section "un.Aspell" un.SecUnAspell - - ${if} $AspellInstallYes == "Aspell" ; only uninstall Aspell when it was installed together with LyX - Call un.UninstAspell ; Function from Aspell.nsh - ${endif} - -SectionEnd - -;--------------------------------- -; MiKTeX -Section "un.MiKTeX" un.SecUnMiKTeX - - ${if} $MiKTeXInstalled == "MiKTeX" ; only uninstall MiKTeX when it was installed together with LyX - ReadRegStr $1 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MiKTeXDeliveredVersion}" "UninstallString" - ExecWait "$1" ; run MiKTeX's uninstaller - ${endif} - -SectionEnd - -;--------------------------------- -; JabRef -Section "un.JabRef" un.SecUnJabRef - - ${if} $JabRefInstalled == "JabRef" ; only uninstall JabRef when it was installed together with LyX - ReadRegStr $1 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${JabRefVersion}" "UninstallString" - ExecWait "$1" ; run JabRef's uninstaller - ${endif} - -SectionEnd - -;--------------------------------- -; Section descriptions -!insertmacro MUI_UNFUNCTION_DESCRIPTION_BEGIN -!insertmacro MUI_DESCRIPTION_TEXT ${un.SecUnAspell} "$(SecUnAspellDescription)" -!insertmacro MUI_DESCRIPTION_TEXT ${un.SecUnMiKTeX} "$(SecUnMiKTeXDescription)" -!insertmacro MUI_DESCRIPTION_TEXT ${un.SecUnJabRef} "$(SecUnJabRefDescription)" -!insertmacro MUI_DESCRIPTION_TEXT ${un.SecUnPreferences} "$(SecUnPreferencesDescription)" -!insertmacro MUI_DESCRIPTION_TEXT ${un.SecUnProgramFiles} "$(SecUnProgramFilesDescription)" -!insertmacro MUI_UNFUNCTION_DESCRIPTION_END - diff --git a/development/Win32/packaging/LyXWinInstaller/abi_util_fileassoc.nsh b/development/Win32/packaging/LyXWinInstaller/abi_util_fileassoc.nsh deleted file mode 100644 index e63e1d5098..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/abi_util_fileassoc.nsh +++ /dev/null @@ -1,109 +0,0 @@ -;Title AbiWord for Windows, NSIS v2 series installer script -;FileDesc Utility functions to set and save/restore file extension to application associations - - -!ifndef _ABI_UTIL_FILEASSOC_NSH_ -!define _ABI_UTIL_FILEASSOC_NSH_ - - -!ifdef HAVE_SYSTEM_PLUGIN -;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; RefreshShellIcons based on -;; http://nsis.sourceforge.net/archive/nsisweb.php?page=236&instances=0 -;; by jerome tremblay - april 2003 - -!define SHCNE_ASSOCCHANGED 0x08000000 -!define SHCNF_IDLIST 0 - -Function RefreshShellIcons - System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v \ - (${SHCNE_ASSOCCHANGED}, ${SHCNF_IDLIST}, 0, 0)' -FunctionEnd - -!define RefreshShellIcons "call RefreshShellIcons" -!else -!define RefreshShellIcons -!endif ; HAVE_SYSTEM_PLUGIN - - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; parts from http://nsis.sourceforge.net/archive/viewpage.php?pageid=282 by Vytautas -;; Will add the registry entries to associate the given file extension with the -;; previously set (see CreateApplicationAssociation) appType. I.e. indicate to -;; open documents with this extension using the application specified by appType -;; registry entry. If the extension is currently associated with a different -;; appType, it will store the current association in the "prior_appType" key. - -!macro CreateFileAssociation extension appType contentType - !define skipBackupLbl "skipBackup_${__LINE__}" - push $0 - - ; back up old value of extension (.ext) if it exists - ReadRegStr $0 HKCR "${extension}" "" ; read current value - StrCmp $0 "" "${skipBackupLbl}" ; nothing, then skip storing old value - StrCmp $0 "${appType}" "${skipBackupLbl}" ; only store if old is different than current - WriteRegStr HKCR "${extension}" "prior_value" "$0" ; actually store the old association - - "${skipBackupLbl}:" - ; Write File Associations - WriteRegStr HKCR "${extension}" "" "${appType}" - WriteRegStr HKCR "${extension}" "Content Type" "${contentType}" - ; Force shell refresh (so icons updated as needed) - ${RefreshShellIcons} - - pop $0 - !undef skipBackupLbl -!macroend -!define CreateFileAssociation "!insertmacro CreateFileAssociation" - - -!macro CreateApplicationAssociation appType appName appDesc defIcon exeCmd - WriteRegStr HKCR "${appType}" "" "${appDesc}" - WriteRegStr HKCR "${appType}\shell" "" "open" - WriteRegStr HKCR "${appType}\DefaultIcon" "" "${defIcon}" - - ; Basic command to open the file (pass filename as argv[1] to program executable) - WriteRegStr HKCR "${appType}\shell\open\command" "" '"${exeCmd}" "%1"' - - ; To open file via DDE (OLE, ie via already active instance) instead of in a new process - ; Here for those who want to locally enable, not normally used as having each document - ; open in a new process while more resource intensive means a crash with one document - ; won't cause loss of work with other open documents. -; WriteRegStr HKCR "${appType}\shell\open\command" "" "${exeCmd}" -; WriteRegStr HKCR "${appType}\shell\open\ddeexec" "" '[Open("%1")]' -; WriteRegStr HKCR "${appType}\shell\open\ddeexec\application" "" "${appName}" -; WriteRegStr HKCR "${appType}\shell\open\ddeexec\topic" "" "System" - - ; If editing file is a different action than simply opening file -; WriteRegStr HKCR "${appType}\shell\edit" "" "Edit Options File" -; WriteRegStr HKCR "${appType}\shell\edit\command" "" '"${exeCmd}" "%1"' - -!macroend -!define CreateApplicationAssociation "!insertmacro CreateApplicationAssociation" - - -; check if a file extension is associated with us and if so delete it -!macro RemoveFileAssociation extension appType - push $0 - push $1 - - ReadRegStr $0 HKCR "${extension}" "" - StrCmp "$0" "${appType}" 0 Skip_Del_File_Assoc.${extension} - ReadRegStr $0 HKCR "${extension}" "prior_value" - StrCmp "$0" "" "DeleteFA.${extension}" 0 ; if "prior_value" is not empty - ReadRegStr $1 HKCR "$0" "" ; restore previous association - StrCmp "$1" "" DeleteFA.${extension} ; only if it is still valid (has something defined) - WriteRegStr HKCR "${extension}" "" $0 ; actually restore prior association - DeleteRegValue HKCR "${extension}" "prior_value" ; and remove stored value - Goto Skip_Del_File_Assoc.${extension} - DeleteFA.${extension}: ; else delete file association key - DeleteRegKey HKCR "${extension}" ; actually remove file assoications - - Skip_Del_File_Assoc.${extension}: - pop $1 - pop $0 -!macroend -!define RemoveFileAssociation "!insertmacro RemoveFileAssociation" - - -!endif ; _ABI_UTIL_FILEASSOC_NSH_ diff --git a/development/Win32/packaging/LyXWinInstaller/icons/lyx.ico b/development/Win32/packaging/LyXWinInstaller/icons/lyx.ico deleted file mode 100644 index c6f647e413..0000000000 Binary files a/development/Win32/packaging/LyXWinInstaller/icons/lyx.ico and /dev/null differ diff --git a/development/Win32/packaging/LyXWinInstaller/icons/lyx_32x32.ico b/development/Win32/packaging/LyXWinInstaller/icons/lyx_32x32.ico deleted file mode 100644 index dc4132f4a6..0000000000 Binary files a/development/Win32/packaging/LyXWinInstaller/icons/lyx_32x32.ico and /dev/null differ diff --git a/development/Win32/packaging/LyXWinInstaller/icons/lyx_logo_vert150svn.bmp b/development/Win32/packaging/LyXWinInstaller/icons/lyx_logo_vert150svn.bmp deleted file mode 100644 index d5f18f3b4a..0000000000 Binary files a/development/Win32/packaging/LyXWinInstaller/icons/lyx_logo_vert150svn.bmp and /dev/null differ diff --git a/development/Win32/packaging/LyXWinInstaller/io_latex.ini b/development/Win32/packaging/LyXWinInstaller/io_latex.ini deleted file mode 100644 index 10eafd44fc..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/io_latex.ini +++ /dev/null @@ -1,36 +0,0 @@ -[Settings] -NumFields=4 - -[Field 1] -Type=Label -Left=20 -Right=280 -Top=3 -Bottom=60 -Text='You can optionally set here the path to the file "latex.exe" and therewith set the LaTeX-distribution that should be used by LyX.\r\nIf you don$\\'t use LaTeX, LyX cannot output documents!\r\n\r\nThe installer has detected the LaTeX-distribution "$LaTeXName" on your system. Displayed below is its path.' - -[Field 2] -Type=Groupbox -Left=5 -Right=-1 -Top=67 -Bottom=107 -Text= Path - -[Field 3] -Type=DirRequest -Left=20 -Right=270 -Top=83 -Bottom=94 -State=C:\ - -[Field 4] -Type=Checkbox -Text=Don't use LaTeX -Left=20 -Right=120 -Top=120 -Bottom=129 -State=0 - diff --git a/development/Win32/packaging/LyXWinInstaller/io_missing_progs.ini b/development/Win32/packaging/LyXWinInstaller/io_missing_progs.ini deleted file mode 100644 index 795b6a127b..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/io_missing_progs.ini +++ /dev/null @@ -1,44 +0,0 @@ -[Settings] -NumFields=6 - -[Field 1] -Type=Groupbox -Left=5 -Right=-1 -Top=0 -Bottom=-4 - -[Field 2] -Type=Label -Left=45 -Right=230 -Top=25 -Bottom=35 - -[Field 3] -Type=Label -Left=45 -Right=230 -Top=45 -Bottom=55 - -[Field 4] -Type=Label -Left=45 -Right=230 -Top=65 -Bottom=75 - -[Field 5] -Type=Label -Left=45 -Right=230 -Top=85 -Bottom=95 - -[Field 6] -Type=Label -Left=15 -Right=280 -Top=115 -Bottom=125 diff --git a/development/Win32/packaging/LyXWinInstaller/io_ui_language.ini b/development/Win32/packaging/LyXWinInstaller/io_ui_language.ini deleted file mode 100644 index 685539a1c7..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/io_ui_language.ini +++ /dev/null @@ -1,19 +0,0 @@ -[Settings] -NumFields=2 - -[Field 1] -Type=GroupBox -Left=0 -Right=160 -Top=0 -Bottom=-4 -Text=" Available Languages " - -[Field 2] -Type=Droplist -ListItems=Cetina|Dansk|Deutsch|English|Espaol|Euskara|Franais|Galego|Italiano|Magyar|Nederlands|Norsk|Nynorsk|Polski|Romna|Russian|Slovensk|Slovencina|Suomi|Trke -Left=20 -Right=130 -Top=15 -Bottom=130 - diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/Encodings.txt b/development/Win32/packaging/LyXWinInstaller/lyx_languages/Encodings.txt deleted file mode 100644 index 6be8186077..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/Encodings.txt +++ /dev/null @@ -1,6 +0,0 @@ -Needed codepages: - -turkish.nsh : ISO-8859-9 -slovak.nsh, polish.nsh : Windows cp-1250 - -all other files are in Windows cp-1252 \ No newline at end of file diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/danish.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/danish.nsh deleted file mode 100644 index 201b7ebf0b..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/danish.nsh +++ /dev/null @@ -1,148 +0,0 @@ -!ifndef _LYX_LANGUAGES_DANISH_NSH_ -!define _LYX_LANGUAGES_DANISH_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_DANISH} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "Denne guide vil installere LyX p din computer.\r\n\ - \r\n\ - Du skal have administratorrettigheder for at installerer LyX.\r\n\ - \r\n\ - Det anbefales at du lukker alle krende programmer inden start af setup-guiden. Dette vil tillade guiden at opdatere de ndvendige systemfiler uden at skulle genstarte computeren.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "LyX-Document" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Installer til alle brugere?" -LangString SecFileAssocTitle "${LYX_LANG}" "Fil-associationer" -LangString SecDesktopTitle "${LYX_LANG}" "Skrivebordsikon" - -LangString SecCoreDescription "${LYX_LANG}" "Filerne til LyX." -LangString SecInstGSviewDescription "${LYX_LANG}" "Program til gennemsyn af Postscript- og PDF-dokumenter." -LangString SecInstJabRefDescription "${LYX_LANG}" "Bibliography reference manager and editor for BibTeX files." -LangString SecAllUsersDescription "${LYX_LANG}" "Installer LyX til alle brugere, eller kun den aktuelle bruger." -LangString SecFileAssocDescription "${LYX_LANG}" "Opret association mellem LyX og .lyx filer." -LangString SecDesktopDescription "${LYX_LANG}" "Et LyX ikon p skrivebordet" - -LangString LangSelectHeader "${LYX_LANG}" "Valg af sprog i LyX's menuer" -LangString AvailableLang "${LYX_LANG}" " Tilgngelige Sprog " - -LangString MissProgHeader "${LYX_LANG}" "Tjek for ndvendige programmer" -LangString MissProgCap "${LYX_LANG}" "Flgende ndvendige program(mer) vil ogs blive installeret" -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, en LaTeX distribution" -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, en PostScript og PDF overstter" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, en billed-konverter" -LangString MissProgAspell "${LYX_LANG}" "Aspell, en stavekontrol" -LangString MissProgMessage "${LYX_LANG}" 'Ingen andre programmer behves.' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'LaTeX-distribution' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Vlg den LaTeX-distribution som LyX skal bruge.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'You can optionally set here the path to the file "latex.exe" and therewith set the \ - LaTeX-distribution that should be used by LyX.\r\n\ - If you don$\'t use LaTeX, LyX cannot output documents!\r\n\ - \r\n\ - The installer has detected the LaTeX-distribution \ - "$LaTeXName" on your system. Displayed below is its path.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Set below the path to the file "latex.exe". Therewith you set which \ - LaTeX-distribution should be used by LyX.\r\n\ - If you don$\'t use LaTeX, LyX cannot output documents!\r\n\ - \r\n\ - The installer couldn$\'t find a LaTeX-distribution on your system.' -LangString PathName "${LYX_LANG}" 'Path to the file "latex.exe"' -LangString DontUseLaTeX "${LYX_LANG}" "Brug ikke LaTeX" -LangString InvalidLaTeXFolder "${LYX_LANG}" 'Kunne ikke finde "latex.exe".' - -LangString LatexInfo "${LYX_LANG}" 'Installationen af LaTeX-distributionen "MiKTeX" startes.$\r$\n\ - For at installere programmet tryk p "Next"-knappen i installationsvinduet indtil installationen begynder.$\r$\n\ - $\r$\n\ - !!! Brug alle MiKTeX installationsprogrammets foreslede valg !!!' -LangString LatexError1 "${LYX_LANG}" 'Ingen LaTeX-distribution fundet!$\r$\n\ - LyX kan ikke bruges uden en LaTeX-distribution ssom "MiKTeX"!$\r$\n\ - Installationen afbrydes.' - -LangString GSviewInfo "${LYX_LANG}" 'Installationen af programmet "GSview" startes.$\r$\n\ - For at installere programmet tryk p "Setup"-knappen i det frste installationsvindue$\r$\n\ - vlg sprog og tryk p "Next"-knappen i det efterflgende installationsvindue.$\r$\n\ - Du kan bruge alle GSview installationsprogrammets foreslede valg.' -LangString GSviewError "${LYX_LANG}" 'Programmet "GSview" kunne ikke installeres!$\r$\n\ - Installationen af LyX fortsttes alligevel.$\r$\n\ - Prv at installere GSview p et senere tidspunkt.' - -LangString JabRefInfo "${LYX_LANG}" 'Now the installer of the program "JabRef" will be launched.$\r$\n\ - You can use all default options of the JabRef-installer.' -LangString JabRefError "${LYX_LANG}" 'The program "JabRef" could not successfully be installed!$\r$\n\ - The installer will continue anyway.$\r$\n\ - Try to install JabRef again later.' - -LangString LatexConfigInfo "${LYX_LANG}" "Den flgende konfiguration af LyX vil tage et stykke tid." - -LangString AspellInfo "${LYX_LANG}" 'Now dictionaries for the spellchecker "Aspell" will be downloaded and installed.$\r$\n\ - Every dictionary has a different license that will be displayed before the installation.' -LangString AspellDownloadFailed "${LYX_LANG}" "No Aspell spellchecker dictionary could be downloaded!" -LangString AspellInstallFailed "${LYX_LANG}" "No Aspell spellchecker dictionary could be installed!" -LangString AspellPartAnd "${LYX_LANG}" " and " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'There is already installed a dictionary of the language' -LangString AspellNone "${LYX_LANG}" 'No dictionary for the spellchecker "Aspell" has been installed.$\r$\n\ - Dictionaries can be downloaded from$\r$\n\ - ${AspellLocation}$\r$\n\ - Do you want to download dictionaries now?' -LangString AspellPartStart "${LYX_LANG}" "There was successfully installed " -LangString AspellPart1 "${LYX_LANG}" "an english dictionary" -LangString AspellPart2 "${LYX_LANG}" "a dictionary of the language $LangName" -LangString AspellPart3 "${LYX_LANG}" "a$\r$\n\ - dictionary of the language $LangNameSys" -LangString AspellPart4 "${LYX_LANG}" ' for the spellchecker "Aspell".$\r$\n\ - More dictionaries can be downloaded from$\r$\n\ - ${AspellLocation}$\r$\n\ - Do you want to download other dictionaries now?' - -LangString MiKTeXPathInfo "${LYX_LANG}" "In order that every user is later able to customize MiKTeX for his needs$\r$\n\ - it is necessary to set write permissions for all users to MiKTeX's installation folder$\r$\n\ - $MiKTeXPath $\r$\n\ - and its subfolders." -LangString MiKTeXInfo "${LYX_LANG}" 'The LaTeX-distribution "MiKTeX" will be used together with LyX.$\r$\n\ - It is recommended to install available MiKTeX-updates using the program "MiKTeX Update Wizard"$\r$\n\ - before you use LyX for the first time.$\r$\n\ - Would you now check for MiKTeX updates?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" "Forsget p at indstille 'path_prefix' i konfigurationen mislykkedes" -LangString CreateCmdFilesFailed "${LYX_LANG}" "Kunne ikke oprette lyx.bat" -LangString RunConfigureFailed "${LYX_LANG}" "Mislykket forsg p at afvikle konfigurations-scriptet" -LangString NotAdmin "${LYX_LANG}" "Du skal have administrator-rettigheder for at installere LyX!" -LangString InstallRunning "${LYX_LANG}" "Installationsprogrammet krer allerede!" -LangString StillInstalled "${LYX_LANG}" "LyX er allerede installeret! Afinstaller LyX frst." - -LangString FinishPageMessage "${LYX_LANG}" "Tillykke!! LyX er installeret.\r\n\ - \r\n\ - (Nr LyX startes frste gang, kan det tage noget tid.)" -LangString FinishPageRun "${LYX_LANG}" "Start LyX" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "Kunne ikke finde LyX i registreringsdatabsen.$\r$\n\ - Genvejene p skrivebordet og i Start-menuen bliver ikke fjernet" -LangString UnInstallRunning "${LYX_LANG}" "Du m afslutte LyX frst!" -LangString UnNotAdminLabel "${LYX_LANG}" "Du skal have administrator-rettigheder for at afinstallere LyX!" -LangString UnReallyRemoveLabel "${LYX_LANG}" "Er du sikker p, at du vil slette LyX og alle tilhrende komponenter?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyX$\'s user preferences' -LangString UnGSview "${LYX_LANG}" 'Vr s god at trykke p "Uninstall"-knappen i det nste vindue for at afinstallere$\r$\n\ - Postscript and PDF-programmet "GSview".' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX er blevet fjernet fra din computer." - -LangString SecUnAspellDescription "${LYX_LANG}" "Uninstalls the spellchecker Aspell and all of its dictionaries." -LangString SecUnMiKTeXDescription "${LYX_LANG}" "Uninstalls the LaTeX-distribution MiKTeX." -LangString SecUnJabRefDescription "${LYX_LANG}" "Uninstalls the bibliography manager JabRef." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'Deletes LyX$\'s configuration folder$\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\ - for all users.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "Uninstall LyX and all of its components." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_DANISH_NSH_ diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/dutch.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/dutch.nsh deleted file mode 100644 index 8560d8f683..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/dutch.nsh +++ /dev/null @@ -1,148 +0,0 @@ -!ifndef _LYX_LANGUAGES_DUTCH_NSH_ -!define _LYX_LANGUAGES_DUTCH_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_DUTCH} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "Dit installatie programma zal LyX op uw systeem installeren.\r\n\ - \r\n\ - U heeft systeem-beheerrechten nodig om LyX te installeren.\r\n\ - \r\n\ - Het is aanbevolen om alle andere programma's af te sluiten voordat u Setup start. Dit zorgt ervoor dat Setup bepaalde systeembestanden kan bijwerken zonder uw systeem opnieuw op te starten.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "LyX-Document" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Installeer voor alle gebruikers?" -LangString SecFileAssocTitle "${LYX_LANG}" "Bestand associaties" -LangString SecDesktopTitle "${LYX_LANG}" "Bureaublad pictogram" - -LangString SecCoreDescription "${LYX_LANG}" "De LyX bestanden." -LangString SecInstGSviewDescription "${LYX_LANG}" "Programma dat gebruikt wordt om Postscript en PDF documenten te lezen." -LangString SecInstJabRefDescription "${LYX_LANG}" "Bibliography reference manager and editor for BibTeX files." -LangString SecAllUsersDescription "${LYX_LANG}" "Installeer LyX voor alle gebruikers of uitsluitend de huidige gebruiker?" -LangString SecFileAssocDescription "${LYX_LANG}" "Associeer het LyX programma met de .lyx extensie." -LangString SecDesktopDescription "${LYX_LANG}" "Een LyX pictogram op het Bureaublad." - -LangString LangSelectHeader "${LYX_LANG}" "Taalselectie voor LyX's menu" -LangString AvailableLang "${LYX_LANG}" " Beschikbare Talen " - -LangString MissProgHeader "${LYX_LANG}" "Controleer welke programma's nodig zijn" -LangString MissProgCap "${LYX_LANG}" "De volgende aanvullende programmma's zijn vereist, en zullen worden geinstalleerd" -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, LaTeX software" -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, een PostScript/PDF converteer programma" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, een programma om afbeeldingen te converteren" -LangString MissProgAspell "${LYX_LANG}" "Aspell, een programma voor spellingscontrole" -LangString MissProgMessage "${LYX_LANG}" 'Aanvullende programma$\'s zijn niet vereist.' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'LaTeX software' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Geef aan welke LaTeX-software LyX moet gebruiken.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'U kunt hier opgeven in welke map het programma "latex.exe" zich bevindt en op deze manier bepalen \ - welke LaTeX softare gebruikt wordt door LyX.\r\n\ - Zonder LaTeX kan LyX geen documenten generen!\r\n\ - \r\n\ - Het installatie programma heeft de LaTeX software \ - "$LaTeXName" op uw systeem gevonden in de volgende map.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'U kunt hier opgeven in welke map het programma "latex.exe" zich bevindt en op deze manier bepalen \ - welke LaTeX software gebruikt wordt door LyX.\r\n\ - Zonder LaTeX kan LyX geen documenten generen!\r\n\ - \r\n\ - Het installatie programma heeft geen LaTeX software op uw systeem gevonden.' -LangString PathName "${LYX_LANG}" 'Map met het programma "latex.exe"' -LangString DontUseLaTeX "${LYX_LANG}" "Gebruik geen LaTeX" -LangString InvalidLaTeXFolder "${LYX_LANG}" '"latex.exe" is niet gevonden.' - -LangString LatexInfo "${LYX_LANG}" 'Het installatieprogramma van "MiKTeX" word gestart.$\r$\n\ - Om het programma te installeren klik op de "Next"-knop in het installatie venster totdat de installatie begint.$\r$\n\ - $\r$\n\ - !!! Gebruik de standaard opties tijdens de installatie van MiKTeX !!!' -LangString LatexError1 "${LYX_LANG}" 'Er is geen LaTeX software gevonden!$\r$\n\ - LyX kan niet worden gebruikt zonder LaTeX software zoals "MiKTeX"!$\r$\n\ - De installatie wordt daarom afgebroken.' - -LangString GSviewInfo "${LYX_LANG}" 'Het installatieprogramma van "GSview" wordt gestart.$\r$\n\ - Klik op de "Setup"-knop in het eerste venster van het installatie programma om de software te installeren$\r$\n\ - kies een taal, en klik daarna op de "Next"-knop in de volgende vensters van het installatie programma.$\r$\n\ - U kunt alle standaard opties van het GSview installatie programma gebruiken.' -LangString GSviewError "${LYX_LANG}" 'Het programma "GSview" kon niet worden geinstalleerd!$\r$\n\ - De installatie van LyX gaat echter door.$\r$\n\ - Probeer GSview later te installeren.' - -LangString JabRefInfo "${LYX_LANG}" 'Het installatie programma van "JabRef" wordt nu gestart.$\r$\n\ - U kunt de standaard opties gebruiken.' -LangString JabRefError "${LYX_LANG}" 'Het programma "JabRef" kon niet worden geinstalleerd!$\r$\n\ - De LyX installatie gaat desondanks verder.$\r$\n\ - Probeer JabRef later te installeren.' - -LangString LatexConfigInfo "${LYX_LANG}" "De volgende configuratie van LyX zal enige tijd duren." - -LangString AspellInfo "${LYX_LANG}" 'Er worden nu woordenlijst gedownload en geinstalleer voor het spellingscontrole programma "Aspell".$\r$\n\ - Elke woordenlijst heeft een eigen licensie die zal worden getoond voor installatie.' -LangString AspellDownloadFailed "${LYX_LANG}" "Er kon geen Aspell woordenlijst worden gedownload!" -LangString AspellInstallFailed "${LYX_LANG}" "Er kon geen Aspell woordenlijst worden geinstalleerd!" -LangString AspellPartAnd "${LYX_LANG}" " en " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'Woordenlijst reeds geinstalleerd voor: ' -LangString AspellNone "${LYX_LANG}" 'Er is geen woordenlijst geinstalleerd voor het spellingscontrole programma "Aspell".$\r$\n\ - Woordenlijsten kunnen worden gedownload van$\r$\n\ - ${AspellLocation}$\r$\n\ - Wilt u de woordenlijsten nu downloaden?' -LangString AspellPartStart "${LYX_LANG}" "Succesvolle installatie van " -LangString AspellPart1 "${LYX_LANG}" "een engelse woordenlijst" -LangString AspellPart2 "${LYX_LANG}" "een woordenlijst voor $LangName" -LangString AspellPart3 "${LYX_LANG}" "een$\r$\n\ - woordenlijst voor $LangNameSys" -LangString AspellPart4 "${LYX_LANG}" ' voor het spellingscontrole programma "Aspell".$\r$\n\ - Meer woordenlijsten kunnen worden gedownload van$\r$\n\ - ${AspellLocation}$\r$\n\ - Wilt u nu andere woordenlijsten downloaden?' - -LangString MiKTeXPathInfo "${LYX_LANG}" "Opdat elke gebruiker zijn MiKTeX configuratie kan aanpassen$\r$\n\ - is het noodzakelijk alle gebruikers schrijfpermissie te geven in MiKTeX's installatie map$\r$\n\ - $MiKTeXPath $\r$\n\ - en submappen." -LangString MiKTeXInfo "${LYX_LANG}" 'LyX gebruikt de LaTeX softare "MiKTeX".$\r$\n\ - Het is aanbevolen MiKTeX-updates te installeren via de "MiKTeX Update Wizard"$\r$\n\ - voordat u LyX voor de eerste keer gebruikt.$\r$\n\ - Wilt u controleren of er updates voor MiKTeX beschikbaar zijn?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" "Mislukte poging om 'path_prefix' te registreren tijdens de configuratie" -LangString CreateCmdFilesFailed "${LYX_LANG}" "lyx.bat kon niet worden aangemaakt" -LangString RunConfigureFailed "${LYX_LANG}" "Mislukte configuratie poging" -LangString NotAdmin "${LYX_LANG}" "U heeft systeem-beheerrechten nodig om LyX te installeren!" -LangString InstallRunning "${LYX_LANG}" "Het installatieprogramma is al gestart!" -LangString StillInstalled "${LYX_LANG}" "LyX is reeds geinstalleerd! Verwijder LyX eerst." - -LangString FinishPageMessage "${LYX_LANG}" "Gefeliciteerd! LyX is succesvol geinstalleerd.\r\n\ - \r\n\ - (De eerste keer dat u LyX start kan dit enige seconden duren.)" -LangString FinishPageRun "${LYX_LANG}" "Start LyX" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "LyX is niet gevonden in het Windows register.$\r$\n\ - Snelkoppelingen op het Bureaublad en in het Start Menu worden niet verwijderd." -LangString UnInstallRunning "${LYX_LANG}" "U moet LyX eerst afsluiten!" -LangString UnNotAdminLabel "${LYX_LANG}" "U heeft systeem-beheerrechten nodig om LyX te verwijderen!" -LangString UnReallyRemoveLabel "${LYX_LANG}" "Weet u zeker dat u LyX en alle componenten volledig wil verwijderen van deze computer?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyX$\'s user preferences' -LangString UnGSview "${LYX_LANG}" 'Klik op de "Uninstall" knop in het volgende venster om het$\r$\n\ - Postscript en PDF leesprogramma "GSview" te verwijderen.' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX was successvol verwijderd van uw computer." - -LangString SecUnAspellDescription "${LYX_LANG}" "Verwijder het spellingscontrole programma Aspell en alle bijbehorende woordelijsten." -LangString SecUnMiKTeXDescription "${LYX_LANG}" "Verwijder de LaTeX software MiKTeX." -LangString SecUnJabRefDescription "${LYX_LANG}" "Verwijder de bibliografie manager JabRef." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'Verwijder LyX$\'s configuratie map$\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\ - voor alle gebruikers.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "Verwijder LyX en alle bijbehorende onderdelen." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_DUTCH_NSH_ diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/english.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/english.nsh deleted file mode 100644 index d1082ed0d7..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/english.nsh +++ /dev/null @@ -1,148 +0,0 @@ -!ifndef _LYX_LANGUAGES_ENGLISH_NSH_ -!define _LYX_LANGUAGES_ENGLISH_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_ENGLISH} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "This wizard will guide you through the installation of LyX.\r\n\ - \r\n\ - You need administrator privileges to install LyX.\r\n\ - \r\n\ - It is recommended that you close all other applications before starting Setup. This will make it possible to update relevant system files without having to reboot your computer.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "LyX-Document" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Install for all users?" -LangString SecFileAssocTitle "${LYX_LANG}" "File associations" -LangString SecDesktopTitle "${LYX_LANG}" "Desktop icon" - -LangString SecCoreDescription "${LYX_LANG}" "The LyX files." -LangString SecInstGSviewDescription "${LYX_LANG}" "Program to view Postscript- and PDF-documents." -LangString SecInstJabRefDescription "${LYX_LANG}" "Bibliography reference manager and editor for BibTeX files." -LangString SecAllUsersDescription "${LYX_LANG}" "Install LyX for all users or just the current user." -LangString SecFileAssocDescription "${LYX_LANG}" "Files with a .lyx extension will automatically open in LyX." -LangString SecDesktopDescription "${LYX_LANG}" "A LyX icon on the desktop." - -LangString LangSelectHeader "${LYX_LANG}" "Selection of LyX's menu language" -LangString AvailableLang "${LYX_LANG}" " Available Languages " - -LangString MissProgHeader "${LYX_LANG}" "Check for required programs" -LangString MissProgCap "${LYX_LANG}" "The following required program(s) will be installed additionally" -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, a LaTeX distribution" -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, an interpreter for PostScript and PDF" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, an image converter" -LangString MissProgAspell "${LYX_LANG}" "Aspell, a spellchecker" -LangString MissProgMessage "${LYX_LANG}" 'No additional programs need to be installed.' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'LaTeX-distribution' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Set the LaTeX-distribution that LyX should use.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'You can optionally set here the path to the file "latex.exe" and therewith set the \ - LaTeX-distribution that should be used by LyX.\r\n\ - If you don$\'t use LaTeX, LyX cannot output documents!\r\n\ - \r\n\ - The installer has detected the LaTeX-distribution \ - "$LaTeXName" on your system. Displayed below is its path.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Set below the path to the file "latex.exe". Therewith you set which \ - LaTeX-distribution should be used by LyX.\r\n\ - If you don$\'t use LaTeX, LyX cannot output documents!\r\n\ - \r\n\ - The installer couldn$\'t find a LaTeX-distribution on your system.' -LangString PathName "${LYX_LANG}" 'Path to the file "latex.exe"' -LangString DontUseLaTeX "${LYX_LANG}" "Don't use LaTeX" -LangString InvalidLaTeXFolder "${LYX_LANG}" 'The file "latex.exe" is not in the specified path.' - -LangString LatexInfo "${LYX_LANG}" 'Now the installer of the LaTeX-distribution "MiKTeX" will be launched.$\r$\n\ - To install the program press the "Next"-button in the installer windows until the installation begins.$\r$\n\ - $\r$\n\ - !!! Please use all default options of the MiKTeX-installer !!!' -LangString LatexError1 "${LYX_LANG}" 'No LaTeX-distribution could be found!$\r$\n\ - LyX cannot be used without a LaTeX-distribution like "MiKTeX"!$\r$\n\ - The installation will therefore be aborted.' - -LangString GSviewInfo "${LYX_LANG}" 'Now the installer of the program "GSview" will be launched.$\r$\n\ - To install the program press the "Setup"-button in the first installer window,$\r$\n\ - choose a language and then press the "Next"-button in the following installer windows.$\r$\n\ - You can use all default options of the GSview-installer.' -LangString GSviewError "${LYX_LANG}" 'The program "GSview" could not successfully be installed!$\r$\n\ - The installer will continue anyway.$\r$\n\ - Try to install GSview again later.' - -LangString JabRefInfo "${LYX_LANG}" 'Now the installer of the program "JabRef" will be launched.$\r$\n\ - You can use all default options of the JabRef-installer.' -LangString JabRefError "${LYX_LANG}" 'The program "JabRef" could not successfully be installed!$\r$\n\ - The installer will continue anyway.$\r$\n\ - Try to install JabRef again later.' - -LangString LatexConfigInfo "${LYX_LANG}" "The following configuration of LyX will take a while." - -LangString AspellInfo "${LYX_LANG}" 'Now dictionaries for the spellchecker "Aspell" will be downloaded and installed.$\r$\n\ - Every dictionary has a different license that will be displayed before the installation.' -LangString AspellDownloadFailed "${LYX_LANG}" "No Aspell spellchecker dictionary could be downloaded!" -LangString AspellInstallFailed "${LYX_LANG}" "No Aspell spellchecker dictionary could be installed!" -LangString AspellPartAnd "${LYX_LANG}" " and " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'There is already installed a dictionary of the language' -LangString AspellNone "${LYX_LANG}" 'No dictionary for the spellchecker "Aspell" has been installed.$\r$\n\ - Dictionaries can be downloaded from$\r$\n\ - ${AspellLocation}$\r$\n\ - Do you want to download dictionaries now?' -LangString AspellPartStart "${LYX_LANG}" "There was successfully installed " -LangString AspellPart1 "${LYX_LANG}" "an english dictionary" -LangString AspellPart2 "${LYX_LANG}" "a dictionary of the language $LangName" -LangString AspellPart3 "${LYX_LANG}" "a$\r$\n\ - dictionary of the language $LangNameSys" -LangString AspellPart4 "${LYX_LANG}" ' for the spellchecker "Aspell".$\r$\n\ - More dictionaries can be downloaded from$\r$\n\ - ${AspellLocation}$\r$\n\ - Do you want to download other dictionaries now?' - -LangString MiKTeXPathInfo "${LYX_LANG}" "In order that every user is later able to customize MiKTeX for his needs$\r$\n\ - it is necessary to set write permissions for all users to MiKTeX's installation folder$\r$\n\ - $MiKTeXPath $\r$\n\ - and its subfolders." -LangString MiKTeXInfo "${LYX_LANG}" 'The LaTeX-distribution "MiKTeX" will be used together with LyX.$\r$\n\ - It is recommended to install available MiKTeX-updates using the program "MiKTeX Update Wizard"$\r$\n\ - before you use LyX for the first time.$\r$\n\ - Would you now check for MiKTeX updates?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" "Could not set 'path_prefix' in the configure script" -LangString CreateCmdFilesFailed "${LYX_LANG}" "Could not create lyx.bat" -LangString RunConfigureFailed "${LYX_LANG}" "Could not execute the configure script" -LangString NotAdmin "${LYX_LANG}" "You must have administrator privileges to install LyX!" -LangString InstallRunning "${LYX_LANG}" "The installer is already running!" -LangString StillInstalled "${LYX_LANG}" "LyX is already installed! Deinstall LyX first." - -LangString FinishPageMessage "${LYX_LANG}" "Congratulations! LyX has been installed successfully.\r\n\ - \r\n\ - (The first start of LyX might take some seconds.)" -LangString FinishPageRun "${LYX_LANG}" "Launch LyX" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "Unable to find LyX in the registry.$\r$\n\ - Shortcuts on the desktop and in the Start Menu will not be removed." -LangString UnInstallRunning "${LYX_LANG}" "You must close LyX at first!" -LangString UnNotAdminLabel "${LYX_LANG}" "You must have administrator privileges to uninstall LyX!" -LangString UnReallyRemoveLabel "${LYX_LANG}" "Are you sure you want to completely remove LyX and all of its components?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyX$\'s user preferences' -LangString UnGSview "${LYX_LANG}" 'Please press the "Uninstall" button in the next window to uninstall$\r$\n\ - the Postscript and PDF-viewer "GSview".' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX was successfully removed from your computer." - -LangString SecUnAspellDescription "${LYX_LANG}" 'Uninstalls the spellchecker Aspell and all of its dictionaries.' -LangString SecUnMiKTeXDescription "${LYX_LANG}" "Uninstalls the LaTeX-distribution MiKTeX." -LangString SecUnJabRefDescription "${LYX_LANG}" "Uninstalls the bibliography manager JabRef." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'Deletes LyX$\'s configuration folder$\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\ - for all users.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "Uninstall LyX and all of its components." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_ENGLISH_NSH_ diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/french.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/french.nsh deleted file mode 100644 index 8a9da95500..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/french.nsh +++ /dev/null @@ -1,148 +0,0 @@ -!ifndef _LYX_LANGUAGES_FRENCH_NSH_ -!define _LYX_LANGUAGES_FRENCH_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_FRENCH} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "Cet assistant vous guidera durant l'installation de LyX.\r\n\ - \r\n\ - Vous devez tre administrateur pour installer LyX.\r\n\ - \r\n\ - Avant de dbuter l'installation, il est recommand de fermer toutes les autres applications. Cela permettra de mettre jour certains fichiers systme sans redmarrer votre ordinateur.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "Document LyX" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Installer pour tous les utilisateurs ?" -LangString SecFileAssocTitle "${LYX_LANG}" "Associations de fichiers" -LangString SecDesktopTitle "${LYX_LANG}" "Icne du bureau" - -LangString SecCoreDescription "${LYX_LANG}" "Les fichiers LyX" -LangString SecInstGSviewDescription "${LYX_LANG}" "Application permettant d'afficher les documents PostScript - et PDF." -LangString SecInstJabRefDescription "${LYX_LANG}" "Bibliography reference manager and editor for BibTeX files." -LangString SecAllUsersDescription "${LYX_LANG}" "Installer LyX pour tous les utilisateurs, ou seulement pour l'utilisateur courant ?." -LangString SecFileAssocDescription "${LYX_LANG}" "Les fichiers de suffixe .lyx seront automatiquement ouverts dans LyX." -LangString SecDesktopDescription "${LYX_LANG}" "Une icne LyX sur le bureau." - -LangString LangSelectHeader "${LYX_LANG}" "Slection de la langue pour les menus de LyX" -LangString AvailableLang "${LYX_LANG}" " Langues disponibles" - -LangString MissProgHeader "${LYX_LANG}" "Vrification des applications requises." -LangString MissProgCap "${LYX_LANG}" "Le(s) application(s) requise(s) suivante(s) seront galement installes." -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, une distribution LaTeX" -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, un interprteur pour PostScript and PDF" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, un convertisseur graphique" -LangString MissProgAspell "${LYX_LANG}" "Aspell, un correcteur orthographique" -LangString MissProgMessage "${LYX_LANG}" 'Aucune application supplmentaire ne doit tre installe.' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'Distribution LaTeX' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Choisir la distribution LaTeX que LyX devra utiliser.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'ventuellement, vous pouvez fixer ici le chemin d$\'accs au fichier "latex.exe" et de ce fait fixer \ - la distribution LaTeX utilise par Lyx.\r\n\ - Si vous n$\'utilisez pas LaTeX, LyX ne peut crer de documents !\r\n\ - \r\n\ - L$\'assistant d$\'installation a dtect la distribution LaTeX \ - "$LaTeXName" sur votre systme. Le chemin d$\'accs est affich ci-dessous.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Fixez ci-dessous le chemin d$\'accs au fichier "latex.exe". De ce fait vous fixez la \ - distribution LaTeX utilise par Lyx.\r\n\ - Si vous n$\'utilisez pas LaTeX, LyX ne peut crer de documents !\r\n\ - \r\n\ - L$\'assistant d$\'installation n$\'a pas pu trouver de distribution LaTeX sur votre systme.' -LangString PathName "${LYX_LANG}" 'Chemin vers le fichier "latex.exe"' -LangString DontUseLaTeX "${LYX_LANG}" "N'utilisez pas LaTeX" -LangString InvalidLaTeXFolder "${LYX_LANG}" '"latex.exe" introuvable.' - -LangString LatexInfo "${LYX_LANG}" 'Lancement de l$\'installation de la distribution LaTeX "MiKTeX".$\r$\n\ - Pour installer l$\'application, appuyer sur le bouton "Next" de la fentre d$\'installation jusqu$\' ce que celle-ci commence.$\r$\n\ - $\r$\n\ - !!! Prenez garde utiliser toutes les options implicites du programme d$\'installation MikTeX !!!' -LangString LatexError1 "${LYX_LANG}" 'Distribution LaTeX introuvable !$\r$\n\ - LyX ne peut tre utilis sans distribution LaTeX, comme par exemple "MiKTeX" !$\r$\n\ - L$\'installation de LyX va donc tre abandonne.' - -LangString GSviewInfo "${LYX_LANG}" 'Lancement de l$\'installation de l$\'application "GSview".$\r$\n\ - Pour installer l$\'application, appuyer sur le bouton "Setup" de la premire fentre d$\'installation$\r$\n\ - choisir une langue, puis appuyer sur le bouton "Next" de la fentre d$\'installation suivante.$\r$\n\ - Vous pouvez utiliser les options implicites du programme d$\'installation GSview.' -LangString GSviewError "${LYX_LANG}" 'L$\'application "GSview" n$\'a pas pu tre installe correctement !$\r$\n\ - L$\'installation de LyX va continuer.$\r$\n\ - Essayer d$\'installer GSview de nouveau plus tard.' - -LangString JabRefInfo "${LYX_LANG}" 'Lancement de l$\'installation de l$\'application "JabRef".$\r$\n\ - Vous pouvez utiliser les options implicites du programme d$\'installation JabRef.' -LangString JabRefError "${LYX_LANG}" 'L$\'application "JabRef" n$\'a pas pu tre installe correctement !$\r$\n\ - L$\'installation de LyX va continuer.$\r$\n\ - Essayer d$\'installer JabRef de nouveau plus tard.' - -LangString LatexConfigInfo "${LYX_LANG}" "La configuration de LyX qui va suivre prendra un moment." - -LangString AspellInfo "${LYX_LANG}" 'Maintenant les dictionnaires du correcteur orthographique "Aspell" vont tre tlchargs et installs.$\r$\n\ - Chaque dictionnaire est dot d$\'une licence diffrente qui sera affiche avant l$\'installation.' -LangString AspellDownloadFailed "${LYX_LANG}" "Aucun dictionnaire Aspell n$\'a pu tre tlcharg !" -LangString AspellInstallFailed "${LYX_LANG}" "Aucun dictionnaire Aspell n$\'a pu tre install !" -LangString AspellPartAnd "${LYX_LANG}" " et " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'Un dictionnaire est dj install pour la langue' -LangString AspellNone "${LYX_LANG}" 'Aucun dictionnaire pour le correcteur orthographique Aspell n$\'a pu tre install.$\r$\n\ - Les dictionnaires peuvent tre tlchargs depuis$\r$\n\ - ${AspellLocation}$\r$\n\ - Voulez-vous tlcharger les dictionnaires maintenant ?' -LangString AspellPartStart "${LYX_LANG}" "Ont t installs avec succs " -LangString AspellPart1 "${LYX_LANG}" "un dictionnaire anglophone" -LangString AspellPart2 "${LYX_LANG}" "un dictionnaire pour la langue $LangName" -LangString AspellPart3 "${LYX_LANG}" "un$\r$\n\ - dictionnaire pour la langue $LangNameSys" -LangString AspellPart4 "${LYX_LANG}" ' pour le correcteur orthographique "Aspell".$\r$\n\ - D$\'autres dictionnaires peuvent tre tlchargs depuis$\r$\n\ - ${AspellLocation}$\r$\n\ - Voulez-vous tlcharger d$\'autres dictionnaires maintenant ?' - -LangString MiKTeXPathInfo "${LYX_LANG}" "Pour que chaque utilisateur soit capable de personnaliser MiKTeX pour ses besoins$\r$\n\ - il est ncessaire de positionner les permissions en criture dans le rpertoire d$\'installation de MiKTeX pour tous les utilisateurs$\r$\n\ - ($MiKTeXPath) $\r$\n\ - et pour ses sous-rpertoires." -LangString MiKTeXInfo "${LYX_LANG}" 'La distribution LaTeX "MiKTeX" sera utilise par LyX.$\r$\n\ - Il est recommand d$\'installer les mises jour en utilisant l$\'application "MiKTeX Update Wizard"$\r$\n\ - avant d$\'utiliser LyX pour la premire fois.$\r$\n\ - Voulez-vous vrifier maintenant les mises jour de MiKTeX ?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" "chec de l'allocation 'path_prefix' lors de la configuration." -LangString CreateCmdFilesFailed "${LYX_LANG}" "Cration de lyx.bat impossible." -LangString RunConfigureFailed "${LYX_LANG}" "chec de la tentative de configuration initiale de LyX." -LangString NotAdmin "${LYX_LANG}" "Vous devez avoir les droits d'administration pour installer LyX !" -LangString InstallRunning "${LYX_LANG}" "Le programme d'installation est toujours en cours !" -LangString StillInstalled "${LYX_LANG}" "LyX est dj install ! Le dsinstaller d'abord." - -LangString FinishPageMessage "${LYX_LANG}" "Flicitations ! LyX est install avec succs.\r\n\ - \r\n\ - (Le premier dmarrage de LyX peut demander quelques secondes.)" -LangString FinishPageRun "${LYX_LANG}" "Dmarrer LyX" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "LyX introuvable dans le base des registres.$\r$\n\ - Les raccourcis sur le bureau et dans le menu de dmarrage ne seront pas supprims." -LangString UnInstallRunning "${LYX_LANG}" "Vous devez fermer LyX d'abord !" -LangString UnNotAdminLabel "${LYX_LANG}" "Vous devez avoir les droits d'administration pour dsinstaller LyX !" -LangString UnReallyRemoveLabel "${LYX_LANG}" "tes vous sr(e) de vouloir supprimer compltement LyX et tous ses composants ?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'Prfrences utilisateurs de LyX' -LangString UnGSview "${LYX_LANG}" 'Merci d$\'appuyer sur le bouton "Dsinstaller" de la prochaine fentre pour dsinstaller.$\r$\n\ - l$\'afficheur Postscript/PDF "GSview".' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX supprim de votre ordinateur avec succs." - -LangString SecUnAspellDescription "${LYX_LANG}" "Dsinstalle le correcteur orthographique Aspell et tous ses dictionnaires." -LangString SecUnMiKTeXDescription "${LYX_LANG}" "Dsinstalle la distribution LaTeX MiKTeX." -LangString SecUnJabRefDescription "${LYX_LANG}" "Uninstalls the bibliography manager JabRef." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'Supprime le rpertoire de configuration de LyX$\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\ - pour tous les utilisateurs.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "Dsinstaller LyX et tous ses composants." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_FRENCH_NSH_ diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/galician.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/galician.nsh deleted file mode 100644 index 23d4041e6b..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/galician.nsh +++ /dev/null @@ -1,148 +0,0 @@ -!ifndef _LYX_LANGUAGES_GALICIAN_NSH_ -!define _LYX_LANGUAGES_GALICIAN_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_GALICIAN} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "Este asistente vai-no guiar na instalacin do LyX no seu computador.\r\n\ - \r\n\ - Para poder instalar o LyX precisa de privilxios de administrador.\r\n\ - \r\n\ - Recomenda-se fechar todas as outras aplicacins antes de iniciar a instalacin. Isto posibilita actualizar os ficheiros do sistema relevantes sen ter que reiniciar o computador.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "Documento LyX" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Instalar para todos os usurios?" -LangString SecFileAssocTitle "${LYX_LANG}" "Asociacin dos ficheiros" -LangString SecDesktopTitle "${LYX_LANG}" "Icone do ambiente de traballo" - -LangString SecCoreDescription "${LYX_LANG}" "Os ficheiros LyX." -LangString SecInstGSviewDescription "${LYX_LANG}" "Programa para visualizar documentos en Postscript e PDF." -LangString SecInstJabRefDescription "${LYX_LANG}" "Xestor de referncias bibliogrficas e editor de ficheiros BibTeX." -LangString SecAllUsersDescription "${LYX_LANG}" "Instalar o LyX monousurio ou multiusurio." -LangString SecFileAssocDescription "${LYX_LANG}" "Asociar a extensin .lyx co LyX." -LangString SecDesktopDescription "${LYX_LANG}" "Cria un icone do LyX no ambiente de traballo." - -LangString LangSelectHeader "${LYX_LANG}" "Seleccin da lingua dos menus no LyX" -LangString AvailableLang "${LYX_LANG}" " Lnguas disponbeis " - -LangString MissProgHeader "${LYX_LANG}" "Verificacin dos programas necesrios" -LangString MissProgCap "${LYX_LANG}" "O(s) seguinte(s) programa(s) necesrio(s) van ser instalados adicionalmente" -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, unha distribucin de LaTeX" -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, un interprete de PostScript e PDF" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, um conversor de imaxes" -LangString MissProgAspell "${LYX_LANG}" "Aspell, un corrector ortogrfico" -LangString MissProgMessage "${LYX_LANG}" 'Non necesrio instalar programas adicionais.' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'Distribuicin de LaTeX' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Escolha a distribucin de LaTeX que vai usar o LyX.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'Opcionalmente pode especificar o camio do ficheiro "latex.exe" e posteriormente \ - escoller a distribuicin de LaTeX que vai usar o LyX.\r\n\ - Sen LaTeX o LyX non pode (pr-)imprimir os documentos!\r\n\ - \r\n\ - O instalador detectou a distribucin de LaTeX "$LaTeXName"\ - no seu sistema, no camio que se mostra abaixo.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Especifique abaixo o camio ao ficheiro "latex.exe". Posteriormente escolla \ - a distribucin de LaTeX que debe usar o LyX.\r\n\ - Sem LaTeX o LyX non pode (pr-)imprimir os documentos!\r\n\ - \r\n\ - O instalador non pudo achar nengunha distribucin de LaTeX no seu sistema.' -LangString PathName "${LYX_LANG}" 'Camio ao ficheiro "latex.exe"' -LangString DontUseLaTeX "${LYX_LANG}" "Non usar LaTeX" -LangString InvalidLaTeXFolder "${LYX_LANG}" 'O ficheiro "latex.exe" non est no camio especificado.' - -LangString LatexInfo "${LYX_LANG}" 'Agora lanzar-se o instalador da distribucin de LaTeX "MiKTeX".$\r$\n\ - Para instalar o programa prema no botn "Prximo" na xanela de instalacin at a instalacin comezar.$\r$\n\ - $\r$\n\ - !!! Por favor use todas as opcins por defeito do instalador do MiKTeX !!!' -LangString LatexError1 "${LYX_LANG}" 'Non se achou nengunha distribucin de LaTeX!$\r$\n\ - Non se pode usar o LyX sen unha distribucin de LaTeX como a "MiKTeX"!$\r$\n\ - Por iso a instalacin vai ser abortada.' - -LangString GSviewInfo "${LYX_LANG}" 'Agora lanzar-se o instalador do programa "GSview".$\r$\n\ - Para instalar prema no botn "Setup" na primeira xanela de instalacin$\r$\n\ - escolla a lngua e despois prema no botn "Prximo" na seguinte xanela do instalador.$\r$\n\ - Pode usar todas as opcins por defeito no instalador do GSview.' -LangString GSviewError "${LYX_LANG}" 'Non se deu instalado o programa "GSview"!$\r$\n\ - De todos os xeitos a instalacin do LyX continua.$\r$\n\ - Tente instalar mis adiante o GSview.' - -LangString JabRefInfo "${LYX_LANG}" 'Agora lanzar-se o instalador do programa "JabRef".$\r$\n\ - Pode usar todas as opcins por defeito no instalador do JabRef.' -LangString JabRefError "${LYX_LANG}" 'Non se deu instalado o programa "JabRef"!$\r$\n\ - De todos os xeitos a instalacin do LyX continua.$\r$\n\ - Tente instalar mais adiante o JabRef.' - -LangString LatexConfigInfo "${LYX_LANG}" "A configuracin seguinte do LyX ir demorar un pouco." - -LangString AspellInfo "${LYX_LANG}" 'Agora se van descarregar e instalar dicionrios do corrector ortogrfico "Aspell".$\r$\n\ - Cada dicionrio ten unha licenza diferente, que se mostrar antes da instalacin.' -LangString AspellDownloadFailed "${LYX_LANG}" "Non se deu descarregadao nengun dicionrio do Aspell!" -LangString AspellInstallFailed "${LYX_LANG}" "Non se deu instalado nengun dicionrio do Aspell!" -LangString AspellPartAnd "${LYX_LANG}" " e " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'Xa ha instalado un dicionrio desta lngua' -LangString AspellNone "${LYX_LANG}" 'Non se instalou nengun dicionrio do "Aspell".$\r$\n\ - Os dicionrios poden descarregar-se de$\r$\n\ - ${AspellLocation}$\r$\n\ - Desexa descarregar dicionrios agora?' -LangString AspellPartStart "${LYX_LANG}" "Instalou-se con suceso " -LangString AspellPart1 "${LYX_LANG}" "un dicionrio de ingls" -LangString AspellPart2 "${LYX_LANG}" "un dicionrio de $LangName" -LangString AspellPart3 "${LYX_LANG}" "un$\r$\n\ - dicionrio de $LangNameSys" -LangString AspellPart4 "${LYX_LANG}" ' para o corrector ortogrfico "Aspell".$\r$\n\ - posbel descarregar mis dicionrios de$\r$\n\ - ${AspellLocation}$\r$\n\ - Desexa descarregar outros dicionrios agora?' - -LangString MiKTeXPathInfo "${LYX_LANG}" "Para que cada usurio poda personalizar posteriormente o MiKTeX segundo as suas$\r$\n\ - necesidades, cumpre a pasta onde foi instalado o MiKTeX$\r$\n\ - $MiKTeXPath $\r$\n\ - e as suas subpastas teren permiso de escritura para todos os usurios." -LangString MiKTeXInfo "${LYX_LANG}" 'Xunto co LyX vai-se empregar a distribucin de LaTeX "MiKTeX".$\r$\n\ - Antes de usar o LyX pola primeira vez, recomenda-se instalar as actualizacins disponbeis$\r$\n\ - do MiKTeX co instalador "MiKTeX Update Wizard"$\r$\n\ - Desexa comprovar agora se ha actualizacins do MiKTeX?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" "Non se puido engadir o 'path_prefix' no script de configuracin" -LangString CreateCmdFilesFailed "${LYX_LANG}" "Non se deu criado o lyx.bat" -LangString RunConfigureFailed "${LYX_LANG}" "Non se deu executado o script de configuracin" -LangString NotAdmin "${LYX_LANG}" "Precisa de privilxios de administrador para instalar o LyX!" -LangString InstallRunning "${LYX_LANG}" "O instalador xa est a correr!" -LangString StillInstalled "${LYX_LANG}" "O LyX xa est instalado! Desinstale o LyX primeiro." - -LangString FinishPageMessage "${LYX_LANG}" "Parabns! O LyX foi instalado con suceso.\r\n\ - \r\n\ - (O primeiro incio do LyX pode levar alguns segundos.)" -LangString FinishPageRun "${LYX_LANG}" "Lanzar o LyX" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "Non se da achado o LyX no registo.$\r$\n\ - Non se eliminarn os atallos para o ambiente de traballo e no menu de Incio." -LangString UnInstallRunning "${LYX_LANG}" "Debe fechar o LyX en primeiro lugar!" -LangString UnNotAdminLabel "${LYX_LANG}" "Precisa de privilxios de administrador para desinstalar o LyX!" -LangString UnReallyRemoveLabel "${LYX_LANG}" "Seguro que quer eliminar completamente o LyX e todos os seus componentes?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'Preferncias de usurio do LyX' -LangString UnGSview "${LYX_LANG}" 'Por favor prema no botn "Desinstalar" na prxima xanela para desinstalar$\r$\n\ - o visualizador de Postscript e PDF "GSview".' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "Eliminou-se o LyX do seu computador." - -LangString SecUnAspellDescription "${LYX_LANG}" "Desinstala o corrector ortogrfico Aspell e todos os seus dicionrios." -LangString SecUnMiKTeXDescription "${LYX_LANG}" "Desinstala a distribucin de LaTeX MiKTeX." -LangString SecUnJabRefDescription "${LYX_LANG}" "Desinstala o xestor de referncias bibliogrficas JabRef." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'Elimina as pastas de configuracin do LyX$\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\ - de todos os usurios.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "Desinstala LyX e todos os seus componentes." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_GALICIAN_NSH_ diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/german.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/german.nsh deleted file mode 100644 index e3b481b313..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/german.nsh +++ /dev/null @@ -1,149 +0,0 @@ -!ifndef _LYX_LANGUAGES_GERMAN_NSH_ -!define _LYX_LANGUAGES_GERMAN_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_GERMAN} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "Dieser Assistent wird Sie durch die Installation von LyX begleiten.\r\n\ - \r\n\ - Sie bentigen Administratorrechte um LyX zu installieren.\r\n\ - \r\n\ - Es wird empfohlen vor der Installation alle anderen Programme zu schlieen, damit bestimmte Systemdateien ohne Neustart ersetzt werden knnen.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "LyX-Dokument" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Fr alle Nutzer installieren?" -LangString SecFileAssocTitle "${LYX_LANG}" "Dateizuordnungen" -LangString SecDesktopTitle "${LYX_LANG}" "Desktopsymbol" - -LangString SecCoreDescription "${LYX_LANG}" "Das Programm LyX." -LangString SecInstGSviewDescription "${LYX_LANG}" "Programm zum Betrachten von Postscript- und PDF-Dokumenten." -LangString SecInstJabRefDescription "${LYX_LANG}" "Manager fr bibliografische Referenzen und Editor fr BibTeX-Dateien." -LangString SecAllUsersDescription "${LYX_LANG}" "LyX fr alle Nutzer oder nur fr den aktuellen Nutzer installieren." -LangString SecFileAssocDescription "${LYX_LANG}" "Vernpfung zwischen LyX und der .lyx Dateiendung." -LangString SecDesktopDescription "${LYX_LANG}" "Verknpfung zu LyX auf dem Desktop." - -LangString LangSelectHeader "${LYX_LANG}" "Wahl der Mensprache von LyX" -LangString AvailableLang "${LYX_LANG}" " Verfgbare Sprachen " - -LangString MissProgHeader "${LYX_LANG}" "Suche nach bentigten Programmen" -LangString MissProgCap "${LYX_LANG}" "Es werden folgende bentigte Programme zustzlich installiert" -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, eine LaTeX-Distribution" -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, ein Interpreter fr PostScript und PDF" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, ein Bildkonverter" -LangString MissProgAspell "${LYX_LANG}" "Aspell, eine Rechtschreibprfung" -LangString MissProgMessage "${LYX_LANG}" 'Es mssen keine zustzlichen Programme installiert werden.' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'LaTeX-Distribution' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Legen Sie die LaTeX-Distribution fest die LyX verwenden soll.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'Optional knnen Sie hier den Pfad zur Datei "latex.exe" angeben und damit die \ - LaTeX-Distribution festlegen die LyX verwenden soll.\r\n\ - Wenn Sie kein LaTeX verwenden, kann LyX keine Dokumente ausgeben!\r\n\ - \r\n\ - Der Installer hat auf Ihrem System die LaTeX-Distribution\r\n\ - "$LaTeXName" erkannt. Unten angegeben ist ihr Pfad.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Geben Sie unten den Pfad zur Datei "latex.exe" an. Damit legen Sie fest welche \ - LaTeX-Distribution LyX verwenden soll.\r\n\ - Wenn Sie kein LaTeX verwenden, kann LyX keine Dokumente ausgeben!\r\n\ - \r\n\ - Der Installer konnte auf Ihrem System keine LaTeX-Distribution finden.' -LangString PathName "${LYX_LANG}" 'Pfad zur Datei "latex.exe"' -LangString DontUseLaTeX "${LYX_LANG}" "Kein LaTeX benutzen" -LangString InvalidLaTeXFolder "${LYX_LANG}" 'Kann die Datei "latex.exe" nicht finden.' - -LangString LatexInfo "${LYX_LANG}" 'Als Nchstes wird der Installer der LaTeX-Distribution "MiKTeX" gestartet.$\r$\n\ - Um das Programm zu installieren, drcken Sie den "Weiter"-Knopf in den Installerfenstern bis die Installation beginnt.$\r$\n\ - $\r$\n\ - !!! Bitte verwenden Sie alle voreingestellten Optionen des MiKTeX-Installers !!!' -LangString LatexError1 "${LYX_LANG}" 'Es konnte keine LaTeX-Distribution gefunden werden!$\r$\n\ - LyX kann ohne eine LaTeX-Distribution wie z.B. "MiKTeX" nicht benutzt werden!$\r$\n\ - Die Installation wird daher abgebrochen.' - -LangString GSviewInfo "${LYX_LANG}" 'Als Nchstes wird der Installer des Programms "GSview" gestartet.$\r$\n\ - Um das Programm zu installieren, drcken Sie den "Setup"-Knopf im ersten Installerfenster,$\r$\n\ - whlen eine Sprache und drcken dann den "Weiter"-Knopf in den folgenden Installerfenstern.$\r$\n\ - Sie knnen alle voreingestellten Optionen des GSview-Installers verwenden.' -LangString GSviewError "${LYX_LANG}" 'Das Programm "GSview" konnte nicht erfolgreich installiert werden!$\r$\n\ - Die Installation wird trotzdem fortgesetzt.$\r$\n\ - Versuchen Sie GSview spter noch einmal zu installieren.' - -LangString JabRefInfo "${LYX_LANG}" 'Als Nchstes wird der Installer des Programms "JabRef" gestartet.$\r$\n\ - Sie knnen alle voreingestellten Optionen des JabRef-Installers verwenden.' -LangString JabRefError "${LYX_LANG}" 'Das Programm "JabRef" konnte nicht erfolgreich installiert werden!$\r$\n\ - Der Installer wird trotzdem fortgesetzt.$\r$\n\ - Versuchen Sie JabRef spter noch einmal zu installieren.' - -LangString LatexConfigInfo "${LYX_LANG}" "Die folgende Konfiguration von LyX wird eine Weile dauern." - -LangString AspellInfo "${LYX_LANG}" 'Es werden nun Wrterbcher fr die Rechtschreibprfung "Aspell" heruntergeladen und installiert.$\r$\n\ - Jedes Wrterbuch hat andere Lizenzbedingungen die Sie vor der Installation angezeigt bekommen.' -LangString AspellDownloadFailed "${LYX_LANG}" "Das Wrterbuch konnte nicht heruntergeladen werden!" -LangString AspellInstallFailed "${LYX_LANG}" "Das Wrterbuch konnte nicht installiert werden!" -LangString AspellPartAnd "${LYX_LANG}" " und " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'Es ist bereits ein Wrterbuch der Sprache' -LangString AspellNone "${LYX_LANG}" 'Es wurde kein Wrterbuch fr die Rechtschreibprfung "Aspell" installiert.$\r$\n\ - Wrterbcher knnen von$\r$\n\ - ${AspellLocation}$\r$\n\ - heruntergeladen werden. Wollen Sie jetzt Wrterbcher herunterladen?' -LangString AspellPartStart "${LYX_LANG}" "Es wurde erfolgreich " -LangString AspellPart1 "${LYX_LANG}" "ein englisches Wrterbuch" -LangString AspellPart2 "${LYX_LANG}" "ein Wrterbuch der Sprache $LangName" -LangString AspellPart3 "${LYX_LANG}" "ein$\r$\n\ - Wrterbuch der Sprache $LangNameSys" -LangString AspellPart4 "${LYX_LANG}" ' fr die Rechtschreibprfung "Aspell" installiert.$\r$\n\ - Weitere Wrterbcher knnen von$\r$\n\ - ${AspellLocation}$\r$\n\ - heruntergeladen werden. Wollen Sie jetzt andere Wrterbcher herunterladen?' - -LangString MiKTeXPathInfo "${LYX_LANG}" "Damit jeder Benutzer spter MiKTeX fr seine Bedrfnisse anpassen kann,$\r$\n\ - ist es erforderlich fr MiKTeXs Installationsordner$\r$\n\ - $MiKTeXPath $\r$\n\ - und seine Unterordner Schreibrechte fr alle Benutzer zu setzen." -LangString MiKTeXInfo "${LYX_LANG}" 'Die LaTeX-Distribution "MiKTeX" wird zusammen mit LyX verwendet werden.$\r$\n\ - Es wird empfohlen dass Sie verfgbare MiKTeX-Updates mit Hilfe des Programms "MiKTeX Update Wizard"$\r$\n\ - installieren, bevor sie LyX das erste Mal benutzen.$\r$\n\ - Mchten Sie jetzt nach Updates fr MiKTeX suchen?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" 'Der "PATH_prfix" (Liste mit Programmpfaden) konnte nicht im Konfigurationsskript gesetzt werden.' -LangString CreateCmdFilesFailed "${LYX_LANG}" "Konnte die Datei lyx.bat nicht erzeugen." -LangString RunConfigureFailed "${LYX_LANG}" "Konnte das Konfigurationsskript nicht ausfhren." -LangString NotAdmin "${LYX_LANG}" "Sie bentigen Administratorrechte um LyX zu installieren!" -LangString InstallRunning "${LYX_LANG}" "Der Installer luft bereits!" -LangString StillInstalled "${LYX_LANG}" "LyX ist bereits installiert! Deinstallieren Sie LyX zuerst." - -LangString FinishPageMessage "${LYX_LANG}" "Glckwunsch! LyX wurde erfolgreich installiert.\r\n\ - \r\n\ - (Der erste Start von LyX kann etwas lnger dauern.)" -LangString FinishPageRun "${LYX_LANG}" "LyX starten" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "Kann LyX nicht in der Registry finden.$\r$\n\ - Desktopsymbole und Eintrge im Startmen knnen nicht entfernt werden." -LangString UnInstallRunning "${LYX_LANG}" "Sie mssen LyX zuerst beenden!" -LangString UnNotAdminLabel "${LYX_LANG}" "Sie bentigen Administratorrechte um LyX zu deinstallieren!" -LangString UnReallyRemoveLabel "${LYX_LANG}" "Sind Sie sicher, dass sie LyX und all seine Komponenten deinstallieren mchten?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyXs Benutzereinstellungen' -LangString UnGSview "${LYX_LANG}" 'Bitte drcken Sie im nchsten Fenster den Knopf "Uninstall" um das$\r$\n\ - Postscript und PDF-Betrachtungsprogramm "GSview" zu deinstallieren.' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX wurde erfolgreich von ihrem Computer entfernt." - -LangString SecUnAspellDescription "${LYX_LANG}" "Deinstalliert die Rechtschreibprfung Aspell und all seine Wrterbcher." -LangString SecUnMiKTeXDescription "${LYX_LANG}" "Deinstalliert die LaTeX-Distribution MiKTeX." -LangString SecUnJabRefDescription "${LYX_LANG}" "Deinstalliert den Bibliografiemanager JabRef." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'Lscht LyXs Benutzereinstellungen,$\r$\n\ - (den Ornder:$\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}")$\r$\n\ - fr alle Benutzer.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "Deinstalliert LyX und all seine Komponenten." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_GERMAN_NSH_ diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/hungarian.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/hungarian.nsh deleted file mode 100644 index 7dcdd67f63..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/hungarian.nsh +++ /dev/null @@ -1,147 +0,0 @@ -!ifndef _LYX_LANGUAGES_HUNGARIAN_NSH_ -!define _LYX_LANGUAGES_HUNGARIAN_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_HUNGARIAN} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "A varzsl segtsgvel tudja telepteni a LyX-et.\r\n\ - \r\n\ - A LyX teleptshez rendszergazdai jogra van szksge.\r\n\ - \r\n\ - A telepts megkezdse eltt, javasolt kilpni minden fut alkalmazsbl. Ez a lps teszi lehetv, hogy frisstsnk fontos rendszerfjlokat jraindts szksgessge nlkl.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "LyX-dokumentum" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Telepts minden felhasznlnak" -LangString SecFileAssocTitle "${LYX_LANG}" "Fjltrstsok" -LangString SecDesktopTitle "${LYX_LANG}" "Parancsikon asztalra" - -LangString SecCoreDescription "${LYX_LANG}" "A LyX futtatshoz szksges fjlok." -LangString SecInstGSviewDescription "${LYX_LANG}" "Alkalmazs Postscript- s PDF-fjlok megjelentshez." -LangString SecInstJabRefDescription "${LYX_LANG}" "Irodalomjegyzk hivatkozs szerkeszt s kezel BibTeX fjlokhoz." -LangString SecAllUsersDescription "${LYX_LANG}" "Minden felhasznlnak teleptsem vagy csak az aktulisnak?" -LangString SecFileAssocDescription "${LYX_LANG}" "A .lyx kiterjesztssel rendelkez fjlok megnyitsa automatikusan a LyX-el trtnik." -LangString SecDesktopDescription "${LYX_LANG}" "LyX-ikon elhelyezse az asztalon." - -LangString LangSelectHeader "${LYX_LANG}" "A LyX felhasznli fellet nyelvnek kivlasztsa" -LangString AvailableLang "${LYX_LANG}" " Vlaszthat nyelvek " - -LangString MissProgHeader "${LYX_LANG}" "Mkdshez szksges programok ellenrzse" -LangString MissProgCap "${LYX_LANG}" "A kvetkez program(ok) teleptse fog mg megtrtnni" -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, LaTeX-disztribci" -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, ami egy PostScript s PDF rtelmez" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, ami egy kptalakt" -LangString MissProgAspell "${LYX_LANG}" "Aspell, ami egy helyesrs ellenrz" -LangString MissProgMessage "${LYX_LANG}" 'Nem kell tovbbi programokat teleptenie.' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'LaTeX-disztribci' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Adja meg a LaTeX-disztribcit, amit a LyX-nek hasznlnia kell.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'Itt megadhatja az elrsi tvonalat a "latex.exe" fjlhoz s ezzel meg is adja \ - melyik LaTeX disztribcit fogja hasznlni a LyX.\r\n\ - Amennyiben nem hasznl LaTeX-et, a LyX nem tud kimenetet kszteni!\r\n\ - \r\n\ - A telept megtaltlta az n szmtgpn a "$LaTeXName" (LaTeX) disztribcit \ Lent lthatja az elrsi tvonalt.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Adja meg a hasznland "latex.exe" fjl elrsi tvonalt. Ezzel azt is megadja \ - melyik LaTeX disztribcit fogja hasznlni a LyX.\r\n\ - Amennyiben nem hasznl LaTeX-et, a LyX nem tud kimenetet kszteni!\r\n\ - \r\n\ - A telept nem tallt a szmtgpn LaTeX disztribcit!' -LangString PathName "${LYX_LANG}" 'A "latex.exe" fjl elrsi tja' -LangString DontUseLaTeX "${LYX_LANG}" "Ne hasznlja a LaTeX-et" -LangString InvalidLaTeXFolder "${LYX_LANG}" 'Nem tallom a "latex.exe" fjlt, a megadott helyen.' - -LangString LatexInfo "${LYX_LANG}" 'A "MiKteX" LaTeX-disztribci teleptjnek indtsa kvetkezik.$\r$\n\ - A program teleptshez addig nyomkodja a "Kvetkez" gombot a telept ablakban, amg a telepts el nem kezddik.$\r$\n\ - $\r$\n\ - !!! Krem hasznlja a MikTeX-telept alaprtelmezett opciit!!!' -LangString LatexError1 "${LYX_LANG}" 'Nem talltam LaTeX-disztribcit!$\r$\n\ - A LyX nem hasznlhat egy LaTeX-disztibci nlkl,(mint pldul a "MiKTeX")!$\r$\n\ - Ezrt a telepts nem folytathat!' - -LangString GSviewInfo "${LYX_LANG}" 'A "GSview" program teleptjnek indtsa kvetkezik.$\r$\n\ - A program teleptshez, nyomja meg a "Telept"-gombot a telept els ablakban,$\r$\n\ - azutn vlasszon nyelvet, majd nyomja meg a "Kvetkez"-gombot a kvetkez telept ablakokban.$\r$\n\ - Hasznlhatja a program ltal javasolt belltsokat.' -LangString GSviewError "${LYX_LANG}" 'A "GSview" programot nem sikerlt telepteni!$\r$\n\ - Azonban a telepts tovbb fog folytatdni.$\r$\n\ - Ksbb prblja meg jra a GSview teleptst.' - -LangString JabRefInfo "${LYX_LANG}" 'A "JabRef" teleptjnek elindtsa kvetkezik.$\r$\n\ - Hasznlhatja az alaprtelmezett opcikat.' -LangString JabRefError "${LYX_LANG}" 'Nem tudom telepteni a "JabRef" programot!$\r$\n\ - Azonban a telepts tovbb fog folytatdni.$\r$\n\ - ksbb prblja meg jra telepteni a JabRef-et.' - -LangString LatexConfigInfo "${LYX_LANG}" "A LyX telepts utni belltsa hossz idt fog ignybe venni." - -LangString AspellInfo "${LYX_LANG}" 'Az "Aspell" helyesrs-ellenrzhz hasznlhat sztrak letltse s teleptse kvetkezik.$\r$\n\ - Minden egyes sztrnak klnbz licence lehet, ezrt a licenc minden telepts eltt meg lesz jelentve.' -LangString AspellDownloadFailed "${LYX_LANG}" "Nem tudtam Aspell sztrat letlteni!" -LangString AspellInstallFailed "${LYX_LANG}" "Nincs teleptend Aspell sztr!" -LangString AspellPartAnd "${LYX_LANG}" " s " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'Mr van teleptve helyesrs-ellenrz sztr a kvetkez nyelvhez' -LangString AspellNone "${LYX_LANG}" 'Nem lett sztr teleptve az "Aspell" helyesrs-ellenrzhz.$\r$\n\ - A szksges sztrat letltheti a kvetkez cmrl:$\r$\n\ - ${AspellLocation}$\r$\n\ - Szeretne most sztrakat letlteni?' -LangString AspellPartStart "${LYX_LANG}" "Sikeresen teleplt " -LangString AspellPart1 "${LYX_LANG}" "az angol sztr" -LangString AspellPart2 "${LYX_LANG}" "a(z) $LangName nyelv sztra" -LangString AspellPart3 "${LYX_LANG}" "a(z)$\r$\n\ - $LangNameSys nyelv sztra" -LangString AspellPart4 "${LYX_LANG}" ' az "Aspell" helyesrs-ellenrzhz.$\r$\n\ - Sztrat ms nyelvekhez a ${AspellLocation}$\r$\n\ - cmrl tlthet le.$\r$\n\ - Szeretne letlteni egyb sztrakat??' - -LangString MiKTeXPathInfo "${LYX_LANG}" "Ahhoz, hogy a tbbi felhasznl is testre tudja hasznlni a MiKTeX-et$\r$\n\ - rs jogot kell adni minden felhasznl rszre a MiKTeX alknyvtrhoz.$\r$\n\ - A $MiKTeXPath $\r$\n\ - valamint alknyvtraihoz." -LangString MiKTeXInfo "${LYX_LANG}" 'A "MiKTeX" LaTeX-disztibci lesz hasznlva a LyX ltal.$\r$\n\ - Javasolt telepteni a MiKTeX frisstseket a "MiKTeX Update Wizard" segtsgvel,$\r$\n\ - a LyX els indtsa eltt.$\r$\n\ - Szeretn egy ilyen frisstst most?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" "Nem tudom belltani a 'path_prefix'-et a configure parancsfjlban!" -LangString CreateCmdFilesFailed "${LYX_LANG}" "Nem tudom letrehozni a lyx.bat fjlt." -LangString RunConfigureFailed "${LYX_LANG}" "Nem tudom vgrehajtani a configure parancsfjlt!" -LangString NotAdmin "${LYX_LANG}" "A(z) LyX teleptshez rendszergazdai jogok szksgesek!" -LangString InstallRunning "${LYX_LANG}" "A telept mr fut!" -LangString StillInstalled "${LYX_LANG}" "A LyX mr teleptve van! Elszr tvoltsa el a teleptettet." - -LangString FinishPageMessage "${LYX_LANG}" "Gratullok! Sikeresen teleptette a LyX-et.\r\n\ - \r\n\ - (Az program els indtsa egy kis idt vesz ignybe...)" -LangString FinishPageRun "${LYX_LANG}" "LyX indtsa" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "Nem tallom a LyX-et a regisztriben.$\r$\n\ - Az asztalon s a Start Menben tallhat parancsikonok nem lesznek eltvoltva!." -LangString UnInstallRunning "${LYX_LANG}" "Elszr be kell zrnia a LyX-et!" -LangString UnNotAdminLabel "${LYX_LANG}" "A(z) LyX eltvoltshoz rendszergazdai jogokkal kell rendelkeznie!" -LangString UnReallyRemoveLabel "${LYX_LANG}" "Biztosan abban, hogy el akarja tvoltani a LyX-t, minden tartozkval egytt?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyX felhasznli belltsok' -LangString UnGSview "${LYX_LANG}" 'Krem nyomja meg az "Eltvolts" gombot, a PostScript s a\r$\n\ - PDF megjelent "GSview" eltvoltshoz a kvetkez ablakban.' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX eltvoltsa a szmtgprl zkkenmentesen befejezdtt." - -LangString SecUnAspellDescription "${LYX_LANG}" "Az Aspell s minden sztrnak eltvoltsa." -LangString SecUnMiKTeXDescription "${LYX_LANG}" "A MikTeX LaTeX-disztibci eltvoltsa." -LangString SecUnJabRefDescription "${LYX_LANG}" "A JabRef irodalomjegyzk kezel eltvoltsa." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'A LyX belltsok mappa trlse$\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\ - minden felhasznlnl.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "A LyX s minden komponensnek eltvoltsa." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_HUNGARIAN_NSH_ diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/italian.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/italian.nsh deleted file mode 100644 index 4d0ff9084c..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/italian.nsh +++ /dev/null @@ -1,148 +0,0 @@ -!ifndef _LYX_LANGUAGES_ITALIAN_NSH_ -!define _LYX_LANGUAGES_ITALIAN_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_ITALIAN} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "Questo programma installer LyX nel vostro computer.\r\n\ - \r\n\ - Per installare LyX sono necessari i privilegi di amministratore.\r\n\ - \r\n\ - Si raccomanda di chiudere tutte le altre applicazioni prima di iniziare l'installazione. Questo permetter al programma di installazione di aggiornare i file di sistema senza dover riavviare il computer.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "LyX-Document" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Installare per tutti gli utenti?" -LangString SecFileAssocTitle "${LYX_LANG}" "Associazioni dei file" -LangString SecDesktopTitle "${LYX_LANG}" "Icona sul Desktop" - -LangString SecCoreDescription "${LYX_LANG}" "I file di LyX." -LangString SecInstGSviewDescription "${LYX_LANG}" "Programma per visualizzare documenti in formato Postscript e PDF." -LangString SecInstJabRefDescription "${LYX_LANG}" "Bibliography reference manager and editor for BibTeX files." -LangString SecAllUsersDescription "${LYX_LANG}" "Installazione LyX per tutti gli utenti o solo per l'utente attuale." -LangString SecFileAssocDescription "${LYX_LANG}" "Associa i files con estensione .lyx al programma LyX." -LangString SecDesktopDescription "${LYX_LANG}" "Icona LyX sul desktop." - -LangString LangSelectHeader "${LYX_LANG}" "Scelta della lingua del menu di LyX" -LangString AvailableLang "${LYX_LANG}" " Lingue disponibili " - -LangString MissProgHeader "${LYX_LANG}" "Controllo dei programmi da installare" -LangString MissProgCap "${LYX_LANG}" "I seguenti programmi aggiuntivi sono necessari e verranno installati" -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, una distribuzione di LaTeX" -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, un interprete per documenti PostScript PDF" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, un convertitore di immagini" -LangString MissProgAspell "${LYX_LANG}" "Aspell, un correttore ortografico" -LangString MissProgMessage "${LYX_LANG}" 'Nessun programma aggiuntivo deve essere installato.' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'Distribuzione di LaTeX' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Scegliere la distribuzione di LaTeX che LyX dovr usare.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'Puoi impostare qui il percorso del file "latex.exe" e impostare di conseguenza \ - la distribuzione di LaTeX che LyX dovr usare.\r\n\ - Senza LaTeX, LyX non pu generare documenti!\r\n\ - \r\n\ - Il programma di installazione ha rilevato la distribuzione di LaTeX \ - "$LaTeXName" sul tuo sistema. Il suo percorso riportato sotto.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Imposta qui sotto il percorso del file "latex.exe". Con questo imposti quale \ - distribuzione di LaTeX dovr essere usata da LyX.\r\n\ - Senza LaTeX, LyX non pu generare documenti!\r\n\ - \r\n\ - Il programma di installazione non ha trovato una distribuzione di LaTeX sul tuo sistema.' -LangString PathName "${LYX_LANG}" 'Percorso del file "latex.exe"' -LangString DontUseLaTeX "${LYX_LANG}" "Non usare LaTeX" -LangString InvalidLaTeXFolder "${LYX_LANG}" 'Il file "latex.exe" non nel percorso indicato.' - -LangString LatexInfo "${LYX_LANG}" 'Verr adesso lanciato il programma di installazione della distribuzione di LateX "MiKTeX".$\r$\n\ - Per installare il programma premere "Next" nelle finestre di installazione fino all$\'avvio dell$\'installazione.$\r$\n\ - $\r$\n\ - !!! Lasciare le impostazioni di default suggerite dal programma di installazione di "MiKTeX" !!!' -LangString LatexError1 "${LYX_LANG}" 'Il programma non ha rilevato la presenza di alcuna distribuzione valida di LaTeX!$\r$\n\ - LyX non pu funzionare senza una distribuzione LaTeX (ad es. "MiKTeX")!$\r$\n\ - Il processo di installazione verr quindi terminato.' - -LangString GSviewInfo "${LYX_LANG}" 'Verr adesso lanciato il programma di installazione di "GSview".$\r$\n\ - Per proseguire premere il pulsante "Setup" che appare nella prima finestra di installazione,$\r$\n\ - scegliere la lingua e premere il pulsante "Next" nella finestra di installazione successiva.$\r$\n\ - Per comodit si consiglia di accettare le impostazioni di default suggerite dal programma di installazione di GSview.' -LangString GSviewError "${LYX_LANG}" 'Il programma "GSview" non stato installato correttamente!$\r$\n\ - L$\'installazione pu comunque proseguire.$\r$\n\ - Si consiglia di tentare nuovamente l$\'installazione di GSView al termine.' - -LangString JabRefInfo "${LYX_LANG}" 'Now the installer of the program "JabRef" will be launched.$\r$\n\ - You can use all default options of the JabRef-installer.' -LangString JabRefError "${LYX_LANG}" 'The program "JabRef" could not successfully be installed!$\r$\n\ - The installer will continue anyway.$\r$\n\ - Try to install JabRef again later.' - -LangString LatexConfigInfo "${LYX_LANG}" "La seguente configurazione di LyX richieder un po' di tempo." - -LangString AspellInfo "${LYX_LANG}" 'Adesso verranno scaricati ed installati i dizionari per il correttore ortografico "Aspell".$\r$\n\ - Ogni dizionario ha la propria licenza che verr mostrata prima dell$\'installazione.' -LangString AspellDownloadFailed "${LYX_LANG}" "Impossibile scaricare i dizionari di Aspell!" -LangString AspellInstallFailed "${LYX_LANG}" "Impossibile installare i dizionari di Aspell!" -LangString AspellPartAnd "${LYX_LANG}" " e " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'Un dizionario gi installato per la lingua' -LangString AspellNone "${LYX_LANG}" 'Nessun dizionario per il correttore ortografico "Aspell" stato installato.$\r$\n\ - I dizionari possono essere installati da$\r$\n\ - ${AspellLocation}$\r$\n\ - Vuoi scaricare i dizionari ora?' -LangString AspellPartStart "${LYX_LANG}" " stato installato con successo " -LangString AspellPart1 "${LYX_LANG}" "un dizionario inglese" -LangString AspellPart2 "${LYX_LANG}" "un dizionario per la lingua $LangName" -LangString AspellPart3 "${LYX_LANG}" "un$\r$\n\ - dizionario per la lingua $LangNameSys" -LangString AspellPart4 "${LYX_LANG}" ' per il correttore ortografico "Aspell".$\r$\n\ - Ulteriori dizionari possono essere installati da$\r$\n\ - ${AspellLocation}$\r$\n\ - Vuoi scaricare altri dizionari ora?' - -LangString MiKTeXPathInfo "${LYX_LANG}" "Per permettere a tutti gli utenti di personalizzare successivamente MiKTeX in base alle loro esigenze$\r$\n\ - necessario impostare i permessi di scrittura per tutti gli utenti alla cartella di installazione di MiKTeX$\r$\n\ - $MiKTeXPath $\r$\n\ - e alle sue sottocartelle." -LangString MiKTeXInfo "${LYX_LANG}" 'La distribuzione di LaTeX "MiKTeX" verr usata insieme a LyX.$\r$\n\ - Si raccomanda di installare gli aggiornamenti disponibili per MiKTeX utilizzando il programma "MiKTeX Update Wizard"$\r$\n\ - prima di usare LyX per la prima volta.$\r$\n\ - Vuoi controllare ora la presenza di aggiornamenti per MiKTeX?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" "Fallito tentativo di aggiornare 'path_prefix' nello script di configurazione" -LangString CreateCmdFilesFailed "${LYX_LANG}" "Non possibile creare lyx.bat" -LangString RunConfigureFailed "${LYX_LANG}" "Fallito tentativo di eseguire lo script di configurazione" -LangString NotAdmin "${LYX_LANG}" "Occorrono i privilegi da amministratore per installare LyX!" -LangString InstallRunning "${LYX_LANG}" "Il programma di installazione gi in esecuzione!" -LangString StillInstalled "${LYX_LANG}" "LyX gi installato! Occorre rimuoverlo per poter procedere." - -LangString FinishPageMessage "${LYX_LANG}" "Congratulazioni! LyX stato installato con successo.\r\n\ - \r\n\ - (Il primo avvio di LyX potrebbe richiedere qualche secondo in pi.)" -LangString FinishPageRun "${LYX_LANG}" "Lancia LyX" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "Non riesco a trovare LyX nel registro.$\r$\n\ - I collegamenti sul desktop e nel menu Start non saranno rimossi." -LangString UnInstallRunning "${LYX_LANG}" " necessario chiudere LyX!" -LangString UnNotAdminLabel "${LYX_LANG}" "Occorrono i privilegi da amministratore per rimuovere LyX!" -LangString UnReallyRemoveLabel "${LYX_LANG}" "Siete sicuri di voler rimuovere completamente LyX e tutti i suoi componenti?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'Impostazioni personali di LyX' -LangString UnGSview "${LYX_LANG}" 'Per rimuovere "GSview" (un visualizzatore di file Postscript e PDF) $\r$\n\ - necessario premere il pulsante "Uninstall" che apparir nella finestra successiva.' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX stato rimosso dal sistema con successo." - -LangString SecUnAspellDescription "${LYX_LANG}" 'Rimuove il correttore ortografico "Aspell" e tutti i suoi dizionari.' -LangString SecUnMiKTeXDescription "${LYX_LANG}" 'Rimuove la distribuzione di LaTeX "MiKTeX".' -LangString SecUnJabRefDescription "${LYX_LANG}" "Uninstalls the bibliography manager JabRef." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'Elimina la cartella con la configurazione di LyX$\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\ - per tutti gli utenti.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "Rimuove LyX e tutti i suoi componenti." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_ITALIAN_NSH_ diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/norwegian.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/norwegian.nsh deleted file mode 100644 index f33a7aa7e6..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/norwegian.nsh +++ /dev/null @@ -1,148 +0,0 @@ -!ifndef _LYX_LANGUAGES_NORWEGIAN_NSH_ -!define _LYX_LANGUAGES_NORWEGIAN_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_NORWEGIAN} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "Denne veiviseren installerer LyX p datamaskinen din.\r\n\ - \r\n\ - Du trenger administratorprivilegier for installere LyX.\r\n\ - \r\n\ - Du br lukke alle andre programmer frst, dermed kan installasjonsprogrammet oppdatere relevante systemfiler uten mtte restarte maskinen.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "LyX-Document" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Installere for alle brukere?" -LangString SecFileAssocTitle "${LYX_LANG}" "Fil-assosiasjoner" -LangString SecDesktopTitle "${LYX_LANG}" "Skrivebordsikon" - -LangString SecCoreDescription "${LYX_LANG}" "LyX-filene." -LangString SecInstGSviewDescription "${LYX_LANG}" "Program for vise Postscript- og PDF-dokumenter." -LangString SecInstJabRefDescription "${LYX_LANG}" "Bibliography reference manager and editor for BibTeX files." -LangString SecAllUsersDescription "${LYX_LANG}" "Installere LyX for alle brukere, eller kun den aktuelle brukeren." -LangString SecFileAssocDescription "${LYX_LANG}" "Files med endelsen .lyx pnes automatisk i LyX." -LangString SecDesktopDescription "${LYX_LANG}" "Et LyX-ikon p skrivebordet." - -LangString LangSelectHeader "${LYX_LANG}" "Utvalg av LyX's menysprk" -LangString AvailableLang "${LYX_LANG}" " Tilgjengelige Sprk " - -LangString MissProgHeader "${LYX_LANG}" "Kryss av for ndvendige programmer" -LangString MissProgCap "${LYX_LANG}" "Flgende programmer installeres i tillegg" -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, en LaTeX-distribusjon" -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, en interpreter for PostScript og PDF" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, konverterer bilder" -LangString MissProgAspell "${LYX_LANG}" "Aspell, stavesjekking" -LangString MissProgMessage "${LYX_LANG}" 'Ingen ekstra programmer trenger installeres' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'LaTeX-distribusjon' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Velg LaTeX-distribusjonen LyX skal bruke.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'You can optionally set here the path to the file "latex.exe" and therewith set the \ - LaTeX-distribution that should be used by LyX.\r\n\ - If you don$\'t use LaTeX, LyX cannot output documents!\r\n\ - \r\n\ - The installer has detected the LaTeX-distribution \ - "$LaTeXName" on your system. Displayed below is its path.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Set below the path to the file "latex.exe". Therewith you set which \ - LaTeX-distribution should be used by LyX.\r\n\ - If you don$\'t use LaTeX, LyX cannot output documents!\r\n\ - \r\n\ - The installer couldn$\'t find a LaTeX-distribution on your system.' -LangString PathName "${LYX_LANG}" 'Path to the file "latex.exe"' -LangString DontUseLaTeX "${LYX_LANG}" "Ikke bruk LaTeX" -LangString InvalidLaTeXFolder "${LYX_LANG}" 'Filen "latex.exe" fins ikke i den oppgitte mappa.' - -LangString LatexInfo "${LYX_LANG}" 'N starter installasjon av LaTeX-distribusjonen "MiKTeX"$\r$\n\ - For installere programmet, klikk "Neste"-knappen i installasjonsveiviseren til installasjonen begynner.$\r$\n\ - $\r$\n\ - !!! Vennligst bruk standardopsjonene for MiKTeX-instasjonen !!!' -LangString LatexError1 "${LYX_LANG}" 'Fant ikke noen LaTeX-distribusjon!$\r$\n\ - LyX kan ikke brukes uten en LaTeX-distribusjion som "MiKTeX"!$\r$\n\ - Derfor avbrytes installasjonen.' - -LangString GSviewInfo "${LYX_LANG}" 'Installasjonsveiviser for programmet "GSview" kjres i gang.$\r$\n\ - For installere programmet, klikk "Setup"-knappen i det frste installasjonsvinduet$\r$\n\ - velg et sprk, og klikk deretter "Neste"-knappen i det flgende installasjonsvinduet.$\r$\n\ - Du kan bruke alle standardvalg for GSview-veiviseren.' -LangString GSviewError "${LYX_LANG}" 'Programmet "GSview" kunne ikke installeres!$\r$\n\ - Installasjonen fortsetter likevel.$\r$\n\ - Prv installere GSview omigjen senere.' - -LangString JabRefInfo "${LYX_LANG}" 'Now the installer of the program "JabRef" will be launched.$\r$\n\ - You can use all default options of the JabRef-installer.' -LangString JabRefError "${LYX_LANG}" 'The program "JabRef" could not successfully be installed!$\r$\n\ - The installer will continue anyway.$\r$\n\ - Try to install JabRef again later.' - -LangString LatexConfigInfo "${LYX_LANG}" "Konfigurasjon av LyX vil ta en stund." - -LangString AspellInfo "${LYX_LANG}" 'Now dictionaries for the spellchecker "Aspell" will be downloaded and installed.$\r$\n\ - Every dictionary has a different license that will be displayed before the installation.' -LangString AspellDownloadFailed "${LYX_LANG}" "No Aspell spellchecker dictionary could be downloaded!" -LangString AspellInstallFailed "${LYX_LANG}" "No Aspell spellchecker dictionary could be installed!" -LangString AspellPartAnd "${LYX_LANG}" " and " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'There is already installed a dictionary of the language' -LangString AspellNone "${LYX_LANG}" 'No dictionary for the spellchecker "Aspell" has been installed.$\r$\n\ - Dictionaries can be downloaded from$\r$\n\ - ${AspellLocation}$\r$\n\ - Do you want to download dictionaries now?' -LangString AspellPartStart "${LYX_LANG}" "There was successfully installed " -LangString AspellPart1 "${LYX_LANG}" "an english dictionary" -LangString AspellPart2 "${LYX_LANG}" "a dictionary of the language $LangName" -LangString AspellPart3 "${LYX_LANG}" "a$\r$\n\ - dictionary of the language $LangNameSys" -LangString AspellPart4 "${LYX_LANG}" ' for the spellchecker "Aspell".$\r$\n\ - More dictionaries can be downloaded from$\r$\n\ - ${AspellLocation}$\r$\n\ - Do you want to download other dictionaries now?' - -LangString MiKTeXPathInfo "${LYX_LANG}" "In order that every user is later able to customize MiKTeX for his needs$\r$\n\ - it is necessary to set write permissions for all users to MiKTeX's installation folder$\r$\n\ - $MiKTeXPath $\r$\n\ - and its subfolders." -LangString MiKTeXInfo "${LYX_LANG}" 'The LaTeX-distribution "MiKTeX" will be used together with LyX.$\r$\n\ - It is recommended to install available MiKTeX-updates using the program "MiKTeX Update Wizard"$\r$\n\ - before you use LyX for the first time.$\r$\n\ - Would you now check for MiKTeX updates?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" "Forsket p stille inn 'path_prefix' i konfigurasjonsscriptet mislyktes" -LangString CreateCmdFilesFailed "${LYX_LANG}" "Fikk ikke opprettet lyx.bat" -LangString RunConfigureFailed "${LYX_LANG}" "Fikk ikke kjrt konfigurasjonsscriptet" -LangString NotAdmin "${LYX_LANG}" "Du trenger administratorrettigheter for installere LyX!" -LangString InstallRunning "${LYX_LANG}" "Installasjonsprogrammet er allerede i gang!" -LangString StillInstalled "${LYX_LANG}" "LyX er allerede installert! Fjern LyX frst." - -LangString FinishPageMessage "${LYX_LANG}" "Gratulerer!! LyX er installert.\r\n\ - \r\n\ - (Frste gangs oppstart av LyX kan ta noen sekunder.)" -LangString FinishPageRun "${LYX_LANG}" "Start LyX" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "Fant ikke LyX i registeret.$\r$\n\ - Snarveier p skrivebordet og i startmenyen fjernes ikke." -LangString UnInstallRunning "${LYX_LANG}" "Du m avslutte LyX frst!" -LangString UnNotAdminLabel "${LYX_LANG}" "Du m ha administratorrettigheter for fjerne LyX!" -LangString UnReallyRemoveLabel "${LYX_LANG}" "Er du sikker p at du vil fjerne LyX og alle tilhrende komponenter?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyX$\'s user preferences' -LangString UnGSview "${LYX_LANG}" 'Vennligst klikk "Uninstall"-knappen i neste vindu for fjerne$\r$\n\ - Postscript and PDF-leseren "GSview".' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX ble fjernet fra din datamaskin." - -LangString SecUnAspellDescription "${LYX_LANG}" "Uninstalls the spellchecker Aspell and all of its dictionaries." -LangString SecUnMiKTeXDescription "${LYX_LANG}" "Uninstalls the LaTeX-distribution MiKTeX." -LangString SecUnJabRefDescription "${LYX_LANG}" "Uninstalls the bibliography manager JabRef." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'Deletes LyX$\'s configuration folder$\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\ - for all users.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "Uninstall LyX and all of its components." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_NORWEGIAN_NSH_ diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/polish.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/polish.nsh deleted file mode 100644 index 229ba8244c..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/polish.nsh +++ /dev/null @@ -1,163 +0,0 @@ -!ifndef _LYX_LANGUAGES_POLISH_NSH_ -!define _LYX_LANGUAGES_POLISH_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_POLISH} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "Kreator przeprowadzi Ciebie przez proces instalacji LyX-a.\r\n\ - \r\n\ - Wymagane s prawa administratora aby zainstalowa LyX-a.\r\n\ - \r\n\ - Zalecane jest pozamykanie wszystkich innych aplikacji przed uruchomieniem programu instalacyjnego. Pozwoli to zaktualizowa pliki systemowe bez wymagania restartu komputera.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "LyX-Document" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Instalacja dla wszystkich uytkownikw?" -LangString SecFileAssocTitle "${LYX_LANG}" "Skojarzenie plikw .lyx" -LangString SecDesktopTitle "${LYX_LANG}" "Ikona na pulpicie" - -LangString SecCoreDescription "${LYX_LANG}" "Pliki LyX-a." -LangString SecInstGSviewDescription "${LYX_LANG}" "Program do podgldu dokumentw Postscript i PDF." -LangString SecInstJabRefDescription "${LYX_LANG}" "Bibliography reference manager and editor for BibTeX files." -LangString SecAllUsersDescription "${LYX_LANG}" "Instalacja dla wszystkich uytkownikw lub tylko dla biecego uytkownika." -LangString SecFileAssocDescription "${LYX_LANG}" "Skojarzenie LyX-a z plikami o rozszerzeniu .lyx." -LangString SecDesktopDescription "${LYX_LANG}" "Ikona LyX-a na pulpicie." - -LangString LangSelectHeader "${LYX_LANG}" "Wybr jzyka menu LyX-a" -LangString AvailableLang "${LYX_LANG}" " Dostpne jzyki " - -LangString MissProgHeader "${LYX_LANG}" "Sprawdzenie zainstalowania wymaganych programw" -LangString MissProgCap "${LYX_LANG}" "Zostan dodatkowo zainstalowane nastpujce wymagane programy" -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, dystrybucja LaTeX-a" -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, interpreter PostScript i PDF" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, konwerter rysunkw" -LangString MissProgAspell "${LYX_LANG}" "Aspell, kontrola pisowni" -LangString MissProgMessage "${LYX_LANG}" 'Brak dodatkowych programw do instalacji.' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'Dystrybucja LaTeX-a' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Wybierz dystrybucj LaTeX-a, ktr chcesz uywa z LyX-em.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'You can optionally set here the path to the file "latex.exe" and therewith set the \ - LaTeX-distribution that should be used by LyX.\r\n\ - If you don$\'t use LaTeX, LyX cannot output documents!\r\n\ - \r\n\ - The installer has detected the LaTeX-distribution \ - "$LaTeXName" on your system. Displayed below is its path.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Set below the path to the file "latex.exe". Therewith you set which \ - LaTeX-distribution should be used by LyX.\r\n\ - If you don$\'t use LaTeX, LyX cannot output documents!\r\n\ - \r\n\ - The installer couldn$\'t find a LaTeX-distribution on your system.' -LangString PathName "${LYX_LANG}" 'Path to the file "latex.exe"' -LangString DontUseLaTeX "${LYX_LANG}" "Nie uywaj LaTeX-a" -LangString InvalidLaTeXFolder "${LYX_LANG}" 'Plik "latex.exe" nie znajduje si w podanej ciece.' - -LangString LatexInfo "${LYX_LANG}" 'Teraz zostanie uruchomiony instalator dystrybucji LaTeX-a "MiKTeX".$\r$\n\ - Aby zainstalowa ten program nacinij przycisk "Dalej" w oknie instalatora.$\r$\n\ - $\r$\n\ - !!! Prosz uy wszystkich domylnych opcji instalatora MiKTeX-a !!!' -LangString LatexError1 "${LYX_LANG}" 'Nie znaleziono dystrybucji LaTeX-a!$\r$\n\ - LyX nie moe by uyty bez dystrybucji LaTeX-a takiej jak "MiKTeX"!$\r$\n\ - Z tego powodu instalacja zostanie przerwana.' - -LangString GSviewInfo "${LYX_LANG}" 'Teraz zostanie uruchomiony program instalacyjny "GSview".$\r$\n\ - Aby go zainstalowa nacinij przycisk "Setup" w pierwszym oknie instalatora,$\r$\n\ - w kolejnym oknie wybierz jzyk i przycinij przycisk "Next".$\r$\n\ - Moesz uy wszystkich domylnych opcji instalacji.' -LangString GSviewError "${LYX_LANG}" 'Program "GSview" nie zosta pomylnie zainstalowany!$\r$\n\ - Mimo to instalacja bdzie kontynuowana.$\r$\n\ - Sprbuj pniej zainstalowa program GSview.' - -LangString JabRefInfo "${LYX_LANG}" 'Now the installer of the program "JabRef" will be launched.$\r$\n\ - You can use all default options of the JabRef-installer.' -LangString JabRefError "${LYX_LANG}" 'The program "JabRef" could not successfully be installed!$\r$\n\ - The installer will continue anyway.$\r$\n\ - Try to install JabRef again later.' - -LangString LatexConfigInfo "${LYX_LANG}" "Dalsza konfiguracja LyX-a chwil potrwa." - -LangString AspellInfo "${LYX_LANG}" 'Now dictionaries for the spellchecker "Aspell" will be downloaded and installed.$\r$\n\ - Every dictionary has a different license that will be displayed before the installation.' -LangString AspellDownloadFailed "${LYX_LANG}" "No Aspell spellchecker dictionary could be downloaded!" -LangString AspellInstallFailed "${LYX_LANG}" "No Aspell spellchecker dictionary could be installed!" -LangString AspellPartAnd "${LYX_LANG}" " and " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'There is already installed a dictionary of the language' -LangString AspellNone "${LYX_LANG}" 'No dictionary for the spellchecker "Aspell" has been installed.$\r$\n\ - Dictionaries can be downloaded from$\r$\n\ - ${AspellLocation}$\r$\n\ - Do you want to download dictionaries now?' -LangString AspellPartStart "${LYX_LANG}" "There was successfully installed " -LangString AspellPart1 "${LYX_LANG}" "an english dictionary" -LangString AspellPart2 "${LYX_LANG}" "a dictionary of the language $LangName" -LangString AspellPart3 "${LYX_LANG}" "a$\r$\n\ - dictionary of the language $LangNameSys" -LangString AspellPart4 "${LYX_LANG}" ' for the spellchecker "Aspell".$\r$\n\ - More dictionaries can be downloaded from$\r$\n\ - ${AspellLocation}$\r$\n\ - Do you want to download other dictionaries now?' - -LangString MiKTeXPathInfo "${LYX_LANG}" "In order that every user is later able to customize MiKTeX for his needs$\r$\n\ - it is necessary to set write permissions for all users to MiKTeX's installation folder$\r$\n\ - $MiKTeXPath $\r$\n\ - and its subfolders." -LangString MiKTeXInfo "${LYX_LANG}" 'The LaTeX-distribution "MiKTeX" will be used together with LyX.$\r$\n\ - It is recommended to install available MiKTeX-updates using the program "MiKTeX Update Wizard"$\r$\n\ - before you use LyX for the first time.$\r$\n\ - Would you now check for MiKTeX updates?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" "Nieudana prba ustawienia zmiennej 'path_prefix' w pliku skryptu konfigracyjnego" -LangString CreateCmdFilesFailed "${LYX_LANG}" "Niedana prba utworzenia plikw lyx.bat" -LangString RunConfigureFailed "${LYX_LANG}" "Niedana prba wykonania skryptu konfiguracyjnego" -LangString NotAdmin "${LYX_LANG}" "Musisz mie prawa administratora aby zainstalowa LyX-a!" -LangString InstallRunning "${LYX_LANG}" "Instalator jest ju uruchomiony!" -LangString StillInstalled "${LYX_LANG}" "LyX jest ju zainstalowany! Aby kontynowa musisz go najpierw usun." - -LangString FinishPageMessage "${LYX_LANG}" "Gratulacje! LyX zosta pomylnie zainstalowany.\r\n\ - \r\n\ - (Pierwsze uruchomienie moe potrwa kilka sekund.)" -LangString FinishPageRun "${LYX_LANG}" "Uruchom LyX-a" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "Nie mona znale LyX-a w rejestrze.$\r$\n\ - Skrty na pulpicie i w menu Start nie zostan usunite." -LangString UnInstallRunning "${LYX_LANG}" "Musisz najpierw zamkn LyX-a!" -LangString UnNotAdminLabel "${LYX_LANG}" "Musisz posiada prawa administratora do deinstalacji programu LyX." -LangString UnReallyRemoveLabel "${LYX_LANG}" "Czy na pewno chcesz usun LyX-a i wszystkie jego komponenty?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyX$\'s user preferences' -LangString UnGSview "${LYX_LANG}" 'Nacinij przycisk "Odinstaluj" w nastpnym oknie aby odinstalowa$\r$\n\ - przegldark Postscript i PDF "GSview".' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX zosta pomylnie usunity z Twojego komputera." - -LangString SecUnAspellDescription "${LYX_LANG}" "Uninstalls the spellchecker Aspell and all of its dictionaries." -LangString SecUnMiKTeXDescription "${LYX_LANG}" "Uninstalls the LaTeX-distribution MiKTeX." -LangString SecUnJabRefDescription "${LYX_LANG}" "Uninstalls the bibliography manager JabRef." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'Deletes LyX$\'s configuration folder$\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\ - for all users.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "Uninstall LyX and all of its components." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_POLISH_NSH_ - - - - - - - - - - - - - - - diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/portuguese.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/portuguese.nsh deleted file mode 100644 index 1c0aa66c3f..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/portuguese.nsh +++ /dev/null @@ -1,148 +0,0 @@ -!ifndef _LYX_LANGUAGES_PORTUGUESE_NSH_ -!define _LYX_LANGUAGES_PORTUGUESE_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_PORTUGUESE} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "Este assistente de instalao ir gui-lo atravs da instalao do LyX.\r\n\ - \r\n\ - Precisa de privilgios de administrador para instalar o LyX.\r\n\ - \r\n\ - Recomenda-se fechar todas as outras aplicaes antes de iniciar o programa de configurao. Isto torna possivel actualizar os ficheiros de sistema relevantes sem ter que reiniciar o computador.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "Documento LyX" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Instalar para todos os utilizadores?" -LangString SecFileAssocTitle "${LYX_LANG}" "Associao dos ficheiros" -LangString SecDesktopTitle "${LYX_LANG}" "Icone do ambiente de trabalho" - -LangString SecCoreDescription "${LYX_LANG}" "Os ficheiros LyX." -LangString SecInstGSviewDescription "${LYX_LANG}" "Programa para ver documentos em Postscript e PDF." -LangString SecInstJabRefDescription "${LYX_LANG}" "Gestor de referncias bibliogrficas e editor de ficheiros BibTeX." -LangString SecAllUsersDescription "${LYX_LANG}" "Instalar o LyX para todos os utilizadores ou apenas para o presente utilizador." -LangString SecFileAssocDescription "${LYX_LANG}" "Os ficheiros com a extenso .lyx iro abrir automaticamente no LyX." -LangString SecDesktopDescription "${LYX_LANG}" "Um icone do LyX no ambiente de trabalho." - -LangString LangSelectHeader "${LYX_LANG}" "Seleco da linguagem dos menus no LyX" -LangString AvailableLang "${LYX_LANG}" " Lnguas disponveis " - -LangString MissProgHeader "${LYX_LANG}" "Verificao para os programas exigidos" -LangString MissProgCap "${LYX_LANG}" "O(s) seguinte(s) programa(s) exigidos sero instalados adicionalmente" -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, uma distribuio de LaTeX" -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, um interpretador para PostScript e PDF" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, um conversor de imagens" -LangString MissProgAspell "${LYX_LANG}" "Aspell, um corrector ortogrfico" -LangString MissProgMessage "${LYX_LANG}" 'No ser instalado nenhum programa adicional.' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'Distribuio de LaTeX' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Escolher a distribuio de LaTeX que o LyX dever usar.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'Opcionalmente pode especificar o caminho do ficheiro "latex.exe" e posteriormente \ - escolher a distribuio de LaTeX que vai usar o LyX.\r\n\ - Sem LaTeX o LyX no pode (pr-)imprimir os documentos!\r\n\ - \r\n\ - O instalador detectou a distribuio de LaTeX "$LaTeXName"\ - no seu sistema, no caminho que se mostra abaixo.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Especifique abaixo o caminho ao ficheiro "latex.exe". Posteriormente escolha \ - a distribuio de LaTeX que deve usar o LyX.\r\n\ - Sem LaTeX o LyX no pode (pr-)imprimir os documentos!\r\n\ - \r\n\ - O instalador no pudo achar nenhuma distribuio de LaTeX no seu sistema.' -LangString PathName "${LYX_LANG}" 'Caminho ao ficheiro "latex.exe"' -LangString DontUseLaTeX "${LYX_LANG}" "No usar LaTeX" -LangString InvalidLaTeXFolder "${LYX_LANG}" 'O ficheiro "latex.exe" no est no caminho especificado.' - -LangString LatexInfo "${LYX_LANG}" 'Agora lanar-se- o instalador da distribuio de LaTeX "MiKTeX".$\r$\n\ - Para instalar o programa carregue no boto "Prximo" na janela de instalao at a instalao comear.$\r$\n\ - $\r$\n\ - !!! Por favor use todas as opes por defeito do instalador do MiKTeX !!!' -LangString LatexError1 "${LYX_LANG}" 'No foi encontrada nenhuma distribuio de LaTeX!$\r$\n\ - O LyX no pode ser usado sem uma distribuio de LaTeX como o "MiKTeX"!$\r$\n\ - A instalao ser por isso abortada.' - -LangString GSviewInfo "${LYX_LANG}" 'Agora lanar-se- o instalador do programa "GSview".$\r$\n\ - Para instalar carregue no boto "Setup" na primeira janela de instalao$\r$\n\ - escolha a lngua e depois carregue no boto "Prximo" na janela seguinte do instalador.$\r$\n\ - Pode usar todas as opes por defeito no instalador do GSview.' -LangString GSviewError "${LYX_LANG}" 'No se conseguiu instalar o programa "GSview"!$\r$\n\ - A instalao ir continuar na mesma.$\r$\n\ - Tente instalar o GSview outra vez mais tarde.' - -LangString JabRefInfo "${LYX_LANG}" 'Agora lanar-se- o instalador do programa "JabRef".$\r$\n\ - Pode usar todas as opes por defeito no instalador do JabRef.' -LangString JabRefError "${LYX_LANG}" 'No se conseguiu instalar o programa "JabRef"!$\r$\n\ - A instalao ir continuar na mesma.$\r$\n\ - Tente instalar o JabRef outra vez mais tarde.' - -LangString LatexConfigInfo "${LYX_LANG}" "A configurao seguinte do LyX ir demorar um bocado." - -LangString AspellInfo "${LYX_LANG}" 'Agora se vo descarregar e instalar dicionrios do corrector ortogrfico "Aspell".$\r$\n\ - Cada dicionrio tem uma licena diferente, que se mostrar antes da instalao.' -LangString AspellDownloadFailed "${LYX_LANG}" "No foi possvel descarregar nenhum dicionrio do Aspell!" -LangString AspellInstallFailed "${LYX_LANG}" "No foi possvel instalar nenhum dicionrio do Aspell!" -LangString AspellPartAnd "${LYX_LANG}" " e " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'J h instalado um dicionrio desta lngua' -LangString AspellNone "${LYX_LANG}" 'No se instalou nenhum dicionrio do "Aspell".$\r$\n\ - Os dicionrios podem descarregar-se de$\r$\n\ - ${AspellLocation}$\r$\n\ - Deseja descarregar dicionrios agora?' -LangString AspellPartStart "${LYX_LANG}" "Instalou-se com sucesso " -LangString AspellPart1 "${LYX_LANG}" "um dicionrio de ingls" -LangString AspellPart2 "${LYX_LANG}" "um dicionrio de $LangName" -LangString AspellPart3 "${LYX_LANG}" "um$\r$\n\ - dicionrio de $LangNameSys" -LangString AspellPart4 "${LYX_LANG}" ' para o corrector ortogrfico "Aspell".$\r$\n\ - posvel descarregar mais dicionrios de$\r$\n\ - ${AspellLocation}$\r$\n\ - Deseja descarregar outros dicionrios agora?' - -LangString MiKTeXPathInfo "${LYX_LANG}" "Para que cada utilizador possa customizar posteriormente o MiKTeX segundo as suas$\r$\n\ - necesidades, preciso a pasta onde foi instalado o MiKTeX$\r$\n\ - $MiKTeXPath $\r$\n\ - e as suas subpastas terem permisso de escritura para todos os utilizadores." -LangString MiKTeXInfo "${LYX_LANG}" 'Junto com o LyX vai-se utilizar a distribuio de LaTeX "MiKTeX".$\r$\n\ - Antes de usar o LyX pela primeira vez, recomenda-se instalar as actualizaes disponveis$\r$\n\ - do MiKTeX com o instalador "MiKTeX Update Wizard"$\r$\n\ - Deseja comprovar agora se h actualizaes do MiKTeX?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" "No conseguimos establecer o 'path_prefix' no script de configurao" -LangString CreateCmdFilesFailed "${LYX_LANG}" "No foi possvel criar o lyx.bat" -LangString RunConfigureFailed "${LYX_LANG}" "No foi possvel executar o script de configurao" -LangString NotAdmin "${LYX_LANG}" "Precisa de privilgios de administrador para instalar o LyX!" -LangString InstallRunning "${LYX_LANG}" "O instalador j est a correr!" -LangString StillInstalled "${LYX_LANG}" "O LyX j est instalado! Desinstale o LyX primeiro." - -LangString FinishPageMessage "${LYX_LANG}" "Parabns! O LyX foi instalado com sucesso.\r\n\ - \r\n\ - (O primeiro incio do LyX pode levar alguns segundos.)" -LangString FinishPageRun "${LYX_LANG}" "Lanar o LyX" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "Incapaz de encontrar o LyX no registry.$\r$\n\ - Os atalhos para o ambiente de trabalho no menu Start no sero removidos." -LangString UnInstallRunning "${LYX_LANG}" "Deve fechar o LyX em primeiro lugar!" -LangString UnNotAdminLabel "${LYX_LANG}" "Precisa de privilgios de administrador para desinstalar o LyX!" -LangString UnReallyRemoveLabel "${LYX_LANG}" "Tem a certeza que quer remover completamente o LyX e todas as suas componentes?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'Preferncias de utilizador do LyX' -LangString UnGSview "${LYX_LANG}" 'Por favor carregue no boto "Desinstalar" na prxima janela para desinstalar$\r$\n\ - o visualisador de Postscript e PDF "GSview".' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX foi removido com sucesso do seu computador." - -LangString SecUnAspellDescription "${LYX_LANG}" "Desinstala o corrector ortogrfico Aspell e todos os seus dicionrios." -LangString SecUnMiKTeXDescription "${LYX_LANG}" "Desinstala a distribuio de LaTeX MiKTeX." -LangString SecUnJabRefDescription "${LYX_LANG}" "Desinstala o gestor de referncias bibliogrficas JabRef." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'Apaga as pastas de configurao do LyX$\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\ - de todos os utilizadores.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "Desinstala LyX e todas as suas componentes." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_PORTUGUESE_NSH_ diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/slovak.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/slovak.nsh deleted file mode 100644 index b5a376525f..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/slovak.nsh +++ /dev/null @@ -1,162 +0,0 @@ -!ifndef _LYX_LANGUAGES_SLOVAK_NSH_ -!define _LYX_LANGUAGES_SLOVAK_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_SLOVAK} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "Tento sprievodca Vm pomha intalova LyX.\r\n\ - \r\n\ - Pre intalciu LyX potrebujete administrtorsk prva.\r\n\ - \r\n\ - Odporuje sa zavrie vetk ostatn aplikcie pred tartom Setup. Tm sa umouje nahradi relevantn dta sstavy bez novho tartu poitae.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "LyX-Document" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Intalova pre vetkch uvateov?" -LangString SecFileAssocTitle "${LYX_LANG}" "Usporiadanie data" -LangString SecDesktopTitle "${LYX_LANG}" "Symbol desktopu" - -LangString SecCoreDescription "${LYX_LANG}" "Program LyX." -LangString SecInstGSviewDescription "${LYX_LANG}" "Program na pozeranie dokumentov Postscript a PDF." -LangString SecInstJabRefDescription "${LYX_LANG}" "Bibliography reference manager and editor for BibTeX files." -LangString SecAllUsersDescription "${LYX_LANG}" "Intalova LyX pre vetkch uvatelov alebo len pre teraj uvate." -LangString SecFileAssocDescription "${LYX_LANG}" "Data s lyx rozrenm sa automaticky otvraj v LyX." -LangString SecDesktopDescription "${LYX_LANG}" "Symbol LyX na desktopu." - -LangString LangSelectHeader "${LYX_LANG}" "Vyber jazyka pre LyX" -LangString AvailableLang "${LYX_LANG}" " Pohotov jazyky " - -LangString MissProgHeader "${LYX_LANG}" "Hladajte vyadovan programy" -LangString MissProgCap "${LYX_LANG}" "Nasledujce vyadovan programy sa intaluj dodatocne" -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, je LaTeX distribcia" -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, je interprettor pre PostScript a PDF" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, konvertuje obrazy" -LangString MissProgAspell "${LYX_LANG}" "Aspell, je overovanie pravopisu" -LangString MissProgMessage "${LYX_LANG}" 'Netreba intalova alie programy.' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'LaTeX distribcia' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Urcujte LaTeX distribciu, ktor m uva LyX.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'Tu mete pouva chod k "latex.exe" a tm pouva chod \ - LaTeX-distribciu, ktor by mohla by pouvan cestou LyXu.\r\n\ - Ak nepouvate LaTeX, LyX neme produkova dokumenty!\r\n\ - \r\n\ - Intalatr detektoval LaTeX-distribciu \ - "$LaTeXName" na vaej sstave. Dolu vidte jeho chod.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Pouvajte dolu chod k "latex.exe". Tm urcujete, ktor \ - LaTeX-distribcia m by pouvan LyXom.\r\n\ - Ak nepouvate LaTeX, LyX neme produkova dokumenty!\r\n\ - \r\n\ - Intalatr nemohol njst LaTeX-distribciu na vaej sstave.' -LangString PathName "${LYX_LANG}" 'Chod k "latex.exe"' -LangString DontUseLaTeX "${LYX_LANG}" "Neuvajte LaTeX" -LangString InvalidLaTeXFolder "${LYX_LANG}" 'Mapa "latex.exe" nie je na pecifikovanej ceste.' - -LangString LatexInfo "${LYX_LANG}" 'Teraz mete tartova LaTeX distribciu "MiKTeX".$\r$\n\ - Na intalovanie programu tlate gombk "Next" v intalovacch oknch a sa zana intalcia.$\r$\n\ - $\r$\n\ - !!! Prosm uvajte vetk obsiahnut nastavenia intalatra MiKTeX !!!' - -LangString LatexError1 "${LYX_LANG}" 'LaTeX distribcia sa nemohla njst!$\r$\n\ - LyX sa neme uva bez LaTeX distribcie ako "MiKTeX"!$\r$\n\ - Preto sa intalcia zastavila.' - -LangString GSviewInfo "${LYX_LANG}" 'Teraz tartuje intalatr programu "GSview" .$\r$\n\ - Na intalciu programu tlate gombk "Setup" v prvom intalanom okne$\r$\n\ - Vyberajte jazyk a tlate gombk "Next" v nasledujcich intalanch oknch.$\r$\n\ - Mete uvat vetk obsiahnut nastavenia intalatra GSview.' -LangString GSviewError "${LYX_LANG}" 'Program "GSview" sa nemohol intalova spene!$\r$\n\ - Predsa intalcia pokrauje.$\r$\n\ - Skste intalova GSview ete raz neskr.' - -LangString JabRefInfo "${LYX_LANG}" 'Now the installer of the program "JabRef" will be launched.$\r$\n\ - You can use all default options of the JabRef-installer.' -LangString JabRefError "${LYX_LANG}" 'The program "JabRef" could not successfully be installed!$\r$\n\ - The installer will continue anyway.$\r$\n\ - Try to install JabRef again later.' - -LangString LatexConfigInfo "${LYX_LANG}" "Na nasledujcu konfigurciu LyXu treba poka chvu." - -LangString AspellInfo "${LYX_LANG}" 'Teraz sa intaluj slovnky pre skobn program "Aspell".$\r$\n\ - Kad slovnk m in licensiu, ktor sa predstavuje pred downloadom a intalciou.' -LangString AspellDownloadFailed "${LYX_LANG}" "Aspell slovnk sa nemohol downloadova!" -LangString AspellInstallFailed "${LYX_LANG}" "Aspell slovnk sa nemohol intalova!" -LangString AspellPartAnd "${LYX_LANG}" " a " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'U je intalovan slovnk jazyku' -LangString AspellNone "${LYX_LANG}" 'Slovnk pre "Aspell" nebol intalovan.$\r$\n\ - Slovnky je mon downloadova od$\r$\n\ - ${AspellLocation}$\r$\n\ - Chcete teraz downloadova slovnky?' -LangString AspellPartStart "${LYX_LANG}" "Teraz je spene intalovan " -LangString AspellPart1 "${LYX_LANG}" "anglick slovnk" -LangString AspellPart2 "${LYX_LANG}" "slovnk jazyku $LangName" -LangString AspellPart3 "${LYX_LANG}" "a$\r$\n\ - slovnk jazyku $LangNameSys" -LangString AspellPart4 "${LYX_LANG}" ' pre "Aspell".$\r$\n\ - Viac slovnkov je mono downloadova od$\r$\n\ - ${AspellLocation}$\r$\n\ - Chcete teraz downloadova in slovnky?' - -LangString MiKTeXPathInfo "${LYX_LANG}" "Aby kad pouvatel bol neskr schopn pouvat MiKTeX pre svoje potreby$\r$\n\ - je treba napsat povolenia pre vetkch pouvatelov do intalacnho papiera MiKTeX $\r$\n\ - $MiKTeXPath $\r$\n\ - aj do podriadench papierov." -LangString MiKTeXInfo "${LYX_LANG}" 'LaTeX distribcia "MiKTeX" sa pouva spolu s LyXom.$\r$\n\ - Doporuuje sa intalovat platn MiKTeX aktualizcie pomocou programu "MiKTeX Update Wizard"$\r$\n\ - pred prvm pouvanm LyXu.$\r$\n\ - Chcete teraz testova MiKTeX aktualizcie?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" "Nemohol uvies v platnost 'path_prefix' (zoznam s cestami programu) v konfiguranom skripte" -LangString CreateCmdFilesFailed "${LYX_LANG}" "Nemohol prpravi lyx.bat" -LangString RunConfigureFailed "${LYX_LANG}" "Nemohol vykona konfiguran skript" -LangString NotAdmin "${LYX_LANG}" "Pre intalciu LyX potrebujete administrtorsk prva!" -LangString InstallRunning "${LYX_LANG}" "Intalatr u beh!" -LangString StillInstalled "${LYX_LANG}" "LyX je u intalovan! Najprv treba odintalova LyX." - -LangString FinishPageMessage "${LYX_LANG}" "Gratulcia! LyX bol spene intalovan.\r\n\ - \r\n\ - (Prv LyX tart me trva niekolko sekund.)" -LangString FinishPageRun "${LYX_LANG}" "tartova LyX" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "Neme njs LyX v registre.$\r$\n\ - Symboly na desktope a v tartovacom Menu sa nedaj odstrani." -LangString UnInstallRunning "${LYX_LANG}" "Najprv zavr LyX!" -LangString UnNotAdminLabel "${LYX_LANG}" "Pre odintalciu LyX potrebujete administrtorsk prva!" -LangString UnReallyRemoveLabel "${LYX_LANG}" "Ste si ist, e chcete kompletne odintalova LyX a vetk jeho suiastky?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyX$\'s user preferences' -LangString UnGSview "${LYX_LANG}" 'Prosm tlate gombk "Uninstall" v nasledujcom okne aby Ste intalovali $\r$\n\ - Postscript a PDF-viewer "GSview".' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX je spene odstrnen od Vho poitaa." - -LangString SecUnAspellDescription "${LYX_LANG}" "Odintaluje Aspell a vetk jeho slovnky." -LangString SecUnMiKTeXDescription "${LYX_LANG}" "Odintaluje LaTeX distribciu MiKTeX." -LangString SecUnJabRefDescription "${LYX_LANG}" "Uninstalls the bibliography manager JabRef." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'Odstrni konfiguracn papiere LyXu $\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\ - pre vetkch uivateov.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "Odintaluj LyX a vetk jeho suiastky." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_SLOVAK_NSH_ - - - - - - - - - - - - - diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/spanish.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/spanish.nsh deleted file mode 100644 index 194a7e463c..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/spanish.nsh +++ /dev/null @@ -1,148 +0,0 @@ -!ifndef _LYX_LANGUAGES_SPANISH_NSH_ -!define _LYX_LANGUAGES_SPANISH_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_SPANISH} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "Este programa instalar LyX en su ordenador.\r\n\ - \r\n\ - Usted necesita privilegios de administrador para instalar LyX.\r\n\ - \r\n\ - Se recomienda que cierre todas las dems aplicaciones antes de iniciar la instalacin. Esto har posible actualizar archivos relacionados con el sistema sin tener que reiniciar su ordenador.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "Documento LyX" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Instalar para todos los usuarios" -LangString SecFileAssocTitle "${LYX_LANG}" "Asociar ficheros" -LangString SecDesktopTitle "${LYX_LANG}" "Icono de escritorio" - -LangString SecCoreDescription "${LYX_LANG}" "Los ficheros de LyX." -LangString SecInstGSviewDescription "${LYX_LANG}" "Programa para ver documentos Postscript y PDF." -LangString SecInstJabRefDescription "${LYX_LANG}" "Administrador de referencias bibliograficas e editor de ficheros BibTeX." -LangString SecAllUsersDescription "${LYX_LANG}" "Instalar LyX para todos los usuarios o slo para el usuario actual." -LangString SecFileAssocDescription "${LYX_LANG}" "Asociar la extensin .lyx con LyX." -LangString SecDesktopDescription "${LYX_LANG}" "Crear un icono de LyX en el escritorio." - -LangString LangSelectHeader "${LYX_LANG}" "Seleccin del idioma del menu de LyX " -LangString AvailableLang "${LYX_LANG}" " Idiomas disponibles " - -LangString MissProgHeader "${LYX_LANG}" "Verificacin de programas necesarios " -LangString MissProgCap "${LYX_LANG}" "Los siguientes programas necesarios sern tambin instalados " -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, una distribucin de LaTeX " -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, un interprete para PostScript y PDF" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, un conversor de imgenes " -LangString MissProgAspell "${LYX_LANG}" "Aspell, un corrector ortogrfico" -LangString MissProgMessage "${LYX_LANG}" 'No es necesario instalar programas adicionales.' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'Distribucin LaTeX' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Elija la distribucin de LaTeX que debera emplear LyX.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'Opcionalmente puede especificar el camino del fichero "latex.exe" y posteriormente \ - elegir la distribucin de LaTeX que va usar LyX.\r\n\ - Sin LaTeX LyX no puede (pre)imprimir documentos!\r\n\ - \r\n\ - El instalador ha detectado la distribucin de LaTeX "$LaTeXName" \ - en su sistema, en el camino que se muestra abajo.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Especifique abajo el camino al fichero "latex.exe". Posteriormente elija \ - la distribucin de LaTeX que debe usar LyX.\r\n\ - Sin LaTeX LyX no puede (pre)imprimir documentos!\r\n\ - \r\n\ - El instalador non pudo encontrar ninguna distribucin LaTeX en su sistema.' -LangString PathName "${LYX_LANG}" 'Camino al fichero "latex.exe"' -LangString DontUseLaTeX "${LYX_LANG}" "No usar LaTeX" -LangString InvalidLaTeXFolder "${LYX_LANG}" 'Imposible encontrar "latex.exe".' - -LangString LatexInfo "${LYX_LANG}" 'Ahora se lanzar el instalador de "MiKTeX", la distribucin de LaTeX.$\r$\n\ - Para instalar el programa presione el botn "Next" en la ventana del instalador hasta que la aplicacin arranque.$\r$\n\ - $\r$\n\ - Por favor use todas las opciones por defecto del instalador de MiKTeX !!!' -LangString LatexError1 "${LYX_LANG}" 'No se ha encontrado ninguna distribucin de LaTeX!$\r$\n\ - LyX no funciona sin una distribucin de LaTeX como "MiKTeX"!$\r$\n\ - Por lo tanto la instalacin se abortar.' - -LangString GSviewInfo "${LYX_LANG}" 'Ahora se lanzar el instalador del programa "GSview".$\r$\n\ - Para instalar el programa presione el botn "Setup" en la primera ventana del instalador$\r$\n\ - elija un idioma y luego presione el botn "Next" en la siguiente ventana del instalador.$\r$\n\ - Puede utilizar todas las opciones por defecto del instalador de GSview.' -LangString GSviewError "${LYX_LANG}" 'El programa "GSview" no pudo instalarse con xito!$\r$\n\ - La instalacin se continuar de toda forma.$\r$\n\ - Intente instalar otra vez GSview ms tarde.' - -LangString JabRefInfo "${LYX_LANG}" 'Ahora se lanzar el instalador del programa "JabRef".$\r$\n\ - Puede utilizar todas las opciones por defecto del instaldor de JabRef.' -LangString JabRefError "${LYX_LANG}" 'El programa "JabRef" no pudo instalarse con xito!$\r$\n\ - La instalacin se continuar de toda forma.$\r$\n\ - Intente instalar otra vez JabRef ms tarde.' - -LangString LatexConfigInfo "${LYX_LANG}" "La siguiente configuracin de LyX va a tardar un poco." - -LangString AspellInfo "${LYX_LANG}" 'Ahora se van a descargar e instalar diccionarios del corrector ortogrfico "Aspell".$\r$\n\ - Cada diccionario tiene una licencia diferente, que se mostrar antes da instalacin.' -LangString AspellDownloadFailed "${LYX_LANG}" "No se pudo descargar ningn diccionario para Aspell!" -LangString AspellInstallFailed "${LYX_LANG}" "No se pudo instalar ningn diccionario para Aspell!" -LangString AspellPartAnd "${LYX_LANG}" " y " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'Ya hay instalado un diccionario de esta lengua' -LangString AspellNone "${LYX_LANG}" 'No se ha instalado ningn diccionario para "Aspell".$\r$\n\ - Los diccionarios puede descargarse de$\r$\n\ - ${AspellLocation}$\r$\n\ - Desea descargar diccionarios ahora?' -LangString AspellPartStart "${LYX_LANG}" "Se ha instalado con xito " -LangString AspellPart1 "${LYX_LANG}" "un diccionario de ingls" -LangString AspellPart2 "${LYX_LANG}" "un diccionario de $LangName" -LangString AspellPart3 "${LYX_LANG}" "un$\r$\n\ - diccionario de $LangNameSys" -LangString AspellPart4 "${LYX_LANG}" ' para el corrector ortogrfico "Aspell".$\r$\n\ - Es posible descargar mas diccionarios de$\r$\n\ - ${AspellLocation}$\r$\n\ - Desea descargar otros diccionarios ahora?' - -LangString MiKTeXPathInfo "${LYX_LANG}" "Para que cada usuario pueda personalizar posteriormente MiKTeX acorde sus$\r$\n\ - necesidades, es necesario que la carpeta donde fue instalado MiKTeX's $\r$\n\ - $MiKTeXPath $\r$\n\ - y sus subcarpetas tengan permiso de escritura para todos los usuarios." -LangString MiKTeXInfo "${LYX_LANG}" 'Junto con LyX se va usar la distribucin de LaTeX "MiKTeX".$\r$\n\ - Antes de usar LyX por primera vez, se recomienda instalar las actualizaciones disponibles$\r$\n\ - de MiKTeX con el instalador "MiKTeX Update Wizard"$\r$\n\ - Desea comprobar ahora si hay actualizaciones de MiKTeX?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" "Error al intentar aadir 'path_prefix' durante la ejecucin del programa de configuracin" -LangString CreateCmdFilesFailed "${LYX_LANG}" "No se pudo crear lyx.bat" -LangString RunConfigureFailed "${LYX_LANG}" "Error al intentar ejecutar el programa de configuracin" -LangString NotAdmin "${LYX_LANG}" "Necesita privilegios de administrador para instalar LyX!" -LangString InstallRunning "${LYX_LANG}" "El instalador ya esta siendo ejecutado!" -LangString StillInstalled "${LYX_LANG}" "LyX ya esta instalado! Antes desinstale LyX." - -LangString FinishPageMessage "${LYX_LANG}" "Enhorabuena! LyX ha sido instalado con xito.\r\n\ - \r\n\ - (El primer arranque de LyX puede tardar algunos segundos.)" -LangString FinishPageRun "${LYX_LANG}" "Ejecutar LyX" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "Imposible encontrar LyX en el registro.$\r$\n\ - Los accesos rpidos del escritorio y del Men de Inicio no sern eliminados." -LangString UnInstallRunning "${LYX_LANG}" "Antes cierre LyX!" -LangString UnNotAdminLabel "${LYX_LANG}" "Necesita privilegios de administrador para desinstalar LyX!" -LangString UnReallyRemoveLabel "${LYX_LANG}" "Est seguro de que desea eliminar completamente LyX y todos sus componentes?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'Preferencias de usuario de LyX' -LangString UnGSview "${LYX_LANG}" 'Por favor, haga clic sobre el botn "Uninstall" en la siguiente ventana para de-instalar$\r$\n\ - el programa "GSview" (Postscript y PDF-viewer).' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX fue eliminado con xito de su ordenador." - -LangString SecUnAspellDescription "${LYX_LANG}" "Desinstala el corrector ortogrfico Aspell y todos sus diccionarios." -LangString SecUnMiKTeXDescription "${LYX_LANG}" "Desinstala a distribucin de LaTeX MiKTeX." -LangString SecUnJabRefDescription "${LYX_LANG}" "Desinstala el administrador de referencias bibliograficas JabRef." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'Elimina las carpetas de configuracin de LyX$\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\ - de todos los usuarios.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "Desinstala LyX y todos sus componentes." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_SPANISH_NSH_ diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/swedish.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/swedish.nsh deleted file mode 100644 index 62fd2c45fd..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/swedish.nsh +++ /dev/null @@ -1,148 +0,0 @@ -!ifndef _LYX_LANGUAGES_SWEDISH_NSH_ -!define _LYX_LANGUAGES_SWEDISH_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_SWEDISH} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "Denna guide tar dig igenom installationen av LyX.\r\n\ - \r\n\ - Du behver administratrsrttigheter fr att installera LyX.\r\n\ - \r\n\ - Det rekommenderas att du avslutar alla andra program innan du fortstter installationen. Detta tillter att installationen uppdaterar ndvndiga systemfiler utan att behva starta om din dator.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "LyX-dokument" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Installera fr alla anvndare?" -LangString SecFileAssocTitle "${LYX_LANG}" "Filassociationer" -LangString SecDesktopTitle "${LYX_LANG}" "Skrivbordsikon" - -LangString SecCoreDescription "${LYX_LANG}" "LyX-filer." -LangString SecInstGSviewDescription "${LYX_LANG}" "Program fr att visa Postscript- och PDF-dokument." -LangString SecInstJabRefDescription "${LYX_LANG}" "Program fr att hantera bibliografiska referenser och redigera BibTeX-filer." -LangString SecAllUsersDescription "${LYX_LANG}" "Installera LyX fr alla anvndare, eller enbart fr den aktuella anvndare." -LangString SecFileAssocDescription "${LYX_LANG}" "Skapa en association mellan programmet och filtillget .lyx." -LangString SecDesktopDescription "${LYX_LANG}" "En LyXikon p skrivbordet." - -LangString LangSelectHeader "${LYX_LANG}" "Val av sprk i LyXs menyer" -LangString AvailableLang "${LYX_LANG}" " Tillgngliga sprk " - -LangString MissProgHeader "${LYX_LANG}" "Leta efter ndvndiga program" -LangString MissProgCap "${LYX_LANG}" "Fljande ndvndiga program kommer dessutom att installeras" -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, en LaTeX-distribution" -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, ett konverteringsprogram mm fr PostScript och PDF" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, ett konverteringsprogram fr bilder" -LangString MissProgAspell "${LYX_LANG}" "Aspell, ett rttstavningsprogram" -LangString MissProgMessage "${LYX_LANG}" 'Inga ytterligare program behver installeras.' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'LaTeX-distribution' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Stll in LaTeX-distributionen som LyX skall anvnda.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'Alternativt kan du hr stlla in skvgen till filen "latex.exe" och drmed manuellt bestmma vilken \ - LaTeX-distribution som skall anvndas av LyX.\r\n\ - Utan LaTeX kan LyX bara redigera LyX-filer, inte producera t.ex. PDF-dokument!\r\n\ - \r\n\ - Installationsprogrammet har upptckt LaTeX-distributionen \ - "$LaTeXName" i ditt system. Nedan visas dess skvg.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Stt nedan skvgen till filen "latex.exe". Drmed vljer du vilken \ - LaTeX-distribution som skall anvndas av LyX.\r\n\ - Utan LaTeX kan LyX bara redigera LyX-filer, inte producera t.ex. PDF-dokument!\r\n\ - \r\n\ - Installationsprogrammetn kunde inte hitta LaTeX-distributionen i ditt system.' -LangString PathName "${LYX_LANG}" 'Skvg till filen "latex.exe"' -LangString DontUseLaTeX "${LYX_LANG}" "Anvnd inte LaTeX" -LangString InvalidLaTeXFolder "${LYX_LANG}" 'Kan inte hitta "latex.exe"' - -LangString LatexInfo "${LYX_LANG}" 'Nu kommer installationsprogrammet fr LaTeX-distribution "MiKTeX" att kras.$\r$\n\ - Fr att installera programmet, klicka p knappen "Next" i installationsfnstret tills installation brjar.$\r$\n\ - $\r$\n\ - !!! Var snll och anvnd standardinstllningarna i installationsprogrammet fr MiKTeX !!!' -LangString LatexError1 "${LYX_LANG}" 'Kan inte hitta ngon LaTeX-distribution!$\r$\n\ - LyX kan inte anvndas utan en LaTeX-distribution som tex "MiKTeX"!$\r$\n\ - Installation avbryts drfr nu.' - -LangString GSviewInfo "${LYX_LANG}" 'Nu kommer installationsprogrammet fr "GSview" att kras.$\r$\n\ - Fr att installera programmet, klicka p knappen "Setup" i den frsta dialogrutan i installationsprogrammet\r$\n\ - vlj ett sprk och klicka sedan p knappen "Next" i det nstkommande installationsfnstret.$\r$\n\ - Du kan anvnda alla standardalternativ i installationsprogrammet fr GSview.' -LangString GSviewError "${LYX_LANG}" 'Programmet "GSview" kunde inte installeras ordentligt!$\r$\n\ - Installationen av LyX kommer att fortstta nd.$\r$\n\ - Frsk installera GSview igen senare.' - -LangString JabRefInfo "${LYX_LANG}" 'Nu kommer installationsprogrammet fr "JabRef" att kras.$\r$\n\ - Du kan anvnda alla standardalternativ i installationsprogrammet fr JabRef.' -LangString JabRefError "${LYX_LANG}" 'Programmet "JabRef" kunde inte installeras ordentligt!$\r$\n\ - Installationen av LyX kommer att fortstta nd.$\r$\n\ - Frsk installera GSview igen senare.' - -LangString LatexConfigInfo "${LYX_LANG}" "Fljande konfigurering av LyX kommer att ta ett tag." - -LangString AspellInfo "${LYX_LANG}" 'Nu kommer ordlistor fr stavningsprogrammet "Aspell" att laddas ner och installeras.$\r$\n\ - Varje ordlista har en egen licens vilken kommer att visas fre installationen.' -LangString AspellDownloadFailed "${LYX_LANG}" "Ingen ordlista fr stavningsprogrammet Aspell kunde laddas ner!" -LangString AspellInstallFailed "${LYX_LANG}" "Ingen ordlista fr stavningsprogrammet Aspell kunde installeras!" -LangString AspellPartAnd "${LYX_LANG}" " and " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'Det finns redan en installerad ordlista fr sprket' -LangString AspellNone "${LYX_LANG}" 'Ingen ordlista fr stavningsprogrammet "Aspell" har blivit installerad.$\r$\n\ - Ordlistor kan laddas ner frn\r$\n\ - ${AspellLocation}$\r$\n\ - Vill du ladda ner ordlistor nu?' -LangString AspellPartStart "${LYX_LANG}" "Det installerades framgngsrikt " -LangString AspellPart1 "${LYX_LANG}" "en engelsk ordlista" -LangString AspellPart2 "${LYX_LANG}" "en ordlista fr sprket $LangName" -LangString AspellPart3 "${LYX_LANG}" "en$\r$\n\ - ordlista fr sprket $LangNameSys" -LangString AspellPart4 "${LYX_LANG}" ' fr stavningsprogrammet "Aspell".$\r$\n\ - Ytterligare ordlistor kan laddas ner frn\r$\n\ - ${AspellLocation}$\r$\n\ - Vill du ladda ner ytterligare ordlistor nu?' - -LangString MiKTeXPathInfo "${LYX_LANG}" "Fr att varje anvndare senare skall kunna anpassa MiKTeX fr sina behov$\r$\n\ - r det ndvndigt att ge skrivrttigheter till alla anvndare fr MiKTeX's installationskatalog$\r$\n\ - $MiKTeXPath $\r$\n\ - och dess underkataloger." -LangString MiKTeXInfo "${LYX_LANG}" 'LaTeX-distributionen "MiKTeX" kommer att anvndas tillsammans med LyX.$\r$\n\ - Det rekommenderas att installera tillgngliga uppdateringar av MiKTeX med hjlp av programmet "MiKTeX Update Wizard".$\r$\n\ - innan du anvnder LyX fr frsta gngen.$\r$\n\ - Vill du kontrollera om det finns uppdateringar tillgngliga fr MiKTeX nu?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" "Misslyckades med att stta 'path_prefix' i konfigurationsskriptet" -LangString CreateCmdFilesFailed "${LYX_LANG}" "Kunde inte skapa filen (kommandoskriptet) lyx.bat" -LangString RunConfigureFailed "${LYX_LANG}" "Misslyckades med att kra konfigurationsskriptet" -LangString NotAdmin "${LYX_LANG}" "Du mste ha administratrsrttigheter fr att installera LyX!" -LangString InstallRunning "${LYX_LANG}" "Installationsprogrammet krs readan!" -LangString StillInstalled "${LYX_LANG}" "LyX r redan installerat! Avinstallera LyX frst." - -LangString FinishPageMessage "${LYX_LANG}" "Gratulerar! LyX har installerats framgngsrikt.\r\n\ - \r\n\ - (Frsta gngen LyX startas tar det litet lngre tid d programmet konfigurerar sig sjlv automatiskt.)" -LangString FinishPageRun "${LYX_LANG}" "Kr LyX" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "Kan inte hitta LyX i registret\r$\n\ - Genvgar p skrivbordet och i startmeny kommer inte att tas bort." -LangString UnInstallRunning "${LYX_LANG}" "Du mste stnga LyX frst!" -LangString UnNotAdminLabel "${LYX_LANG}" "Du mste ha administratrsrttigheter fr att avinstallera LyX!" -LangString UnReallyRemoveLabel "${LYX_LANG}" "r du sker p att du verkligen vill fullstndigt avinstallera LyX och alla dess komponenter?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyX$\'s anvndarinstllningar' -LangString UnGSview "${LYX_LANG}" 'Var god tryck p knappen "Avinstallera" i fljande fnster fr att avinstallera$\r$\n\ - "GSview" som visar Postscript och PDF.' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX har framgngsrikt avinstallerats frn din dator." - -LangString SecUnAspellDescription "${LYX_LANG}" "Avinstallerar stavningsprogrammet Aspell och alla dess kataloger." -LangString SecUnMiKTeXDescription "${LYX_LANG}" "Avinstallerar LaTeX-distributionen MiKTeX." -LangString SecUnJabRefDescription "${LYX_LANG}" "Avinstallerar programmet JabRef som anvnds fr att hantera bibliografiska referenser." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'Raderar LyX$\'s konfigurationskatalog$\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\ - fr alla anvndare.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "Avinstallera LyX och alla dess komponenter." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_SWEDISH_NSH_ diff --git a/development/Win32/packaging/LyXWinInstaller/lyx_languages/turkish.nsh b/development/Win32/packaging/LyXWinInstaller/lyx_languages/turkish.nsh deleted file mode 100644 index 581bbd2f1b..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/lyx_languages/turkish.nsh +++ /dev/null @@ -1,161 +0,0 @@ -!ifndef _LYX_LANGUAGES_TURKISH_NSH_ -!define _LYX_LANGUAGES_TURKISH_NSH_ - -!ifdef LYX_LANG - !undef LYX_LANG -!endif -!define LYX_LANG ${LANG_TURKISH} - -LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}" - -LangString WelcomePageText "${LYX_LANG}" "Bu sihirbaz size LyX programn kuracak.\r\n\ - \r\n\ - LyX kurabilmek iin ynetici yetkilerine ihtiyacnz var.\r\n\ - \r\n\ - Kuruluma balamadan nce dier programlar kapatmanz tavsiye edilir. Bylece bilgisayarnz yeniden balatmanza gerek kalmadan ilgili sistem dosyalar gncellenebilir.\r\n\ - \r\n\ - $_CLICK" - -LangString FileTypeTitle "${LYX_LANG}" "LyX-Document" - -LangString SecInstGSviewTitle "${LYX_LANG}" "GSview" -LangString SecInstJabRefTitle "${LYX_LANG}" "JabRef" -LangString SecAllUsersTitle "${LYX_LANG}" "Tm kullanclar iin kur?" -LangString SecFileAssocTitle "${LYX_LANG}" "Dosya elemeleri" -LangString SecDesktopTitle "${LYX_LANG}" "Masast ikonu" - -LangString SecCoreDescription "${LYX_LANG}" "LyX dosyalar." -LangString SecInstGSviewDescription "${LYX_LANG}" "Postscript ve PDF gsterici program." -LangString SecInstJabRefDescription "${LYX_LANG}" "Bibliography reference manager and editor for BibTeX files." -LangString SecAllUsersDescription "${LYX_LANG}" "LyX tm kullanclar iin mi yoksa yalnzca bu kullancya m kurulacak." -LangString SecFileAssocDescription "${LYX_LANG}" "Uzants .lyx olan dosyalar otomatik olarak LyX ile alsn." -LangString SecDesktopDescription "${LYX_LANG}" "Masastne bir LyX ikonu koy." - -LangString LangSelectHeader "${LYX_LANG}" "LyX arabirim dili seimi" -LangString AvailableLang "${LYX_LANG}" " Mevcut Diller " - -LangString MissProgHeader "${LYX_LANG}" "Gerekli programlarn kontrol" -LangString MissProgCap "${LYX_LANG}" "Aadaki gerekli programlar da otomatik olarak kurulacak" -LangString MissProgLatex "${LYX_LANG}" "MiKTeX, bir LaTeX datm" -LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, bir PostScript ve PDF yorumlayc" -LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, bir resim dntrc" -LangString MissProgAspell "${LYX_LANG}" "Aspell, bir yazm denetleyici" -LangString MissProgMessage "${LYX_LANG}" 'Ek bir program kurmaya gerek bulunmuyor.' - -LangString EnterLaTeXHeader1 "${LYX_LANG}" 'LaTeX-datm' -LangString EnterLaTeXHeader2 "${LYX_LANG}" 'LyX in kullanaca LaTeX datmn sein.' -LangString EnterLaTeXFolder "${LYX_LANG}" 'You can optionally set here the path to the file "latex.exe" and therewith set the \ - LaTeX-distribution that should be used by LyX.\r\n\ - If you don$\'t use LaTeX, LyX cannot output documents!\r\n\ - \r\n\ - The installer has detected the LaTeX-distribution \ - "$LaTeXName" on your system. Displayed below is its path.' -LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Set below the path to the file "latex.exe". Therewith you set which \ - LaTeX-distribution should be used by LyX.\r\n\ - If you don$\'t use LaTeX, LyX cannot output documents!\r\n\ - \r\n\ - The installer couldn$\'t find a LaTeX-distribution on your system.' -LangString PathName "${LYX_LANG}" 'Path to the file "latex.exe"' -LangString DontUseLaTeX "${LYX_LANG}" "LaTeX kullanma" -LangString InvalidLaTeXFolder "${LYX_LANG}" '"latex.exe" dosyas belirttiiniz dizinde bulunamad.' - -LangString LatexInfo "${LYX_LANG}" 'imdi LaTeX datm "MiKTeX" kurulumu balatlacak.$\r$\n\ - Program kurmak iin kurulum balayana kadar "Devam" tuuyla ilerleyin.$\r$\n\ - $\r$\n\ - !!! Ltfen MiKTeX kurucusunun ntanml ayarlarn deitirmeyin !!!' -LangString LatexError1 "${LYX_LANG}" 'Hi bir LaTeX datm bulunamad!$\r$\n\ - LyX "MiKTeX" gibi bir LaTeX datm olmadan kullanlamaz!$\r$\n\ - Bu nedenle kurulum iptal edilecek.' - -LangString GSviewInfo "${LYX_LANG}" 'imdi "GSview" kurulum program balatlacak.$\r$\n\ - Program kurmak iin ile kurulum penceresinde "Setup" tuuna basp$\r$\n\ - bir dil sein, ve sonraki pencerelerde "Devam" tuuyla ilerleyin.$\r$\n\ - GSview kurulumunun tm ntanml seeneklerini kullanabilirsiniz.' -LangString GSviewError "${LYX_LANG}" '"GSview" kurulumu baarsz oldu!$\r$\n\ - Kurulum gene de devam edecek.$\r$\n\ - Daha sonra GSview kurmay tekrar deneyin.' - -LangString JabRefInfo "${LYX_LANG}" 'Now the installer of the program "JabRef" will be launched.$\r$\n\ - You can use all default options of the JabRef-installer.' -LangString JabRefError "${LYX_LANG}" 'The program "JabRef" could not successfully be installed!$\r$\n\ - The installer will continue anyway.$\r$\n\ - Try to install JabRef again later.' - -LangString LatexConfigInfo "${LYX_LANG}" "Sradaki LyX yaplandrmas biraz zaman alacak." - -LangString AspellInfo "${LYX_LANG}" 'Now dictionaries for the spellchecker "Aspell" will be downloaded and installed.$\r$\n\ - Every dictionary has a different license that will be displayed before the installation.' -LangString AspellDownloadFailed "${LYX_LANG}" "No Aspell spellchecker dictionary could be downloaded!" -LangString AspellInstallFailed "${LYX_LANG}" "No Aspell spellchecker dictionary could be installed!" -LangString AspellPartAnd "${LYX_LANG}" " and " -LangString AspellPartSep "${LYX_LANG}" ", " -LangString AspellAll "${LYX_LANG}" 'There is already installed a dictionary of the language' -LangString AspellNone "${LYX_LANG}" 'No dictionary for the spellchecker "Aspell" has been installed.$\r$\n\ - Dictionaries can be downloaded from$\r$\n\ - ${AspellLocation}$\r$\n\ - Do you want to download dictionaries now?' -LangString AspellPartStart "${LYX_LANG}" "There was successfully installed " -LangString AspellPart1 "${LYX_LANG}" "an english dictionary" -LangString AspellPart2 "${LYX_LANG}" "a dictionary of the language $LangName" -LangString AspellPart3 "${LYX_LANG}" "a$\r$\n\ - dictionary of the language $LangNameSys" -LangString AspellPart4 "${LYX_LANG}" ' for the spellchecker "Aspell".$\r$\n\ - More dictionaries can be downloaded from$\r$\n\ - ${AspellLocation}$\r$\n\ - Do you want to download other dictionaries now?' - -LangString MiKTeXPathInfo "${LYX_LANG}" "In order that every user is later able to customize MiKTeX for his needs$\r$\n\ - it is necessary to set write permissions for all users to MiKTeX's installation folder$\r$\n\ - $MiKTeXPath $\r$\n\ - and its subfolders." -LangString MiKTeXInfo "${LYX_LANG}" 'The LaTeX-distribution "MiKTeX" will be used together with LyX.$\r$\n\ - It is recommended to install available MiKTeX-updates using the program "MiKTeX Update Wizard"$\r$\n\ - before you use LyX for the first time.$\r$\n\ - Would you now check for MiKTeX updates?' - -LangString ModifyingConfigureFailed "${LYX_LANG}" "Yaplandrma programnda 'path_prefix' ayarlanamad" -LangString CreateCmdFilesFailed "${LYX_LANG}" "lyx.bat oluturulamad" -LangString RunConfigureFailed "${LYX_LANG}" "Yaplandrma program altrlamad" -LangString NotAdmin "${LYX_LANG}" "LyX kurabilmek iin ynetici yetkileri gerekiyor!" -LangString InstallRunning "${LYX_LANG}" "Kurulum program zaten alyor!" -LangString StillInstalled "${LYX_LANG}" "LyX kurulu zaten! nce onu kaldrn." - -LangString FinishPageMessage "${LYX_LANG}" "Tebrikler! LyX baaryla kuruldu.\r\n\ - \r\n\ - (LyX in ilk al birka saniye alabilir.)" -LangString FinishPageRun "${LYX_LANG}" "LyX Balat" - -LangString UnNotInRegistryLabel "${LYX_LANG}" "Sistem ktnde LyX bulunamad.$\r$\n\ - Balat mens ve masastnzdeki ksayollar silinemeyecek." -LangString UnInstallRunning "${LYX_LANG}" "nce LyX i kapatmalsnz!" -LangString UnNotAdminLabel "${LYX_LANG}" "LyX kaldrabilmek iin ynetici yetkileri gerekiyor!" -LangString UnReallyRemoveLabel "${LYX_LANG}" "LyX ve tm bileenlerini kaldrmak istediinize emin misiniz?" -LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyX$\'s user preferences' -LangString UnGSview "${LYX_LANG}" 'Ltfen bir sonraki pencerede "Kaldr" dmesine basarak$\r$\n\ - "GSview" postscript ve pdf gstericisini kaldrn.' -LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX bilgisayarnzdan baaryla kaldrld." - -LangString SecUnAspellDescription "${LYX_LANG}" "Uninstalls the spellchecker Aspell and all of its dictionaries." -LangString SecUnMiKTeXDescription "${LYX_LANG}" "Uninstalls the LaTeX-distribution MiKTeX." -LangString SecUnJabRefDescription "${LYX_LANG}" "Uninstalls the bibliography manager JabRef." -LangString SecUnPreferencesDescription "${LYX_LANG}" 'Deletes LyX$\'s configuration folder$\r$\n\ - "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\ - for all users.' -LangString SecUnProgramFilesDescription "${LYX_LANG}" "Uninstall LyX and all of its components." - -!undef LYX_LANG - -!endif ; _LYX_LANGUAGES_TURKISH_NSH_ - - - - - - - - - - - - - diff --git a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.cfg b/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.cfg deleted file mode 100644 index e9c1cc14ee..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.cfg +++ /dev/null @@ -1,38 +0,0 @@ --$A8 --$B- --$C+ --$D+ --$E- --$F- --$G+ --$H+ --$I+ --$J- --$K- --$L+ --$M- --$N+ --$O+ --$P+ --$Q- --$R- --$S- --$T- --$U- --$V+ --$W- --$X+ --$YD --$Z1 --cg --AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; --H+ --W+ --M --$M16384,1048576 --K$00400000 --LE"c:\program files (x86)\borland\delphi7\Projects\Bpl" --LN"c:\program files (x86)\borland\delphi7\Projects\Bpl" --w-UNSAFE_TYPE --w-UNSAFE_CODE --w-UNSAFE_CAST diff --git a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dof b/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dof deleted file mode 100644 index b1bb997708..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dof +++ /dev/null @@ -1,136 +0,0 @@ -[FileVersion] -Version=7.0 -[Compiler] -A=8 -B=0 -C=1 -D=1 -E=0 -F=0 -G=1 -H=1 -I=1 -J=0 -K=0 -L=1 -M=0 -N=1 -O=1 -P=1 -Q=0 -R=0 -S=0 -T=0 -U=0 -V=1 -W=0 -X=1 -Y=1 -Z=1 -ShowHints=1 -ShowWarnings=1 -UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; -NamespacePrefix= -SymbolDeprecated=1 -SymbolLibrary=1 -SymbolPlatform=1 -UnitLibrary=1 -UnitPlatform=1 -UnitDeprecated=1 -HResultCompat=1 -HidingMember=1 -HiddenVirtual=1 -Garbage=1 -BoundsError=1 -ZeroNilCompat=1 -StringConstTruncated=1 -ForLoopVarVarPar=1 -TypedConstVarPar=1 -AsgToTypedConst=1 -CaseLabelRange=1 -ForVariable=1 -ConstructingAbstract=1 -ComparisonFalse=1 -ComparisonTrue=1 -ComparingSignedUnsigned=1 -CombiningSignedUnsigned=1 -UnsupportedConstruct=1 -FileOpen=1 -FileOpenUnitSrc=1 -BadGlobalSymbol=1 -DuplicateConstructorDestructor=1 -InvalidDirective=1 -PackageNoLink=1 -PackageThreadVar=1 -ImplicitImport=1 -HPPEMITIgnored=1 -NoRetVal=1 -UseBeforeDef=1 -ForLoopVarUndef=1 -UnitNameMismatch=1 -NoCFGFileFound=1 -MessageDirective=1 -ImplicitVariants=1 -UnicodeToLocale=1 -LocaleToUnicode=1 -ImagebaseMultiple=1 -SuspiciousTypecast=1 -PrivatePropAccessor=1 -UnsafeType=0 -UnsafeCode=0 -UnsafeCast=0 -[Linker] -MapFile=0 -OutputObjs=0 -ConsoleApp=1 -DebugInfo=0 -RemoteSymbols=0 -MinStackSize=16384 -MaxStackSize=1048576 -ImageBase=4194304 -ExeDescription= -[Directories] -OutputDir= -UnitOutputDir= -PackageDLLOutputDir= -PackageDCPOutputDir= -SearchPath= -Packages= -Conditionals= -DebugSourceDirs= -UsePackages=0 -[Parameters] -RunParams= -HostApplication= -Launcher= -UseLauncher=0 -DebugCWD= -[Language] -ActiveLang= -ProjectLang= -RootDir= -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 -Locale=1031 -CodePage=1252 -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= diff --git a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dpr b/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dpr deleted file mode 100644 index 5ad42d2684..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dpr +++ /dev/null @@ -1,98 +0,0 @@ -program PDFViewWin7; -// this program opens and closes PDF-files with Acrobat 5, 6, or 7 -// and with Acrobat Reader 5 and Adobe Reader 6, or 7 - -{The problematic is the following: - A PDF-file should be modified while it is opened with Acrobat. - This is not possible because Acrobat understands itself as editor, not as - reader and therefore opens PDFs always with write access, so that other - programs cannot modifiy them. - The idea to solve the problem is the following: - The file that should be shown in Acrobat is copied and then renamed - - the suffix "-preview" is attached. The renamed copy is opened by Acrobat - while the unrenamed version can be modified. When the modified version should - be displayed, the eventually opened renamed version is closed in Acrobat and - the modified version is copied, renamed and opened in Acrobat. - To open/close files in Acrobat, the programs "pdfopen" and "pdfclose", - written by Fabrice Popineau, is used.} - -{$APPTYPE CONSOLE} - -uses - Windows,SysUtils,ShellApi,Forms; - -var Input,InputNew : string; - FileTest : boolean; - - -function ExecWait(const CommandLine: string; - const Visible: boolean = false; - const MaxSeconds: integer = 60): boolean; -//Executes programs and waits until they are terminated, taken from -//http://www.delphipages.com/tips/thread.cfm?ID=259 -var -SI: TStartupInfo; -PI: TProcessInformation; -ExitCode: DWORD; -begin - result := false; - GetStartupInfo(SI); - if not Visible then - begin - SI.dwFlags := STARTF_USESHOWWINDOW; - SI.wShowWindow := SW_HIDE; - end; - if CreateProcess(nil, pchar(CommandLine), nil, nil, - False, 0, nil, nil, SI, PI) then - begin - case WaitForSingleObject(PI.hProcess, MaxSeconds * 1000) of - WAIT_OBJECT_0: GetExitCodeProcess(PI.hProcess, ExitCode); - WAIT_ABANDONED: TerminateProcess(PI.hProcess, ExitCode); - WAIT_TIMEOUT: TerminateProcess(PI.hProcess, ExitCode); - end; - result := ExitCode = 0; - CloseHandle(PI.hProcess); - CloseHandle(PI.hThread); - end; -end; //end function - - -function RenameFile(const OldName, NewName: string): boolean; -//renames files, taken from -//http://www.dsdt.info/tipps/?id=128&search=RenameFile -var - sh: TSHFileOpStruct; -begin - sh.Wnd := Application.Handle; - sh.wFunc := fo_Rename; - //terminate with null byte to set list ending - sh.pFrom := PChar(OldName + #0); - sh.pTo := PChar(NewName + #0); - sh.fFlags := fof_Silent or fof_MultiDestFiles; - Result:=ShFileOperation(sh)=0; -end; //end function - - -begin //begin program - - //Read given filename - Input:= ParamStr(1); - //InputNew = original filename with ending "-preview" (e.g. test-preview.pdf) - InputNew:= copy(Input,1,Length(Input)-4); //remove ".pdf" - InputNew:= InputNew+'-preview.pdf'; - //check if renamed file exists - FileTest:= FileExists(InputNew); - if FileTest = true then - begin - //close old file - ExecWait('pdfclose --file "'+InputNew+'"'); - //delete old file - DeleteFile(InputNew); - end; - //rename file - RenameFile(Input,InputNew); - //open renamed file - ExecWait('pdfopen --file "'+InputNew+'"'); - - -end. //end program diff --git a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.exe b/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.exe deleted file mode 100644 index 66557189a8..0000000000 Binary files a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.exe and /dev/null differ diff --git a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.cfg b/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.cfg deleted file mode 100644 index e9c1cc14ee..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.cfg +++ /dev/null @@ -1,38 +0,0 @@ --$A8 --$B- --$C+ --$D+ --$E- --$F- --$G+ --$H+ --$I+ --$J- --$K- --$L+ --$M- --$N+ --$O+ --$P+ --$Q- --$R- --$S- --$T- --$U- --$V+ --$W- --$X+ --$YD --$Z1 --cg --AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; --H+ --W+ --M --$M16384,1048576 --K$00400000 --LE"c:\program files (x86)\borland\delphi7\Projects\Bpl" --LN"c:\program files (x86)\borland\delphi7\Projects\Bpl" --w-UNSAFE_TYPE --w-UNSAFE_CODE --w-UNSAFE_CAST diff --git a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.dof b/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.dof deleted file mode 100644 index 6d6616bd81..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.dof +++ /dev/null @@ -1,139 +0,0 @@ -[FileVersion] -Version=7.0 -[Compiler] -A=8 -B=0 -C=1 -D=1 -E=0 -F=0 -G=1 -H=1 -I=1 -J=0 -K=0 -L=1 -M=0 -N=1 -O=1 -P=1 -Q=0 -R=0 -S=0 -T=0 -U=0 -V=1 -W=0 -X=1 -Y=1 -Z=1 -ShowHints=1 -ShowWarnings=1 -UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; -NamespacePrefix= -SymbolDeprecated=1 -SymbolLibrary=1 -SymbolPlatform=1 -UnitLibrary=1 -UnitPlatform=1 -UnitDeprecated=1 -HResultCompat=1 -HidingMember=1 -HiddenVirtual=1 -Garbage=1 -BoundsError=1 -ZeroNilCompat=1 -StringConstTruncated=1 -ForLoopVarVarPar=1 -TypedConstVarPar=1 -AsgToTypedConst=1 -CaseLabelRange=1 -ForVariable=1 -ConstructingAbstract=1 -ComparisonFalse=1 -ComparisonTrue=1 -ComparingSignedUnsigned=1 -CombiningSignedUnsigned=1 -UnsupportedConstruct=1 -FileOpen=1 -FileOpenUnitSrc=1 -BadGlobalSymbol=1 -DuplicateConstructorDestructor=1 -InvalidDirective=1 -PackageNoLink=1 -PackageThreadVar=1 -ImplicitImport=1 -HPPEMITIgnored=1 -NoRetVal=1 -UseBeforeDef=1 -ForLoopVarUndef=1 -UnitNameMismatch=1 -NoCFGFileFound=1 -MessageDirective=1 -ImplicitVariants=1 -UnicodeToLocale=1 -LocaleToUnicode=1 -ImagebaseMultiple=1 -SuspiciousTypecast=1 -PrivatePropAccessor=1 -UnsafeType=0 -UnsafeCode=0 -UnsafeCast=0 -[Linker] -MapFile=0 -OutputObjs=0 -ConsoleApp=1 -DebugInfo=0 -RemoteSymbols=0 -MinStackSize=16384 -MaxStackSize=1048576 -ImageBase=4194304 -ExeDescription= -[Directories] -OutputDir= -UnitOutputDir= -PackageDLLOutputDir= -PackageDCPOutputDir= -SearchPath= -Packages=vcl;rtl;vclx;indy;vclie;xmlrtl;inetdbbde;inet;inetdbxpress;dbrtl;soaprtl;dsnap;VclSmp;dbexpress;vcldb;dbxcds;inetdb;bdertl;vcldbx;adortl;teeui;teedb;tee;ibxpress;visualclx;visualdbclx;vclactnband;vclshlctrls;IntrawebDB_50_70;Intraweb_50_70;Rave50CLX;Rave50VCL -Conditionals= -DebugSourceDirs= -UsePackages=0 -[Parameters] -RunParams= -HostApplication= -Launcher= -UseLauncher=0 -DebugCWD= -[Language] -ActiveLang= -ProjectLang= -RootDir= -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 -Locale=1031 -CodePage=1252 -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= -[HistoryLists\hlUnitAliases] -Count=1 -Item0=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; diff --git a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.dpr b/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.dpr deleted file mode 100644 index bfb5fd6453..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.dpr +++ /dev/null @@ -1,127 +0,0 @@ -program PDFViewWin8; -// this program opens and closes PDF-files with Acrobat 8 -// and with Adobe Reader 8 - -{The problematic is the following: - A PDF-file should be modified while it is opened with Acrobat. - This is not possible because Acrobat understands itself as editor, not as - reader and therefore opens PDFs always with write access, so that other - programs cannot modifiy them. - The idea to solve the problem is the following: - The file that should be shown in Acrobat is copied and then renamed - - the suffix "-preview" is attached. The renamed copy is opened by Acrobat - while the unrenamed version can be modified. When the modified version should - be displayed, the eventually opened renamed version is closed in Acrobat and - the modified version is copied, renamed and opened in Acrobat. - To open/close files in Acrobat, the programs "pdfopen" and "pdfclose", - written by Fabrice Popineau, which are used in PDFViewWin7, cannot be used - for Acrobat 8. In this program the PDFs are closed by closing its program - window. - In Acrobat 8 it is not possible to go to the position of a reopened modified - file were it was viewed the last time.} - -{$APPTYPE CONSOLE} - -uses - Windows,SysUtils,ShellApi,Forms,Messages; - -var Input,InputNew,FileName : string; - FileTest : boolean; - InputNewName : PChar; - i : integer; - -function RenameFile(const OldName, NewName: string): boolean; -//renames files, taken from -//http://www.dsdt.info/tipps/?id=128&search=RenameFile -var - sh: TSHFileOpStruct; -begin - sh.Wnd := Application.Handle; - sh.wFunc := fo_Rename; - //terminate with null byte to set list ending - sh.pFrom := PChar(OldName + #0); - sh.pTo := PChar(NewName + #0); - sh.fFlags := fof_Silent or fof_MultiDestFiles; - Result:=ShFileOperation(sh)=0; -end; //end function } - - -procedure KillProcess(WindowHandle: HWND); -//kills a process given by its handle -var - processID: INTEGER; - processHandle: THandle; - Result: DWORD; -begin - SendMessageTimeout(WindowHandle, WM_CLOSE, 0, 0, - SMTO_ABORTIFHUNG or SMTO_NORMAL, 5000, Result); - if isWindow(WindowHandle) then //when window exists - begin - PostMessage(WindowHandle, WM_QUIT, 0, 0); - //get process ID of the window - GetWindowThreadProcessID(WindowHandle, @processID); - if processID <> 0 then //when correct ID - begin - //get process handle - processHandle:= OpenProcess(PROCESS_TERMINATE or PROCESS_QUERY_INFORMATION, - False, processID); - if processHandle <> 0 then //terminate the process when handle was found - begin - TerminateProcess(processHandle, 0); - CloseHandle(ProcessHandle); - end; - end; - end; //end if isWindow -end; //end procedure - - -begin //begin program - - //Read given filename - Input:= ParamStr(1); - //InputNew = original filename with ending "-preview" (e.g. test-preview.pdf) - InputNew:= copy(Input,1,Length(Input)-4); //remove ".pdf" - InputNew:= InputNew+'-preview.pdf'; - //check if renamed file exists - FileTest:= FileExists(InputNew); - if FileTest = true then //when file exists - begin - //extract filename - For i:= Length(InputNew) downto 1 do - begin - if (InputNew[i] = '\') or (InputNew[i] = '/') then - // '/' because some programs use Unix paths - begin - FileName:= copy(InputNew,i+1,Length(InputNew)-i); - break; - end; - end; - //close old file - //for Adobe Reader / Acrobat 8 - InputNewName:= PChar(FileName+' - Adobe Reader'); - KillProcess(FindWindow(nil,InputNewName)); - InputNewName:= PChar(FileName+'- Adobe Acrobat Standard'); - KillProcess(FindWindow(nil,InputNewName)); - InputNewName:= PChar(FileName+'- Adobe Acrobat Professional'); - KillProcess(FindWindow(nil,InputNewName)); - //for Acrobat 7 - //(this doesn't work for Acrobat 7 because it keeps the file opened - // also when the window of the PDF is closed (use PDFViewWin7 instead) ) - InputNewName:= PChar('Adobe Acrobat Professional - ['+FileName+']'); - KillProcess(FindWindow(nil,InputNewName)); - InputNewName:= PChar('Adobe Acrobat Standard - ['+FileName+']'); - KillProcess(FindWindow(nil,InputNewName)); - //if one or more files are opened - InputNewName:= PChar(FileName); - KillProcess(FindWindow(nil,InputNewName)); - //delete old file - DeleteFile(InputNew); - end; //end if FileTest = true - //rename file - RenameFile(Input,InputNew); - //open renamed file - ShellExecute(Application.Handle,PChar('open'), - PChar(InputNew),nil,nil,SW_SHOWNORMAL); - - -end. //end program diff --git a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.exe b/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.exe deleted file mode 100644 index 37e45f15d8..0000000000 Binary files a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.exe and /dev/null differ diff --git a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/pdfclose.exe b/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/pdfclose.exe deleted file mode 100644 index 80b8b26d72..0000000000 Binary files a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/pdfclose.exe and /dev/null differ diff --git a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/pdfopen.exe b/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/pdfopen.exe deleted file mode 100644 index 80b8b26d72..0000000000 Binary files a/development/Win32/packaging/LyXWinInstaller/specials/PDFViewWin/pdfopen.exe and /dev/null differ diff --git a/development/Win32/packaging/LyXWinInstaller/specials/preferences7 b/development/Win32/packaging/LyXWinInstaller/specials/preferences7 deleted file mode 100644 index 39b09aae92..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/specials/preferences7 +++ /dev/null @@ -1,87 +0,0 @@ -### This file is part of -### ======================================================== -### LyX, The Document Processor -### -### Copyright 1995 Matthias Ettrich -### Copyright 1995-2001 The LyX Team. -### -### ======================================================== - -# This file is written by LyX, if you want to make your own -# modifications you should do them from inside LyX and save - - -# -# MISC SECTION ###################################### -# - -\preview_scale_factor 1.0 - -# -# SCREEN & FONTS SECTION ############################ -# - -\screen_zoom 120 - -# -# COLOR SECTION ################################### -# - - -# -# PRINTER SECTION ################################### -# - - -# -# EXPORT SECTION #################################### -# - - -# -# TEX SECTION ####################################### -# - - -# -# FILE SECTION ###################################### -# - - -# -# PLAIN TEXT EXPORT SECTION ############################## -# - - -# -# SPELLCHECKER SECTION ############################## -# - - -# -# LANGUAGE SUPPORT SECTION ########################## -# - - -# -# 2nd MISC SUPPORT SECTION ########################## -# - - -# -# FORMATS SECTION ########################## -# - -\format "pdf3" "pdf" "PDF (dvipdfm)" "m" "PDFViewWin7" "" "document,vector" -\format "pdf2" "pdf" "PDF (pdflatex)" "F" "PDFViewWin7" "" "document,vector" -\format "pdf" "pdf" "PDF (ps2pdf)" "P" "PDFViewWin7" "" "document,vector" - -# -# CONVERTERS SECTION ########################## -# - - -# -# COPIERS SECTION ########################## -# - diff --git a/development/Win32/packaging/LyXWinInstaller/specials/preferences8 b/development/Win32/packaging/LyXWinInstaller/specials/preferences8 deleted file mode 100644 index 1eea8b4834..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/specials/preferences8 +++ /dev/null @@ -1,87 +0,0 @@ -### This file is part of -### ======================================================== -### LyX, The Document Processor -### -### Copyright 1995 Matthias Ettrich -### Copyright 1995-2001 The LyX Team. -### -### ======================================================== - -# This file is written by LyX, if you want to make your own -# modifications you should do them from inside LyX and save - - -# -# MISC SECTION ###################################### -# - -\preview_scale_factor 1.0 - -# -# SCREEN & FONTS SECTION ############################ -# - -\screen_zoom 120 - -# -# COLOR SECTION ################################### -# - - -# -# PRINTER SECTION ################################### -# - - -# -# EXPORT SECTION #################################### -# - - -# -# TEX SECTION ####################################### -# - - -# -# FILE SECTION ###################################### -# - - -# -# PLAIN TEXT EXPORT SECTION ############################## -# - - -# -# SPELLCHECKER SECTION ############################## -# - - -# -# LANGUAGE SUPPORT SECTION ########################## -# - - -# -# 2nd MISC SUPPORT SECTION ########################## -# - - -# -# FORMATS SECTION ########################## -# - -\format "pdf3" "pdf" "PDF (dvipdfm)" "m" "PDFViewWin8" "" "document,vector" -\format "pdf2" "pdf" "PDF (pdflatex)" "F" "PDFViewWin8" "" "document,vector" -\format "pdf" "pdf" "PDF (ps2pdf)" "P" "PDFViewWin8" "" "document,vector" - -# -# CONVERTERS SECTION ########################## -# - - -# -# COPIERS SECTION ########################## -# - diff --git a/development/Win32/packaging/LyXWinInstaller/specials/preferencesGSview b/development/Win32/packaging/LyXWinInstaller/specials/preferencesGSview deleted file mode 100644 index 6b17b85dfe..0000000000 --- a/development/Win32/packaging/LyXWinInstaller/specials/preferencesGSview +++ /dev/null @@ -1,84 +0,0 @@ -### This file is part of -### ======================================================== -### LyX, The Document Processor -### -### Copyright 1995 Matthias Ettrich -### Copyright 1995-2001 The LyX Team. -### -### ======================================================== - -# This file is written by LyX, if you want to make your own -# modifications you should do them from inside LyX and save - - -# -# MISC SECTION ###################################### -# - -\preview_scale_factor 1.0 - -# -# SCREEN & FONTS SECTION ############################ -# - -\screen_zoom 120 - -# -# COLOR SECTION ################################### -# - - -# -# PRINTER SECTION ################################### -# - - -# -# EXPORT SECTION #################################### -# - - -# -# TEX SECTION ####################################### -# - - -# -# FILE SECTION ###################################### -# - - -# -# PLAIN TEXT EXPORT SECTION ############################## -# - - -# -# SPELLCHECKER SECTION ############################## -# - - -# -# LANGUAGE SUPPORT SECTION ########################## -# - - -# -# 2nd MISC SUPPORT SECTION ########################## -# - - -# -# FORMATS SECTION ########################## -# - - -# -# CONVERTERS SECTION ########################## -# - - -# -# COPIERS SECTION ########################## -# -