]> git.lyx.org Git - lyx.git/commitdiff
- reupload LyXWinInstaller for code verification as discussed with Bo
authorUwe Stöhr <uwestoehr@web.de>
Thu, 8 Feb 2007 21:09:30 +0000 (21:09 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Thu, 8 Feb 2007 21:09:30 +0000 (21:09 +0000)
- set missing EOL flags for official installer files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17116 a592a061-630c-0410-9148-cb99ea01b6c8

91 files changed:
development/Win32/launcher/launcher.nsi
development/Win32/packaging/bakoma/Licence.txt
development/Win32/packaging/bakoma/Readme.txt
development/Win32/packaging/build_msvc.bat
development/Win32/packaging/build_msvs_debug.bat
development/Win32/packaging/installer/LyXWinInstaller/Aspell.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/Changelog.txt [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/InstallActions-complete.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/InstallActions-small.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/LaTeXFolder.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/LanguageSettings.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/License.txt [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/LyX-Installer-Complete.nsi [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/LyX-Installer-Small.nsi [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/LyXUtils.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/MissingPrograms.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/ReadmeComplete.txt [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/ReadmePackage.txt [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/ReadmeSmall.txt [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/Uninstall.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/abi_util_fileassoc.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/icons/Lydia.svg [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/icons/lyx.ico [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/icons/lyx.svg [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_32x32.ico [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_doc.svg [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_logo_hi.bmp [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_logo_vert150svn.bmp [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/informations/ISO_3166.html [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/informations/WinLangCode.htm [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/informations/iso639.htm [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/io_latex.ini [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/io_missing_progs.ini [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/io_ui_language.ini [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/Encodings.txt [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/danish.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/dutch.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/english.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/french.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/galician.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/german.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/hungarian.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/italian.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/norwegian.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/polish.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/portuguese.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/slovak.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/spanish.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/swedish.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/turkish.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/AspellDictionaryNames.txt [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/AspellRepositories.txt [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/Galician.nlf [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/Galician.nsh [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.cfg [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dof [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dpr [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.exe [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.cfg [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.dof [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.dpr [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.exe [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/preferences7 [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/preferences8 [new file with mode: 0644]
development/Win32/packaging/installer/LyXWinInstaller/specials/preferencesGSview [new file with mode: 0644]
development/Win32/packaging/installer/components/configure.nsh
development/Win32/packaging/installer/components/core.nsh
development/Win32/packaging/installer/components/dicts.nsh
development/Win32/packaging/installer/components/external.nsh
development/Win32/packaging/installer/components/langselect.nsh
development/Win32/packaging/installer/components/reinstall.nsh
development/Win32/packaging/installer/components/uninstall.nsh
development/Win32/packaging/installer/components/user.nsh
development/Win32/packaging/installer/components/viewer.nsh
development/Win32/packaging/installer/dialogs/external.ini
development/Win32/packaging/installer/dialogs/langselect.ini
development/Win32/packaging/installer/dialogs/reinstall.ini
development/Win32/packaging/installer/dialogs/user.ini
development/Win32/packaging/installer/dialogs/viewer.ini
development/Win32/packaging/installer/include/declarations.nsh
development/Win32/packaging/installer/include/detection.nsh
development/Win32/packaging/installer/include/filelists.nsh
development/Win32/packaging/installer/include/gui.nsh
development/Win32/packaging/installer/include/init.nsh
development/Win32/packaging/installer/include/lang.nsh
development/Win32/packaging/installer/include/windows.nsh
development/Win32/packaging/installer/lang/english.nsh
development/Win32/packaging/installer/lang/french.nsh
development/Win32/packaging/installer/lang/german.nsh
development/Win32/packaging/installer/lang/italian.nsh
development/Win32/pdfview/pdfview.nsi

index 347aba631385c293de1df291ae862ddd1f7d27e6..4f1a2e9fde30a4ac71b9d5589357082daca5f90c 100644 (file)
-/*\r
-\r
-LyX for Windows Launcher\r
-Author: Joost Verburg\r
-\r
-This will be installed as lyx.exe.\r
-\r
-The application will setup the environment variables based on registry\r
-settings and obtain the command line output of lyxc.exe, which can be shown\r
-while debugging or in case of a crash. Version information and an icon are\r
-also included.\r
-\r
-*/\r
-\r
-!include "MUI.nsh"\r
-!include "LogicLib.nsh"\r
-!include "FileFunc.nsh"\r
-!include "StrFunc.nsh"\r
-!insertmacro GetParameters\r
-${StrStr}\r
-\r
-!include "..\packaging\installer\settings.nsh" ;Version info from installer\r
-\r
-Caption "${APP_NAME} ${APP_VERSION}"\r
-OutFile lyx.exe\r
-BrandingText " "\r
-\r
-;--------------------------------\r
-;Variables\r
-\r
-Var Parameters\r
-Var Debug\r
-Var LyXLanguage\r
-Var ReturnValue\r
-Var ResultText\r
-Var ResultSubText\r
-\r
-;--------------------------------\r
-;User interface for debug output\r
-\r
-!define MUI_ICON "..\packaging\icons\lyx_32x32.ico"\r
-!define MUI_CUSTOMFUNCTION_GUIINIT InitInterface\r
-\r
-!define MUI_INSTFILESPAGE_FINISHHEADER_TEXT $ResultText\r
-!define MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT $ResultSubText\r
-!insertmacro MUI_PAGE_INSTFILES\r
-\r
-!insertmacro MUI_LANGUAGE English\r
-\r
-ShowInstDetails show\r
-\r
-;--------------------------------\r
-;Windows API constants\r
-\r
-!define SWP_NOSIZE 0x1\r
-!define MONITOR_DEFAULTTONEAREST 0x2\r
-\r
-!define SM_CYCAPTION 4\r
-!define SM_CXSIZEFRAME 32\r
-!define SM_CYSIZEFRAME 33\r
-\r
-;--------------------------------\r
-;Version information\r
-\r
-VIProductVersion "${APP_VERSION_NUMBER}"\r
-VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "${APP_NAME}"\r
-VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "${APP_INFO}"\r
-VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${APP_VERSION}"\r
-VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "${APP_COPYRIGHT}"\r
-\r
-;--------------------------------\r
-;Macros\r
-\r
-!macro SystemCall STACK\r
-\r
-  Push "${STACK}"\r
-  CallInstDLL "$EXEDIR\System.dll" Call\r
-\r
-!macroend\r
-\r
-!macro GetLyXSetting NAME VAR\r
-\r
-  Push "${NAME}"\r
-  Call GetLyXSetting\r
-  Pop "${VAR}"\r
-\r
-!macroend\r
-\r
-;--------------------------------\r
-;Main application\r
-\r
-Section -Prepare\r
-\r
-  ${if} $Debug == ${FALSE}\r
-    HideWindow\r
-  ${endif}\r
-  \r
-  ;Hide controls we don't need\r
-  FindWindow $R0 "#32770" "" $HWNDPARENT\r
-  GetDlgItem $R0 $R0 1004\r
-  ShowWindow $R0 ${SW_HIDE}  \r
-  \r
-  ;Debug info\r
-  !insertmacro MUI_HEADER_TEXT "Debugging LyX" "The events you have chosen \\r
-      are being logged."\r
-  SetDetailsPrint textonly\r
-  DetailPrint "Debug log:"\r
-  SetDetailsPrint listonly\r
-  \r
-  ;LyX Language\r
-  !insertmacro GetLyXSetting "Language" $LyXLanguage\r
-  \r
-  ;Set language for gettext\r
-  ${if} $LyXLanguage != ""\r
-    Push LC_ALL\r
-    Push $LyXLanguage\r
-    Call SetEnvironmentVariable\r
-  ${endif}\r
-  \r
-  ;Apparently the output charset needs to be set to some value,\r
-  ;otherwise no non-ASCII characters will be displayed\r
-  Push OUTPUT_CHARSET\r
-  Push -\r
-  Call SetEnvironmentVariable\r
-  \r
-  ;Point to the Aiksaurus data in the LyX folder\r
-  Push AIK_DATA_DIR\r
-  Push "$EXEDIR\..\aiksaurus"\r
-  Call SetEnvironmentVariable\r
-\r
-SectionEnd\r
-\r
-Section -Launch\r
-  \r
-  ;Start LyX and capture the command line output\r
-  \r
-  Push '"$EXEDIR\lyxc.exe" $Parameters'\r
-  CallInstDLL "$EXEDIR\Console.dll" ExecToLog\r
-  Pop $ReturnValue ;Return value\r
-  \r
-SectionEnd\r
-\r
-Section -Debug\r
-  \r
-  ${if} $Debug == ${FALSE}\r
-  \r
-    ;Check whether something went wrong\r
-    \r
-    ${if} $ReturnValue == "error"\r
-  \r
-      ;Probably the file does not exist\r
-      MessageBox MB_OK|MB_ICONSTOP "Failed to start LyX."\r
-    \r
-    ${elseif} $ReturnValue != 0\r
-    \r
-      ;LyX has crashed\r
-      MessageBox MB_YESNO|MB_ICONSTOP \\r
-          "LyX has been closed because of an unexpected situation.$\n\\r
-          This is most likely caused by a flaw in the software.$\n$\n\\r
-          When you open your documents again, you will be able$\n\\r
-          to restore an emergency save and continue working.$\n$\n\\r
-          Would you like to view detailed information about this error?" \\r
-          IDYES debug IDNO no_debug\r
-  \r
-    ${endif}\r
-    \r
-    no_debug:\r
-    \r
-      Quit\r
-    \r
-    debug:\r
-    \r
-      ShowWindow $R0 ${SW_HIDE}\r
-    \r
-  ${endif}\r
-  \r
-  ${if} $ReturnValue != 0\r
-  \r
-    StrCpy $ResultText "Error Information"\r
-    StrCpy $ResultSubText "See Chapter 3 of the LyX Introduction \\r
-        (Help > Introduction) for information about reporting this issue."\r
-   \r
-   ${else}\r
-   \r
-    StrCpy $ResultText "Debugging Completed"\r
-    StrCpy $ResultSubText "The events you have chosen are logged below."\r
-   \r
-   ${endif}\r
-  \r
-  ${if} $Debug == ${FALSE}\r
-\r
-    ;Put the log window on the screen again\r
-    Push "user32::SetWindowPos(i $HWNDPARENT, i 0, i 133, i 100, i 0, i 0, i ${SWP_NOSIZE})"\r
-    CallInstDLL "$EXEDIR\System.dll" Call\r
-    BringToFront\r
-\r
-  ${endif}\r
-\r
-SectionEnd\r
-\r
-\r
-;--------------------------------\r
-;Functions\r
-\r
-Function InitInterface\r
-  \r
-  ;Command line parameters\r
-  Call GetParameters\r
-  Pop $Parameters\r
-  \r
-  ;Check for debug mode\r
-  ${StrStr} $R0 $Parameters "-dbg"\r
-  \r
-  ${if} $R0 == ""\r
-    StrCpy $Debug ${FALSE}\r
-  ${else}\r
-    StrCpy $Debug ${TRUE}\r
-  ${endif}\r
-  \r
-  ${if} $Debug == ${FALSE}\r
-\r
-    ;Keep the log window outside the screen to ensure that there will be no flickering\r
-    Push "user32::SetWindowPos(i $HWNDPARENT, i 0, i -32000, i -32000, i 0, i 0, i ${SWP_NOSIZE})"\r
-    CallInstDLL "$EXEDIR\System.dll" Call\r
-  \r
-  ${endif}\r
-\r
-FunctionEnd\r
-\r
-Function GetLyXSetting\r
-\r
-  ;Get a LyX setting from the registry\r
-  ;First try a current user setting, then a system setting\r
-\r
-  Exch $R0\r
-  Push $R1\r
-\r
-  ReadRegStr $R1 HKCU ${APP_REGKEY_SETTINGS} $R0\r
-  \r
-  ${if} $R1 == ""\r
-    ReadRegStr $R1 HKLM ${APP_REGKEY_SETTINGS} $R0\r
-  ${endif}\r
-  \r
-  Exch $R1\r
-  Exch 1\r
-  Pop $R0\r
-\r
-FunctionEnd\r
-\r
-Function SetEnvironmentVariable\r
-\r
-  ;Sets the value of an environment variable\r
-  ;Input on stack: name of variable, value\r
-\r
-  Exch $R0\r
-  Exch 1\r
-  Exch $R1\r
-  \r
-  Push 'kernel32::SetEnvironmentVariable(t, t) i("$R1", "$R0")'\r
-  CallInstDLL "$EXEDIR\System.dll" Call\r
-  \r
-  Pop $R1\r
-  Pop $R0\r
-\r
-FunctionEnd\r
+/*
+
+LyX for Windows Launcher
+Author: Joost Verburg
+
+This will be installed as lyx.exe.
+
+The application will setup the environment variables based on registry
+settings and obtain the command line output of lyxc.exe, which can be shown
+while debugging or in case of a crash. Version information and an icon are
+also included.
+
+*/
+
+!include "MUI.nsh"
+!include "LogicLib.nsh"
+!include "FileFunc.nsh"
+!include "StrFunc.nsh"
+!insertmacro GetParameters
+${StrStr}
+
+!include "..\packaging\installer\settings.nsh" ;Version info from installer
+
+Caption "${APP_NAME} ${APP_VERSION}"
+OutFile lyx.exe
+BrandingText " "
+
+;--------------------------------
+;Variables
+
+Var Parameters
+Var Debug
+Var LyXLanguage
+Var ReturnValue
+Var ResultText
+Var ResultSubText
+
+;--------------------------------
+;User interface for debug output
+
+!define MUI_ICON "..\packaging\icons\lyx_32x32.ico"
+!define MUI_CUSTOMFUNCTION_GUIINIT InitInterface
+
+!define MUI_INSTFILESPAGE_FINISHHEADER_TEXT $ResultText
+!define MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT $ResultSubText
+!insertmacro MUI_PAGE_INSTFILES
+
+!insertmacro MUI_LANGUAGE English
+
+ShowInstDetails show
+
+;--------------------------------
+;Windows API constants
+
+!define SWP_NOSIZE 0x1
+!define MONITOR_DEFAULTTONEAREST 0x2
+
+!define SM_CYCAPTION 4
+!define SM_CXSIZEFRAME 32
+!define SM_CYSIZEFRAME 33
+
+;--------------------------------
+;Version information
+
+VIProductVersion "${APP_VERSION_NUMBER}"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "${APP_NAME}"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "${APP_INFO}"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${APP_VERSION}"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "${APP_COPYRIGHT}"
+
+;--------------------------------
+;Macros
+
+!macro SystemCall STACK
+
+  Push "${STACK}"
+  CallInstDLL "$EXEDIR\System.dll" Call
+
+!macroend
+
+!macro GetLyXSetting NAME VAR
+
+  Push "${NAME}"
+  Call GetLyXSetting
+  Pop "${VAR}"
+
+!macroend
+
+;--------------------------------
+;Main application
+
+Section -Prepare
+
+  ${if} $Debug == ${FALSE}
+    HideWindow
+  ${endif}
+  
+  ;Hide controls we don't need
+  FindWindow $R0 "#32770" "" $HWNDPARENT
+  GetDlgItem $R0 $R0 1004
+  ShowWindow $R0 ${SW_HIDE}  
+  
+  ;Debug info
+  !insertmacro MUI_HEADER_TEXT "Debugging LyX" "The events you have chosen \
+      are being logged."
+  SetDetailsPrint textonly
+  DetailPrint "Debug log:"
+  SetDetailsPrint listonly
+  
+  ;LyX Language
+  !insertmacro GetLyXSetting "Language" $LyXLanguage
+  
+  ;Set language for gettext
+  ${if} $LyXLanguage != ""
+    Push LC_ALL
+    Push $LyXLanguage
+    Call SetEnvironmentVariable
+  ${endif}
+  
+  ;Apparently the output charset needs to be set to some value,
+  ;otherwise no non-ASCII characters will be displayed
+  Push OUTPUT_CHARSET
+  Push -
+  Call SetEnvironmentVariable
+  
+  ;Point to the Aiksaurus data in the LyX folder
+  Push AIK_DATA_DIR
+  Push "$EXEDIR\..\aiksaurus"
+  Call SetEnvironmentVariable
+
+SectionEnd
+
+Section -Launch
+  
+  ;Start LyX and capture the command line output
+  
+  Push '"$EXEDIR\lyxc.exe" $Parameters'
+  CallInstDLL "$EXEDIR\Console.dll" ExecToLog
+  Pop $ReturnValue ;Return value
+  
+SectionEnd
+
+Section -Debug
+  
+  ${if} $Debug == ${FALSE}
+  
+    ;Check whether something went wrong
+    
+    ${if} $ReturnValue == "error"
+  
+      ;Probably the file does not exist
+      MessageBox MB_OK|MB_ICONSTOP "Failed to start LyX."
+    
+    ${elseif} $ReturnValue != 0
+    
+      ;LyX has crashed
+      MessageBox MB_YESNO|MB_ICONSTOP \
+          "LyX has been closed because of an unexpected situation.$\n\
+          This is most likely caused by a flaw in the software.$\n$\n\
+          When you open your documents again, you will be able$\n\
+          to restore an emergency save and continue working.$\n$\n\
+          Would you like to view detailed information about this error?" \
+          IDYES debug IDNO no_debug
+  
+    ${endif}
+    
+    no_debug:
+    
+      Quit
+    
+    debug:
+    
+      ShowWindow $R0 ${SW_HIDE}
+    
+  ${endif}
+  
+  ${if} $ReturnValue != 0
+  
+    StrCpy $ResultText "Error Information"
+    StrCpy $ResultSubText "See Chapter 3 of the LyX Introduction \
+        (Help > Introduction) for information about reporting this issue."
+   
+   ${else}
+   
+    StrCpy $ResultText "Debugging Completed"
+    StrCpy $ResultSubText "The events you have chosen are logged below."
+   
+   ${endif}
+  
+  ${if} $Debug == ${FALSE}
+
+    ;Put the log window on the screen again
+    Push "user32::SetWindowPos(i $HWNDPARENT, i 0, i 133, i 100, i 0, i 0, i ${SWP_NOSIZE})"
+    CallInstDLL "$EXEDIR\System.dll" Call
+    BringToFront
+
+  ${endif}
+
+SectionEnd
+
+
+;--------------------------------
+;Functions
+
+Function InitInterface
+  
+  ;Command line parameters
+  Call GetParameters
+  Pop $Parameters
+  
+  ;Check for debug mode
+  ${StrStr} $R0 $Parameters "-dbg"
+  
+  ${if} $R0 == ""
+    StrCpy $Debug ${FALSE}
+  ${else}
+    StrCpy $Debug ${TRUE}
+  ${endif}
+  
+  ${if} $Debug == ${FALSE}
+
+    ;Keep the log window outside the screen to ensure that there will be no flickering
+    Push "user32::SetWindowPos(i $HWNDPARENT, i 0, i -32000, i -32000, i 0, i 0, i ${SWP_NOSIZE})"
+    CallInstDLL "$EXEDIR\System.dll" Call
+  
+  ${endif}
+
+FunctionEnd
+
+Function GetLyXSetting
+
+  ;Get a LyX setting from the registry
+  ;First try a current user setting, then a system setting
+
+  Exch $R0
+  Push $R1
+
+  ReadRegStr $R1 HKCU ${APP_REGKEY_SETTINGS} $R0
+  
+  ${if} $R1 == ""
+    ReadRegStr $R1 HKLM ${APP_REGKEY_SETTINGS} $R0
+  ${endif}
+  
+  Exch $R1
+  Exch 1
+  Pop $R0
+
+FunctionEnd
+
+Function SetEnvironmentVariable
+
+  ;Sets the value of an environment variable
+  ;Input on stack: name of variable, value
+
+  Exch $R0
+  Exch 1
+  Exch $R1
+  
+  Push 'kernel32::SetEnvironmentVariable(t, t) i("$R1", "$R0")'
+  CallInstDLL "$EXEDIR\System.dll" Call
+  
+  Pop $R1
+  Pop $R0
+
+FunctionEnd
index 89947cf20112dbd36e4f533044b54814f4899098..1e868958360a637a291dce052c08a555747b3210 100644 (file)
@@ -1,38 +1,38 @@
-                       BaKoMa Fonts Licence\r
-                       --------------------\r
-\r
-  This licence covers two font packs (known as BaKoMa Fonts Colelction,\r
-  which is available at `CTAN:fonts/cm/ps-type1/bakoma/'):\r
-\r
-    1) BaKoMa-CM (1.1/12-Nov-94)\r
-       Computer Modern Fonts in PostScript Type 1 and TrueType font formats.\r
-\r
-    2) BaKoMa-AMS (1.2/19-Jan-95)\r
-       AMS TeX fonts in PostScript Type 1 and TrueType font formats.\r
-   \r
-  Copyright (C) 1994, 1995, Basil K. Malyshev. All Rights Reserved.\r
-\r
-  Permission to copy and distribute these fonts for any purpose is \r
-  hereby granted without fee, provided that the above copyright notice, \r
-  author statement and this permission notice appear in all copies of \r
-  these fonts and related documentation.\r
-\r
-  Permission to modify and distribute modified fonts for any purpose is \r
-  hereby granted without fee, provided that the copyright notice, \r
-  author statement, this permission notice and location of original \r
-  fonts (http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma)\r
-  appear in all copies of modified fonts and related documentation.\r
-\r
-  Permission to use these fonts (embedding into PostScript, PDF, SVG\r
-  and printing by using any software) is hereby granted without fee. \r
-  It is not required to provide any notices about using these fonts.\r
-\r
- Basil K. Malyshev\r
- INSTITUTE FOR HIGH ENERGY PHYSICS\r
- IHEP, OMVT\r
- Moscow Region\r
- 142281 PROTVINO\r
- RUSSIA\r
-\r
- E-Mail:       bakoma@mail.ru\r
+                       BaKoMa Fonts Licence
+                       --------------------
+
+  This licence covers two font packs (known as BaKoMa Fonts Colelction,
+  which is available at `CTAN:fonts/cm/ps-type1/bakoma/'):
+
+    1) BaKoMa-CM (1.1/12-Nov-94)
+       Computer Modern Fonts in PostScript Type 1 and TrueType font formats.
+
+    2) BaKoMa-AMS (1.2/19-Jan-95)
+       AMS TeX fonts in PostScript Type 1 and TrueType font formats.
+   
+  Copyright (C) 1994, 1995, Basil K. Malyshev. All Rights Reserved.
+
+  Permission to copy and distribute these fonts for any purpose is 
+  hereby granted without fee, provided that the above copyright notice, 
+  author statement and this permission notice appear in all copies of 
+  these fonts and related documentation.
+
+  Permission to modify and distribute modified fonts for any purpose is 
+  hereby granted without fee, provided that the copyright notice, 
+  author statement, this permission notice and location of original 
+  fonts (http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma)
+  appear in all copies of modified fonts and related documentation.
+
+  Permission to use these fonts (embedding into PostScript, PDF, SVG
+  and printing by using any software) is hereby granted without fee. 
+  It is not required to provide any notices about using these fonts.
+
+ Basil K. Malyshev
+ INSTITUTE FOR HIGH ENERGY PHYSICS
+ IHEP, OMVT
+ Moscow Region
+ 142281 PROTVINO
+ RUSSIA
+
+ E-Mail:       bakoma@mail.ru
       or       malyshev@mail.ihep.ru
\ No newline at end of file
index 23596cc50b11b56ee0652d61949977ea68a51919..fc0ad316a9077fd08144793f643d4cf91406924b 100644 (file)
@@ -1,56 +1,56 @@
-\r
-\r
-\r
-\r
-      BaKoMa Fonts for LyX-Win\r
-\r
-      ==============================\r
-\r
-\r
-      ANY DISTRIBUTION OF ONE OF THESE FONTS MUST INCLUDE THE LICENCE FILE\r
-      THAT IS PART OF THIS PACKAGE\r
-\r
-      The fonts included in this package are intended for Windows ports\r
-      of Lyx, see http://www.lyx.org/download. The fonts are replacements\r
-      that solve some display problems of math symbols.\r
-\r
-      The fonts included in this package are taken from\r
-\r
-      http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma/ttf/\r
-\r
-      and have been modified for use with LyX. \r
-      The most recent versions of the original fonts are available \r
-      with the complete BaKoMa TeX distribution at\r
-\r
-      http://www.ctan.org/tex-archive/systems/win32/bakoma/\r
-\r
-      The author of these fonts, Basil K. Malyshev, has kindly\r
-      granted permission to use and modify these fonts.\r
-     \r
-      The changes made are simple remappings of glyphs. These mappings\r
-      are:\r
-\r
-      cmsy10.ttf   char 8728 mapped to char 183 (\leq)\r
-      cmsy10.ttf   char  196 mapped to char 127 (\spadesuit)\r
-      msbm10.ttf   char 8728 mapped to char 183 (\nleqq)\r
-      msbm10.ttf   char  196 mapped to char 127 (\backepsilon)\r
-      cmmi10.ttf   char 8728 mapped to char 183 (\kapp)\r
-      msam10.ttf   char  196 mapped to char 127 (\circleddash)\r
-      msam10.ttf   char 8728 mapped to char 183 (\uparrows)\r
-      \r
-       \r
-      The mappings do not change any glyph but make the glyphs mentioned \r
-      available under new codes, too. So the functionality of the fonts \r
-      will not be affected in any other application.\r
-\r
-\r
-      In addition to the BaKoMa fonts, this font bundle contains the wasy font\r
-      'wasy10.ttf' from the latex-xft font bundle:\r
-      http://packages.qa.debian.org/l/latex-xft-fonts.html.\r
-      The latex-xft bundle is published under the GPL.\r
-\r
-\r
-      Ekkehart Schlicht\r
-      schlicht@lmu.de\r
-      June 20, 2005.\r
-\r
+
+
+
+
+      BaKoMa Fonts for LyX-Win
+
+      ==============================
+
+
+      ANY DISTRIBUTION OF ONE OF THESE FONTS MUST INCLUDE THE LICENCE FILE
+      THAT IS PART OF THIS PACKAGE
+
+      The fonts included in this package are intended for Windows ports
+      of Lyx, see http://www.lyx.org/download. The fonts are replacements
+      that solve some display problems of math symbols.
+
+      The fonts included in this package are taken from
+
+      http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma/ttf/
+
+      and have been modified for use with LyX. 
+      The most recent versions of the original fonts are available 
+      with the complete BaKoMa TeX distribution at
+
+      http://www.ctan.org/tex-archive/systems/win32/bakoma/
+
+      The author of these fonts, Basil K. Malyshev, has kindly
+      granted permission to use and modify these fonts.
+     
+      The changes made are simple remappings of glyphs. These mappings
+      are:
+
+      cmsy10.ttf   char 8728 mapped to char 183 (\leq)
+      cmsy10.ttf   char  196 mapped to char 127 (\spadesuit)
+      msbm10.ttf   char 8728 mapped to char 183 (\nleqq)
+      msbm10.ttf   char  196 mapped to char 127 (\backepsilon)
+      cmmi10.ttf   char 8728 mapped to char 183 (\kapp)
+      msam10.ttf   char  196 mapped to char 127 (\circleddash)
+      msam10.ttf   char 8728 mapped to char 183 (\uparrows)
+      
+       
+      The mappings do not change any glyph but make the glyphs mentioned 
+      available under new codes, too. So the functionality of the fonts 
+      will not be affected in any other application.
+
+
+      In addition to the BaKoMa fonts, this font bundle contains the wasy font
+      'wasy10.ttf' from the latex-xft font bundle:
+      http://packages.qa.debian.org/l/latex-xft-fonts.html.
+      The latex-xft bundle is published under the GPL.
+
+
+      Ekkehart Schlicht
+      schlicht@lmu.de
+      June 20, 2005.
+
index f1876a1a3db7a138849e2de28227cf76b6d3eccb..8d709ad97b1aef53029f213b674532bbcbf57161 100644 (file)
@@ -1,3 +1,3 @@
-cd ..\..\scons\r
-call scons install prefix=..\..\build-msvc use_vc=yes frontend=qt4 mode=release version_suffix=15 gettext=system nls=yes extra_inc_path=..\..\lyx-windows-deps-msvc-qt4\include extra_lib_path=..\..\lyx-windows-deps-msvc-qt4\lib extra_bin_path=..\..\lyx-windows-deps-msvc-qt4\bin qt_dir=..\..\lyx-windows-deps-msvc-qt4\qt-4\r
+cd ..\..\scons
+call scons install prefix=..\..\build-msvc use_vc=yes frontend=qt4 mode=release version_suffix=15 gettext=system nls=yes extra_inc_path=..\..\lyx-windows-deps-msvc-qt4\include extra_lib_path=..\..\lyx-windows-deps-msvc-qt4\lib extra_bin_path=..\..\lyx-windows-deps-msvc-qt4\bin qt_dir=..\..\lyx-windows-deps-msvc-qt4\qt-4
 cd ..\Win32\packaging
\ No newline at end of file
index f290f4e3e5deb44975fc0a7be940fceb18daf26e..d0c9ab2f6bda6b32666bd1528b29918f36cc3436 100644 (file)
@@ -1,4 +1,4 @@
-cd ..\..\scons\r
-call scons install prefix=..\..\build-msvc use_vc=yes frontend=qt4 mode=debug version_suffix=15 gettext=system nls=yes extra_inc_path=..\..\lyx-windows-deps-msvc-qt4\include extra_lib_path=..\..\lyx-windows-deps-msvc-qt4\lib extra_bin_path=..\..\lyx-windows-deps-msvc-qt4\bin qt_dir=..\..\lyx-windows-deps-msvc-qt4\qt-4\r
-call scons msvs_projects\r
+cd ..\..\scons
+call scons install prefix=..\..\build-msvc use_vc=yes frontend=qt4 mode=debug version_suffix=15 gettext=system nls=yes extra_inc_path=..\..\lyx-windows-deps-msvc-qt4\include extra_lib_path=..\..\lyx-windows-deps-msvc-qt4\lib extra_bin_path=..\..\lyx-windows-deps-msvc-qt4\bin qt_dir=..\..\lyx-windows-deps-msvc-qt4\qt-4
+call scons msvs_projects
 cd ..\Win32\packaging
\ No newline at end of file
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/Aspell.nsh b/development/Win32/packaging/installer/LyXWinInstaller/Aspell.nsh
new file mode 100644 (file)
index 0000000..d6b0925
--- /dev/null
@@ -0,0 +1,303 @@
+; 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/installer/LyXWinInstaller/Changelog.txt b/development/Win32/packaging/installer/LyXWinInstaller/Changelog.txt
new file mode 100644 (file)
index 0000000..de2cd48
--- /dev/null
@@ -0,0 +1,150 @@
+Version LyX 1.5alpha-??-02-2007
+
+- LyX 1.5alpha from ??-02-2007
+  -
+
+- updated readme files
+
+
+Version LyX 1.5alpha-05-02-2007
+
+- LyX 1.5alpha from 05-02-2007
+
+- updated to ImageMagick 6.3.2-3
+
+- installer bugfix introduced in the last releases (01-02-2007 and 04-02-2007):
+  deliver correct python25.dll and python.exe
+- hopefully correct fix to the bug that other PDF viewers than Acrobat/Adobe Reader
+  and GSView weren't recognized
+
+
+Version LyX 1.5alpha-04-02-2007
+
+- LyX 1.5alpha from 04-02-2007
+
+- installer bugfixes introduced in the last release from 01-02-2007
+- updated to MiKTeX 2.5.2580
+- fix bug that other PDF viewers then Acrobat/Adobe Reader and GSView weren't recognized
+
+Thanks to Allesandro Garberi:
+- updated Italian translation of the installer
+
+This is now fixed in the included MiKTeX version!:
+- 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-01-02-2007
+
+- LyX 1.5svn from 01-02-2007:
+  - you can now enter special charactes directly to the document ( "µ", "€", etc.)
+  - tooltips for menu buttons now appear
+  - missing math characters are now displayed
+  - nearly all known crashes are fixed
+  - updated ExtendedInsets manual (now named "Embedded Objects" in the Help menu)
+
+- updated to JabRef 2.2
+
+Thanks to Gisela Stöhr:
+- updated Slovak translation of the installer
+
+
+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 <fa2ramon@usc.es>:
+- 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/installer/LyXWinInstaller/InstallActions-complete.nsh b/development/Win32/packaging/installer/LyXWinInstaller/InstallActions-complete.nsh
new file mode 100644 (file)
index 0000000..cfb3f05
--- /dev/null
@@ -0,0 +1,358 @@
+; 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} $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\
+                SET AIK_DATA_DIR=${AiksaurusDir}$\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 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 Application 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
+   RMDir /r $INSTDIR\bin\DLLs
+  ${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/installer/LyXWinInstaller/InstallActions-small.nsh b/development/Win32/packaging/installer/LyXWinInstaller/InstallActions-small.nsh
new file mode 100644 (file)
index 0000000..b83a8ba
--- /dev/null
@@ -0,0 +1,292 @@
+; 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} $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\
+                SET AIK_DATA_DIR=${AiksaurusDir}$\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 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 Application 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
+   RMDir /r $INSTDIR\bin\DLLs
+  ${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/installer/LyXWinInstaller/LaTeXFolder.nsh b/development/Win32/packaging/installer/LyXWinInstaller/LaTeXFolder.nsh
new file mode 100644 (file)
index 0000000..92d8b56
--- /dev/null
@@ -0,0 +1,39 @@
+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/installer/LyXWinInstaller/LanguageSettings.nsh b/development/Win32/packaging/installer/LyXWinInstaller/LanguageSettings.nsh
new file mode 100644 (file)
index 0000000..bef1f7b
--- /dev/null
@@ -0,0 +1,563 @@
+; 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} "Ce\9atina"
+   StrCpy ${LangCdeSys} "cs"
+   StrCpy ${LangNmeSys} "Ce\9atina"
+   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} "Español"
+   StrCpy ${LangCdeSys} "es"
+   StrCpy ${LangNmeSys} "Español"
+   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} "Français"
+   StrCpy ${LangCdeSys} "fr"
+   StrCpy ${LangNmeSys} "Français"
+   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} "Português"
+   StrCpy ${LangSysEnc} "1252"
+  ${endif}
+
+  ${if} ${LangISOCode} = 1048
+   StrCpy ${LangNme} "Româna"
+   StrCpy ${LangCdeSys} "ro"
+   StrCpy ${LangNmeSys} "Româna"
+   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} "Türkçe"
+   StrCpy ${LangCdeSys} "tr"
+   StrCpy ${LangNmeSys} "Türkçe"
+   StrCpy ${LangSysEnc} "1254"
+  ${endif}
+
+  ${if} ${LangISOCode} = 1058
+   StrCpy ${LangCdeSys} "uk"
+   StrCpy ${LangNmeSys} "Ukrainian"
+   StrCpy ${LangSysEnc} "1251"
+  ${endif}
+
+  ${if} ${LangISOCode} = 1060
+   StrCpy ${LangNme} "Sloven\9acina"
+   StrCpy ${LangCdeSys} "sl"
+   StrCpy ${LangNmeSys} "Sloven\9acina"
+   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} "Latvie\9au"
+   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} "Español"
+   StrCpy ${LangSysEnc} "1252"
+  ${endif}
+
+  ${if} ${LangISOCode} = 2060
+   StrCpy ${LangCdeSys} "fr"
+   StrCpy ${LangNmeSys} "Français"
+   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} "Português"
+   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} "Español"
+   StrCpy ${LangSysEnc} "1252"
+  ${endif}
+
+  ${if} ${LangISOCode} = 3084
+   StrCpy ${LangCdeSys} "fr"
+   StrCpy ${LangNmeSys} "Français"
+   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} "Français"
+   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} "Français"
+   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} "Español"
+   StrCpy ${LangSysEnc} "1252"
+  ${endif}
+
+  ${if} ${LangISOCode} = 13322
+   StrCpy ${LangCdeSys} "es"
+   StrCpy ${LangNmeSys} "Español"
+   StrCpy ${LangSysEnc} "1252"
+  ${endif}
+
+  ${if} ${LangISOCode} = 14346
+   StrCpy ${LangCdeSys} "es"
+   StrCpy ${LangNmeSys} "Español"
+   StrCpy ${LangSysEnc} "1252"
+  ${endif}
+
+  ${if} ${LangISOCode} = 20490
+   StrCpy ${LangCdeSys} "es"
+   StrCpy ${LangNmeSys} "Español"
+   StrCpy ${LangSysEnc} "1252"
+  ${endif}
+
+!macroend
+
+;------------------------------------------
+
+; Setting LyX's menu language
+
+!macro GetLangCode LangCde Name LangEnc
+
+  ${if} ${Name} == "Ce\9atina"
+   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} == "Español"
+   StrCpy ${LangCde} "es_ES"
+   StrCpy ${LangEnc} "cp-1252"
+  ${endif}
+
+  ${if} ${Name} == "Euskara"
+   StrCpy ${LangCde} "eu_EU"
+   StrCpy ${LangEnc} "cp-1252"
+  ${endif}
+
+  ${if} ${Name} == "Français"
+   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} == "Româna"
+   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} == "Sloven\9acina"
+   StrCpy ${LangCde} "sl_SI"
+   StrCpy ${LangEnc} "cp-1250"
+  ${endif}
+
+  ${if} ${Name} == "Suomi"
+   StrCpy ${LangCde} "fi_FI"
+   StrCpy ${LangEnc} "cp-1252"
+  ${endif}
+
+  ${if} ${Name} == "Türkçe"
+   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/installer/LyXWinInstaller/License.txt b/development/Win32/packaging/installer/LyXWinInstaller/License.txt
new file mode 100644 (file)
index 0000000..288ac69
--- /dev/null
@@ -0,0 +1,365 @@
+    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.
+\f
+                   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.)
+\f
+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.
+\f
+  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.
+\f
+  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
+\f
+           How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) 19yy  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 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.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/LyX-Installer-Complete.nsi b/development/Win32/packaging/installer/LyXWinInstaller/LyX-Installer-Complete.nsi
new file mode 100644 (file)
index 0000000..ccd12bb
--- /dev/null
@@ -0,0 +1,459 @@
+; 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 Stöhr 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.5alpha-05-02-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.08 - Complete"
+!define INSTALLER_VERSION "Complete"
+!define INSTALLER_EXE "LyXWin150alphaComplete-3-08.exe"
+!define INSTALLER2_EXE "LyXWin150alphaSmall-3-08.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.2-Setup.exe"
+!define JabRefVersion "JabRef 2.2"
+!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.2580.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 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/installer/LyXWinInstaller/LyX-Installer-Small.nsi b/development/Win32/packaging/installer/LyXWinInstaller/LyX-Installer-Small.nsi
new file mode 100644 (file)
index 0000000..b2413ba
--- /dev/null
@@ -0,0 +1,438 @@
+; 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 Stöhr 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.5alpha-05-02-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.08 - Small"
+!define INSTALLER_VERSION "Small"
+!define INSTALLER_EXE "LyXWin150alphaSmall-3-08.exe"
+!define INSTALLER2_EXE "LyXWin150alphaComplete-3-08.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 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/installer/LyXWinInstaller/LyXUtils.nsh b/development/Win32/packaging/installer/LyXWinInstaller/LyXUtils.nsh
new file mode 100644 (file)
index 0000000..c841b05
--- /dev/null
@@ -0,0 +1,534 @@
+; 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/installer/LyXWinInstaller/MissingPrograms.nsh b/development/Win32/packaging/installer/LyXWinInstaller/MissingPrograms.nsh
new file mode 100644 (file)
index 0000000..a33ad27
--- /dev/null
@@ -0,0 +1,232 @@
+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 ; function from LyXUtils.nsh
+   ${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 ; function from LyXUtils.nsh
+  ${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 ; function from LyXUtils.nsh
+  ${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" ; macro from LyXUtils.nsh
+   ${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
+  !insertmacro FileCheck $5 "meanings.dat" "${AiksaurusDir}" ; macro from LyXUtils.nsh
+  ${if} $5 == "True"
+   StrCpy $AiksaurusPath "${AiksaurusDir}"
+  ${endif}
+;  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 Acrobat or Adobe Reader is used as PDF-viewer
+  ReadRegStr $String HKCR ".pdf" ""
+  ${if} $String != "AcroExch.Document" ; this name is only used by Acrobat and Adobe Reader
+   StrCpy $Acrobat "None"
+  ${endif}
+  ${if} $Acrobat != "None"
+   StrCpy $Search "8" ; search for Acrobat or Adobe Reader 8 because then PDFViewWin8.exe 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 LyX's 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.2" "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/installer/LyXWinInstaller/ReadmeComplete.txt b/development/Win32/packaging/installer/LyXWinInstaller/ReadmeComplete.txt
new file mode 100644 (file)
index 0000000..1d9af76
--- /dev/null
@@ -0,0 +1,96 @@
+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
+- (optional) JabRef, an editor for BibTeX database files
+
+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, JabRef,
+and MiKTeX are only uninstalled when they were installed together with LyX. You can uninstall
+Aspell, GSview, JabRef, 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<at>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/installer/LyXWinInstaller/ReadmePackage.txt b/development/Win32/packaging/installer/LyXWinInstaller/ReadmePackage.txt
new file mode 100644 (file)
index 0000000..79de129
--- /dev/null
@@ -0,0 +1,93 @@
+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.
+You can download the file for every release from:
+http://developer.berlios.de/projects/lyxwininstall/
+
+---
+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<at>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.3.2
+
+---
+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.5 are used:
+
+python.exe and python25.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.
+
+---
+JabRef
+
+License: GPL
+
+GSview is included completely. It will be installed and uninstalled using its own
+installer.
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/ReadmeSmall.txt b/development/Win32/packaging/installer/LyXWinInstaller/ReadmeSmall.txt
new file mode 100644 (file)
index 0000000..78c1bb3
--- /dev/null
@@ -0,0 +1,100 @@
+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, JabRef,
+and MiKTeX are only uninstalled when they were installed together with LyX. You can uninstall
+Aspell, GSview, JabRef, 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<at>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/installer/LyXWinInstaller/Uninstall.nsh b/development/Win32/packaging/installer/LyXWinInstaller/Uninstall.nsh
new file mode 100644 (file)
index 0000000..a2682e3
--- /dev/null
@@ -0,0 +1,148 @@
+; 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
+  !insertmacro FileCheck $5 "meanings.dat" "${AiksaurusDir}" ; macro from LyXUtils.nsh
+  ${if} $5 == "True"
+   RMDir /r "${AiksaurusDir}"
+  ${endif}
+;  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/installer/LyXWinInstaller/abi_util_fileassoc.nsh b/development/Win32/packaging/installer/LyXWinInstaller/abi_util_fileassoc.nsh
new file mode 100644 (file)
index 0000000..e63e1d5
--- /dev/null
@@ -0,0 +1,109 @@
+;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/installer/LyXWinInstaller/icons/Lydia.svg b/development/Win32/packaging/installer/LyXWinInstaller/icons/Lydia.svg
new file mode 100644 (file)
index 0000000..270a896
--- /dev/null
@@ -0,0 +1,613 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Sodipodi ("http://www.sodipodi.com/") -->
+<svg
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   id="svg1"
+   sodipodi:version="0.32"
+   inkscape:version="0.42.2"
+   width="128.00000pt"
+   height="128.00000pt"
+   sodipodi:docname="Lydia.svg"
+   sodipodi:docbase="F:\LyXPackageUsti\icons"
+   inkscape:export-filename="F:\LyXPackageUsti\icons\Lydia.ico"
+   inkscape:export-xdpi="18.500000"
+   inkscape:export-ydpi="18.500000">
+  <metadata
+     id="metadata126" />
+  <defs
+     id="defs3">
+    <linearGradient
+       id="linearGradient1806">
+      <stop
+         style="stop-color:#000000;stop-opacity:0.40677965;"
+         offset="0.0000000"
+         id="stop1807" />
+      <stop
+         style="stop-color:#000000;stop-opacity:0.073446326;"
+         offset="0.64777780"
+         id="stop3276" />
+      <stop
+         style="stop-color:#000000;stop-opacity:0.0000000;"
+         offset="1.0000000"
+         id="stop1808" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient1518">
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0.74226803;"
+         offset="0.0000000"
+         id="stop1519" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0.0000000;"
+         offset="1.0000000"
+         id="stop1520" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient1512">
+      <stop
+         style="stop-color:#000000;stop-opacity:0.54639173;"
+         offset="0.0000000"
+         id="stop1513" />
+      <stop
+         style="stop-color:#000000;stop-opacity:0.0000000;"
+         offset="1.0000000"
+         id="stop1514" />
+    </linearGradient>
+    <pattern
+       width="130.00000"
+       height="96.000000"
+       id="pattern903">
+      <image
+         xlink:href="/home/andy/Desktop/lux.png"
+         sodipodi:absref="/home/andy/Desktop/lux.png"
+         width="130.00000"
+         height="96.000000"
+         id="image904" />
+    </pattern>
+    <linearGradient
+       xlink:href="#linearGradient1512"
+       id="linearGradient1515"
+       x1="32.921471"
+       y1="69.997230"
+       x2="49.624015"
+       y2="77.805330"
+       gradientTransform="scale(1.764342,0.566783)"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1517"
+       x1="46.503232"
+       y1="26.114084"
+       x2="46.767103"
+       y2="52.293003"
+       gradientTransform="scale(1.087419,0.919608)"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       xlink:href="#linearGradient1512"
+       id="linearGradient1522"
+       x1="39.077764"
+       y1="45.472822"
+       x2="38.935727"
+       y2="34.736868"
+       gradientUnits="userSpaceOnUse" />
+    <radialGradient
+       xlink:href="#linearGradient1518"
+       id="radialGradient1524"
+       cx="42.243992"
+       cy="36.216045"
+       fx="42.243992"
+       fy="36.216045"
+       r="6.1075649"
+       gradientUnits="userSpaceOnUse" />
+    <radialGradient
+       xlink:href="#linearGradient1518"
+       id="radialGradient1525"
+       cx="42.243992"
+       cy="36.216045"
+       fx="42.243992"
+       fy="36.216045"
+       r="6.1075649"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1527"
+       x1="50.072014"
+       y1="13.720966"
+       x2="26.487234"
+       y2="13.768328"
+       gradientTransform="scale(0.838005,1.193310)"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1529"
+       x1="61.980094"
+       y1="88.524220"
+       x2="51.749805"
+       y2="51.554661"
+       gradientTransform="scale(1.087419,0.919608)"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1531"
+       x1="58.108066"
+       y1="60.616996"
+       x2="42.782681"
+       y2="60.616996"
+       gradientTransform="scale(1.616581,0.618590)"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1533"
+       x1="51.998036"
+       y1="87.448610"
+       x2="44.157573"
+       y2="78.630961"
+       gradientTransform="scale(1.394628,0.717037)"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1535"
+       x1="9.9581958"
+       y1="96.715331"
+       x2="22.288983"
+       y2="86.950267"
+       gradientTransform="scale(1.517117,0.659145)"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       xlink:href="#linearGradient1512"
+       id="linearGradient1537"
+       x1="50.659911"
+       y1="88.177996"
+       x2="53.563345"
+       y2="65.575180"
+       gradientTransform="scale(0.992818,1.007234)"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       xlink:href="#linearGradient1512"
+       id="linearGradient1539"
+       x1="13.065491"
+       y1="85.119429"
+       x2="26.982304"
+       y2="67.896692"
+       gradientTransform="scale(1.034556,0.966599)"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1659"
+       x1="36.185605"
+       y1="131.57237"
+       x2="34.983450"
+       y2="109.63145"
+       gradientTransform="scale(1.006063,0.993973)"
+       gradientUnits="userSpaceOnUse" />
+    <radialGradient
+       xlink:href="#linearGradient1806"
+       id="radialGradient1977"
+       cx="0.50000000"
+       cy="0.50000000"
+       r="0.50000000"
+       fx="0.50000000"
+       fy="0.50000000" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1734"
+       x1="84.674620"
+       y1="134.88581"
+       x2="79.578964"
+       y2="116.69227"
+       gradientTransform="scale(1.110182,0.900753)"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1512"
+       id="linearGradient1424"
+       x1="39.077764"
+       y1="45.472822"
+       x2="38.935727"
+       y2="34.736868"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1518"
+       id="linearGradient1426"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(0.838005,1.193310)"
+       x1="50.072014"
+       y1="13.720966"
+       x2="26.487234"
+       y2="13.768328" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1806"
+       id="radialGradient1514"
+       cx="41.875938"
+       cy="37.865574"
+       fx="41.875938"
+       fy="37.865574"
+       r="12.562782"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1518"
+       id="linearGradient1516"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(1.087419,0.919608)"
+       x1="61.980094"
+       y1="88.524220"
+       x2="51.749805"
+       y2="51.554661" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1518"
+       id="linearGradient1519"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(1.087419,0.919608)"
+       x1="46.503232"
+       y1="26.114084"
+       x2="46.767103"
+       y2="52.293003" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1512"
+       id="linearGradient1521"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(0.992818,1.007234)"
+       x1="50.659911"
+       y1="88.177996"
+       x2="53.563345"
+       y2="65.575180" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1512"
+       id="linearGradient1523"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(1.764342,0.566783)"
+       x1="32.921471"
+       y1="69.997230"
+       x2="49.624015"
+       y2="77.805330" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1512"
+       id="linearGradient1525"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(1.034556,0.966599)"
+       x1="13.065491"
+       y1="85.119429"
+       x2="26.982304"
+       y2="67.896692" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1518"
+       id="linearGradient1528"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(1.517117,0.659145)"
+       x1="9.9581958"
+       y1="96.715331"
+       x2="22.288983"
+       y2="86.950267" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1512"
+       id="linearGradient1530"
+       gradientUnits="userSpaceOnUse"
+       x1="39.077764"
+       y1="45.472822"
+       x2="38.935727"
+       y2="34.736868" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1512"
+       id="linearGradient1532"
+       gradientUnits="userSpaceOnUse"
+       x1="39.077764"
+       y1="45.472822"
+       x2="38.935727"
+       y2="34.736868" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1518"
+       id="radialGradient1534"
+       gradientUnits="userSpaceOnUse"
+       cx="42.243992"
+       cy="36.216045"
+       fx="42.243992"
+       fy="36.216045"
+       r="6.1075649" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1518"
+       id="radialGradient1536"
+       gradientUnits="userSpaceOnUse"
+       cx="42.243992"
+       cy="36.216045"
+       fx="42.243992"
+       fy="36.216045"
+       r="6.1075649" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1518"
+       id="linearGradient1538"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(1.616581,0.618590)"
+       x1="58.108066"
+       y1="60.616996"
+       x2="42.782681"
+       y2="60.616996" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1518"
+       id="linearGradient1540"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(1.394628,0.717037)"
+       x1="51.998036"
+       y1="87.448610"
+       x2="44.157573"
+       y2="78.630961" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1518"
+       id="linearGradient1542"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(0.838005,1.193310)"
+       x1="50.072014"
+       y1="13.720966"
+       x2="26.487234"
+       y2="13.768328" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1518"
+       id="linearGradient1544"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(1.110182,0.900753)"
+       x1="84.674620"
+       y1="134.88581"
+       x2="79.578964"
+       y2="116.69227" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1518"
+       id="linearGradient1546"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="scale(1.006063,0.993973)"
+       x1="36.185605"
+       y1="131.57237"
+       x2="34.983450"
+       y2="109.63145" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0000000"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1.2279853"
+     inkscape:cx="57.933129"
+     inkscape:cy="15.420322"
+     inkscape:window-width="1024"
+     inkscape:window-height="721"
+     inkscape:window-x="-4"
+     inkscape:window-y="-4"
+     inkscape:current-layer="svg1" />
+  <g
+     transform="matrix(1.179090,0.000000,0.000000,1.296631,-18.68231,-19.71797)"
+     id="g731">
+    <g
+       transform="matrix(1.429413,-3.932010e-2,3.932010e-2,1.429413,6.816050,14.52049)"
+       id="g1540">
+      <path
+         sodipodi:nodetypes="cczzc"
+         id="path917"
+         d="M 24.859391,31.907937 C 23.419824,24.350211 24.964801,11.778293 30.054438,8.9789918 C 35.144076,6.1796912 40.379124,5.3034583 41.760605,9.7424375 C 43.243834,14.508354 39.448349,16.768623 34.704351,20.597833 C 29.745701,24.600304 28.340109,28.103497 24.859391,31.907937 z "
+         style="fill:#212121;fill-rule:evenodd;stroke-width:0.57499999" />
+    </g>
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       sodipodi:nodetypes="cczcc"
+       id="path918"
+       d="M 25.193706,48.176692 C 25.193706,48.176692 24.939224,26.545733 44.025365,23.491950 C 63.111506,20.438168 70.109757,49.449102 68.710107,54.029776 C 67.310457,58.610450 49.351398,70.044503 37.645232,66.227275 C 25.939066,62.410047 26.975079,57.338040 25.193706,48.176692 z "
+       style="fill:#618bb4;fill-opacity:1.0000000;fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       id="path1528"
+       d="M 28.074289,48.939744 C 28.074289,48.939744 27.844841,29.436670 45.053436,26.683294 C 62.262031,23.929920 69.374917,51.234223 67.309886,54.217047 C 65.244854,57.199869 51.477978,62.247724 40.923373,58.806005 C 30.368769,55.364286 29.680425,57.199869 28.074289,48.939744 z "
+       style="fill:url(#linearGradient1516);fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       id="path1516"
+       d="M 25.891950,48.915464 C 25.891950,48.915464 25.637468,27.284505 44.723609,24.230722 C 63.809750,21.176940 71.698688,51.460283 69.408351,54.768548 C 67.118014,58.076812 51.849101,63.675413 40.142935,59.858185 C 28.436769,56.040957 27.673323,58.076812 25.891950,48.915464 z "
+       style="fill:url(#linearGradient1519);fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       sodipodi:nodetypes="czcccczz"
+       id="path916"
+       d="M 40.717100,73.115916 C 40.717100,68.916965 50.070907,54.562023 54.040131,54.343356 C 58.099053,54.119748 55.986013,56.829076 59.039796,56.574594 C 62.093578,56.320112 67.183216,56.574594 68.201143,59.882859 C 69.219071,63.191123 69.473553,72.606953 66.165288,73.370398 C 62.857024,74.133844 60.057723,74.897290 58.276350,77.442108 C 56.494977,79.986927 51.150858,84.567601 46.061220,82.277264 C 41.078519,80.035049 40.717100,77.314867 40.717100,73.115916 z "
+       style="fill:#a2360f;fill-opacity:1.0000000;fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       id="path922"
+       d="M 47.842593,75.406253 C 48.097075,73.879362 50.387412,62.936641 53.186712,61.155268 C 55.986013,59.373895 54.204640,62.936641 55.222568,64.718014 C 56.240495,66.499388 61.330133,59.373895 61.330133,62.427678 C 61.330133,65.481460 56.749459,67.517315 59.803241,67.008351 C 62.857024,66.499388 71.254926,63.954569 66.928734,67.262833 C 62.602542,70.571098 60.312205,75.406253 57.258423,73.879362 C 54.204640,72.352471 53.186712,77.187626 50.641894,77.187626 C 48.097075,77.187626 47.588111,77.187626 47.842593,75.406253 z "
+       style="fill:#e7d417;fill-opacity:0.44654086;fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       sodipodi:nodetypes="czcccczz"
+       id="path1536"
+       d="M 40.983128,72.559266 C 40.983128,68.360315 50.336933,54.005373 54.306163,53.786706 C 58.365083,53.563098 56.252043,56.272426 59.305823,56.017944 C 62.359603,55.763462 67.449243,56.017944 68.467173,59.326209 C 69.485103,62.634473 69.739583,72.050303 66.431313,72.813748 C 63.123053,73.577194 60.323753,74.340640 58.542383,76.885458 C 56.761003,79.430277 51.416883,84.010951 46.327253,81.720614 C 41.344547,79.478399 40.983128,76.758217 40.983128,72.559266 z "
+       style="fill:url(#linearGradient1521);fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       id="path910"
+       d="M 51.150857,44.868428 L 78.634900,52.757366 L 100.26586,36.979490 L 51.150857,44.868428 z "
+       style="fill:url(#linearGradient1523);fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       id="path909"
+       d="M 50.387412,44.359464 L 100.26586,30.108479 L 76.344563,49.194620 L 50.387412,44.359464 z "
+       style="fill:#bd3200;fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.726901,0.000000,0.000000,1.726901,-13.97865,2.029577)"
+       d="M 70.491480 30.108479 A 8.9068661 8.9068661 0 1 1  52.677748,30.108479 A 8.9068661 8.9068661 0 1 1  70.491480 30.108479 z"
+       sodipodi:ry="8.9068661"
+       sodipodi:rx="8.9068661"
+       sodipodi:cy="30.108479"
+       sodipodi:cx="61.584614"
+       id="path914"
+       style="fill:#f4f4f4;fill-rule:evenodd;stroke-width:0.47612661"
+       sodipodi:type="arc" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       id="path915"
+       d="M 27.993007,55.556667 C 27.993007,55.556667 27.484043,58.355967 29.774380,60.900786 C 32.064717,63.445605 41.480546,72.097989 38.172282,77.187626 C 34.864017,82.277264 26.211633,82.786228 23.157851,79.223481 C 20.104068,75.660735 8.9068657,71.080061 9.1613476,69.298688 C 9.4158295,67.517315 5.0896376,58.610449 11.960648,58.101486 C 18.831659,57.592522 23.412333,53.011848 25.448188,52.757366 C 27.484043,52.502884 28.247488,53.775294 27.993007,55.556667 z "
+       style="fill:#a2360f;fill-opacity:1.0000000;fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       id="path921"
+       d="M 26.211633,61.409750 C 26.211633,61.409750 28.756452,67.517315 31.301271,70.825580 C 33.846090,74.133844 30.537825,78.714518 27.229561,75.660735 C 23.921297,72.606953 13.487540,70.316616 13.742021,67.262833 C 13.996503,64.209051 18.322695,69.807652 19.086141,67.262833 C 19.849586,64.718014 13.996503,58.864931 17.050286,59.628377 C 20.104068,60.391823 22.394405,68.026279 23.157851,63.700087 C 23.921297,59.373895 22.903369,55.556667 26.211633,61.409750 z "
+       style="fill:#e7d417;fill-opacity:0.42767295;fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       id="path1538"
+       d="M 28.286502,55.412556 C 28.286502,55.412556 27.777538,58.211856 30.067875,60.756675 C 32.358212,63.301494 41.774041,71.953878 38.465777,77.043515 C 35.157512,82.133153 26.505128,82.642117 23.451346,79.079370 C 20.397563,75.516624 9.2003609,70.935950 9.4548429,69.154577 C 9.7093249,67.373204 5.3831329,58.466338 12.254143,57.957375 C 19.125154,57.448411 23.705828,52.867737 25.741683,52.613255 C 27.777538,52.358773 28.540983,53.631183 28.286502,55.412556 z "
+       style="fill:url(#linearGradient1525);fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.389462,0.000000,0.000000,1.389462,7.172151,12.65069)"
+       d="M 70.491480 30.108479 A 8.9068661 8.9068661 0 1 1  52.677748,30.108479 A 8.9068661 8.9068661 0 1 1  70.491480 30.108479 z"
+       sodipodi:ry="8.9068661"
+       sodipodi:rx="8.9068661"
+       sodipodi:cy="30.108479"
+       sodipodi:cx="61.584614"
+       id="path1510"
+       style="fill:#e4d66e;fill-rule:evenodd;stroke-width:0.59175676"
+       sodipodi:type="arc" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.286480,10.63843)"
+       d="M 67.437697 31.126406 A 5.8530831 5.8530831 0 1 1  55.731531,31.126406 A 5.8530831 5.8530831 0 1 1  67.437697 31.126406 z"
+       sodipodi:ry="5.8530831"
+       sodipodi:rx="5.8530831"
+       sodipodi:cy="31.126406"
+       sodipodi:cx="61.584614"
+       id="path912"
+       style="fill-rule:evenodd;stroke-width:0.57499999"
+       sodipodi:type="arc" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       id="path919"
+       d="M 25.957152,48.431174 C 25.957152,48.431174 31.810235,47.922210 29.774380,50.975993 C 27.738525,54.029776 20.867514,55.047703 25.193706,56.320112 C 29.519898,57.592522 52.423267,58.101486 54.968086,59.373895 C 57.512904,60.646304 50.132930,68.535243 45.297774,67.008351 C 40.462619,65.481460 33.591608,59.119413 26.466115,60.137341 C 19.340623,61.155268 12.469612,65.226978 12.215130,60.900786 C 11.960648,56.574594 17.559250,49.703584 25.957152,48.431174 z "
+       style="fill:#45800c;fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       id="path1534"
+       d="M 28.123743,46.722923 C 28.123743,46.722923 33.733476,46.235120 31.782264,49.161938 C 29.831053,52.088756 23.245714,53.064361 27.392038,54.283868 C 31.538363,55.503375 53.489492,55.991179 55.928506,57.210685 C 58.367520,58.430192 51.294379,65.991137 46.660251,64.527728 C 42.026124,63.064320 35.440785,56.966784 28.611545,57.942390 C 21.782305,58.917995 15.196966,62.820418 14.953065,58.674094 C 14.709163,54.527769 20.074995,47.942431 28.123743,46.722923 z "
+       style="fill:url(#linearGradient1528);fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       sodipodi:nodetypes="cccccccc"
+       id="path920"
+       d="M 68.710107,53.011848 C 68.710107,53.011848 77.616973,55.811149 72.272853,56.829076 C 66.928734,57.847004 53.695676,56.574594 49.878448,59.119413 C 46.061220,61.664232 41.735028,69.807652 44.788811,71.334543 C 47.842593,72.861435 55.986013,64.209051 63.111506,62.936641 C 70.236998,61.664232 85.505911,62.427678 86.269357,59.882859 C 87.032802,57.338040 72.447502,49.641836 69.648201,49.641836 C 66.848901,49.641836 68.710107,53.011848 68.710107,53.011848 z "
+       style="fill:#52980f;fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.318402,0.000000,0.000000,1.318402,36.93339,7.749206)"
+       d="M 51.150857 35.452599 A 9.1613474 9.1613474 0 1 1  32.828162,35.452599 A 9.1613474 9.1613474 0 1 1  51.150857 35.452599 z"
+       sodipodi:ry="9.1613474"
+       sodipodi:rx="9.1613474"
+       sodipodi:cy="35.452599"
+       sodipodi:cx="41.989510"
+       id="path1523"
+       style="fill:url(#linearGradient1530);fill-rule:evenodd;stroke-width:0.62365168"
+       sodipodi:type="arc" />
+    <path
+       transform="matrix(1.671651,0.000000,0.000000,1.671651,-3.918064,5.232760)"
+       d="M 51.150857 35.452599 A 9.1613474 9.1613474 0 1 1  32.828162,35.452599 A 9.1613474 9.1613474 0 1 1  51.150857 35.452599 z"
+       sodipodi:ry="9.1613474"
+       sodipodi:rx="9.1613474"
+       sodipodi:cy="35.452599"
+       sodipodi:cx="41.989510"
+       id="path923"
+       style="fill:#f4f4f4;fill-rule:evenodd;stroke-width:0.49186331"
+       sodipodi:type="arc" />
+    <path
+       transform="matrix(1.318402,0.000000,0.000000,1.318402,11.09669,17.21056)"
+       d="M 51.150857 35.452599 A 9.1613474 9.1613474 0 1 1  32.828162,35.452599 A 9.1613474 9.1613474 0 1 1  51.150857 35.452599 z"
+       sodipodi:ry="9.1613474"
+       sodipodi:rx="9.1613474"
+       sodipodi:cy="35.452599"
+       sodipodi:cx="41.989510"
+       id="path913"
+       style="fill:#e4d66e;fill-rule:evenodd;stroke-width:0.62365168"
+       sodipodi:type="arc" />
+    <path
+       transform="matrix(1.318402,0.000000,0.000000,1.318402,11.09667,16.84664)"
+       d="M 51.150857 35.452599 A 9.1613474 9.1613474 0 1 1  32.828162,35.452599 A 9.1613474 9.1613474 0 1 1  51.150857 35.452599 z"
+       sodipodi:ry="9.1613474"
+       sodipodi:rx="9.1613474"
+       sodipodi:cy="35.452599"
+       sodipodi:cx="41.989510"
+       id="path1521"
+       style="fill:url(#linearGradient1532);fill-rule:evenodd;stroke-width:0.62365168"
+       sodipodi:type="arc" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.971427,11.22306)"
+       d="M 48.351557 36.216045 A 6.1075649 6.1075649 0 1 1  36.136427,36.216045 A 6.1075649 6.1075649 0 1 1  48.351557 36.216045 z"
+       sodipodi:ry="6.1075649"
+       sodipodi:rx="6.1075649"
+       sodipodi:cy="36.216045"
+       sodipodi:cx="42.243992"
+       id="path911"
+       style="fill-rule:evenodd;stroke-width:0.57499999"
+       sodipodi:type="arc" />
+    <path
+       transform="matrix(1.099494,0.000000,0.000000,1.099494,18.05623,20.13574)"
+       d="M 48.351557 36.216045 A 6.1075649 6.1075649 0 1 1  36.136427,36.216045 A 6.1075649 6.1075649 0 1 1  48.351557 36.216045 z"
+       sodipodi:ry="6.1075649"
+       sodipodi:rx="6.1075649"
+       sodipodi:cy="36.216045"
+       sodipodi:cx="42.243992"
+       id="path1509"
+       style="fill:url(#radialGradient1534);fill-rule:evenodd;stroke-width:1.1081090"
+       sodipodi:type="arc" />
+    <path
+       transform="matrix(1.099494,0.000000,0.000000,1.099494,44.87933,12.47874)"
+       d="M 48.351557 36.216045 A 6.1075649 6.1075649 0 1 1  36.136427,36.216045 A 6.1075649 6.1075649 0 1 1  48.351557 36.216045 z"
+       sodipodi:ry="6.1075649"
+       sodipodi:rx="6.1075649"
+       sodipodi:cy="36.216045"
+       sodipodi:cx="42.243992"
+       id="path1511"
+       style="fill:url(#radialGradient1536);fill-rule:evenodd;stroke-width:1.1081090"
+       sodipodi:type="arc" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       id="path1530"
+       d="M 55.758098,43.619804 L 96.835997,31.883262 L 77.135370,47.601846 L 55.758098,43.619804 z "
+       style="fill:url(#linearGradient1538);fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)"
+       sodipodi:nodetypes="cccccccc"
+       id="path1532"
+       d="M 67.743635,52.574355 C 67.743635,52.574355 76.650495,55.373656 71.306375,56.391583 C 65.962265,57.409511 52.729203,56.137101 48.911975,58.681920 C 45.094747,61.226739 40.768555,69.370159 43.822338,70.897050 C 46.876120,72.423942 55.019540,63.771558 62.145035,62.499148 C 69.270525,61.226739 84.539435,61.990185 85.302885,59.445366 C 86.066325,56.900547 71.481025,49.204343 68.681725,49.204343 C 65.882425,49.204343 67.743635,52.574355 67.743635,52.574355 z "
+       style="fill:url(#linearGradient1540);fill-rule:evenodd;stroke-width:0.57499999" />
+    <g
+       style="fill:url(#linearGradient1527)"
+       transform="matrix(1.219881,-3.355633e-2,3.355633e-2,1.219881,15.12310,17.23540)"
+       id="g1657">
+      <path
+         sodipodi:nodetypes="cczzc"
+         id="path1658"
+         d="M 24.859391,31.907937 C 23.419824,24.350211 24.964801,11.778293 30.054438,8.9789918 C 35.144076,6.1796912 40.379124,5.3034583 41.760605,9.7424375 C 43.243834,14.508354 39.448349,16.768623 34.704351,20.597833 C 29.745701,24.600304 28.340109,28.103497 24.859391,31.907937 z "
+         style="fill:url(#linearGradient1542);fill-rule:evenodd;stroke-width:0.57499999" />
+    </g>
+    <path
+       id="path1726"
+       d="M 74.490374,118.99279 C 74.854272,116.80940 78.129348,101.16181 82.132218,98.614531 C 86.135090,96.067249 83.587809,101.16181 85.043399,103.70910 C 86.498988,106.25638 93.776936,96.067249 93.776936,100.43402 C 93.776936,104.80079 87.226783,107.71197 91.593550,106.98417 C 95.960320,106.25638 107.96894,102.61740 101.78268,107.34807 C 95.596422,112.07874 92.321346,118.99279 87.954578,116.80940 C 83.587809,114.62602 82.132218,121.54007 78.493246,121.54007 C 74.854272,121.54007 74.126476,121.54007 74.490374,118.99279 z "
+       style="fill:url(#linearGradient1544);fill-opacity:0.44654086;fill-rule:evenodd;stroke-width:0.57499999" />
+    <path
+       id="path1729"
+       d="M 43.559096,98.978428 C 43.559096,98.978428 47.198070,107.71197 50.837044,112.44264 C 54.476018,117.17330 49.745352,123.72345 45.014686,119.35669 C 40.284021,114.98992 25.364228,111.71484 25.728125,107.34807 C 26.092022,102.98130 32.278278,110.98705 33.369970,107.34807 C 34.461662,103.70910 26.092022,95.339454 30.458791,96.431147 C 34.825559,97.522839 38.100636,108.43976 39.192328,102.25351 C 40.284021,96.067249 38.828431,90.608789 43.559096,98.978428 z "
+       style="fill:url(#linearGradient1546);fill-opacity:0.42767295;fill-rule:evenodd;stroke-width:0.57499999" />
+  </g>
+</svg>
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx.ico b/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx.ico
new file mode 100644 (file)
index 0000000..c6f647e
Binary files /dev/null and b/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx.ico differ
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx.svg b/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx.svg
new file mode 100644 (file)
index 0000000..9d49776
--- /dev/null
@@ -0,0 +1,433 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+   id="svg1"
+   sodipodi:version="0.32"
+   inkscape:version="0.39cvs"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   width="128.00000pt"
+   height="128.00000pt"
+   sodipodi:docbase="/home/andy/Desktop/etiquette-icons-0.4/scalable/apps"
+   sodipodi:docname="TeX.svg">
+  <defs
+     id="defs3">
+    <linearGradient
+       id="linearGradient1806">
+      <stop
+         style="stop-color:#000000;stop-opacity:0.40677965;"
+         offset="0.0000000"
+         id="stop1807" />
+      <stop
+         style="stop-color:#000000;stop-opacity:0.073446326;"
+         offset="0.64777780"
+         id="stop3276" />
+      <stop
+         style="stop-color:#000000;stop-opacity:0.0000000;"
+         offset="1.0000000"
+         id="stop1808" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient1518">
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0.74226803;"
+         offset="0.0000000"
+         id="stop1519" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0.0000000;"
+         offset="1.0000000"
+         id="stop1520" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient1512">
+      <stop
+         style="stop-color:#000000;stop-opacity:0.54639173;"
+         offset="0.0000000"
+         id="stop1513" />
+      <stop
+         style="stop-color:#000000;stop-opacity:0.0000000;"
+         offset="1.0000000"
+         id="stop1514" />
+    </linearGradient>
+    <pattern
+       width="130.00000"
+       height="96.000000"
+       id="pattern903">
+      <image
+         xlink:href="/home/andy/Desktop/lux.png"
+         sodipodi:absref="/home/andy/Desktop/lux.png"
+         width="130.00000"
+         height="96.000000"
+         id="image904" />
+    </pattern>
+    <linearGradient
+       xlink:href="#linearGradient1512"
+       id="linearGradient1515"
+       x1="0.14117648"
+       y1="0.17073171"
+       x2="0.74117649"
+       y2="0.45121950" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1517"
+       x1="0.56209153"
+       y1="-3.2146594e-17"
+       x2="0.56862748"
+       y2="0.64843750" />
+    <linearGradient
+       xlink:href="#linearGradient1512"
+       id="linearGradient1522"
+       x1="0.34108528"
+       y1="1.0468750"
+       x2="0.33333334"
+       y2="0.46093750" />
+    <radialGradient
+       xlink:href="#linearGradient1518"
+       id="radialGradient1524" />
+    <radialGradient
+       xlink:href="#linearGradient1518"
+       id="radialGradient1525" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1527"
+       x1="0.99291223"
+       y1="0.38505521"
+       x2="-0.12118133"
+       y2="0.38729247" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1529"
+       x1="0.99346405"
+       y1="1.6406250"
+       x2="0.71241832"
+       y2="0.62500000" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1531"
+       x1="0.92941177"
+       y1="0.35714287"
+       x2="0.32629615"
+       y2="0.35714287" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1533"
+       x1="0.69879520"
+       y1="0.61718750"
+       x2="0.44176707"
+       y2="0.32812500" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1535"
+       x1="0.0039215689"
+       y1="0.94642860"
+       x2="0.45490196"
+       y2="0.58928573" />
+    <linearGradient
+       xlink:href="#linearGradient1512"
+       id="linearGradient1537"
+       x1="0.33070865"
+       y1="1.2265625"
+       x2="0.43307087"
+       y2="0.42968750" />
+    <linearGradient
+       xlink:href="#linearGradient1512"
+       id="linearGradient1539"
+       x1="0.16788322"
+       y1="1.0312500"
+       x2="0.63503647"
+       y2="0.45312500" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1659"
+       x1="0.40458015"
+       y1="1.3828125"
+       x2="0.35877863"
+       y2="0.54687500" />
+    <radialGradient
+       xlink:href="#linearGradient1806"
+       id="radialGradient1977"
+       cx="0.50000000"
+       cy="0.50000000"
+       r="0.50000000"
+       fx="0.50000000"
+       fy="0.50000000" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1734"
+       x1="0.67319918"
+       y1="0.99825197"
+       x2="0.47887364"
+       y2="0.30443147"
+       gradientTransform="scale(0.906215,1.103491)" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0000000"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1.2279853"
+     inkscape:cx="57.933129"
+     inkscape:cy="15.420322"
+     inkscape:window-width="420"
+     inkscape:window-height="491"
+     inkscape:window-x="97"
+     inkscape:window-y="125" />
+  <g
+     id="g1540"
+     transform="matrix(1.429413,-3.932010e-2,3.932010e-2,1.429413,6.816050,14.52049)"
+     style="">
+    <path
+       style="fill:#212121;fill-rule:evenodd;stroke-width:0.57499999;"
+       d="M 24.859391,31.907937 C 23.419824,24.350211 24.964801,11.778293 30.054438,8.9789918 C 35.144076,6.1796912 40.379124,5.3034583 41.760605,9.7424375 C 43.243834,14.508354 39.448349,16.768623 34.704351,20.597833 C 29.745701,24.600304 28.340109,28.103497 24.859391,31.907937 z "
+       id="path917"
+       sodipodi:nodetypes="cczzc" />
+  </g>
+  <path
+     sodipodi:type="arc"
+     style="fill:url(#radialGradient1977);fill-opacity:0.75000000;fill-rule:evenodd;stroke-width:1.0000000pt;"
+     id="path1976"
+     sodipodi:cx="41.875938"
+     sodipodi:cy="37.865574"
+     sodipodi:rx="12.562782"
+     sodipodi:ry="12.562782"
+     d="M 54.438721 37.865574 A 12.562782 12.562782 0 1 0 29.313156,37.865574 A 12.562782 12.562782 0 1 0 54.438721 37.865574 z"
+     transform="matrix(6.757552,0.000000,0.000000,3.357903,-212.4401,-10.33593)" />
+  <path
+     sodipodi:type="arc"
+     style="fill:url(#radialGradient1977);fill-opacity:0.75000000;fill-rule:evenodd;stroke-width:1.0000000pt;"
+     id="path1724"
+     sodipodi:cx="41.875938"
+     sodipodi:cy="37.865574"
+     sodipodi:rx="12.562782"
+     sodipodi:ry="12.562782"
+     d="M 54.438721 37.865574 A 12.562782 12.562782 0 1 0 29.313156,37.865574 A 12.562782 12.562782 0 1 0 54.438721 37.865574 z"
+     transform="matrix(6.757552,0.000000,0.000000,3.357903,-196.6048,-24.73160)" />
+  <path
+     style="fill:#618bb4;fill-rule:evenodd;stroke-width:0.57499999;fill-opacity:1.0000000;"
+     d="M 25.193706,48.176692 C 25.193706,48.176692 24.939224,26.545733 44.025365,23.491950 C 63.111506,20.438168 70.109757,49.449102 68.710107,54.029776 C 67.310457,58.610450 49.351398,70.044503 37.645232,66.227275 C 25.939066,62.410047 26.975079,57.338040 25.193706,48.176692 z "
+     id="path918"
+     sodipodi:nodetypes="cczcc"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     style="fill:url(#linearGradient1529);fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 28.074289,48.939744 C 28.074289,48.939744 27.844841,29.436670 45.053436,26.683294 C 62.262031,23.929920 69.374917,51.234223 67.309886,54.217047 C 65.244854,57.199869 51.477978,62.247724 40.923373,58.806005 C 30.368769,55.364286 29.680425,57.199869 28.074289,48.939744 z "
+     id="path1528"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     style="fill:url(#linearGradient1517);fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 25.891950,48.915464 C 25.891950,48.915464 25.637468,27.284505 44.723609,24.230722 C 63.809750,21.176940 71.698688,51.460283 69.408351,54.768548 C 67.118014,58.076812 51.849101,63.675413 40.142935,59.858185 C 28.436769,56.040957 27.673323,58.076812 25.891950,48.915464 z "
+     id="path1516"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     style="fill:#a2360f;fill-rule:evenodd;stroke-width:0.57499999;fill-opacity:1.0000000;"
+     d="M 40.717100,73.115916 C 40.717100,68.916965 50.070907,54.562023 54.040131,54.343356 C 58.099053,54.119748 55.986013,56.829076 59.039796,56.574594 C 62.093578,56.320112 67.183216,56.574594 68.201143,59.882859 C 69.219071,63.191123 69.473553,72.606953 66.165288,73.370398 C 62.857024,74.133844 60.057723,74.897290 58.276350,77.442108 C 56.494977,79.986927 51.150858,84.567601 46.061220,82.277264 C 41.078519,80.035049 40.717100,77.314867 40.717100,73.115916 z "
+     id="path916"
+     sodipodi:nodetypes="czcccczz"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     style="fill:#e7d417;fill-opacity:0.44654086;fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 47.842593,75.406253 C 48.097075,73.879362 50.387412,62.936641 53.186712,61.155268 C 55.986013,59.373895 54.204640,62.936641 55.222568,64.718014 C 56.240495,66.499388 61.330133,59.373895 61.330133,62.427678 C 61.330133,65.481460 56.749459,67.517315 59.803241,67.008351 C 62.857024,66.499388 71.254926,63.954569 66.928734,67.262833 C 62.602542,70.571098 60.312205,75.406253 57.258423,73.879362 C 54.204640,72.352471 53.186712,77.187626 50.641894,77.187626 C 48.097075,77.187626 47.588111,77.187626 47.842593,75.406253 z "
+     id="path922"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     style="fill:url(#linearGradient1537);fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 40.983128,72.559266 C 40.983128,68.360315 50.336933,54.005373 54.306163,53.786706 C 58.365083,53.563098 56.252043,56.272426 59.305823,56.017944 C 62.359603,55.763462 67.449243,56.017944 68.467173,59.326209 C 69.485103,62.634473 69.739583,72.050303 66.431313,72.813748 C 63.123053,73.577194 60.323753,74.340640 58.542383,76.885458 C 56.761003,79.430277 51.416883,84.010951 46.327253,81.720614 C 41.344547,79.478399 40.983128,76.758217 40.983128,72.559266 z "
+     id="path1536"
+     sodipodi:nodetypes="czcccczz"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     style="fill:url(#linearGradient1515);fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 51.150857,44.868428 L 78.634900,52.757366 L 100.26586,36.979490 L 51.150857,44.868428 z "
+     id="path910"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     style="fill:#bd3200;fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 50.387412,44.359464 L 100.26586,30.108479 L 76.344563,49.194620 L 50.387412,44.359464 z "
+     id="path909"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     sodipodi:type="arc"
+     style="fill:#f4f4f4;fill-rule:evenodd;stroke-width:0.47612661;"
+     id="path914"
+     sodipodi:cx="61.584614"
+     sodipodi:cy="30.108479"
+     sodipodi:rx="8.9068661"
+     sodipodi:ry="8.9068661"
+     d="M 70.491480 30.108479 A 8.9068661 8.9068661 0 1 0 52.677748,30.108479 A 8.9068661 8.9068661 0 1 0 70.491480 30.108479 z"
+     transform="matrix(1.726901,0.000000,0.000000,1.726901,-13.97865,2.029577)" />
+  <path
+     style="fill:#a2360f;fill-rule:evenodd;stroke-width:0.57499999;fill-opacity:1.0000000;"
+     d="M 27.993007,55.556667 C 27.993007,55.556667 27.484043,58.355967 29.774380,60.900786 C 32.064717,63.445605 41.480546,72.097989 38.172282,77.187626 C 34.864017,82.277264 26.211633,82.786228 23.157851,79.223481 C 20.104068,75.660735 8.9068657,71.080061 9.1613476,69.298688 C 9.4158295,67.517315 5.0896376,58.610449 11.960648,58.101486 C 18.831659,57.592522 23.412333,53.011848 25.448188,52.757366 C 27.484043,52.502884 28.247488,53.775294 27.993007,55.556667 z "
+     id="path915"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     style="fill:#e7d417;fill-opacity:0.42767295;fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 26.211633,61.409750 C 26.211633,61.409750 28.756452,67.517315 31.301271,70.825580 C 33.846090,74.133844 30.537825,78.714518 27.229561,75.660735 C 23.921297,72.606953 13.487540,70.316616 13.742021,67.262833 C 13.996503,64.209051 18.322695,69.807652 19.086141,67.262833 C 19.849586,64.718014 13.996503,58.864931 17.050286,59.628377 C 20.104068,60.391823 22.394405,68.026279 23.157851,63.700087 C 23.921297,59.373895 22.903369,55.556667 26.211633,61.409750 z "
+     id="path921"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     style="fill:url(#linearGradient1539);fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 28.286502,55.412556 C 28.286502,55.412556 27.777538,58.211856 30.067875,60.756675 C 32.358212,63.301494 41.774041,71.953878 38.465777,77.043515 C 35.157512,82.133153 26.505128,82.642117 23.451346,79.079370 C 20.397563,75.516624 9.2003609,70.935950 9.4548429,69.154577 C 9.7093249,67.373204 5.3831329,58.466338 12.254143,57.957375 C 19.125154,57.448411 23.705828,52.867737 25.741683,52.613255 C 27.777538,52.358773 28.540983,53.631183 28.286502,55.412556 z "
+     id="path1538"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     sodipodi:type="arc"
+     style="fill:#e4d66e;fill-rule:evenodd;stroke-width:0.59175676;"
+     id="path1510"
+     sodipodi:cx="61.584614"
+     sodipodi:cy="30.108479"
+     sodipodi:rx="8.9068661"
+     sodipodi:ry="8.9068661"
+     d="M 70.491480 30.108479 A 8.9068661 8.9068661 0 1 0 52.677748,30.108479 A 8.9068661 8.9068661 0 1 0 70.491480 30.108479 z"
+     transform="matrix(1.389462,0.000000,0.000000,1.389462,7.172151,12.65069)" />
+  <path
+     sodipodi:type="arc"
+     style="fill-rule:evenodd;stroke-width:0.57499999;"
+     id="path912"
+     sodipodi:cx="61.584614"
+     sodipodi:cy="31.126406"
+     sodipodi:rx="5.8530831"
+     sodipodi:ry="5.8530831"
+     d="M 67.437697 31.126406 A 5.8530831 5.8530831 0 1 0 55.731531,31.126406 A 5.8530831 5.8530831 0 1 0 67.437697 31.126406 z"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.286480,10.63843)" />
+  <path
+     style="fill:#45800c;fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 25.957152,48.431174 C 25.957152,48.431174 31.810235,47.922210 29.774380,50.975993 C 27.738525,54.029776 20.867514,55.047703 25.193706,56.320112 C 29.519898,57.592522 52.423267,58.101486 54.968086,59.373895 C 57.512904,60.646304 50.132930,68.535243 45.297774,67.008351 C 40.462619,65.481460 33.591608,59.119413 26.466115,60.137341 C 19.340623,61.155268 12.469612,65.226978 12.215130,60.900786 C 11.960648,56.574594 17.559250,49.703584 25.957152,48.431174 z "
+     id="path919"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     style="fill:url(#linearGradient1535);fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 28.123743,46.722923 C 28.123743,46.722923 33.733476,46.235120 31.782264,49.161938 C 29.831053,52.088756 23.245714,53.064361 27.392038,54.283868 C 31.538363,55.503375 53.489492,55.991179 55.928506,57.210685 C 58.367520,58.430192 51.294379,65.991137 46.660251,64.527728 C 42.026124,63.064320 35.440785,56.966784 28.611545,57.942390 C 21.782305,58.917995 15.196966,62.820418 14.953065,58.674094 C 14.709163,54.527769 20.074995,47.942431 28.123743,46.722923 z "
+     id="path1534"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     style="fill:#52980f;fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 68.710107,53.011848 C 68.710107,53.011848 77.616973,55.811149 72.272853,56.829076 C 66.928734,57.847004 53.695676,56.574594 49.878448,59.119413 C 46.061220,61.664232 41.735028,69.807652 44.788811,71.334543 C 47.842593,72.861435 55.986013,64.209051 63.111506,62.936641 C 70.236998,61.664232 85.505911,62.427678 86.269357,59.882859 C 87.032802,57.338040 72.447502,49.641836 69.648201,49.641836 C 66.848901,49.641836 68.710107,53.011848 68.710107,53.011848 z "
+     id="path920"
+     sodipodi:nodetypes="cccccccc"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     sodipodi:type="arc"
+     style="fill:url(#linearGradient1522);fill-rule:evenodd;stroke-width:0.62365168;"
+     id="path1523"
+     sodipodi:cx="41.989510"
+     sodipodi:cy="35.452599"
+     sodipodi:rx="9.1613474"
+     sodipodi:ry="9.1613474"
+     d="M 51.150857 35.452599 A 9.1613474 9.1613474 0 1 0 32.828162,35.452599 A 9.1613474 9.1613474 0 1 0 51.150857 35.452599 z"
+     transform="matrix(1.318402,0.000000,0.000000,1.318402,36.93339,7.749206)" />
+  <path
+     sodipodi:type="arc"
+     style="fill:#f4f4f4;fill-rule:evenodd;stroke-width:0.49186331;"
+     id="path923"
+     sodipodi:cx="41.989510"
+     sodipodi:cy="35.452599"
+     sodipodi:rx="9.1613474"
+     sodipodi:ry="9.1613474"
+     d="M 51.150857 35.452599 A 9.1613474 9.1613474 0 1 0 32.828162,35.452599 A 9.1613474 9.1613474 0 1 0 51.150857 35.452599 z"
+     transform="matrix(1.671651,0.000000,0.000000,1.671651,-3.918064,5.232760)" />
+  <path
+     sodipodi:type="arc"
+     style="fill:#e4d66e;fill-rule:evenodd;stroke-width:0.62365168;"
+     id="path913"
+     sodipodi:cx="41.989510"
+     sodipodi:cy="35.452599"
+     sodipodi:rx="9.1613474"
+     sodipodi:ry="9.1613474"
+     d="M 51.150857 35.452599 A 9.1613474 9.1613474 0 1 0 32.828162,35.452599 A 9.1613474 9.1613474 0 1 0 51.150857 35.452599 z"
+     transform="matrix(1.318402,0.000000,0.000000,1.318402,11.09669,17.21056)" />
+  <path
+     sodipodi:type="arc"
+     style="fill:url(#linearGradient1522);fill-rule:evenodd;stroke-width:0.62365168;"
+     id="path1521"
+     sodipodi:cx="41.989510"
+     sodipodi:cy="35.452599"
+     sodipodi:rx="9.1613474"
+     sodipodi:ry="9.1613474"
+     d="M 51.150857 35.452599 A 9.1613474 9.1613474 0 1 0 32.828162,35.452599 A 9.1613474 9.1613474 0 1 0 51.150857 35.452599 z"
+     transform="matrix(1.318402,0.000000,0.000000,1.318402,11.09667,16.84664)" />
+  <path
+     sodipodi:type="arc"
+     style="fill-rule:evenodd;stroke-width:0.57499999;"
+     id="path911"
+     sodipodi:cx="42.243992"
+     sodipodi:cy="36.216045"
+     sodipodi:rx="6.1075649"
+     sodipodi:ry="6.1075649"
+     d="M 48.351557 36.216045 A 6.1075649 6.1075649 0 1 0 36.136427,36.216045 A 6.1075649 6.1075649 0 1 0 48.351557 36.216045 z"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.971427,11.22306)" />
+  <path
+     sodipodi:type="arc"
+     style="fill:url(#radialGradient1524);fill-rule:evenodd;stroke-width:1.1081090;"
+     id="path1509"
+     sodipodi:cx="42.243992"
+     sodipodi:cy="36.216045"
+     sodipodi:rx="6.1075649"
+     sodipodi:ry="6.1075649"
+     d="M 48.351557 36.216045 A 6.1075649 6.1075649 0 1 0 36.136427,36.216045 A 6.1075649 6.1075649 0 1 0 48.351557 36.216045 z"
+     transform="matrix(1.099494,0.000000,0.000000,1.099494,18.05623,20.13574)" />
+  <path
+     sodipodi:type="arc"
+     style="fill:url(#radialGradient1525);fill-rule:evenodd;stroke-width:1.1081090;"
+     id="path1511"
+     sodipodi:cx="42.243992"
+     sodipodi:cy="36.216045"
+     sodipodi:rx="6.1075649"
+     sodipodi:ry="6.1075649"
+     d="M 48.351557 36.216045 A 6.1075649 6.1075649 0 1 0 36.136427,36.216045 A 6.1075649 6.1075649 0 1 0 48.351557 36.216045 z"
+     transform="matrix(1.099494,0.000000,0.000000,1.099494,44.87933,12.47874)" />
+  <path
+     style="fill:url(#linearGradient1531);fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 55.758098,43.619804 L 96.835997,31.883262 L 77.135370,47.601846 L 55.758098,43.619804 z "
+     id="path1530"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <path
+     style="fill:url(#linearGradient1533);fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 67.743635,52.574355 C 67.743635,52.574355 76.650495,55.373656 71.306375,56.391583 C 65.962265,57.409511 52.729203,56.137101 48.911975,58.681920 C 45.094747,61.226739 40.768555,69.370159 43.822338,70.897050 C 46.876120,72.423942 55.019540,63.771558 62.145035,62.499148 C 69.270525,61.226739 84.539435,61.990185 85.302885,59.445366 C 86.066325,56.900547 71.481025,49.204343 68.681725,49.204343 C 65.882425,49.204343 67.743635,52.574355 67.743635,52.574355 z "
+     id="path1532"
+     sodipodi:nodetypes="cccccccc"
+     transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+  <g
+     id="g1657"
+     transform="matrix(1.219881,-3.355633e-2,3.355633e-2,1.219881,15.12310,17.23540)"
+     style="fill:url(#linearGradient1527);">
+    <path
+       style="fill-rule:evenodd;stroke-width:0.57499999;"
+       d="M 24.859391,31.907937 C 23.419824,24.350211 24.964801,11.778293 30.054438,8.9789918 C 35.144076,6.1796912 40.379124,5.3034583 41.760605,9.7424375 C 43.243834,14.508354 39.448349,16.768623 34.704351,20.597833 C 29.745701,24.600304 28.340109,28.103497 24.859391,31.907937 z "
+       id="path1658"
+       sodipodi:nodetypes="cczzc" />
+  </g>
+  <path
+     style="fill:url(#linearGradient1734);fill-opacity:0.44654086;fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 74.490374,118.99279 C 74.854272,116.80940 78.129348,101.16181 82.132218,98.614531 C 86.135090,96.067249 83.587809,101.16181 85.043399,103.70910 C 86.498988,106.25638 93.776936,96.067249 93.776936,100.43402 C 93.776936,104.80079 87.226783,107.71197 91.593550,106.98417 C 95.960320,106.25638 107.96894,102.61740 101.78268,107.34807 C 95.596422,112.07874 92.321346,118.99279 87.954578,116.80940 C 83.587809,114.62602 82.132218,121.54007 78.493246,121.54007 C 74.854272,121.54007 74.126476,121.54007 74.490374,118.99279 z "
+     id="path1726" />
+  <path
+     style="fill:url(#linearGradient1659);fill-opacity:0.42767295;fill-rule:evenodd;stroke-width:0.57499999;"
+     d="M 43.559096,98.978428 C 43.559096,98.978428 47.198070,107.71197 50.837044,112.44264 C 54.476018,117.17330 49.745352,123.72345 45.014686,119.35669 C 40.284021,114.98992 25.364228,111.71484 25.728125,107.34807 C 26.092022,102.98130 32.278278,110.98705 33.369970,107.34807 C 34.461662,103.70910 26.092022,95.339454 30.458791,96.431147 C 34.825559,97.522839 38.100636,108.43976 39.192328,102.25351 C 40.284021,96.067249 38.828431,90.608789 43.559096,98.978428 z "
+     id="path1729" />
+  <text
+     xml:space="preserve"
+     style="font-size:12.000000;stroke-width:1.0000000pt;font-family:helvetica;"
+     x="0.69148552"
+     y="182.14601"
+     id="text1067"><tspan
+       id="tspan1068">LyX</tspan></text>
+  <text
+     xml:space="preserve"
+     style="font-size:12.000000;stroke-width:1.0000000pt;font-family:helvetica;"
+     x="62.452923"
+     y="762.71289"
+     id="text1070"
+     transform="scale(0.246729,0.246729)"><tspan
+       id="tspan1071">Created by Andrew Fitzsimon</tspan><tspan
+       sodipodi:role="line"
+       id="tspan1831"
+       x="62.452923"
+       y="774.71289">trace of the LyX Logo</tspan></text>
+</svg>
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_32x32.ico b/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_32x32.ico
new file mode 100644 (file)
index 0000000..dc4132f
Binary files /dev/null and b/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_32x32.ico differ
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_doc.svg b/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_doc.svg
new file mode 100644 (file)
index 0000000..8742d23
--- /dev/null
@@ -0,0 +1,761 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<!-- Created with Sodipodi ("http://www.sodipodi.com/") -->
+<svg
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   id="svg1"
+   sodipodi:version="0.34"
+   inkscape:version="0.39cvs"
+   width="128.00000pt"
+   height="128.00000pt"
+   sodipodi:docname="/home/angus/lyx_doc.svg"
+   sodipodi:docbase="/home/angus">
+  <defs
+     id="defs3">
+    <linearGradient
+       id="linearGradient1806">
+      <stop
+         style="stop-color:#000000;stop-opacity:0.40677965;"
+         offset="0.0000000"
+         id="stop1807" />
+      <stop
+         style="stop-color:#000000;stop-opacity:0.073446326;"
+         offset="0.64777780"
+         id="stop3276" />
+      <stop
+         style="stop-color:#000000;stop-opacity:0.0000000;"
+         offset="1.0000000"
+         id="stop1808" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient1518">
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0.74226803;"
+         offset="0.0000000"
+         id="stop1519" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0.0000000;"
+         offset="1.0000000"
+         id="stop1520" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient1512">
+      <stop
+         style="stop-color:#000000;stop-opacity:0.54639173;"
+         offset="0.0000000"
+         id="stop1513" />
+      <stop
+         style="stop-color:#000000;stop-opacity:0.0000000;"
+         offset="1.0000000"
+         id="stop1514" />
+    </linearGradient>
+    <pattern
+       width="130.00000"
+       height="96.000000"
+       id="pattern903">
+      <image
+         xlink:href="/home/andy/Desktop/lux.png"
+         sodipodi:absref="/home/andy/Desktop/lux.png"
+         width="130.00000"
+         height="96.000000"
+         id="image904" />
+    </pattern>
+    <linearGradient
+       xlink:href="#linearGradient1512"
+       id="linearGradient1515"
+       x1="0.14117648"
+       y1="0.17073171"
+       x2="0.74117649"
+       y2="0.45121950" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1517"
+       x1="0.56209153"
+       y1="-3.2146594e-17"
+       x2="0.56862748"
+       y2="0.64843750" />
+    <linearGradient
+       xlink:href="#linearGradient1512"
+       id="linearGradient1522"
+       x1="0.34108528"
+       y1="1.0468750"
+       x2="0.33333334"
+       y2="0.46093750" />
+    <radialGradient
+       xlink:href="#linearGradient1518"
+       id="radialGradient1524" />
+    <radialGradient
+       xlink:href="#linearGradient1518"
+       id="radialGradient1525" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1527"
+       x1="0.99291223"
+       y1="0.38505521"
+       x2="-0.12118133"
+       y2="0.38729247" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1529"
+       x1="0.99346405"
+       y1="1.6406250"
+       x2="0.71241832"
+       y2="0.62500000" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1531"
+       x1="0.92941177"
+       y1="0.35714287"
+       x2="0.32629615"
+       y2="0.35714287" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1533"
+       x1="0.69879520"
+       y1="0.61718750"
+       x2="0.44176707"
+       y2="0.32812500" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1535"
+       x1="0.0039215689"
+       y1="0.94642860"
+       x2="0.45490196"
+       y2="0.58928573" />
+    <linearGradient
+       xlink:href="#linearGradient1512"
+       id="linearGradient1537"
+       x1="0.33070865"
+       y1="1.2265625"
+       x2="0.43307087"
+       y2="0.42968750" />
+    <linearGradient
+       xlink:href="#linearGradient1512"
+       id="linearGradient1539"
+       x1="0.16788322"
+       y1="1.0312500"
+       x2="0.63503647"
+       y2="0.45312500" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1659"
+       x1="0.40458015"
+       y1="1.3828125"
+       x2="0.35877863"
+       y2="0.54687500" />
+    <radialGradient
+       xlink:href="#linearGradient1806"
+       id="radialGradient1977"
+       cx="0.50000000"
+       cy="0.50000000"
+       r="0.50000000"
+       fx="0.50000000"
+       fy="0.50000000" />
+    <linearGradient
+       xlink:href="#linearGradient1518"
+       id="linearGradient1734"
+       x1="0.67319918"
+       y1="0.99825197"
+       x2="0.47887364"
+       y2="0.30443147"
+       gradientTransform="scale(0.906215,1.103491)" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0000000"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1.2279853"
+     inkscape:cx="57.933129"
+     inkscape:cy="15.420322"
+     inkscape:window-width="420"
+     inkscape:window-height="491"
+     inkscape:window-x="97"
+     inkscape:window-y="125" />
+  <path
+     sodipodi:type="arc"
+     style="fill:url(#radialGradient1977);fill-opacity:0.75000000;fill-rule:evenodd;stroke-width:1.0000000pt;"
+     id="path1976"
+     sodipodi:cx="41.875938"
+     sodipodi:cy="37.865574"
+     sodipodi:rx="12.562782"
+     sodipodi:ry="12.562782"
+     d="M 54.43872 37.86557 A 12.56278 12.56278 0 1 0 29.31316 37.86557 A 12.56278 12.56278 0 1 0  54.43872 37.86557 z"
+     transform="matrix(6.757552,0.000000,0.000000,3.357903,-212.4401,-10.33593)" />
+  <path
+     sodipodi:type="arc"
+     style="fill:url(#radialGradient1977);fill-opacity:0.75000000;fill-rule:evenodd;stroke-width:1.0000000pt;"
+     id="path1724"
+     sodipodi:cx="41.875938"
+     sodipodi:cy="37.865574"
+     sodipodi:rx="12.562782"
+     sodipodi:ry="12.562782"
+     d="M 54.43872 37.86557 A 12.56278 12.56278 0 1 0 29.31316 37.86557 A 12.56278 12.56278 0 1 0  54.43872 37.86557 z"
+     transform="matrix(6.757552,0.000000,0.000000,3.357903,-196.6048,-24.73160)" />
+  <text
+     xml:space="preserve"
+     style="font-size:12.000000;stroke-width:1.0000000pt;font-family:helvetica;"
+     x="0.69148552"
+     y="182.14601"
+     id="text1067"><tspan
+   id="tspan1068">LyX</tspan></text>
+  <text
+     xml:space="preserve"
+     style="font-size:12.000000;stroke-width:1.0000000pt;font-family:helvetica;"
+     x="62.452923"
+     y="762.71289"
+     id="text1070"
+     transform="scale(0.246729,0.246729)"><tspan
+   id="tspan1071">Created by Andrew Fitzsimon</tspan><tspan
+   sodipodi:role="line"
+   id="tspan1831"
+   x="62.4529228"
+   y="774.712891">trace of the LyX Logo</tspan></text>
+  <g
+     id="g764"
+     transform="translate(0,7.086601)">
+    <g
+       id="g678"
+       transform="translate(-3.086827,-7.202625)">
+      <defs
+         id="defs679">
+        <linearGradient
+           id="linearGradient1507">
+          <stop
+             id="stop1508"
+             offset="0.0000000"
+             style="stop-color:#000000;stop-opacity:0.095505618;" />
+          <stop
+             id="stop1510"
+             offset="1.0000000"
+             style="stop-color:#000000;stop-opacity:0.0000000;" />
+        </linearGradient>
+        <linearGradient
+           id="linearGradient852"
+           xlink:href="#linearGradient1507" />
+        <linearGradient
+           id="linearGradient844"
+           xlink:href="#linearGradient1507" />
+        <linearGradient
+           id="linearGradient845"
+           x1="1.3833333"
+           x2="0.10833333"
+           y1="0.49019608"
+           y2="0.50490195"
+           xlink:href="#linearGradient841" />
+        <linearGradient
+           id="linearGradient840"
+           x1="-0.22348484"
+           x2="0.59469700"
+           y1="0.38235295"
+           y2="0.46568626"
+           xlink:href="#linearGradient853" />
+        <linearGradient
+           id="linearGradient849"
+           x1="0.010563380"
+           x2="1.2288733"
+           y1="0.43229166"
+           y2="0.46354166"
+           xlink:href="#linearGradient846" />
+        <radialGradient
+           cx="0.50000000"
+           cy="0.50000000"
+           fx="0.50000000"
+           fy="0.14942528"
+           id="radialGradient864"
+           r="0.50000000"
+           xlink:href="#linearGradient853" />
+        <linearGradient
+           id="linearGradient841">
+          <stop
+             id="stop842"
+             offset="0.00000000"
+             style="stop-color:#ffffff;stop-opacity:1.0000000;" />
+          <stop
+             id="stop843"
+             offset="1.0000000"
+             style="stop-color:#ffffff;stop-opacity:0.00000000;" />
+        </linearGradient>
+        <linearGradient
+           id="linearGradient1290">
+          <stop
+             id="stop1291"
+             offset="0.0000000"
+             style="stop-color:#b2a269;stop-opacity:1.0000000;" />
+          <stop
+             id="stop1292"
+             offset="1.0000000"
+             style="stop-color:#6d5b18;stop-opacity:1.0000000;" />
+        </linearGradient>
+        <linearGradient
+           id="linearGradient860"
+           x1="0.47535211"
+           x2="0.50000000"
+           y1="0.81081080"
+           y2="-0.74324322"
+           xlink:href="#linearGradient1290" />
+        <linearGradient
+           id="linearGradient851"
+           x1="0.39788732"
+           x2="0.80985916"
+           y1="0.32222223"
+           y2="0.35555556"
+           xlink:href="#linearGradient846" />
+        <linearGradient
+           id="linearGradient858"
+           x1="0.64285713"
+           x2="0.57142860"
+           y1="1.2647059"
+           y2="0.049019609"
+           xlink:href="#linearGradient846" />
+        <linearGradient
+           id="linearGradient846">
+          <stop
+             id="stop847"
+             offset="0.00000000"
+             style="stop-color:#e7e7e7;stop-opacity:1.0000000;" />
+          <stop
+             id="stop848"
+             offset="1.0000000"
+             style="stop-color:#a5a5a5;stop-opacity:1.0000000;" />
+        </linearGradient>
+        <linearGradient
+           id="linearGradient850"
+           xlink:href="#linearGradient846" />
+        <linearGradient
+           id="linearGradient859"
+           x1="1.4647887"
+           x2="0.26408452"
+           y1="-1.1486486"
+           y2="1.2905406"
+           xlink:href="#linearGradient853" />
+        <linearGradient
+           id="linearGradient853">
+          <stop
+             id="stop854"
+             offset="0.00000000"
+             style="stop-color:#000000;stop-opacity:0.29752067;" />
+          <stop
+             id="stop855"
+             offset="1.0000000"
+             style="stop-color:#000000;stop-opacity:0.00000000;" />
+        </linearGradient>
+        <radialGradient
+           cx="0.50000000"
+           cy="0.50000000"
+           fx="0.50704223"
+           fy="0.29885057"
+           id="radialGradient861"
+           r="0.50000000"
+           xlink:href="#linearGradient853" />
+        <linearGradient
+           id="linearGradient1501">
+          <stop
+             id="stop1502"
+             offset="0.0000000"
+             style="stop-color:#ffffff;stop-opacity:1.0000000;" />
+          <stop
+             id="stop1504"
+             offset="1.0000000"
+             style="stop-color:#ffffff;stop-opacity:0.0000000;" />
+        </linearGradient>
+        <linearGradient
+           id="linearGradient1492">
+          <stop
+             id="stop1493"
+             offset="0.0000000"
+             style="stop-color:#cbcbcb;stop-opacity:1.0000000;" />
+          <stop
+             id="stop1496"
+             offset="0.34923077"
+             style="stop-color:#f0f0f0;stop-opacity:1.0000000;" />
+          <stop
+             id="stop1494"
+             offset="1.0000000"
+             style="stop-color:#e2e2e2;stop-opacity:1.0000000;" />
+        </linearGradient>
+        <linearGradient
+           id="linearGradient1495"
+           x1="0.92307693"
+           x2="0.14529915"
+           y1="0.16406250"
+           y2="1.1718750"
+           xlink:href="#linearGradient1492" />
+        <linearGradient
+           id="linearGradient1497"
+           x1="0.63247865"
+           x2="-0.37606838"
+           y1="0.32812500"
+           y2="1.3281250"
+           xlink:href="#linearGradient1492" />
+        <linearGradient
+           id="linearGradient1499"
+           x1="0.85826772"
+           x2="0.062992126"
+           y1="0.14062500"
+           y2="0.54687500"
+           xlink:href="#linearGradient1501" />
+        <linearGradient
+           id="linearGradient1506"
+           x1="0.052173913"
+           x2="0.78260869"
+           y1="0.97656250"
+           y2="0.0078125000"
+           xlink:href="#linearGradient1507" />
+        <linearGradient
+           id="linearGradient1556"
+           x1="0.31111112"
+           x2="0.62222224"
+           y1="-0.56250000"
+           y2="0.79687500"
+           xlink:href="#linearGradient1507" />
+        <radialGradient
+           cx="0.50000000"
+           cy="0.89285713"
+           fx="0.54117650"
+           fy="3.5200000"
+           id="radialGradient856"
+           r="0.54606670"
+           xlink:href="#linearGradient841" />
+        <linearGradient
+           id="linearGradient1944"
+           xlink:href="#linearGradient841" />
+      </defs>
+      <sodipodi:namedview
+         inkscape:cx="28.450752"
+         inkscape:cy="97.214075"
+         inkscape:pageopacity="0.0"
+         inkscape:pageshadow="2"
+         inkscape:window-height="491"
+         inkscape:window-width="390"
+         inkscape:window-x="323"
+         inkscape:window-y="53"
+         inkscape:zoom="4.7658944"
+         bordercolor="#666666"
+         borderopacity="1.0"
+         id="namedview721"
+         pagecolor="#ffffff" />
+      <path
+         sodipodi:nodetypes="cccccccccccccccc"
+         d="M 17.159384,6.3292894 L 17.159384,43.068526 L 17.159384,79.807768 L 17.159384,116.54700 L 17.159384,153.28624 L 50.687024,153.28624 L 84.214664,153.28624 L 117.74230,153.28624 L 151.26994,153.28624 L 151.26994,116.54700 L 151.26994,79.807768 L 151.26994,43.068526 L 117.74230,6.3292894 L 84.214664,6.3292894 L 50.687024,6.3292894 L 17.159384,6.3292894 z "
+         id="path930"
+         style="fill:#ffffff;fill-rule:evenodd;stroke-width:0.42649043;stroke-opacity:0.36477986;" />
+      <g
+         id="g1552"
+         style="fill:#000000;fill-opacity:0.069182344;"
+         transform="matrix(0.304171,0.000000,0.000000,0.297572,-36.70399,-112.4880)">
+        <path
+           sodipodi:nodetypes="cccccccccccccccc"
+           d="M 173.35959,408.81260 L 173.35959,531.07360 L 173.35959,653.33460 L 173.35959,775.59560 L 173.35959,897.85660 L 282.12187,897.85660 L 390.88417,897.85660 L 499.64646,897.85660 L 608.40874,897.85660 L 608.40874,775.59560 L 608.40874,653.33460 L 608.40874,531.07360 L 499.64646,408.81260 L 390.88417,408.81260 L 282.12187,408.81260 L 173.35959,408.81260 z "
+           id="path1505"
+           style="fill-opacity:0.069182344;fill-rule:evenodd;stroke-width:0.95407495pt;fill:#000000;" />
+        <path
+           d="M 170.12500,407.18750 C 170.12500,571.82292 170.12500,736.45833 170.12500,901.09375 C 317.30208,901.09375 464.47917,901.09375 611.65625,901.09375 C 611.65625,777.33333 611.65625,653.57292 611.65625,529.81250 C 574.80918,488.38978 537.97604,446.95335 501.09375,405.56250 C 390.77083,405.56250 280.44792,405.56250 170.12500,405.56250 C 170.12500,405.89583 170.12500,406.97917 170.12500,407.18750 z "
+           id="path725"
+           style="fill-opacity:0.069182344;fill-rule:evenodd;stroke-width:0.95407495pt;fill:#000000;" />
+        <path
+           d="M 166.87500,403.93750 C 166.87500,570.73958 166.87500,737.54167 166.87500,904.34375 C 316.21875,904.34375 465.56250,904.34375 614.90625,904.34375 C 614.90625,779.08333 614.90625,653.82292 614.90625,528.56250 C 577.45517,486.47298 540.01754,444.37017 502.53125,402.31250 C 390.64583,402.31250 278.76042,402.31250 166.87500,402.31250 C 166.87500,402.64583 166.87500,403.72917 166.87500,403.93750 z "
+           id="path1543"
+           style="fill-opacity:0.069182344;fill-rule:evenodd;stroke-width:0.95407495pt;fill:#000000;" />
+      </g>
+      <path
+         sodipodi:nodetypes="cccccccccccccccc"
+         d="M 297.99034,136.74154 L 297.99034,260.57234 L 297.99034,384.40315 L 297.99034,508.23395 L 297.99034,632.06475 L 410.99634,632.06475 L 524.00235,632.06475 L 637.00835,632.06475 L 750.01435,632.06475 L 750.01435,508.23395 L 750.01435,384.40315 L 750.01435,260.57234 L 637.00835,136.74154 L 524.00235,136.74154 L 410.99634,136.74154 L 297.99034,136.74154 z "
+         id="rect900"
+         style="fill:url(#linearGradient1495);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.4375000;stroke-opacity:0.36477986;"
+         transform="matrix(0.296689,0.000000,0.000000,0.296689,-71.19601,-34.05825)" />
+      <path
+         sodipodi:nodetypes="cccc"
+         d="M 750.01435,260.57234 C 715.94460,250.48602 671.79788,251.91624 638.44792,257.66516 C 644.20618,220.71628 644.92597,174.41021 637.00835,136.74154 L 750.01435,260.57234 z "
+         id="path906"
+         style="fill:url(#linearGradient1497);fill-opacity:1;fill-rule:evenodd;stroke-width:0.95407495pt;"
+         transform="matrix(0.296689,0.000000,0.000000,0.296689,-71.19601,-34.05825)" />
+      <path
+         sodipodi:nodetypes="cccczc"
+         d="M 301.30655,174.90867 L 299.27069,628.90434 L 743.08709,628.90434 L 743.34157,516.67783 C 733.41677,520.49506 633.15091,378.49417 506.92790,384.60173 C 380.59029,390.71484 413.27857,193.23136 301.30655,174.90867 z "
+         id="path1500"
+         style="fill:url(#linearGradient1499);fill-opacity:1;fill-rule:evenodd;stroke-width:1.0000000pt;"
+         transform="matrix(0.296689,0.000000,0.000000,0.296689,-71.19601,-34.05825)" />
+      <metadata
+         id="metadata730">
+        <rdf:RDF
+           xmlns:cc="http://web.resource.org/cc/"
+           xmlns:dc="http://purl.org/dc/elements/1.1/"
+           xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+          <cc:Work
+             rdf:about="">
+            <dc:title>Etiquette Icons</dc:title>
+            <dc:description />
+            <dc:subject>
+              <rdf:Bag>
+                <rdf:li>hash</rdf:li>
+                <rdf:li>icons</rdf:li>
+                <rdf:li>computer</rdf:li>
+                <rdf:li />
+              </rdf:Bag>
+            </dc:subject>
+            <dc:publisher>
+              <cc:Agent
+                 rdf:about="http://www.openclipart.org">
+                <dc:title>Andy Fitzsimon</dc:title>
+              </cc:Agent>
+            </dc:publisher>
+            <dc:creator>
+              <cc:Agent
+                 rdf:about="">
+                <dc:title>Andy Fitzsimon</dc:title>
+              </cc:Agent>
+            </dc:creator>
+            <dc:rights>
+              <cc:Agent
+                 rdf:about="">
+                <dc:title>Andy Fitzsimon</dc:title>
+              </cc:Agent>
+            </dc:rights>
+            <dc:date />
+            <dc:format>image/svg+xml</dc:format>
+            <dc:type
+               rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+            <cc:license
+               rdf:resource="http://web.resource.org/cc/PublicDomain">
+              <dc:date />
+            </cc:license>
+            <dc:language>en</dc:language>
+          </cc:Work>
+          <cc:License
+             rdf:about="http://web.resource.org/cc/PublicDomain">
+            <cc:permits
+               rdf:resource="http://web.resource.org/cc/Reproduction" />
+            <cc:permits
+               rdf:resource="http://web.resource.org/cc/Distribution" />
+            <cc:permits
+               rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
+          </cc:License>
+        </rdf:RDF>
+      </metadata>
+    </g>
+    <g
+       id="g731"
+       transform="matrix(0.8,0,0,0.8,16.7711,15.21633)">
+      <g
+         id="g1540"
+         transform="matrix(1.429413,-3.932010e-2,3.932010e-2,1.429413,6.816050,14.52049)"
+         style="">
+        <path
+           style="fill:#212121;fill-rule:evenodd;stroke-width:0.57499999;"
+           d="M 24.859391,31.907937 C 23.419824,24.350211 24.964801,11.778293 30.054438,8.9789918 C 35.144076,6.1796912 40.379124,5.3034583 41.760605,9.7424375 C 43.243834,14.508354 39.448349,16.768623 34.704351,20.597833 C 29.745701,24.600304 28.340109,28.103497 24.859391,31.907937 z "
+           id="path917"
+           sodipodi:nodetypes="cczzc" />
+      </g>
+      <path
+         style="fill:#618bb4;fill-rule:evenodd;stroke-width:0.57499999;fill-opacity:1.0000000;"
+         d="M 25.193706,48.176692 C 25.193706,48.176692 24.939224,26.545733 44.025365,23.491950 C 63.111506,20.438168 70.109757,49.449102 68.710107,54.029776 C 67.310457,58.610450 49.351398,70.044503 37.645232,66.227275 C 25.939066,62.410047 26.975079,57.338040 25.193706,48.176692 z "
+         id="path918"
+         sodipodi:nodetypes="cczcc"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         style="fill:url(#linearGradient1529);fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 28.074289,48.939744 C 28.074289,48.939744 27.844841,29.436670 45.053436,26.683294 C 62.262031,23.929920 69.374917,51.234223 67.309886,54.217047 C 65.244854,57.199869 51.477978,62.247724 40.923373,58.806005 C 30.368769,55.364286 29.680425,57.199869 28.074289,48.939744 z "
+         id="path1528"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         style="fill:url(#linearGradient1517);fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 25.891950,48.915464 C 25.891950,48.915464 25.637468,27.284505 44.723609,24.230722 C 63.809750,21.176940 71.698688,51.460283 69.408351,54.768548 C 67.118014,58.076812 51.849101,63.675413 40.142935,59.858185 C 28.436769,56.040957 27.673323,58.076812 25.891950,48.915464 z "
+         id="path1516"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         style="fill:#a2360f;fill-rule:evenodd;stroke-width:0.57499999;fill-opacity:1.0000000;"
+         d="M 40.717100,73.115916 C 40.717100,68.916965 50.070907,54.562023 54.040131,54.343356 C 58.099053,54.119748 55.986013,56.829076 59.039796,56.574594 C 62.093578,56.320112 67.183216,56.574594 68.201143,59.882859 C 69.219071,63.191123 69.473553,72.606953 66.165288,73.370398 C 62.857024,74.133844 60.057723,74.897290 58.276350,77.442108 C 56.494977,79.986927 51.150858,84.567601 46.061220,82.277264 C 41.078519,80.035049 40.717100,77.314867 40.717100,73.115916 z "
+         id="path916"
+         sodipodi:nodetypes="czcccczz"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         style="fill:#e7d417;fill-opacity:0.44654086;fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 47.842593,75.406253 C 48.097075,73.879362 50.387412,62.936641 53.186712,61.155268 C 55.986013,59.373895 54.204640,62.936641 55.222568,64.718014 C 56.240495,66.499388 61.330133,59.373895 61.330133,62.427678 C 61.330133,65.481460 56.749459,67.517315 59.803241,67.008351 C 62.857024,66.499388 71.254926,63.954569 66.928734,67.262833 C 62.602542,70.571098 60.312205,75.406253 57.258423,73.879362 C 54.204640,72.352471 53.186712,77.187626 50.641894,77.187626 C 48.097075,77.187626 47.588111,77.187626 47.842593,75.406253 z "
+         id="path922"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         style="fill:url(#linearGradient1537);fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 40.983128,72.559266 C 40.983128,68.360315 50.336933,54.005373 54.306163,53.786706 C 58.365083,53.563098 56.252043,56.272426 59.305823,56.017944 C 62.359603,55.763462 67.449243,56.017944 68.467173,59.326209 C 69.485103,62.634473 69.739583,72.050303 66.431313,72.813748 C 63.123053,73.577194 60.323753,74.340640 58.542383,76.885458 C 56.761003,79.430277 51.416883,84.010951 46.327253,81.720614 C 41.344547,79.478399 40.983128,76.758217 40.983128,72.559266 z "
+         id="path1536"
+         sodipodi:nodetypes="czcccczz"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         style="fill:url(#linearGradient1515);fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 51.150857,44.868428 L 78.634900,52.757366 L 100.26586,36.979490 L 51.150857,44.868428 z "
+         id="path910"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         style="fill:#bd3200;fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 50.387412,44.359464 L 100.26586,30.108479 L 76.344563,49.194620 L 50.387412,44.359464 z "
+         id="path909"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         sodipodi:type="arc"
+         style="fill:#f4f4f4;fill-rule:evenodd;stroke-width:0.47612661;"
+         id="path914"
+         sodipodi:cx="61.584614"
+         sodipodi:cy="30.108479"
+         sodipodi:rx="8.9068661"
+         sodipodi:ry="8.9068661"
+         d="M 70.49148 30.10848 A 8.906866 8.906866 0 1 0 52.67775 30.10848 A 8.906866 8.906866 0 1 0  70.49148 30.10848 z"
+         transform="matrix(1.726901,0.000000,0.000000,1.726901,-13.97865,2.029577)" />
+      <path
+         style="fill:#a2360f;fill-rule:evenodd;stroke-width:0.57499999;fill-opacity:1.0000000;"
+         d="M 27.993007,55.556667 C 27.993007,55.556667 27.484043,58.355967 29.774380,60.900786 C 32.064717,63.445605 41.480546,72.097989 38.172282,77.187626 C 34.864017,82.277264 26.211633,82.786228 23.157851,79.223481 C 20.104068,75.660735 8.9068657,71.080061 9.1613476,69.298688 C 9.4158295,67.517315 5.0896376,58.610449 11.960648,58.101486 C 18.831659,57.592522 23.412333,53.011848 25.448188,52.757366 C 27.484043,52.502884 28.247488,53.775294 27.993007,55.556667 z "
+         id="path915"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         style="fill:#e7d417;fill-opacity:0.42767295;fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 26.211633,61.409750 C 26.211633,61.409750 28.756452,67.517315 31.301271,70.825580 C 33.846090,74.133844 30.537825,78.714518 27.229561,75.660735 C 23.921297,72.606953 13.487540,70.316616 13.742021,67.262833 C 13.996503,64.209051 18.322695,69.807652 19.086141,67.262833 C 19.849586,64.718014 13.996503,58.864931 17.050286,59.628377 C 20.104068,60.391823 22.394405,68.026279 23.157851,63.700087 C 23.921297,59.373895 22.903369,55.556667 26.211633,61.409750 z "
+         id="path921"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         style="fill:url(#linearGradient1539);fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 28.286502,55.412556 C 28.286502,55.412556 27.777538,58.211856 30.067875,60.756675 C 32.358212,63.301494 41.774041,71.953878 38.465777,77.043515 C 35.157512,82.133153 26.505128,82.642117 23.451346,79.079370 C 20.397563,75.516624 9.2003609,70.935950 9.4548429,69.154577 C 9.7093249,67.373204 5.3831329,58.466338 12.254143,57.957375 C 19.125154,57.448411 23.705828,52.867737 25.741683,52.613255 C 27.777538,52.358773 28.540983,53.631183 28.286502,55.412556 z "
+         id="path1538"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         sodipodi:type="arc"
+         style="fill:#e4d66e;fill-rule:evenodd;stroke-width:0.59175676;"
+         id="path1510"
+         sodipodi:cx="61.584614"
+         sodipodi:cy="30.108479"
+         sodipodi:rx="8.9068661"
+         sodipodi:ry="8.9068661"
+         d="M 70.49148 30.10848 A 8.906866 8.906866 0 1 0 52.67775 30.10848 A 8.906866 8.906866 0 1 0  70.49148 30.10848 z"
+         transform="matrix(1.389462,0.000000,0.000000,1.389462,7.172151,12.65069)" />
+      <path
+         sodipodi:type="arc"
+         style="fill-rule:evenodd;stroke-width:0.57499999;"
+         id="path912"
+         sodipodi:cx="61.584614"
+         sodipodi:cy="31.126406"
+         sodipodi:rx="5.8530831"
+         sodipodi:ry="5.8530831"
+         d="M 67.4377 31.12641 A 5.853083 5.853083 0 1 0 55.73153 31.12641 A 5.853083 5.853083 0 1 0  67.4377 31.12641 z"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.286480,10.63843)" />
+      <path
+         style="fill:#45800c;fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 25.957152,48.431174 C 25.957152,48.431174 31.810235,47.922210 29.774380,50.975993 C 27.738525,54.029776 20.867514,55.047703 25.193706,56.320112 C 29.519898,57.592522 52.423267,58.101486 54.968086,59.373895 C 57.512904,60.646304 50.132930,68.535243 45.297774,67.008351 C 40.462619,65.481460 33.591608,59.119413 26.466115,60.137341 C 19.340623,61.155268 12.469612,65.226978 12.215130,60.900786 C 11.960648,56.574594 17.559250,49.703584 25.957152,48.431174 z "
+         id="path919"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         style="fill:url(#linearGradient1535);fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 28.123743,46.722923 C 28.123743,46.722923 33.733476,46.235120 31.782264,49.161938 C 29.831053,52.088756 23.245714,53.064361 27.392038,54.283868 C 31.538363,55.503375 53.489492,55.991179 55.928506,57.210685 C 58.367520,58.430192 51.294379,65.991137 46.660251,64.527728 C 42.026124,63.064320 35.440785,56.966784 28.611545,57.942390 C 21.782305,58.917995 15.196966,62.820418 14.953065,58.674094 C 14.709163,54.527769 20.074995,47.942431 28.123743,46.722923 z "
+         id="path1534"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         style="fill:#52980f;fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 68.710107,53.011848 C 68.710107,53.011848 77.616973,55.811149 72.272853,56.829076 C 66.928734,57.847004 53.695676,56.574594 49.878448,59.119413 C 46.061220,61.664232 41.735028,69.807652 44.788811,71.334543 C 47.842593,72.861435 55.986013,64.209051 63.111506,62.936641 C 70.236998,61.664232 85.505911,62.427678 86.269357,59.882859 C 87.032802,57.338040 72.447502,49.641836 69.648201,49.641836 C 66.848901,49.641836 68.710107,53.011848 68.710107,53.011848 z "
+         id="path920"
+         sodipodi:nodetypes="cccccccc"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         sodipodi:type="arc"
+         style="fill:url(#linearGradient1522);fill-rule:evenodd;stroke-width:0.62365168;"
+         id="path1523"
+         sodipodi:cx="41.989510"
+         sodipodi:cy="35.452599"
+         sodipodi:rx="9.1613474"
+         sodipodi:ry="9.1613474"
+         d="M 51.15086 35.4526 A 9.161347 9.161347 0 1 0 32.82816 35.4526 A 9.161347 9.161347 0 1 0  51.15086 35.4526 z"
+         transform="matrix(1.318402,0.000000,0.000000,1.318402,36.93339,7.749206)" />
+      <path
+         sodipodi:type="arc"
+         style="fill:#f4f4f4;fill-rule:evenodd;stroke-width:0.49186331;"
+         id="path923"
+         sodipodi:cx="41.989510"
+         sodipodi:cy="35.452599"
+         sodipodi:rx="9.1613474"
+         sodipodi:ry="9.1613474"
+         d="M 51.15086 35.4526 A 9.161347 9.161347 0 1 0 32.82816 35.4526 A 9.161347 9.161347 0 1 0  51.15086 35.4526 z"
+         transform="matrix(1.671651,0.000000,0.000000,1.671651,-3.918064,5.232760)" />
+      <path
+         sodipodi:type="arc"
+         style="fill:#e4d66e;fill-rule:evenodd;stroke-width:0.62365168;"
+         id="path913"
+         sodipodi:cx="41.989510"
+         sodipodi:cy="35.452599"
+         sodipodi:rx="9.1613474"
+         sodipodi:ry="9.1613474"
+         d="M 51.15086 35.4526 A 9.161347 9.161347 0 1 0 32.82816 35.4526 A 9.161347 9.161347 0 1 0  51.15086 35.4526 z"
+         transform="matrix(1.318402,0.000000,0.000000,1.318402,11.09669,17.21056)" />
+      <path
+         sodipodi:type="arc"
+         style="fill:url(#linearGradient1522);fill-rule:evenodd;stroke-width:0.62365168;"
+         id="path1521"
+         sodipodi:cx="41.989510"
+         sodipodi:cy="35.452599"
+         sodipodi:rx="9.1613474"
+         sodipodi:ry="9.1613474"
+         d="M 51.15086 35.4526 A 9.161347 9.161347 0 1 0 32.82816 35.4526 A 9.161347 9.161347 0 1 0  51.15086 35.4526 z"
+         transform="matrix(1.318402,0.000000,0.000000,1.318402,11.09667,16.84664)" />
+      <path
+         sodipodi:type="arc"
+         style="fill-rule:evenodd;stroke-width:0.57499999;"
+         id="path911"
+         sodipodi:cx="42.243992"
+         sodipodi:cy="36.216045"
+         sodipodi:rx="6.1075649"
+         sodipodi:ry="6.1075649"
+         d="M 48.35155 36.21605 A 6.107565 6.107565 0 1 0 36.13643 36.21605 A 6.107565 6.107565 0 1 0  48.35155 36.21605 z"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.971427,11.22306)" />
+      <path
+         sodipodi:type="arc"
+         style="fill:url(#radialGradient1524);fill-rule:evenodd;stroke-width:1.1081090;"
+         id="path1509"
+         sodipodi:cx="42.243992"
+         sodipodi:cy="36.216045"
+         sodipodi:rx="6.1075649"
+         sodipodi:ry="6.1075649"
+         d="M 48.35155 36.21605 A 6.107565 6.107565 0 1 0 36.13643 36.21605 A 6.107565 6.107565 0 1 0  48.35155 36.21605 z"
+         transform="matrix(1.099494,0.000000,0.000000,1.099494,18.05623,20.13574)" />
+      <path
+         sodipodi:type="arc"
+         style="fill:url(#radialGradient1525);fill-rule:evenodd;stroke-width:1.1081090;"
+         id="path1511"
+         sodipodi:cx="42.243992"
+         sodipodi:cy="36.216045"
+         sodipodi:rx="6.1075649"
+         sodipodi:ry="6.1075649"
+         d="M 48.35155 36.21605 A 6.107565 6.107565 0 1 0 36.13643 36.21605 A 6.107565 6.107565 0 1 0  48.35155 36.21605 z"
+         transform="matrix(1.099494,0.000000,0.000000,1.099494,44.87933,12.47874)" />
+      <path
+         style="fill:url(#linearGradient1531);fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 55.758098,43.619804 L 96.835997,31.883262 L 77.135370,47.601846 L 55.758098,43.619804 z "
+         id="path1530"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <path
+         style="fill:url(#linearGradient1533);fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 67.743635,52.574355 C 67.743635,52.574355 76.650495,55.373656 71.306375,56.391583 C 65.962265,57.409511 52.729203,56.137101 48.911975,58.681920 C 45.094747,61.226739 40.768555,69.370159 43.822338,70.897050 C 46.876120,72.423942 55.019540,63.771558 62.145035,62.499148 C 69.270525,61.226739 84.539435,61.990185 85.302885,59.445366 C 86.066325,56.900547 71.481025,49.204343 68.681725,49.204343 C 65.882425,49.204343 67.743635,52.574355 67.743635,52.574355 z "
+         id="path1532"
+         sodipodi:nodetypes="cccccccc"
+         transform="matrix(1.429954,0.000000,0.000000,1.429954,6.412650,11.07234)" />
+      <g
+         id="g1657"
+         transform="matrix(1.219881,-3.355633e-2,3.355633e-2,1.219881,15.12310,17.23540)"
+         style="fill:url(#linearGradient1527);">
+        <path
+           style="fill-rule:evenodd;stroke-width:0.57499999;"
+           d="M 24.859391,31.907937 C 23.419824,24.350211 24.964801,11.778293 30.054438,8.9789918 C 35.144076,6.1796912 40.379124,5.3034583 41.760605,9.7424375 C 43.243834,14.508354 39.448349,16.768623 34.704351,20.597833 C 29.745701,24.600304 28.340109,28.103497 24.859391,31.907937 z "
+           id="path1658"
+           sodipodi:nodetypes="cczzc" />
+      </g>
+      <path
+         style="fill:url(#linearGradient1734);fill-opacity:0.44654086;fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 74.490374,118.99279 C 74.854272,116.80940 78.129348,101.16181 82.132218,98.614531 C 86.135090,96.067249 83.587809,101.16181 85.043399,103.70910 C 86.498988,106.25638 93.776936,96.067249 93.776936,100.43402 C 93.776936,104.80079 87.226783,107.71197 91.593550,106.98417 C 95.960320,106.25638 107.96894,102.61740 101.78268,107.34807 C 95.596422,112.07874 92.321346,118.99279 87.954578,116.80940 C 83.587809,114.62602 82.132218,121.54007 78.493246,121.54007 C 74.854272,121.54007 74.126476,121.54007 74.490374,118.99279 z "
+         id="path1726" />
+      <path
+         style="fill:url(#linearGradient1659);fill-opacity:0.42767295;fill-rule:evenodd;stroke-width:0.57499999;"
+         d="M 43.559096,98.978428 C 43.559096,98.978428 47.198070,107.71197 50.837044,112.44264 C 54.476018,117.17330 49.745352,123.72345 45.014686,119.35669 C 40.284021,114.98992 25.364228,111.71484 25.728125,107.34807 C 26.092022,102.98130 32.278278,110.98705 33.369970,107.34807 C 34.461662,103.70910 26.092022,95.339454 30.458791,96.431147 C 34.825559,97.522839 38.100636,108.43976 39.192328,102.25351 C 40.284021,96.067249 38.828431,90.608789 43.559096,98.978428 z "
+         id="path1729" />
+    </g>
+  </g>
+</svg>
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_logo_hi.bmp b/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_logo_hi.bmp
new file mode 100644 (file)
index 0000000..3ec6d8a
Binary files /dev/null and b/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_logo_hi.bmp differ
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_logo_vert150svn.bmp b/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_logo_vert150svn.bmp
new file mode 100644 (file)
index 0000000..d5f18f3
Binary files /dev/null and b/development/Win32/packaging/installer/LyXWinInstaller/icons/lyx_logo_vert150svn.bmp differ
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/informations/ISO_3166.html b/development/Win32/packaging/installer/LyXWinInstaller/informations/ISO_3166.html
new file mode 100644 (file)
index 0000000..d438719
--- /dev/null
@@ -0,0 +1,260 @@
+<html><head><title>ISO 3166 Codes (Countries)</title></head><body>
+
+<h1>ISO 3166 Codes (Countries)</h1>
+
+Updated by the RIPE Network Coordination Centre, in coordination with
+the ISO 3166 Maintenance Agency, Berlin
+<p>
+See also:
+
+</p><ul>
+<li><a href="http://www.iso.org/iso/en/prods-services/iso3166ma/index.html">ISO 3166
+Maintenance agency (ISO 3166/MA)</a>
+</li><li><a href="http://www.davros.org/misc/iso3166.html">Country codes in ISO 3166</a>
+
+<p>
+
+</p><pre>Country                                         A 2     A 3     Number
+----------------------------------------------------------------------
+AFGHANISTAN                                     AF      AFG     004
+ALBANIA                                         AL      ALB     008
+ALGERIA                                         DZ      DZA     012
+AMERICAN SAMOA                                  AS      ASM     016
+ANDORRA                                         AD      AND     020
+ANGOLA                                          AO      AGO     024
+ANGUILLA                                        AI      AIA     660
+ANTARCTICA                                      AQ      ATA     010
+ANTIGUA AND BARBUDA                             AG      ATG     028
+ARGENTINA                                       AR      ARG     032
+ARMENIA                                         AM      ARM     051  
+ARUBA                                           AW      ABW     533
+AUSTRALIA                                       AU      AUS     036
+AUSTRIA                                         AT      AUT     040
+AZERBAIJAN                                      AZ      AZE     031  
+BAHAMAS                                         BS      BHS     044
+BAHRAIN                                         BH      BHR     048
+BANGLADESH                                      BD      BGD     050
+BARBADOS                                        BB      BRB     052
+BELARUS                                         BY      BLR     112  
+BELGIUM                                         BE      BEL     056
+BELIZE                                          BZ      BLZ     084
+BENIN                                           BJ      BEN     204
+BERMUDA                                         BM      BMU     060
+BHUTAN                                          BT      BTN     064
+BOLIVIA                                         BO      BOL     068
+BOSNIA AND HERZEGOWINA                          BA      BIH     070
+BOTSWANA                                        BW      BWA     072
+BOUVET ISLAND                                   BV      BVT     074
+BRAZIL                                          BR      BRA     076
+BRITISH INDIAN OCEAN TERRITORY                  IO      IOT     086
+BRUNEI DARUSSALAM                               BN      BRN     096
+BULGARIA                                        BG      BGR     100
+BURKINA FASO                                    BF      BFA     854
+BURUNDI                                         BI      BDI     108
+CAMBODIA                                        KH      KHM     116
+CAMEROON                                        CM      CMR     120
+CANADA                                          CA      CAN     124
+CAPE VERDE                                      CV      CPV     132
+CAYMAN ISLANDS                                  KY      CYM     136
+CENTRAL AFRICAN REPUBLIC                        CF      CAF     140
+CHAD                                            TD      TCD     148
+CHILE                                           CL      CHL     152
+CHINA                                           CN      CHN     156
+CHRISTMAS ISLAND                                CX      CXR     162
+COCOS (KEELING) ISLANDS                         CC      CCK     166
+COLOMBIA                                        CO      COL     170
+COMOROS                                         KM      COM     174
+CONGO, Democratic Republic of (was Zaire)       CD      COD     180
+CONGO, People's Republic of                     CG      COG     178
+COOK ISLANDS                                    CK      COK     184
+COSTA RICA                                      CR      CRI     188
+COTE D'IVOIRE                                   CI      CIV     384
+CROATIA (local name: Hrvatska)                  HR      HRV     191      
+CUBA                                            CU      CUB     192
+CYPRUS                                          CY      CYP     196
+CZECH REPUBLIC                                  CZ      CZE     203  
+DENMARK                                         DK      DNK     208
+DJIBOUTI                                        DJ      DJI     262
+DOMINICA                                        DM      DMA     212
+DOMINICAN REPUBLIC                              DO      DOM     214
+EAST TIMOR                                      TL      TLS     626
+ECUADOR                                         EC      ECU     218
+EGYPT                                           EG      EGY     818
+EL SALVADOR                                     SV      SLV     222
+EQUATORIAL GUINEA                               GQ      GNQ     226
+ERITREA                                         ER      ERI     232
+ESTONIA                                         EE      EST     233  
+ETHIOPIA                                        ET      ETH     231
+FALKLAND ISLANDS (MALVINAS)                     FK      FLK     238
+FAROE ISLANDS                                   FO      FRO     234
+FIJI                                            FJ      FJI     242
+FINLAND                                         FI      FIN     246
+FRANCE                                          FR      FRA     250
+FRANCE, METROPOLITAN                            FX      FXX     249  
+FRENCH GUIANA                                   GF      GUF     254
+FRENCH POLYNESIA                                PF      PYF     258
+FRENCH SOUTHERN TERRITORIES                     TF      ATF     260
+GABON                                           GA      GAB     266
+GAMBIA                                          GM      GMB     270
+GEORGIA                                         GE      GEO     268  
+GERMANY                                         DE      DEU     276
+GHANA                                           GH      GHA     288
+GIBRALTAR                                       GI      GIB     292
+GREECE                                          GR      GRC     300
+GREENLAND                                       GL      GRL     304
+GRENADA                                         GD      GRD     308
+GUADELOUPE                                      GP      GLP     312
+GUAM                                            GU      GUM     316
+GUATEMALA                                       GT      GTM     320
+GUINEA                                          GN      GIN     324
+GUINEA-BISSAU                                   GW      GNB     624
+GUYANA                                          GY      GUY     328
+HAITI                                           HT      HTI     332
+HEARD AND MC DONALD ISLANDS                     HM      HMD     334
+HONDURAS                                        HN      HND     340
+HONG KONG                                       HK      HKG     344
+HUNGARY                                         HU      HUN     348
+ICELAND                                         IS      ISL     352
+INDIA                                           IN      IND     356
+INDONESIA                                       ID      IDN     360
+IRAN (ISLAMIC REPUBLIC OF)                      IR      IRN     364
+IRAQ                                            IQ      IRQ     368
+IRELAND                                         IE      IRL     372
+ISRAEL                                          IL      ISR     376
+ITALY                                           IT      ITA     380
+JAMAICA                                         JM      JAM     388
+JAPAN                                           JP      JPN     392
+JORDAN                                          JO      JOR     400
+KAZAKHSTAN                                      KZ      KAZ     398  
+KENYA                                           KE      KEN     404
+KIRIBATI                                        KI      KIR     296
+KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF          KP      PRK     408
+KOREA, REPUBLIC OF                              KR      KOR     410
+KUWAIT                                          KW      KWT     414
+KYRGYZSTAN                                      KG      KGZ     417  
+LAO PEOPLE'S DEMOCRATIC REPUBLIC                LA      LAO     418
+LATVIA                                          LV      LVA     428  
+LEBANON                                         LB      LBN     422
+LESOTHO                                         LS      LSO     426
+LIBERIA                                         LR      LBR     430
+LIBYAN ARAB JAMAHIRIYA                          LY      LBY     434
+LIECHTENSTEIN                                   LI      LIE     438
+LITHUANIA                                       LT      LTU     440  
+LUXEMBOURG                                      LU      LUX     442
+MACAU                                           MO      MAC     446
+MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF      MK      MKD     807 
+MADAGASCAR                                      MG      MDG     450
+MALAWI                                          MW      MWI     454
+MALAYSIA                                        MY      MYS     458
+MALDIVES                                        MV      MDV     462
+MALI                                            ML      MLI     466
+MALTA                                           MT      MLT     470
+MARSHALL ISLANDS                                MH      MHL     584
+MARTINIQUE                                      MQ      MTQ     474
+MAURITANIA                                      MR      MRT     478
+MAURITIUS                                       MU      MUS     480
+MAYOTTE                                         YT      MYT     175  
+MEXICO                                          MX      MEX     484
+MICRONESIA, FEDERATED STATES OF                 FM      FSM     583
+MOLDOVA, REPUBLIC OF                            MD      MDA     498  
+MONACO                                          MC      MCO     492
+MONGOLIA                                        MN      MNG     496
+MONTSERRAT                                      MS      MSR     500
+MOROCCO                                         MA      MAR     504
+MOZAMBIQUE                                      MZ      MOZ     508
+MYANMAR                                         MM      MMR     104
+NAMIBIA                                         NA      NAM     516
+NAURU                                           NR      NRU     520
+NEPAL                                           NP      NPL     524
+NETHERLANDS                                     NL      NLD     528
+NETHERLANDS ANTILLES                            AN      ANT     530
+NEW CALEDONIA                                   NC      NCL     540
+NEW ZEALAND                                     NZ      NZL     554
+NICARAGUA                                       NI      NIC     558
+NIGER                                           NE      NER     562
+NIGERIA                                         NG      NGA     566
+NIUE                                            NU      NIU     570
+NORFOLK ISLAND                                  NF      NFK     574
+NORTHERN MARIANA ISLANDS                        MP      MNP     580
+NORWAY                                          NO      NOR     578
+OMAN                                            OM      OMN     512
+PAKISTAN                                        PK      PAK     586
+PALAU                                           PW      PLW     585
+PALESTINIAN TERRITORY, Occupied                 PS      PSE     275
+PANAMA                                          PA      PAN     591
+PAPUA NEW GUINEA                                PG      PNG     598
+PARAGUAY                                        PY      PRY     600
+PERU                                            PE      PER     604
+PHILIPPINES                                     PH      PHL     608
+PITCAIRN                                        PN      PCN     612
+POLAND                                          PL      POL     616
+PORTUGAL                                        PT      PRT     620
+PUERTO RICO                                     PR      PRI     630
+QATAR                                           QA      QAT     634
+REUNION                                         RE      REU     638
+ROMANIA                                         RO      ROU     642
+RUSSIAN FEDERATION                              RU      RUS     643
+RWANDA                                          RW      RWA     646
+SAINT KITTS AND NEVIS                           KN      KNA     659
+SAINT LUCIA                                     LC      LCA     662
+SAINT VINCENT AND THE GRENADINES                VC      VCT     670
+SAMOA                                           WS      WSM     882
+SAN MARINO                                      SM      SMR     674
+SAO TOME AND PRINCIPE                           ST      STP     678
+SAUDI ARABIA                                    SA      SAU     682
+SENEGAL                                         SN      SEN     686
+SEYCHELLES                                      SC      SYC     690
+SIERRA LEONE                                    SL      SLE     694
+SINGAPORE                                       SG      SGP     702
+SLOVAKIA (Slovak Republic)                      SK      SVK     703  
+SLOVENIA                                        SI      SVN     705  
+SOLOMON ISLANDS                                 SB      SLB     090
+SOMALIA                                         SO      SOM     706
+SOUTH AFRICA                                    ZA      ZAF     710
+SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS    GS      SGS     239
+SPAIN                                           ES      ESP     724
+SRI LANKA                                       LK      LKA     144
+ST. HELENA                                      SH      SHN     654
+ST. PIERRE AND MIQUELON                         PM      SPM     666
+SUDAN                                           SD      SDN     736
+SURINAME                                        SR      SUR     740
+SVALBARD AND JAN MAYEN ISLANDS                  SJ      SJM     744
+SWAZILAND                                       SZ      SWZ     748
+SWEDEN                                          SE      SWE     752
+SWITZERLAND                                     CH      CHE     756
+SYRIAN ARAB REPUBLIC                            SY      SYR     760
+TAIWAN                                          TW      TWN     158
+TAJIKISTAN                                      TJ      TJK     762  
+TANZANIA, UNITED REPUBLIC OF                    TZ      TZA     834
+THAILAND                                        TH      THA     764
+TOGO                                            TG      TGO     768
+TOKELAU                                         TK      TKL     772
+TONGA                                           TO      TON     776
+TRINIDAD AND TOBAGO                             TT      TTO     780
+TUNISIA                                         TN      TUN     788
+TURKEY                                          TR      TUR     792
+TURKMENISTAN                                    TM      TKM     795  
+TURKS AND CAICOS ISLANDS                        TC      TCA     796
+TUVALU                                          TV      TUV     798
+UGANDA                                          UG      UGA     800
+UKRAINE                                         UA      UKR     804
+UNITED ARAB EMIRATES                            AE      ARE     784
+UNITED KINGDOM                                  GB      GBR     826
+UNITED STATES                                   US      USA     840
+UNITED STATES MINOR OUTLYING ISLANDS            UM      UMI     581
+URUGUAY                                         UY      URY     858
+UZBEKISTAN                                      UZ      UZB     860  
+VANUATU                                         VU      VUT     548
+VATICAN CITY STATE (HOLY SEE)                   VA      VAT     336
+VENEZUELA                                       VE      VEN     862
+VIET NAM                                        VN      VNM     704
+VIRGIN ISLANDS (BRITISH)                        VG      VGB     092
+VIRGIN ISLANDS (U.S.)                           VI      VIR     850
+WALLIS AND FUTUNA ISLANDS                       WF      WLF     876
+WESTERN SAHARA                                  EH      ESH     732
+YEMEN                                           YE      YEM     887
+YUGOSLAVIA                                      YU      YUG     891
+ZAMBIA                                          ZM      ZMB     894
+ZIMBABWE                                        ZW      ZWE     716
+</pre>
+</li></ul></body></html>
\ No newline at end of file
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/informations/WinLangCode.htm b/development/Win32/packaging/installer/LyXWinInstaller/informations/WinLangCode.htm
new file mode 100644 (file)
index 0000000..21d89cb
--- /dev/null
@@ -0,0 +1,580 @@
+<html dir="ltr"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="assetid" content="SP01019690"><title>Regional and Language Settings</title><link rel="stylesheet" type="text/css" href="stsk09-Dateien/ont.css"><script type="text/javascript" language="Javascript" src="stsk09-Dateien/sExpCollapse.js"></script><script type="text/javascript" language="JavaScript" src="stsk09-Dateien/backgo.js"></script><script>
+       var strShow = 'Show';
+       var strHide = 'Hide';
+
+       function go(url)
+       {
+               navigate(url);          
+       }
+</script><style type="text/CSS">
+       .ACICollapsed
+       {
+               display: none;
+       }
+
+       .ACECollapsed
+       {
+               display: none;
+       }
+</style><style type="text/CSS">
+               .ACICollapsed
+               {
+                       display: inline;
+               }
+
+               .ACECollapsed
+               {
+                       display: block;
+               }
+       </style><meta http-equiv="assetid" content="SP01019690"></head><noscript></noscript><body><table border="0" cellpadding="0" cellspacing="0" width="200"><tbody><tr><td colspan="6"><img src="stsk09-Dateien/psLogo.gif" alt="Microsoft Office SharePoint Portal Server 2003" border="0" height="31" width="202"></td></tr><tr><td><a href="http://www.greatwesthealthcare.com/_vti_bin/help/1033/sps/html/sharepointhelp.htm" title="Home button"><img src="stsk09-Dateien/home.gif" alt="Home" border="0" height="32" width="69"></a><a href="javascript:myBack()" title="Back button"><img src="stsk09-Dateien/back.gif" alt="Back" border="0" height="32" width="24"></a><a href="javascript:myForward()" title="Forward button"><img src="stsk09-Dateien/forward.gif" alt="Forward" border="0" height="32" width="23"></a><a href="javascript:self.print();" title="Print button"><img src="stsk09-Dateien/print.gif" alt="Print" border="0" height="32" width="59"></a><img src="stsk09-Dateien/bar.gif" border="0" height="32" width="1200"></td></tr></tbody></table><br><h1>Regional and Language Settings</h1>
+
+
+
+
+
+<p>This topic lists the regional and language settings you can specify
+from the command line by using operations in Stsadm.exe and by using
+HTML Administration pages. For more information about specifying
+regional and language settings, see <a href="http://www.greatwesthealthcare.com/_vti_bin/help/1033/sps/html/stsb05.htm" id="SP01019676" lcid=" ">Language Considerations</a>. For more information about the syntax for command-line operations, see <a href="http://www.greatwesthealthcare.com/_vti_bin/help/1033/sps/html/stsk01.htm" id="SP01019625" lcid=" ">Command-Line Operations</a>.
+</p><p>The following types of regional and language settings are used in Microsoft Windows SharePoint Services:</p>
+
+
+<ul><li><a href="#language">Language IDs</a></li><li><a href="#locale">Locale IDs</a></li><li><a href="#Time">Time zones</a></li><li><a href="#currency">Currency IDs</a></li></ul><h2><a id="Language" name="Language">Language IDs</a></h2><p>The
+Language ID determines the language used for text on pages in the Web
+site (such as the text on the Site Settings page). The languages
+available for site creation depend on the language template packs you
+have installed to your server or server farm. Web sites based on
+Windows SharePoint Services can be created in the following languages. </p><table><tbody><tr><td><b class="bterm">ID</b></td><td><b class="bterm">Language</b>
+</td><td><b class="bterm">ID</b></td><td><b class="bterm">Language</b>
+</td></tr><tr><td>1025</td><td>Arabic
+</td><td>1041
+</td><td>Japanese
+</td></tr><tr><td>1028
+</td><td>Chinese - Traditional
+</td><td>1042
+</td><td>Korean</td></tr><tr><td>1029
+</td><td>Czech</td><td>1043</td><td>Dutch
+</td></tr><tr><td>1030
+</td><td>Danish
+</td><td>1044
+</td><td>Norwegian
+</td></tr><tr><td>1031
+</td><td>German
+</td><td>1045
+</td><td>Polish
+</td></tr><tr><td>1032
+</td><td>Greek
+</td><td>1046
+</td><td>Portuguese - Brazilian
+</td></tr><tr><td>1033
+</td><td>English
+</td><td>1049
+</td><td>Russian
+</td></tr><tr><td>1034
+</td><td>Spanish
+</td><td>1053
+</td><td>Swedish
+</td></tr><tr><td>1035
+</td><td>Finnish
+</td><td>1054
+</td><td>Thai
+</td></tr><tr><td>1036
+</td><td>French
+</td><td>1055
+</td><td>Turkish
+</td></tr><tr><td>1037
+</td><td>Hebrew
+</td><td>2052
+</td><td>Chinese - Simplified
+</td></tr><tr><td>1038
+</td><td>Hungarian
+</td><td>2070
+</td><td>Portuguese
+</td></tr><tr><td>1040
+</td><td>Italian
+</td><td>3076</td><td>Chinese - Hong Kong</td></tr></tbody></table><p>Windows SharePoint Services also supports  input and display of text in the following languages, but not site creation.</p><table><tbody><tr><td><b class="bterm">ID</b></td><td><b class="bterm">Language</b>
+</td><td><b class="bterm">ID</b></td><td><b class="bterm">Language</b>
+</td></tr><tr><td>1026</td><td>Bulgarian</td><td>1048</td><td>Romanian</td></tr><tr><td>1050</td><td>Croatian
+</td><td>2074</td><td>Serbian</td></tr><tr><td>1061</td><td>Estonian
+</td><td>1051</td><td>Slovak</td></tr><tr><td>1081</td><td>Hindi with Indic PT</td><td>1060</td><td>Slovenian</td></tr><tr><td>1062</td><td>Latvian</td><td>1058</td><td>Ukrainian</td></tr><tr><td>1063</td><td>Lithuanian</td><td></td><td></td></tr></tbody></table><h2><a id="Locale" name="Locale">Locale IDs</a></h2><p>The
+Locale ID controls the numbering, sorting, calendar, and time
+formatting for the Web site. You can change the locale for a Web site
+by using the Regional Settings page. Web sites based on Windows
+SharePoint Services can be set to the following Locale IDs. </p><table><tbody><tr><td><b class="bterm">ID</b></td><td><b class="bterm">Locale</b></td><td><b class="bterm">ID</b></td><td><b class="bterm">Locale</b></td></tr><tr><td>1078</td><td>Afrikaans
+</td><td>1037
+</td><td>Hebrew 
+</td></tr><tr><td>1052
+</td><td>Albanian
+</td><td>1081
+</td><td>Hindi
+</td></tr><tr><td>5121
+</td><td>Arabic (Algeria) 
+</td><td>1038
+</td><td>Hungarian
+</td></tr><tr><td>15361
+</td><td>Arabic (Bahrain) 
+</td><td>1039
+</td><td>Icelandic
+</td></tr><tr><td>3073
+</td><td>Arabic (Egypt) 
+</td><td>1057
+</td><td>Indonesian
+</td></tr><tr><td>2049
+</td><td>Arabic (Iraq) 
+</td><td>1040
+</td><td>Italian (Italy)
+</td></tr><tr><td>11265
+</td><td>Arabic (Jordan) 
+</td><td>2064
+</td><td>Italian (Switzerland)
+</td></tr><tr><td>13313
+</td><td>Arabic (Kuwait) 
+</td><td>1041
+</td><td>Japanese
+</td></tr><tr><td>12289
+</td><td>Arabic (Lebanon) 
+</td><td>1099
+</td><td>Kannada
+</td></tr><tr><td>4097
+</td><td>Arabic (Libya) 
+</td><td>1087
+</td><td>Kazakh
+</td></tr><tr><td>6145
+</td><td>Arabic (Morocco) 
+</td><td>1111
+</td><td>Konkani
+</td></tr><tr><td>8193
+</td><td>Arabic (Oman) 
+</td><td>1042
+</td><td>Korean
+</td></tr><tr><td>16385
+</td><td>Arabic (Qatar) 
+</td><td>1088
+</td><td>Kyrgyz (Cyrillic)
+</td></tr><tr><td>1025
+</td><td>Arabic (Saudi Arabia) 
+</td><td>1062</td><td>Latvian
+</td></tr><tr><td>10241
+</td><td>Arabic (Syria) 
+</td><td>1063
+</td><td>Lithuanian
+</td></tr><tr><td>7169
+</td><td>Arabic (Tunisia) 
+</td><td>1071
+</td><td>Macedonian (FYROM)
+</td></tr><tr><td>14337
+</td><td>Arabic (U.A.E.) 
+</td><td>2110
+</td><td>Malay (Brunei Darussalam)
+</td></tr><tr><td>9217
+</td><td>Arabic (Yemen) 
+</td><td>1086
+</td><td>Malay (Malaysia)
+</td></tr><tr><td>1067
+</td><td>Armenian
+</td><td>1102
+</td><td>Marathi
+</td></tr><tr><td>2092
+</td><td>Azeri (Cyrillic)
+</td><td>1104
+</td><td>Mongolian (Cyrillic)
+</td></tr><tr><td>1068
+</td><td>Azeri (Latin)
+</td><td>1044
+</td><td>Norwegian (Bokmal)
+</td></tr><tr><td>1069
+</td><td>Basque
+</td><td>2068
+</td><td>Norwegian (Nynorsk)
+</td></tr><tr><td>1059
+</td><td>Belarusian
+</td><td>1045
+</td><td>Polish
+</td></tr><tr><td>1026
+</td><td>Bulgarian
+</td><td>1046
+</td><td>Portuguese (Brazil)
+</td></tr><tr><td>1027
+</td><td>Catalan
+</td><td>2070
+</td><td>Portuguese (Portugal)
+</td></tr><tr><td>3076
+</td><td>Chinese (Hong Kong)
+</td><td>1094
+</td><td>Punjabi
+</td></tr><tr><td>5124
+</td><td>Chinese (Macau)
+</td><td>1048
+</td><td>Romanian
+</td></tr><tr><td>2052
+</td><td>Chinese (PRC)
+</td><td>1049
+</td><td>Russian
+</td></tr><tr><td>4100
+</td><td>Chinese (Singapore)
+</td><td>1103
+</td><td>Sanskrit
+</td></tr><tr><td>1028
+</td><td>Chinese (Taiwan)
+</td><td>3098
+</td><td>Serbian (Cyrillic)
+</td></tr><tr><td>1050
+</td><td>Croatian
+</td><td>2074
+</td><td>Serbian (Latin)
+</td></tr><tr><td>1029
+</td><td>Czech
+</td><td>1051
+</td><td>Slovak
+</td></tr><tr><td>1030
+</td><td>Danish
+</td><td>1060
+</td><td>Slovenian
+</td></tr><tr><td>1125
+</td><td>Divehi
+</td><td>11274
+</td><td>Spanish (Argentina)
+</td></tr><tr><td>2067
+</td><td>Dutch (Belgium)
+</td><td>16394
+</td><td>Spanish (Bolivia)
+</td></tr><tr><td>1043
+</td><td>Dutch (Netherlands)
+</td><td>13322
+</td><td>Spanish (Chile)
+</td></tr><tr><td>3081
+</td><td>English (Australia)
+</td><td>9226
+</td><td>Spanish (Colombia)
+</td></tr><tr><td>10249
+</td><td>English (Belize)
+</td><td>5130
+</td><td>Spanish (Costa Rica)
+</td></tr><tr><td>4105
+</td><td>English (Canada)
+</td><td>7178
+</td><td>Spanish (Dominican Republic)
+</td></tr><tr><td>9225
+</td><td>English (Caribbean)
+</td><td>12298
+</td><td>Spanish (Ecuador)
+</td></tr><tr><td>6153
+</td><td>English (Ireland)
+</td><td>17418
+</td><td>Spanish (El Salvador)
+</td></tr><tr><td>8201
+</td><td>English (Jamaica)
+</td><td>4106</td><td>Spanish (Guatemala)
+</td></tr><tr><td>5129
+</td><td>English (New Zealand)
+</td><td>18442
+</td><td>Spanish (Honduras)
+</td></tr><tr><td>13321
+</td><td>English (Philippines)
+</td><td>2058
+</td><td>Spanish (Mexico)
+</td></tr><tr><td>7177
+</td><td>English (South Africa)
+</td><td>19466
+</td><td>Spanish (Nicaragua)
+</td></tr><tr><td>11273
+</td><td>English (Trinidad)
+</td><td>6154
+</td><td>Spanish (Panama)
+</td></tr><tr><td>2057
+</td><td>English (United Kingdom)
+</td><td>15370
+</td><td>Spanish (Paraguay)
+</td></tr><tr><td>1033
+</td><td>English (United States) &nbsp;
+</td><td>10250
+</td><td>Spanish (Peru)
+</td></tr><tr><td>12297
+</td><td>English (Zimbabwe)
+</td><td>20490
+</td><td>Spanish (Puerto Rico)
+</td></tr><tr><td>1061
+</td><td>Estonian
+</td><td>3082
+</td><td>Spanish (Spain)
+</td></tr><tr><td>1080
+</td><td>Faeroese
+</td><td>1034
+</td><td>Spanish (Traditional)
+</td></tr><tr><td>1065
+</td><td>Farsi 
+</td><td>14346
+</td><td>Spanish (Uruguay)
+</td></tr><tr><td>1035
+</td><td>Finnish
+</td><td>8202
+</td><td>Spanish (Venezuela)
+</td></tr><tr><td>2060
+</td><td>French (Belgium)
+</td><td>1089
+</td><td>Swahili
+</td></tr><tr><td>3084
+</td><td>French (Canada)
+</td><td>1053
+</td><td>Swedish
+</td></tr><tr><td>1036
+</td><td>French (France)
+</td><td>2077
+</td><td>Swedish (Finland)
+</td></tr><tr><td>5132
+</td><td>French (Luxembourg)
+</td><td>1114
+</td><td>Syriac
+</td></tr><tr><td>6156
+</td><td>French (Monaco)
+</td><td>1097
+</td><td>Tamil
+</td></tr><tr><td>4108
+</td><td>French (Switzerland)
+</td><td>1092
+</td><td>Tatar
+</td></tr><tr><td>1110
+</td><td>Galician
+</td><td>1098
+</td><td>Telugu
+</td></tr><tr><td>1079
+</td><td>Georgian
+</td><td>1054
+</td><td>Thai 
+</td></tr><tr><td>3079
+</td><td>German (Austria) 
+</td><td>1055
+</td><td>Turkish
+</td></tr><tr><td>1031
+</td><td>German (Germany) 
+</td><td>1058
+</td><td>Ukrainian
+</td></tr><tr><td>5127
+</td><td>German (Liechtenstein) 
+</td><td>1056
+</td><td>Urdu
+</td></tr><tr><td>4103
+</td><td>German (Luxembourg) 
+</td><td>2115
+</td><td>Uzbek (Cyrillic)
+</td></tr><tr><td>2055
+</td><td>German (Switzerland) 
+</td><td>1091
+</td><td>Uzbek (Latin)
+</td></tr><tr><td>1032
+</td><td>Greek
+</td><td>1066
+</td><td>Vietnamese
+</td></tr><tr><td>1095
+</td><td>Gujarati
+</td><td></td><td></td></tr></tbody></table><h2><a id="Time" name="Time">Time Zones</a></h2><p>Web
+sites based on Windows SharePoint Services can be set to any of the
+time zones recognized by Microsoft Windows Server&nbsp;2003.</p><table><tbody><tr><td><b class="bterm">Code</b>
+</td><td><b class="bterm">Time zone</b></td><td><b class="bterm">Code</b></td><td><b class="bterm">Time zone</b></td></tr><tr><td>39</td><td>(GMT-12:00) Eniwetok, Kwajalein</td><td>59</td><td>(GMT+02:00) Helsinki, Riga, Tallinn
+</td></tr><tr><td>16</td><td>(GMT-11:00) Midway Island, Samoa
+</td><td>27</td><td>(GMT+02:00) Jerusalem 26 (GMT+03:00) Baghdad
+</td></tr><tr><td>15</td><td>(GMT-10:00) Hawaii
+</td><td>74</td><td>(GMT+03:00) Kuwait, Riyadh
+</td></tr><tr><td>14</td><td>(GMT-09:00) Alaska
+</td><td>51</td><td>(GMT+03:00) Moscow, St. Petersburg, Volgograd
+</td></tr><tr><td>13</td><td>(GMT-08:00) Pacific Time (US and Canada); Tijuana
+</td><td>56</td><td>(GMT+03:00) Nairobi
+</td></tr><tr><td>38</td><td>(GMT-07:00) Arizona
+</td><td>25</td><td>(GMT+03:30) Tehran</td></tr><tr><td>12</td><td>(GMT-07:00) Mountain Time (US and Canada)
+</td><td>24</td><td>(GMT+04:00) Abu Dhabi, Muscat
+</td></tr><tr><td>55</td><td>(GMT-06:00) Central America
+</td><td>54</td><td>(GMT+04:00) Baku, Tbilisi, Yerevan 48 (GMT+04:30) Kabul
+</td></tr><tr><td>11</td><td>(GMT-06:00) Central Time (US and Canada)
+</td><td>58</td><td>(GMT+05:00) Ekaterinburg
+</td></tr><tr><td>37</td><td>(GMT-06:00) Mexico City
+</td><td>47
+</td><td>(GMT+05:00) Islamabad, Karachi, Tashkent
+</td></tr><tr><td>36</td><td>(GMT-06:00) Saskatchewan
+</td><td>23</td><td>(GMT+05:30) Calcutta, Chennai, Mumbai, New Delhi
+</td></tr><tr><td>35</td><td>(GMT-05:00) Bogota, Lima, Quito
+</td><td>62</td><td>(GMT+05:45) Kathmandu 46 (GMT+06:00) Almaty, Novosibirsk
+</td></tr><tr><td>10</td><td>(GMT-05:00) Eastern Time (US and Canada)
+</td><td>71</td><td>(GMT+06:00) Astana, Dhaka
+</td></tr><tr><td>34
+</td><td>(GMT-05:00) Indiana (East)
+</td><td>66</td><td>(GMT+06:00) Sri Jayawardenepura
+</td></tr><tr><td>9
+</td><td>(GMT-04:00) Atlantic Time (Canada)
+</td><td>61</td><td>(GMT+06:30) Rangoon
+</td></tr><tr><td>33</td><td>(GMT-04:00) Caracas, La Paz
+</td><td>22</td><td>(GMT+07:00) Bangkok, Hanoi, Jakarta
+</td></tr><tr><td>65</td><td>(GMT-04:00) Santiago
+</td><td>64</td><td>(GMT+07:00) Krasnoyarsk
+</td></tr><tr><td>28</td><td>(GMT-03:30) Newfoundland 8 (GMT-03:00) Brasilia
+</td><td>45</td><td>(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi
+</td></tr><tr><td>32</td><td>(GMT-03:00) Buenos Aires, Georgetown
+</td><td>63</td><td>(GMT+08:00) Irkutsk, Ulaan Bataar
+</td></tr><tr><td>60</td><td>(GMT-03:00) Greenland
+</td><td>21</td><td>(GMT+08:00) Kuala Lumpur, Singapore
+</td></tr><tr><td>30</td><td>(GMT-02:00) Mid-Atlantic
+</td><td>73</td><td>(GMT+08:00) Perth 75 (GMT+08:00) Taipei
+</td></tr><tr><td>29</td><td>(GMT-01:00) Azores
+</td><td>20</td><td>(GMT+09:00) Osaka, Sapporo, Tokyo 72 (GMT+09:00) Seoul
+</td></tr><tr><td>53</td><td>(GMT-01:00) Cape Verde Is.</td><td>70</td><td>(GMT+09:00) Yakutsk 19 (GMT+09:30) Adelaide
+</td></tr><tr><td>31</td><td>(GMT) Casablanca, Monrovia
+</td><td>44</td><td>(GMT+09:30) Darwin
+</td></tr><tr><td>2</td><td>(GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London
+</td><td>18</td><td>(GMT+10:00) Brisbane
+</td></tr><tr><td>4</td><td>(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
+</td><td>76</td><td>(GMT+10:00) Canberra, Melbourne, Sydney
+</td></tr><tr><td>6</td><td>(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague
+</td><td>43</td><td>(GMT+10:00) Guam, Port Moresby
+</td></tr><tr><td>3</td><td>(GMT+01:00) Brussels, Copenhagen, Madrid, Paris
+</td><td>42</td><td>(GMT+10:00) Hobart</td></tr><tr><td>57</td><td>(GMT+01:00) Sarajevo, Skopje, Sofija, Vilnius, Warsaw, Zagreb
+</td><td>68</td><td>(GMT+10:00) Vladivostok
+</td></tr><tr><td>69</td><td>(GMT+01:00) West Central Africa
+</td><td>41</td><td>(GMT+11:00) Magadan, Solomon Is., New Caledonia
+</td></tr><tr><td>7</td><td>(GMT+02:00) Athens, Istanbul, Minsk
+</td><td>17</td><td>(GMT+12:00) Auckland, Wellington
+</td></tr><tr><td>5</td><td>(GMT+02:00) Bucharest</td><td>40
+</td><td>(GMT+12:00) Fiji, Kamchatka, Marshall Is.
+</td></tr><tr><td>49
+</td><td>(GMT+02:00) Cairo
+</td><td>67
+</td><td>(GMT+13:00) Nuku'alofa
+</td></tr><tr><td>50
+</td><td>(GMT+02:00) Harare, Pretoria
+</td><td></td><td></td></tr></tbody></table><h2><a id="Currency" name="Currency">Currency IDs</a></h2><p>Web sites based on Windows SharePoint Services can be set to use the following currencies.
+</p><table><tbody><tr><td><b class="bterm">ID</b></td><td><b class="bterm">Currency</b>
+</td><td><b class="bterm">ID</b></td><td><b class="bterm">Currency</b>
+</td></tr><tr><td>5121</td><td>1,254 .ج.د (Arabic-Algeria)
+</td><td>4106
+</td><td>Q1,254 (Guatemala)
+</td></tr><tr><td>15361
+</td><td>1,254 .ب.د (Arabic-Bahrain)
+</td><td>18442
+</td><td>L. 1254 (Honduras)
+</td></tr><tr><td>3073
+</td><td>1,254 .م.ج (Arabic-Egypt)</td><td>3076
+</td><td>HK$1,254 (Hong Kong)
+</td></tr><tr><td>2049
+</td><td>1,254 .ع.د (Arabic-Iraq)
+</td><td>1038
+</td><td>1 254 Ft (Hungary)
+</td></tr><tr><td>11265
+</td><td>1,254 .ا.د (Arabic-Jordan)
+</td><td>1081
+</td><td>रु 1,254 (India)
+</td></tr><tr><td>13313
+</td><td>1,254 .ك.د (Arabic-Kuwait)
+</td><td>6153
+</td><td>IR£1,254 (Ireland)
+</td></tr><tr><td>12289
+</td><td>1,254 .ل.ل (Arabic-Lebanon)
+</td><td>1037
+</td><td>₪1,254 (Israel)
+</td></tr><tr><td>4097
+</td><td>1,254 .ل.د (Arabic-Libya)
+</td><td>1041
+</td><td>¥1,254 (Japan)
+</td></tr><tr><td>6145
+</td><td>1,254 .م.د (Arabic-Morocco)
+</td><td>1042
+</td><td>₩1,254 (Korea)
+</td></tr><tr><td>8193
+</td><td>1,254 .ع.ر (Arabic-Oman)
+</td><td>2058
+</td><td>$1,254 (Mexico)
+</td></tr><tr><td>16385
+</td><td>1,254 .ق.ر (Arabic-Qatar)
+</td><td>5129
+</td><td>$1,254 (New Zealand)
+</td></tr><tr><td>1025
+</td><td>1,254 .س.ر (Arabic-Saudi Arabia)
+</td><td>19466
+</td><td>C$ 1254 (Nicaragua)
+</td></tr><tr><td>10241
+</td><td>1,254 .س.ل (Arabic-Syria)
+</td><td>1044
+</td><td>kr 1 254 (Norway)
+</td></tr><tr><td>7169
+</td><td>1,254 .ت.د (Arabic-Tunisia)
+</td><td>1056
+</td><td>Rs 1,254 (Pakistan)
+</td></tr><tr><td>14337
+</td><td>1,254 .إ.د (Arabic-U.A.E)
+</td><td>6154
+</td><td>B/. 1,254 (Panama)
+</td></tr><tr><td>9217
+</td><td>1,254 .ي.ر (Arabic-Yemen)
+</td><td>15370
+</td><td>Gs 1.254 (Paraguay)
+</td></tr><tr><td>11274
+</td><td>$ 1.254 (Argentina)
+</td><td>2052
+</td><td>¥1,254 (People's Republic of China)
+</td></tr><tr><td>3081
+</td><td>$1,254 (Australia)
+</td><td>10250
+</td><td>S/. 1,254 (Peru)
+</td></tr><tr><td>3079
+</td><td>öS 1.254 (Austria)
+</td><td>1045
+</td><td>1 254 zł (Poland)
+</td></tr><tr><td>16394
+</td><td>$b 1.254 (Bolivia)
+</td><td>1049
+</td><td>1 254р. (Russia)
+</td></tr><tr><td>1046
+</td><td>R$ 1.254 (Brazil)
+</td><td>4100
+</td><td>$1,254 (Singapore)
+</td></tr><tr><td>3084
+</td><td>1 254 $ (Canada)
+</td><td>1051
+</td><td>1 254 Sk (Slovakia)
+</td></tr><tr><td>4105
+</td><td>$1,254 (Canada)
+</td><td>1060
+</td><td>1.254 SIT (Slovenia)
+</td></tr><tr><td>13322
+</td><td>$ 1.254 (Chile)
+</td><td>7177
+</td><td>R 1,254 (South Africa)
+</td></tr><tr><td>9226
+</td><td>$ 1.254 (Colombia)
+</td><td>1053
+</td><td>1.254 kr (Sweden)
+</td></tr><tr><td>5130
+</td><td>C1.254 (Costa Rica)
+</td><td>2055
+</td><td>SFr. 1'254 (Switzerland)
+</td></tr><tr><td>1029
+</td><td>1 254 Kč (Czech Republic)
+</td><td>1028
+</td><td>NT$1,254 (Taiwan)
+</td></tr><tr><td>1030
+</td><td>kr 1.254 (Denmark)
+</td><td>1054
+</td><td>฿1,254 (Thai)
+</td></tr><tr><td>7178
+</td><td>RD$1,254 (Dominican Republic)
+</td><td>1055
+</td><td>1.254 TL (Turkey)
+</td></tr><tr><td>17418
+</td><td>C1254 (El Salvador)
+</td><td>2057
+</td><td>£1,254 (United Kingdom)
+</td></tr><tr><td>-2
+</td><td>1,254 € (European Union)
+</td><td>1033
+</td><td>$1,254 (United States)
+</td></tr><tr><td>-1
+</td><td>€ 1,254 (European Union)
+</td><td>14346
+</td><td>$U 1.254 (Uruguay)
+</td></tr><tr><td>1065
+</td><td>1,254 ريال (Farsi)
+</td><td>8202
+</td><td>Bs 1.254 (Venezuela)
+</td></tr><tr><td>1032
+</td><td>1.254 Δρχ (Greece)
+</td><td>1066
+</td><td>1,254 ₫ (Vietnamese)
+</td></tr></tbody></table><center><a href="http://www.greatwesthealthcare.com/_vti_bin/help/1033/sps/html/SPSAdmincopyright.htm">©2003 Microsoft Corporation. All rights reserved.</a></center></body></html>
\ No newline at end of file
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/informations/iso639.htm b/development/Win32/packaging/installer/LyXWinInstaller/informations/iso639.htm
new file mode 100644 (file)
index 0000000..d44be79
--- /dev/null
@@ -0,0 +1,554 @@
+<!DOCTYPE HTML PUBLIC "-//SoftQuad//DTD HoTMetaL PRO 5.0::19980907::extensions to HTML 4.0//EN" "hmpro5.dtd">
+<html><head><title>ISO 639 Language Codes</title></head>
+
+<body>
+<h1>ISO 639 Language Codes</h1>
+<h2><a name="3letter">ISO 639: 3-letter codes</a></h2>
+<pre>abk      ab    Abkhazian
+ace            Achinese
+ach            Acoli
+ada            Adangme
+aar      aa    Afar
+afh            Afrihili
+afr      af    Afrikaans
+afa            Afro-Asiatic (Other)
+aka            Akan
+akk            Akkadian
+alb/sqi  sq    Albanian
+ale            Aleut
+alg            Algonquian languages
+tut            Altaic (Other)
+amh      am    Amharic
+apa            Apache languages
+ara      ar    Arabic
+arc            Aramaic
+arp            Arapaho
+arn            Araucanian
+arw            Arawak
+arm/hye  hy    Armenian
+art            Artificial (Other)
+asm      as    Assamese
+ath            Athapascan languages
+map            Austronesian (Other)
+ava            Avaric
+ave            Avestan
+awa            Awadhi
+aym      ay    Aymara
+aze      az    Azerbaijani
+nah            Aztec
+ban            Balinese
+bat            Baltic (Other)
+bal            Baluchi
+bam            Bambara
+bai            Bamileke languages
+bad            Banda
+bnt            Bantu (Other)
+bas            Basa
+bak      ba    Bashkir
+baq/eus  eu    Basque
+bej            Beja
+bem            Bemba
+ben      bn    Bengali
+ber            Berber (Other)
+bho            Bhojpuri
+bih      bh    Bihari
+bik            Bikol
+bin            Bini
+bis      bi    Bislama
+bra            Braj
+bre      be    Breton
+bug            Buginese
+bul      bg    Bulgarian
+bua            Buriat
+bur/mya  my    Burmese
+bel      be    Byelorussian
+cad            Caddo
+car            Carib
+cat      ca    Catalan
+cau            Caucasian (Other)
+ceb            Cebuano
+cel            Celtic (Other)
+cai            Central American Indian (Other)
+chg            Chagatai
+cha            Chamorro
+che            Chechen
+chr            Cherokee
+chy            Cheyenne
+chb            Chibcha
+chi/zho  zh    Chinese
+chn            Chinook jargon
+cho            Choctaw
+chu            Church Slavic
+chv            Chuvash
+cop            Coptic
+cor            Cornish
+cos      co    Corsican
+cre            Cree
+mus            Creek
+crp            Creoles and Pidgins (Other)
+cpe            Creoles and Pidgins, English-based (Other)
+cpf            Creoles and Pidgins, French-based (Other)
+cpp            Creoles and Pidgins, Portuguese-based (Other)
+cus            Cushitic (Other)
+         hr    Croatian
+ces/cze  cs    Czech
+dak            Dakota
+dan      da    Danish
+del            Delaware
+din            Dinka
+div            Divehi
+doi            Dogri
+dra            Dravidian (Other)
+dua            Duala
+dut/nla  nl    Dutch
+dum            Dutch, Middle (ca. 1050-1350)
+dyu            Dyula
+dzo      dz    Dzongkha
+efi            Efik
+egy            Egyptian (Ancient)
+eka            Ekajuk
+elx            Elamite
+eng      en    English
+enm            English, Middle (ca. 1100-1500)
+ang            English, Old (ca. 450-1100)
+esk            Eskimo (Other)
+epo      eo    Esperanto
+est      et    Estonian
+ewe            Ewe
+ewo            Ewondo
+fan            Fang
+fat            Fanti
+fao      fo    Faroese
+fij      fj    Fijian
+fin      fi    Finnish
+fiu            Finno-Ugrian (Other)
+fon            Fon
+fra/fre  fr    French
+frm            French, Middle (ca. 1400-1600)
+fro            French, Old (842- ca. 1400)
+fry      fy    Frisian
+ful            Fulah
+gaa            Ga
+gae/gdh  Gaelic (Scots)
+glg      gl    Gallegan
+lug            Ganda
+gay            Gayo
+gez            Geez
+geo/kat  ka    Georgian
+deu/ger  de    German
+gmh            German, Middle High (ca. 1050-1500)
+goh            German, Old High (ca. 750-1050)
+gem            Germanic (Other)
+gil            Gilbertese
+gon            Gondi
+got            Gothic
+grb            Grebo
+grc            Greek, Ancient (to 1453)
+ell/gre  el    Greek, Modern (1453-)
+kal      kl    Greenlandic
+grn      gn    Guarani
+guj      gu    Gujarati
+hai            Haida
+hau      ha    Hausa
+haw            Hawaiian
+heb      he    Hebrew
+her            Herero
+hil            Hiligaynon
+him            Himachali
+hin      hi    Hindi
+hmo            Hiri Motu
+hun      hu    Hungarian
+hup            Hupa
+iba            Iban
+ice/isl  is    Icelandic
+ibo            Igbo
+ijo            Ijo
+ilo            Iloko
+inc            Indic (Other)
+ine            Indo-European (Other)
+ind      id    Indonesian
+ina      ia    Interlingua (International Auxiliary language Association)
+ine      -     Interlingue
+iku      iu    Inuktitut
+ipk      ik    Inupiak
+ira            Iranian (Other)
+gai/iri  ga    Irish
+sga            Irish, Old (to 900)
+mga            Irish, Middle (900 - 1200)
+iro            Iroquoian languages
+ita      it    Italian
+jpn      ja    Japanese
+jav/jaw  jv/jw Javanese
+jrb            Judeo-Arabic
+jpr            Judeo-Persian
+kab            Kabyle
+kac            Kachin
+kam            Kamba
+kan      kn    Kannada
+kau            Kanuri
+kaa            Kara-Kalpak
+kar            Karen
+kas      ks    Kashmiri
+kaw            Kawi
+kaz      kk    Kazakh
+kha            Khasi
+khm      km    Khmer
+khi            Khoisan (Other)
+kho            Khotanese
+kik            Kikuyu
+kin      rw    Kinyarwanda
+kir      ky    Kirghiz
+kom            Komi
+kon            Kongo
+kok            Konkani
+kor      ko    Korean
+kpe            Kpelle
+kro            Kru
+kua            Kuanyama
+kum            Kumyk
+kur      ku    Kurdish
+kru            Kurukh
+kus            Kusaie
+kut            Kutenai
+lad            Ladino
+lah            Lahnda
+lam            Lamba
+oci      oc    Langue d'Oc (post 1500)
+lao      lo    Lao
+lat      la    Latin
+lav      lv    Latvian
+ltz            Letzeburgesch
+lez            Lezghian
+lin      ln    Lingala
+lit      lt    Lithuanian
+loz            Lozi
+lub            Luba-Katanga
+lui            Luiseno
+lun            Lunda
+luo            Luo (Kenya and Tanzania)
+mac/mak  mk    Macedonian
+mad            Madurese
+mag            Magahi
+mai            Maithili
+mak            Makasar
+mlg      mg    Malagasy
+may/msa  ms    Malay
+mal            Malayalam
+mlt      ml    Maltese
+man            Mandingo
+mni            Manipuri
+mno            Manobo languages
+max            Manx
+mao/mri  mi    Maori
+mar      mr    Marathi
+chm            Mari
+mah            Marshall
+mwr            Marwari
+mas            Masai
+myn            Mayan languages
+men            Mende
+mic            Micmac
+min            Minangkabau
+mis            Miscellaneous (Other)
+moh            Mohawk
+mol      mo    Moldavian
+mkh            Mon-Kmer (Other)
+lol            Mongo
+mon      mn    Mongolian
+mos            Mossi
+mul            Multiple languages
+mun            Munda languages
+nau      na    Nauru
+nav            Navajo
+nde            Ndebele, North
+nbl            Ndebele, South
+ndo            Ndongo
+nep      ne    Nepali
+new            Newari
+nic            Niger-Kordofanian (Other)
+ssa            Nilo-Saharan (Other)
+niu            Niuean
+non            Norse, Old
+nai            North American Indian (Other)
+nor      no    Norwegian
+nno            Norwegian (Nynorsk)
+nub            Nubian languages
+nym            Nyamwezi
+nya            Nyanja
+nyn            Nyankole
+nyo            Nyoro
+nzi            Nzima
+oji            Ojibwa
+ori      or    Oriya
+orm      om    Oromo
+osa            Osage
+oss            Ossetic
+oto            Otomian languages
+pal            Pahlavi
+pau            Palauan
+pli            Pali
+pam            Pampanga
+pag            Pangasinan
+pan      pa    Panjabi
+pap            Papiamento
+paa            Papuan-Australian (Other)
+fas/per  fa    Persian
+peo            Persian, Old (ca 600 - 400 B.C.)
+phn            Phoenician
+pol      pl    Polish
+pon            Ponape
+por      pt    Portuguese
+pra            Prakrit languages
+pro            Provencal, Old (to 1500)
+pus      ps    Pushto
+que      qu    Quechua
+roh      rm    Rhaeto-Romance
+raj            Rajasthani
+rar            Rarotongan
+roa            Romance (Other)
+ron/rum  ro    Romanian
+rom            Romany
+run      rn    Rundi
+rus      ru    Russian
+sal            Salishan languages
+sam            Samaritan Aramaic
+smi            Sami languages
+smo      sm    Samoan
+sad            Sandawe
+sag      sg    Sango
+san      sa    Sanskrit
+srd            Sardinian
+sco            Scots
+sel            Selkup
+sem            Semitic (Other)
+         sr    Serbian
+scr      sh    Serbo-Croatian
+srr            Serer
+shn            Shan
+sna      sn    Shona
+sid            Sidamo
+bla            Siksika
+snd      sd    Sindhi
+sin      si    Singhalese
+sit      -     Sino-Tibetan (Other)
+sio            Siouan languages
+sla            Slavic (Other)
+ssw      ss    Siswant
+slk/slo  sk    Slovak
+slv      sl    Slovenian
+sog            Sogdian
+som      so    Somali
+son            Songhai
+wen            Sorbian languages
+nso            Sotho, Northern
+sot      st    Sotho, Southern
+sai            South American Indian (Other)
+esl/spa  es    Spanish
+suk            Sukuma
+sux            Sumerian
+sun      su    Sudanese
+sus            Susu
+swa      sw    Swahili
+ssw            Swazi
+sve/swe  sv    Swedish
+syr            Syriac
+tgl      tl    Tagalog
+tah            Tahitian
+tgk      tg    Tajik
+tmh            Tamashek
+tam      ta    Tamil
+tat      tt    Tatar
+tel      te    Telugu
+ter            Tereno
+tha      th    Thai
+bod/tib  bo    Tibetan
+tig            Tigre
+tir      ti    Tigrinya
+tem            Timne
+tiv            Tivi
+tli            Tlingit
+tog      to    Tonga (Nyasa)
+ton            Tonga (Tonga Islands)
+tru            Truk
+tsi            Tsimshian
+tso      ts    Tsonga
+tsn      tn    Tswana
+tum            Tumbuka
+tur      tr    Turkish
+ota            Turkish, Ottoman (1500 - 1928)
+tuk      tk    Turkmen
+tyv            Tuvinian
+twi      tw    Twi
+uga            Ugaritic
+uig      ug    Uighur
+ukr      uk    Ukrainian
+umb            Umbundu
+und            Undetermined
+urd      ur    Urdu
+uzb      uz    Uzbek
+vai            Vai
+ven            Venda
+vie      vi    Vietnamese
+vol      vo    Volapük
+vot            Votic
+wak            Wakashan languages
+wal            Walamo
+war            Waray
+was            Washo
+cym/wel  cy    Welsh
+wol      wo    Wolof
+xho      xh    Xhosa
+sah            Yakut
+yao            Yao
+yap            Yap
+yid      yi    Yiddish
+yor      yo    Yoruba
+zap            Zapotec
+zen            Zenaga
+zha      za    Zhuang
+zul      zu    Zulu
+zun            Zuni
+</pre>
+<h2><a name="2letter">ISO 639: 2-letter codes</a></h2>
+<pre>AA "Afar"
+AB "Abkhazian"
+AF "Afrikaans"
+AM "Amharic"
+AR "Arabic"
+AS "Assamese"
+AY "Aymara"
+AZ "Azerbaijani"
+BA "Bashkir"
+BE "Byelorussian"
+BG "Bulgarian"
+BH "Bihari"
+BI "Bislama"
+BN "Bengali" "Bangla"
+BO "Tibetan"
+BR "Breton"
+CA "Catalan"
+CO "Corsican"
+CS "Czech"
+CY "Welsh"
+DA "Danish"
+DE "German"
+DZ "Bhutani"
+EL "Greek"
+EN "English" "American"
+EO "Esperanto"
+ES "Spanish"
+ET "Estonian"
+EU "Basque"
+FA "Persian"
+FI "Finnish"
+FJ "Fiji"
+FO "Faeroese"
+FR "French"
+FY "Frisian"
+GA "Irish"
+GD "Gaelic" "Scots Gaelic"
+GL "Galician"
+GN "Guarani"
+GU "Gujarati"
+HA "Hausa"
+HI "Hindi"
+HR "Croatian"
+HU "Hungarian"
+HY "Armenian"
+IA "Interlingua"
+IE "Interlingue"
+IK "Inupiak"
+IN "Indonesian"
+IS "Icelandic"
+IT "Italian"
+IW "Hebrew"
+JA "Japanese"
+JI "Yiddish"
+JW "Javanese"
+KA "Georgian"
+KK "Kazakh"
+KL "Greenlandic"
+KM "Cambodian"
+KN "Kannada"
+KO "Korean"
+KS "Kashmiri"
+KU "Kurdish"
+KY "Kirghiz"
+LA "Latin"
+LN "Lingala"
+LO "Laothian"
+LT "Lithuanian"
+LV "Latvian" "Lettish"
+MG "Malagasy"
+MI "Maori"
+MK "Macedonian"
+ML "Malayalam"
+MN "Mongolian"
+MO "Moldavian"
+MR "Marathi"
+MS "Malay"
+MT "Maltese"
+MY "Burmese"
+NA "Nauru"
+NE "Nepali"
+NL "Dutch"
+NO "Norwegian"
+OC "Occitan"
+OM "Oromo" "Afan"
+OR "Oriya"
+PA "Punjabi"
+PL "Polish"
+PS "Pashto" "Pushto"
+PT "Portuguese"
+QU "Quechua"
+RM "Rhaeto-Romance"
+RN "Kirundi"
+RO "Romanian"
+RU "Russian"
+RW "Kinyarwanda"
+SA "Sanskrit"
+SD "Sindhi"
+SG "Sangro"
+SH "Serbo-Croatian"
+SI "Singhalese"
+SK "Slovak"
+SL "Slovenian"
+SM "Samoan"
+SN "Shona"
+SO "Somali"
+SQ "Albanian"
+SR "Serbian"
+SS "Siswati"
+ST "Sesotho"
+SU "Sudanese"
+SV "Swedish"
+SW "Swahili"
+TA "Tamil"
+TE "Tegulu"
+TG "Tajik"
+TH "Thai"
+TI "Tigrinya"
+TK "Turkmen"
+TL "Tagalog"
+TN "Setswana"
+TO "Tonga"
+TR "Turkish"
+TS "Tsonga"
+TT "Tatar"
+TW "Twi"
+UK "Ukrainian"
+UR "Urdu"
+UZ "Uzbek"
+VI "Vietnamese"
+VO "Volapuk"
+WO "Wolof"
+XH "Xhosa"
+YO "Yoruba"
+ZH "Chinese"
+ZU "Zulu"
+</pre>
+<hr>
+<p>Document Modified August 9, 1999</p>
+</body></html>
\ No newline at end of file
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/io_latex.ini b/development/Win32/packaging/installer/LyXWinInstaller/io_latex.ini
new file mode 100644 (file)
index 0000000..10eafd4
--- /dev/null
@@ -0,0 +1,36 @@
+[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/installer/LyXWinInstaller/io_missing_progs.ini b/development/Win32/packaging/installer/LyXWinInstaller/io_missing_progs.ini
new file mode 100644 (file)
index 0000000..795b6a1
--- /dev/null
@@ -0,0 +1,44 @@
+[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/installer/LyXWinInstaller/io_ui_language.ini b/development/Win32/packaging/installer/LyXWinInstaller/io_ui_language.ini
new file mode 100644 (file)
index 0000000..685539a
--- /dev/null
@@ -0,0 +1,19 @@
+[Settings]
+NumFields=2
+
+[Field 1]
+Type=GroupBox
+Left=0
+Right=160
+Top=0
+Bottom=-4
+Text=" Available Languages "
+
+[Field 2]
+Type=Droplist
+ListItems=Ce\9atina|Dansk|Deutsch|English|Español|Euskara|Français|Galego|Italiano|Magyar|Nederlands|Norsk|Nynorsk|Polski|Româna|Russian|Slovenský|Sloven\9acina|Suomi|Türkçe
+Left=20
+Right=130
+Top=15
+Bottom=130
+
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/Encodings.txt b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/Encodings.txt
new file mode 100644 (file)
index 0000000..6be8186
--- /dev/null
@@ -0,0 +1,6 @@
+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/installer/LyXWinInstaller/lyx_languages/danish.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/danish.nsh
new file mode 100644 (file)
index 0000000..201b7eb
--- /dev/null
@@ -0,0 +1,148 @@
+!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 kørende programmer inden start af setup-guiden. Dette vil tillade guiden at opdatere de nødvendige 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}" " Tilgængelige Sprog "
+
+LangString MissProgHeader "${LYX_LANG}" "Tjek for nødvendige programmer"
+LangString MissProgCap "${LYX_LANG}" "Følgende nødvendige program(mer) vil også blive installeret"
+LangString MissProgLatex "${LYX_LANG}" "MiKTeX, en LaTeX distribution"
+LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, en PostScript og PDF oversætter"
+LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, en billed-konverter"
+LangString MissProgAspell "${LYX_LANG}" "Aspell, en stavekontrol"
+LangString MissProgMessage "${LYX_LANG}" 'Ingen andre programmer behøves.'
+
+LangString EnterLaTeXHeader1 "${LYX_LANG}" 'LaTeX-distribution'
+LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Vælg 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 foreslåede valg !!!'
+LangString LatexError1 "${LYX_LANG}" 'Ingen LaTeX-distribution fundet!$\r$\n\
+                                     LyX kan ikke bruges uden en LaTeX-distribution såsom "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 første installationsvindue$\r$\n\
+                                    vælg sprog og tryk på "Next"-knappen i det efterfølgende installationsvindue.$\r$\n\
+                                    Du kan bruge alle GSview installationsprogrammets foreslåede valg.'
+LangString GSviewError "${LYX_LANG}" 'Programmet "GSview" kunne ikke installeres!$\r$\n\
+                                     Installationen af LyX fortsættes alligevel.$\r$\n\
+                                     Prøv 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 følgende 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}" "Forsøget på at indstille 'path_prefix' i konfigurationen mislykkedes"
+LangString CreateCmdFilesFailed "${LYX_LANG}" "Kunne ikke oprette lyx.bat"
+LangString RunConfigureFailed "${LYX_LANG}" "Mislykket forsøg på at afvikle konfigurations-scriptet"
+LangString NotAdmin "${LYX_LANG}" "Du skal have administrator-rettigheder for at installere LyX!"
+LangString InstallRunning "${LYX_LANG}" "Installationsprogrammet kører allerede!"
+LangString StillInstalled "${LYX_LANG}" "LyX er allerede installeret! Afinstaller LyX først."
+
+LangString FinishPageMessage "${LYX_LANG}" "Tillykke!! LyX er installeret.\r\n\
+                                           \r\n\
+                                           (Når LyX startes første 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 først!"
+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 tilhørende komponenter?"
+LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyX$\'s user preferences'
+LangString UnGSview "${LYX_LANG}" 'Vær så god at trykke på "Uninstall"-knappen i det næste 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/installer/LyXWinInstaller/lyx_languages/dutch.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/dutch.nsh
new file mode 100644 (file)
index 0000000..8560d8f
--- /dev/null
@@ -0,0 +1,148 @@
+!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/installer/LyXWinInstaller/lyx_languages/english.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/english.nsh
new file mode 100644 (file)
index 0000000..d1082ed
--- /dev/null
@@ -0,0 +1,148 @@
+!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/installer/LyXWinInstaller/lyx_languages/french.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/french.nsh
new file mode 100644 (file)
index 0000000..8a9da95
--- /dev/null
@@ -0,0 +1,148 @@
+!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 débuter l'installation, il est recommandé de fermer toutes les autres applications. Cela permettra de mettre à jour certains fichiers système sans redémarrer 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}" "Icône 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 icône LyX sur le bureau."
+
+LangString LangSelectHeader "${LYX_LANG}" "Sélection de la langue pour les menus de LyX"
+LangString AvailableLang "${LYX_LANG}" " Langues disponibles"
+
+LangString MissProgHeader "${LYX_LANG}" "Vérification des applications requises."
+LangString MissProgCap "${LYX_LANG}" "Le(s) application(s) requise(s) suivante(s) seront également installées."
+LangString MissProgLatex "${LYX_LANG}" "MiKTeX, une distribution LaTeX"
+LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, un interpréteur 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 supplémentaire ne doit être installée.'
+
+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$\'accès au fichier "latex.exe" et de ce fait fixer \
+                                          la distribution LaTeX utilisée par Lyx.\r\n\
+                                          Si vous n$\'utilisez pas LaTeX, LyX ne peut créer de documents !\r\n\
+                                          \r\n\
+                                          L$\'assistant d$\'installation a détecté la distribution LaTeX \
+                                          "$LaTeXName" sur votre système. Le chemin d$\'accès est affiché ci-dessous.'
+LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Fixez ci-dessous le chemin d$\'accès au fichier "latex.exe". De ce fait vous fixez la \
+                                              distribution LaTeX utilisée par Lyx.\r\n\
+                                              Si vous n$\'utilisez pas LaTeX, LyX ne peut créer de documents !\r\n\
+                                              \r\n\
+                                              L$\'assistant d$\'installation n$\'a pas pu trouver de distribution LaTeX sur votre système.'
+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 fenêtre 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 abandonnée.'
+                           
+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 première fenêtre d$\'installation$\r$\n\
+                                    choisir une langue, puis appuyer sur le bouton "Next" de la fenêtre 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 installée 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 installée 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 téléchargés et installés.$\r$\n\
+                                    Chaque dictionnaire est doté d$\'une licence différente qui  sera affichée avant l$\'installation.'
+LangString AspellDownloadFailed "${LYX_LANG}" "Aucun dictionnaire Aspell n$\'a pu être téléchargé !"
+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 déjà 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 téléchargés depuis$\r$\n\
+                                    ${AspellLocation}$\r$\n\
+                                    Voulez-vous télécharger les dictionnaires maintenant ?'
+LangString AspellPartStart "${LYX_LANG}" "Ont été installés avec succès "
+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 téléchargés depuis$\r$\n\
+                                     ${AspellLocation}$\r$\n\
+                                     Voulez-vous télécharger d$\'autres dictionnaires maintenant ?'
+
+LangString MiKTeXPathInfo "${LYX_LANG}" "Pour que chaque utilisateur soit capable de personnaliser MiKTeX pour ses besoins$\r$\n\
+                                        il est nécessaire de positionner les permissions en écriture dans le répertoire d$\'installation de MiKTeX pour tous les utilisateurs$\r$\n\
+                                        ($MiKTeXPath) $\r$\n\
+                                        et pour ses sous-répertoires."
+LangString MiKTeXInfo "${LYX_LANG}" 'La distribution LaTeX "MiKTeX" sera utilisée 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 première fois.$\r$\n\
+                                    Voulez-vous vérifier maintenant les mises à jour de MiKTeX ?'
+                                    
+LangString ModifyingConfigureFailed "${LYX_LANG}" "Échec de l'allocation 'path_prefix' lors de la configuration."
+LangString CreateCmdFilesFailed "${LYX_LANG}" "Création 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 déjà installé ! Le désinstaller d'abord."
+
+LangString FinishPageMessage "${LYX_LANG}" "Félicitations ! LyX est installé avec succès.\r\n\
+                                           \r\n\
+                                           (Le premier démarrage de LyX peut demander quelques secondes.)"
+LangString FinishPageRun "${LYX_LANG}" "Démarrer LyX"
+
+LangString UnNotInRegistryLabel "${LYX_LANG}" "LyX introuvable dans le base des registres.$\r$\n\
+                                              Les raccourcis sur le bureau et dans le menu de démarrage ne seront pas supprimés."
+LangString UnInstallRunning "${LYX_LANG}" "Vous devez fermer LyX d'abord !"
+LangString UnNotAdminLabel "${LYX_LANG}" "Vous devez avoir les droits d'administration pour désinstaller LyX !"
+LangString UnReallyRemoveLabel "${LYX_LANG}" "Êtes vous sûr(e) de vouloir supprimer complètement LyX et tous ses composants ?"
+LangString UnLyXPreferencesTitle "${LYX_LANG}" 'Préférences utilisateurs de LyX'
+LangString UnGSview "${LYX_LANG}" 'Merci d$\'appuyer sur le bouton "Désinstaller" de la prochaine fenêtre pour désinstaller.$\r$\n\
+                                  l$\'afficheur Postscript/PDF "GSview".'
+LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX supprimé de votre ordinateur avec succès."
+
+LangString SecUnAspellDescription "${LYX_LANG}" "Désinstalle le correcteur orthographique Aspell et tous ses dictionnaires."
+LangString SecUnMiKTeXDescription "${LYX_LANG}" "Désinstalle la distribution LaTeX MiKTeX."
+LangString SecUnJabRefDescription "${LYX_LANG}" "Uninstalls the bibliography manager JabRef."
+LangString SecUnPreferencesDescription "${LYX_LANG}" 'Supprime le répertoire de configuration de LyX$\r$\n\
+                                          "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\
+                                          pour tous les utilisateurs.'
+LangString SecUnProgramFilesDescription "${LYX_LANG}" "Désinstaller LyX et tous ses composants."
+
+!undef LYX_LANG
+
+!endif ; _LYX_LANGUAGES_FRENCH_NSH_
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/galician.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/galician.nsh
new file mode 100644 (file)
index 0000000..23d4041
--- /dev/null
@@ -0,0 +1,148 @@
+!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 instalación do LyX no seu computador.\r\n\
+                                         \r\n\
+                                         Para poder instalar o LyX precisa de priviléxios de administrador.\r\n\
+                                         \r\n\
+                                         Recomenda-se fechar todas as outras aplicacións antes de iniciar a instalación. 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 usuários?"
+LangString SecFileAssocTitle "${LYX_LANG}" "Asociación 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 referéncias bibliográficas e editor de ficheiros BibTeX."
+LangString SecAllUsersDescription "${LYX_LANG}" "Instalar o LyX monousuário ou multiusuário."
+LangString SecFileAssocDescription "${LYX_LANG}" "Asociar a extensión .lyx co LyX."
+LangString SecDesktopDescription "${LYX_LANG}" "Cria un icone do LyX no ambiente de traballo."
+
+LangString LangSelectHeader "${LYX_LANG}" "Selección da lingua dos menus no LyX"
+LangString AvailableLang "${LYX_LANG}" " Línguas disponíbeis "
+
+LangString MissProgHeader "${LYX_LANG}" "Verificación dos programas necesários"
+LangString MissProgCap "${LYX_LANG}" "O(s) seguinte(s) programa(s) necesário(s) van ser instalados adicionalmente"
+LangString MissProgLatex "${LYX_LANG}" "MiKTeX, unha distribución 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 ortográfico"
+LangString MissProgMessage "${LYX_LANG}" 'Non é necesário instalar programas adicionais.'
+
+LangString EnterLaTeXHeader1 "${LYX_LANG}" 'Distribuición de LaTeX'
+LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Escolha a distribución de LaTeX que vai usar o LyX.'
+LangString EnterLaTeXFolder "${LYX_LANG}" 'Opcionalmente pode especificar o camiño do ficheiro "latex.exe" e posteriormente \
+                                          escoller a distribuición 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 distribución de LaTeX "$LaTeXName"\
+                                          no seu sistema, no camiño que se mostra abaixo.'
+LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Especifique abaixo o camiño ao ficheiro "latex.exe". Posteriormente escolla \
+                                              a distribución 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 distribución de LaTeX no seu sistema.'
+LangString PathName "${LYX_LANG}" 'Camiño ao ficheiro "latex.exe"'
+LangString DontUseLaTeX "${LYX_LANG}" "Non usar LaTeX"
+LangString InvalidLaTeXFolder "${LYX_LANG}" 'O ficheiro "latex.exe" non está no camiño especificado.'
+
+LangString LatexInfo "${LYX_LANG}" 'Agora lanzará-se o instalador da distribución de LaTeX "MiKTeX".$\r$\n\
+                                   Para instalar o programa prema no botón "Próximo" na xanela de instalación até a instalación comezar.$\r$\n\
+                                   $\r$\n\
+                                   !!! Por favor use todas as opcións por defeito do instalador do MiKTeX !!!'
+LangString LatexError1 "${LYX_LANG}" 'Non se achou nengunha distribución de LaTeX!$\r$\n\
+                                     Non se pode usar o LyX sen unha distribución de LaTeX como a "MiKTeX"!$\r$\n\
+                                     Por iso a instalación vai ser abortada.'
+
+LangString GSviewInfo "${LYX_LANG}" 'Agora lanzará-se o instalador do programa "GSview".$\r$\n\
+                                    Para instalar prema no botón "Setup" na primeira xanela de instalación$\r$\n\
+                                    escolla a língua e despois prema no botón "Próximo" na seguinte xanela do instalador.$\r$\n\
+                                    Pode usar todas as opcións por defeito no instalador do GSview.'
+LangString GSviewError "${LYX_LANG}" 'Non se deu instalado o programa "GSview"!$\r$\n\
+                                     De todos os xeitos a instalación do LyX continua.$\r$\n\
+                                     Tente instalar máis adiante o GSview.'
+
+LangString JabRefInfo "${LYX_LANG}" 'Agora lanzará-se o instalador do programa "JabRef".$\r$\n\
+                                    Pode usar todas as opcións por defeito no instalador do JabRef.'
+LangString JabRefError "${LYX_LANG}" 'Non se deu instalado o programa "JabRef"!$\r$\n\
+                                     De todos os xeitos a instalación do LyX continua.$\r$\n\
+                                     Tente instalar mais adiante o JabRef.'
+
+LangString LatexConfigInfo "${LYX_LANG}" "A configuración seguinte do LyX irá demorar un pouco."
+
+LangString AspellInfo "${LYX_LANG}" 'Agora se van descarregar e instalar dicionários do corrector ortográfico "Aspell".$\r$\n\
+                                    Cada dicionário ten unha licenza diferente, que se mostrará antes da instalación.'
+LangString AspellDownloadFailed "${LYX_LANG}" "Non se deu descarregadao nengun dicionário do Aspell!"
+LangString AspellInstallFailed "${LYX_LANG}" "Non se deu instalado nengun dicionário do Aspell!"
+LangString AspellPartAnd "${LYX_LANG}" " e "
+LangString AspellPartSep "${LYX_LANG}" ", "
+LangString AspellAll "${LYX_LANG}" 'Xa ha instalado un dicionário desta língua'
+LangString AspellNone "${LYX_LANG}" 'Non se instalou nengun dicionário do "Aspell".$\r$\n\
+                                    Os dicionários poden descarregar-se de$\r$\n\
+                                    ${AspellLocation}$\r$\n\
+                                    Desexa descarregar dicionários agora?'
+LangString AspellPartStart "${LYX_LANG}" "Instalou-se con suceso "
+LangString AspellPart1 "${LYX_LANG}" "un dicionário de inglés"
+LangString AspellPart2 "${LYX_LANG}" "un dicionário de $LangName"
+LangString AspellPart3 "${LYX_LANG}" "un$\r$\n\
+                                     dicionário de $LangNameSys"
+LangString AspellPart4 "${LYX_LANG}" ' para o corrector ortográfico "Aspell".$\r$\n\
+                                     É posíbel descarregar máis dicionários de$\r$\n\
+                                     ${AspellLocation}$\r$\n\
+                                     Desexa descarregar outros dicionários agora?'
+
+LangString MiKTeXPathInfo "${LYX_LANG}" "Para que cada usuário 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 usuários."
+LangString MiKTeXInfo "${LYX_LANG}" 'Xunto co LyX vai-se empregar a distribución de LaTeX "MiKTeX".$\r$\n\
+                                    Antes de usar o LyX pola primeira vez, recomenda-se instalar as actualizacións disponíbeis$\r$\n\
+                                    do MiKTeX co instalador "MiKTeX Update Wizard"$\r$\n\
+                                    Desexa comprovar agora se ha actualizacións do MiKTeX?'
+
+LangString ModifyingConfigureFailed "${LYX_LANG}" "Non se puido engadir o 'path_prefix' no script de configuración"
+LangString CreateCmdFilesFailed "${LYX_LANG}" "Non se deu criado o lyx.bat"
+LangString RunConfigureFailed "${LYX_LANG}" "Non se deu executado o script de configuración"
+LangString NotAdmin "${LYX_LANG}" "Precisa de priviléxios 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}" "Parabéns! O LyX foi instalado con suceso.\r\n\
+                                           \r\n\
+                                           (O primeiro início 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 eliminarán os atallos para o ambiente de traballo e no menu de Início."
+LangString UnInstallRunning "${LYX_LANG}" "Debe fechar o LyX en primeiro lugar!"
+LangString UnNotAdminLabel "${LYX_LANG}" "Precisa de priviléxios 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}" 'Preferéncias de usuário do LyX'
+LangString UnGSview "${LYX_LANG}" 'Por favor prema no botón "Desinstalar" na próxima 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 ortográfico Aspell e todos os seus dicionários."
+LangString SecUnMiKTeXDescription "${LYX_LANG}" "Desinstala a distribución de LaTeX MiKTeX."
+LangString SecUnJabRefDescription "${LYX_LANG}" "Desinstala o xestor de referéncias bibliográficas JabRef."
+LangString SecUnPreferencesDescription "${LYX_LANG}" 'Elimina as pastas de configuración do  LyX$\r$\n\
+                                          "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\
+                                          de todos os usuários.'
+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/installer/LyXWinInstaller/lyx_languages/german.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/german.nsh
new file mode 100644 (file)
index 0000000..e3b481b
--- /dev/null
@@ -0,0 +1,149 @@
+!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 benötigen Administratorrechte um LyX zu installieren.\r\n\
+                                         \r\n\
+                                         Es wird empfohlen vor der Installation alle anderen Programme zu schließen, damit bestimmte Systemdateien ohne Neustart ersetzt werden können.\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}" "Für 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 für bibliografische Referenzen und Editor für BibTeX-Dateien."
+LangString SecAllUsersDescription "${LYX_LANG}" "LyX für alle Nutzer oder nur für den aktuellen Nutzer installieren."
+LangString SecFileAssocDescription "${LYX_LANG}" "Vernüpfung zwischen LyX und der .lyx Dateiendung."
+LangString SecDesktopDescription "${LYX_LANG}" "Verknüpfung zu LyX auf dem Desktop."
+
+LangString LangSelectHeader "${LYX_LANG}" "Wahl der Menüsprache von LyX"
+LangString AvailableLang "${LYX_LANG}" " Verfügbare Sprachen "
+
+LangString MissProgHeader "${LYX_LANG}" "Suche nach benötigten Programmen"
+LangString MissProgCap "${LYX_LANG}" "Es werden folgende benötigte Programme zusätzlich installiert"
+LangString MissProgLatex "${LYX_LANG}" "MiKTeX, eine LaTeX-Distribution"
+LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, ein Interpreter für PostScript und PDF"
+LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, ein Bildkonverter"
+LangString MissProgAspell "${LYX_LANG}" "Aspell, eine Rechtschreibprüfung"
+LangString MissProgMessage "${LYX_LANG}" 'Es müssen keine zusätzlichen 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 können 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 Nächstes wird der Installer der LaTeX-Distribution "MiKTeX" gestartet.$\r$\n\
+                                   Um das Programm zu installieren, drücken 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 Nächstes wird der Installer des Programms "GSview" gestartet.$\r$\n\
+                                    Um das Programm zu installieren, drücken Sie den "Setup"-Knopf im ersten Installerfenster,$\r$\n\
+                                    wählen eine Sprache und drücken dann den "Weiter"-Knopf in den folgenden Installerfenstern.$\r$\n\
+                                    Sie können 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 später noch einmal zu installieren.'
+                                     
+LangString JabRefInfo "${LYX_LANG}" 'Als Nächstes wird der Installer des Programms "JabRef" gestartet.$\r$\n\
+                                    Sie können 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 später noch einmal zu installieren.'
+
+LangString LatexConfigInfo "${LYX_LANG}" "Die folgende Konfiguration von LyX wird eine Weile dauern."
+
+LangString AspellInfo "${LYX_LANG}" 'Es werden nun Wörterbücher für die Rechtschreibprüfung "Aspell" heruntergeladen und installiert.$\r$\n\
+                                    Jedes Wörterbuch hat andere Lizenzbedingungen die Sie vor der Installation angezeigt bekommen.'
+LangString AspellDownloadFailed "${LYX_LANG}" "Das Wörterbuch konnte nicht heruntergeladen werden!"
+LangString AspellInstallFailed "${LYX_LANG}" "Das Wörterbuch konnte nicht installiert werden!"
+LangString AspellPartAnd "${LYX_LANG}" " und "
+LangString AspellPartSep "${LYX_LANG}" ", "
+LangString AspellAll "${LYX_LANG}" 'Es ist bereits ein Wörterbuch der Sprache'
+LangString AspellNone "${LYX_LANG}" 'Es wurde kein Wörterbuch für die Rechtschreibprüfung "Aspell" installiert.$\r$\n\
+                                    Wörterbücher können von$\r$\n\
+                                    ${AspellLocation}$\r$\n\
+                                    heruntergeladen werden. Wollen Sie jetzt Wörterbücher herunterladen?'
+LangString AspellPartStart "${LYX_LANG}" "Es wurde erfolgreich "
+LangString AspellPart1 "${LYX_LANG}" "ein englisches Wörterbuch"
+LangString AspellPart2 "${LYX_LANG}" "ein Wörterbuch der Sprache $LangName"
+LangString AspellPart3 "${LYX_LANG}" "ein$\r$\n\
+                                     Wörterbuch der Sprache $LangNameSys"
+LangString AspellPart4 "${LYX_LANG}" ' für die Rechtschreibprüfung "Aspell" installiert.$\r$\n\
+                                     Weitere Wörterbücher können von$\r$\n\
+                                     ${AspellLocation}$\r$\n\
+                                     heruntergeladen werden. Wollen Sie jetzt andere Wörterbücher herunterladen?'
+
+LangString MiKTeXPathInfo "${LYX_LANG}" "Damit jeder Benutzer später MiKTeX für seine Bedürfnisse anpassen kann,$\r$\n\
+                                        ist es erforderlich für MiKTeXs Installationsordner$\r$\n\
+                                        $MiKTeXPath $\r$\n\
+                                        und seine Unterordner Schreibrechte für 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 verfügbare MiKTeX-Updates mit Hilfe des Programms "MiKTeX Update Wizard"$\r$\n\
+                                    installieren, bevor sie LyX das erste Mal benutzen.$\r$\n\
+                                    Möchten Sie jetzt nach Updates für MiKTeX suchen?'
+
+LangString ModifyingConfigureFailed "${LYX_LANG}" 'Der "PATH_präfix" (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 ausführen."
+LangString NotAdmin "${LYX_LANG}" "Sie benötigen Administratorrechte um LyX zu installieren!"
+LangString InstallRunning "${LYX_LANG}" "Der Installer läuft bereits!"
+LangString StillInstalled "${LYX_LANG}" "LyX ist bereits installiert! Deinstallieren Sie LyX zuerst."
+
+LangString FinishPageMessage "${LYX_LANG}" "Glückwunsch! LyX wurde erfolgreich installiert.\r\n\
+                                           \r\n\
+                                           (Der erste Start von LyX kann etwas länger dauern.)"
+LangString FinishPageRun "${LYX_LANG}" "LyX starten"
+
+LangString UnNotInRegistryLabel "${LYX_LANG}" "Kann LyX nicht in der Registry finden.$\r$\n\
+                                              Desktopsymbole und Einträge im Startmenü können nicht entfernt werden."
+LangString UnInstallRunning "${LYX_LANG}" "Sie müssen LyX zuerst beenden!"
+LangString UnNotAdminLabel "${LYX_LANG}" "Sie benötigen Administratorrechte um LyX zu deinstallieren!"
+LangString UnReallyRemoveLabel "${LYX_LANG}" "Sind Sie sicher, dass sie LyX und all seine Komponenten deinstallieren möchten?"
+LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyXs Benutzereinstellungen'
+LangString UnGSview "${LYX_LANG}" 'Bitte drücken Sie im nächsten 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 Rechtschreibprüfung Aspell und all seine Wörterbücher."
+LangString SecUnMiKTeXDescription "${LYX_LANG}" "Deinstalliert die LaTeX-Distribution MiKTeX."
+LangString SecUnJabRefDescription "${LYX_LANG}" "Deinstalliert den Bibliografiemanager JabRef."
+LangString SecUnPreferencesDescription "${LYX_LANG}" 'Löscht LyXs Benutzereinstellungen,$\r$\n\
+                                                     (den Ornder:$\r$\n\
+                                                     "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}")$\r$\n\
+                                                     für 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/installer/LyXWinInstaller/lyx_languages/hungarian.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/hungarian.nsh
new file mode 100644 (file)
index 0000000..7dcdd67
--- /dev/null
@@ -0,0 +1,147 @@
+!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 varázsló segítségével tudja telepíteni a LyX-et.\r\n\
+                                         \r\n\
+                                         A LyX telepítéséhez rendszergazdai jogra van szüksége.\r\n\
+                                         \r\n\
+                                         A telepítés megkezdése elõtt, javasolt kilépni minden futó alkalmazásból. Ez a lépés teszi lehetõvé, hogy frissítsünk fontos rendszerfájlokat újraindítás szükségessége nélkül.\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}" "Telepítés minden felhasználónak"
+LangString SecFileAssocTitle "${LYX_LANG}" "Fájltársítások"
+LangString SecDesktopTitle "${LYX_LANG}" "Parancsikon asztalra"
+
+LangString SecCoreDescription "${LYX_LANG}" "A LyX futtatásához szükséges fájlok."
+LangString SecInstGSviewDescription "${LYX_LANG}" "Alkalmazás Postscript- és PDF-fájlok megjelenítéséhez."
+LangString SecInstJabRefDescription "${LYX_LANG}" "Irodalomjegyzék hivatkozás szerkesztõ és kezelõ BibTeX fájlokhoz."
+LangString SecAllUsersDescription "${LYX_LANG}" "Minden felhasználónak telepítsem vagy csak az aktuálisnak?"
+LangString SecFileAssocDescription "${LYX_LANG}" "A .lyx kiterjesztéssel rendelkezõ fájlok megnyitása automatikusan a LyX-el történik."
+LangString SecDesktopDescription "${LYX_LANG}" "LyX-ikon elhelyezése az asztalon."
+
+LangString LangSelectHeader "${LYX_LANG}" "A LyX felhasználói felület nyelvének kiválasztása"
+LangString AvailableLang "${LYX_LANG}" " Választható nyelvek "
+
+LangString MissProgHeader "${LYX_LANG}" "Mûködéshez szükséges programok ellenõrzése"
+LangString MissProgCap "${LYX_LANG}" "A következõ program(ok) telepítése fog még megtörténni"
+LangString MissProgLatex "${LYX_LANG}" "MiKTeX, LaTeX-disztribúció"
+LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, ami egy PostScript és PDF értelmezõ"
+LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, ami egy képátalakító"
+LangString MissProgAspell "${LYX_LANG}" "Aspell, ami egy helyesírás ellenõrzõ"
+LangString MissProgMessage "${LYX_LANG}" 'Nem kell további programokat telepítenie.'
+
+LangString EnterLaTeXHeader1 "${LYX_LANG}" 'LaTeX-disztribúció'
+LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Adja meg a LaTeX-disztribúciót, amit a LyX-nek használnia kell.'
+LangString EnterLaTeXFolder "${LYX_LANG}" 'Itt megadhatja az elérési útvonalat a "latex.exe" fájlhoz és ezzel meg is adja \
+                                          melyik LaTeX disztribúciót fogja használni a LyX.\r\n\
+                                          Amennyiben nem használ LaTeX-et, a LyX nem tud kimenetet készíteni!\r\n\
+                                          \r\n\
+                                         A telepítõ megtaltálta az ön számítógépén a "$LaTeXName" (LaTeX) disztribúciót \ Lent láthatja az elérési útvonalát.'
+LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Adja meg a használandó "latex.exe" fájl elérési útvonalát. Ezzel azt is megadja \
+                                              melyik LaTeX disztribúciót fogja használni a LyX.\r\n\
+                                              Amennyiben nem használ LaTeX-et, a LyX nem tud kimenetet készíteni!\r\n\
+                                              \r\n\
+                                              A telepítõ nem talált a számítógépén LaTeX disztribúciót!'
+LangString PathName "${LYX_LANG}" 'A "latex.exe" fájl elérési útja'
+LangString DontUseLaTeX "${LYX_LANG}" "Ne használja a LaTeX-et"
+LangString InvalidLaTeXFolder "${LYX_LANG}" 'Nem találom a "latex.exe" fájlt, a megadott helyen.'
+
+LangString LatexInfo "${LYX_LANG}" 'A "MiKteX" LaTeX-disztribúció telepítõjének indítása következik.$\r$\n\
+                                   A program telepítéséhez addig nyomkodja a "Következõ" gombot a telepítõ ablakában, amíg a telepítés el nem kezdõdik.$\r$\n\
+                                   $\r$\n\
+                                   !!! Kérem használja a MikTeX-telepítõ alapértelmezett opcióit!!!'
+LangString LatexError1 "${LYX_LANG}" 'Nem találtam LaTeX-disztribúciót!$\r$\n\
+                                     A LyX nem használható egy LaTeX-disztibúció nélkül,(mint például a "MiKTeX")!$\r$\n\
+                                     Ezért a telepítés nem folytatható!'
+
+LangString GSviewInfo "${LYX_LANG}" 'A "GSview" program telepítõjének indítása következik.$\r$\n\
+                                    A program telepítéséhez, nyomja meg a "Telepít"-gombot a telepítõ elsõ ablakában,$\r$\n\
+                                    azután válasszon nyelvet, majd nyomja meg a "Következõ"-gombot a következõ telepítõ ablakokban.$\r$\n\
+                                    Használhatja a program által javasolt beállításokat.'
+LangString GSviewError "${LYX_LANG}" 'A "GSview" programot nem sikerült telepíteni!$\r$\n\
+                                     Azonban a telepítés tovább fog folytatódni.$\r$\n\
+                                     Késõbb próbálja meg újra a GSview telepítését.'
+
+LangString JabRefInfo "${LYX_LANG}" 'A "JabRef" telepítõjének elindítása következik.$\r$\n\
+                                    Használhatja az alapértelmezett opciókat.'
+LangString JabRefError "${LYX_LANG}" 'Nem tudom telepíteni a "JabRef" programot!$\r$\n\
+                                     Azonban a telepítés tovább fog folytatódni.$\r$\n\
+                                     késõbb próbálja meg újra telepíteni a JabRef-et.'
+
+LangString LatexConfigInfo "${LYX_LANG}" "A LyX telepítés utáni beállítása hosszú idõt fog igénybe venni."
+
+LangString AspellInfo "${LYX_LANG}" 'Az "Aspell" helyesírás-ellenõrzõhöz használható szótárak letöltése és telepítése következik.$\r$\n\
+                                    Minden egyes szótárnak különbözõ licence lehet, ezért a licenc minden telepítés elõtt meg lesz jelenítve.'
+LangString AspellDownloadFailed "${LYX_LANG}" "Nem tudtam Aspell szótárat letölteni!"
+LangString AspellInstallFailed "${LYX_LANG}" "Nincs telepítendõ Aspell szótár!"
+LangString AspellPartAnd "${LYX_LANG}" " és "
+LangString AspellPartSep "${LYX_LANG}" ", "
+LangString AspellAll "${LYX_LANG}" 'Már van telepítve helyesírás-ellenõrzõ szótár a következõ nyelvhez'
+LangString AspellNone "${LYX_LANG}" 'Nem lett szótár telepítve az "Aspell" helyesírás-ellenõrzõhöz.$\r$\n\
+                                    A szükséges szótárat letöltheti a következõ címrõl:$\r$\n\
+                                    ${AspellLocation}$\r$\n\
+                                    Szeretne most szótárakat letölteni?'
+LangString AspellPartStart "${LYX_LANG}" "Sikeresen települt "
+LangString AspellPart1 "${LYX_LANG}" "az angol szótár"
+LangString AspellPart2 "${LYX_LANG}" "a(z) $LangName nyelv szótára"
+LangString AspellPart3 "${LYX_LANG}" "a(z)$\r$\n\
+                                     $LangNameSys nyelv szótára"
+LangString AspellPart4 "${LYX_LANG}" ' az "Aspell" helyesírás-ellenõrzõhöz.$\r$\n\
+                                     Szótárat más nyelvekhez a ${AspellLocation}$\r$\n\
+                                     címrõl tölthet le.$\r$\n\
+                                     Szeretne letölteni egyéb szótárakat??'
+
+LangString MiKTeXPathInfo "${LYX_LANG}" "Ahhoz, hogy a többi felhasználó is testre tudja használni a MiKTeX-et$\r$\n\
+                                        írás jogot kell adni minden felhasználó részére a MiKTeX alkönyvtárhoz.$\r$\n\
+                                        A $MiKTeXPath $\r$\n\
+                                        valamint alkönyvtáraihoz."
+LangString MiKTeXInfo "${LYX_LANG}" 'A "MiKTeX" LaTeX-disztibúció lesz használva a LyX által.$\r$\n\
+                                    Javasolt telepíteni a MiKTeX frissítéseket a "MiKTeX Update Wizard" segítségével,$\r$\n\
+                                    a LyX elsõ indítása elõtt.$\r$\n\
+                                    Szeretné egy ilyen frissítést most?'
+
+LangString ModifyingConfigureFailed "${LYX_LANG}" "Nem tudom beállítani a 'path_prefix'-et a configure parancsfájlban!"
+LangString CreateCmdFilesFailed "${LYX_LANG}" "Nem tudom letrehozni a lyx.bat fájlt."
+LangString RunConfigureFailed "${LYX_LANG}" "Nem tudom végrehajtani a configure parancsfájlt!"
+LangString NotAdmin "${LYX_LANG}" "A(z) LyX telepítéséhez rendszergazdai jogok szükségesek!"
+LangString InstallRunning "${LYX_LANG}" "A telepítõ már fut!"
+LangString StillInstalled "${LYX_LANG}" "A LyX már teleptve van! Elõször távolítsa el a telepítettet."
+
+LangString FinishPageMessage "${LYX_LANG}" "Gratulálok! Sikeresen telepítette a LyX-et.\r\n\
+                                           \r\n\
+                                           (Az program elsõ indítása egy kis idõt vesz igénybe...)"
+LangString FinishPageRun "${LYX_LANG}" "LyX indítása"
+
+LangString UnNotInRegistryLabel "${LYX_LANG}" "Nem találom a LyX-et a regisztriben.$\r$\n\
+                                              Az asztalon és a Start Menüben található parancsikonok nem lesznek eltávolítva!."
+LangString UnInstallRunning "${LYX_LANG}" "Elõször be kell zárnia a LyX-et!"
+LangString UnNotAdminLabel "${LYX_LANG}" "A(z) LyX eltávolításhoz rendszergazdai jogokkal kell rendelkeznie!"
+LangString UnReallyRemoveLabel "${LYX_LANG}" "Biztosan abban, hogy el akarja távolítani a LyX-t, minden tartozékával együtt?"
+LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyX felhasználói beállítások'
+LangString UnGSview "${LYX_LANG}" 'Kérem nyomja meg az "Eltávolítás" gombot, a PostScript és a\r$\n\
+                                  PDF megjelenítõ "GSview" eltávolításához a következõ ablakban.'
+LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX eltávolítása a számítógépérõl zökkenõmentesen befejezõdött."
+
+LangString SecUnAspellDescription "${LYX_LANG}" "Az Aspell és minden szótárának eltávolítása."
+LangString SecUnMiKTeXDescription "${LYX_LANG}" "A MikTeX LaTeX-disztibúció eltávolítása."
+LangString SecUnJabRefDescription "${LYX_LANG}" "A JabRef irodalomjegyzék kezelõ eltávolítása."
+LangString SecUnPreferencesDescription "${LYX_LANG}" 'A  LyX beállítások mappa törlése$\r$\n\
+                                          "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\
+                                          minden felhasználónál.'
+LangString SecUnProgramFilesDescription "${LYX_LANG}" "A LyX és minden komponensének eltávolítása."
+
+!undef LYX_LANG
+
+!endif ; _LYX_LANGUAGES_HUNGARIAN_NSH_
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/italian.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/italian.nsh
new file mode 100644 (file)
index 0000000..ca55c2e
--- /dev/null
@@ -0,0 +1,148 @@
+!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}" "Documento di LyX"
+
+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}" "Gestore dei riferimenti bibliografici ed editor per i files di BibTeX."
+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}" 'Verrà adesso lanciato il programma di installazione di "JabRef".$\r$\n\
+                                    Puoi usare tutte le opzioni predefinite per il programma di installazione di JabRef.'
+LangString JabRefError "${LYX_LANG}" 'Il programma "JabRef" non è stato installato correttamente!$\r$\n\
+                                     L$\'installazione può comunque proseguire.$\r$\n\
+                                     Si consiglia di tentare nuovamente l$\'installazione di JabRef al termine.'
+
+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}" "Rimuove il gestore della bibliografia 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/installer/LyXWinInstaller/lyx_languages/norwegian.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/norwegian.nsh
new file mode 100644 (file)
index 0000000..f33a7aa
--- /dev/null
@@ -0,0 +1,148 @@
+!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 bør lukke alle andre programmer først, dermed kan installasjonsprogrammet oppdatere relevante systemfiler uten å måtte 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 menyspråk"
+LangString AvailableLang "${LYX_LANG}" " Tilgjengelige Språk "
+
+LangString MissProgHeader "${LYX_LANG}" "Kryss av for nødvendige programmer"
+LangString MissProgCap "${LYX_LANG}" "Følgende 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" kjøres i gang.$\r$\n\
+                                    For å installere programmet, klikk "Setup"-knappen i det første installasjonsvinduet$\r$\n\
+                                    velg et språk, og klikk deretter "Neste"-knappen i det følgende 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\
+                                     Prøv å 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}" "Forsøket på å stille inn 'path_prefix' i konfigurasjonsscriptet mislyktes"
+LangString CreateCmdFilesFailed "${LYX_LANG}" "Fikk ikke opprettet lyx.bat"
+LangString RunConfigureFailed "${LYX_LANG}" "Fikk ikke kjørt 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 først."
+
+LangString FinishPageMessage "${LYX_LANG}" "Gratulerer!! LyX er installert.\r\n\
+                                           \r\n\
+                                           (Første 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 først!"
+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 tilhørende 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/installer/LyXWinInstaller/lyx_languages/polish.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/polish.nsh
new file mode 100644 (file)
index 0000000..229ba82
--- /dev/null
@@ -0,0 +1,163 @@
+!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 u¿ytkowników?"
+LangString SecFileAssocTitle "${LYX_LANG}" "Skojarzenie plików .lyx"
+LangString SecDesktopTitle "${LYX_LANG}" "Ikona na pulpicie"
+
+LangString SecCoreDescription "${LYX_LANG}" "Pliki LyX-a."
+LangString SecInstGSviewDescription "${LYX_LANG}" "Program do podgl¹du dokumentów Postscript i PDF."
+LangString SecInstJabRefDescription "${LYX_LANG}" "Bibliography reference manager and editor for BibTeX files."
+LangString SecAllUsersDescription "${LYX_LANG}" "Instalacja dla wszystkich u¿ytkowników lub tylko dla bie¿¹cego u¿ytkownika."
+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}" "Wybór jêzyka menu LyX-a"
+LangString AvailableLang "${LYX_LANG}" " Dostêpne jêzyki "
+
+LangString MissProgHeader "${LYX_LANG}" "Sprawdzenie zainstalowania wymaganych programów"
+LangString MissProgCap "${LYX_LANG}" "Zostan¹ dodatkowo zainstalowane nastêpuj¹ce 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 rysunków"
+LangString MissProgAspell "${LYX_LANG}" "Aspell, kontrola pisowni"
+LangString MissProgMessage "${LYX_LANG}" 'Brak dodatkowych programów do instalacji.'
+
+LangString EnterLaTeXHeader1 "${LYX_LANG}" 'Dystrybucja LaTeX-a'
+LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Wybierz dystrybucjê LaTeX-a, któr¹ chcesz u¿ywaæ 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 u¿ywaj LaTeX-a"
+LangString InvalidLaTeXFolder "${LYX_LANG}" 'Plik "latex.exe" nie znajduje siê w podanej \9ccie¿ce.'
+
+LangString LatexInfo "${LYX_LANG}" 'Teraz zostanie uruchomiony instalator dystrybucji LaTeX-a "MiKTeX".$\r$\n\
+                                   Aby zainstalowaæ ten program naci\9cnij przycisk "Dalej" w oknie instalatora.$\r$\n\
+                                   $\r$\n\
+                                   !!! Proszê u¿yæ wszystkich domy\9clnych opcji instalatora MiKTeX-a !!!'
+LangString LatexError1 "${LYX_LANG}" 'Nie znaleziono dystrybucji LaTeX-a!$\r$\n\
+                                     LyX nie mo¿e byæ u¿yty 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æ naci\9cnij przycisk "Setup" w pierwszym oknie instalatora,$\r$\n\
+                                    w kolejnym oknie wybierz jêzyk i przyci\9cnij przycisk "Next".$\r$\n\
+                                    Mo¿esz u¿yæ wszystkich domy\9clnych opcji instalacji.'
+LangString GSviewError "${LYX_LANG}" 'Program "GSview" nie zosta³ pomy\9clnie zainstalowany!$\r$\n\
+                                     Mimo to instalacja bêdzie kontynuowana.$\r$\n\
+                                     Spróbuj pó\9fniej 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 próba ustawienia zmiennej 'path_prefix' w pliku skryptu konfigracyjnego"
+LangString CreateCmdFilesFailed "${LYX_LANG}" "Niedana próba utworzenia plików lyx.bat"
+LangString RunConfigureFailed "${LYX_LANG}" "Niedana próba 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³ pomy\9clnie zainstalowany.\r\n\
+                                           \r\n\
+                                           (Pierwsze uruchomienie mo¿e potrwaæ kilka sekund.)"
+LangString FinishPageRun "${LYX_LANG}" "Uruchom LyX-a"
+
+LangString UnNotInRegistryLabel "${LYX_LANG}" "Nie mo¿na znale\9fæ LyX-a w rejestrze.$\r$\n\
+                                              Skróty na pulpicie i w menu Start nie zostan¹ usuniête."
+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}" 'Naci\9cnij przycisk "Odinstaluj" w nastêpnym oknie aby odinstalowaæ$\r$\n\
+                                  przegl¹darkê Postscript i PDF "GSview".'
+LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX zosta³ pomy\9clnie usuniêty 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/installer/LyXWinInstaller/lyx_languages/portuguese.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/portuguese.nsh
new file mode 100644 (file)
index 0000000..1c0aa66
--- /dev/null
@@ -0,0 +1,148 @@
+!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 instalação irá guiá-lo através da instalação do LyX.\r\n\
+                                         \r\n\
+                                         Precisa de privilégios de administrador para instalar o LyX.\r\n\
+                                         \r\n\
+                                         Recomenda-se fechar todas as outras aplicações antes de iniciar o programa de configuração. 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}" "Associação 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 referências bibliográficas 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 extensão .lyx irão abrir automaticamente no LyX."
+LangString SecDesktopDescription "${LYX_LANG}" "Um icone do LyX no ambiente de trabalho."
+
+LangString LangSelectHeader "${LYX_LANG}" "Selecção da linguagem dos menus no LyX"
+LangString AvailableLang "${LYX_LANG}" " Línguas disponíveis "
+
+LangString MissProgHeader "${LYX_LANG}" "Verificação para os programas exigidos"
+LangString MissProgCap "${LYX_LANG}" "O(s) seguinte(s) programa(s) exigidos serão instalados adicionalmente"
+LangString MissProgLatex "${LYX_LANG}" "MiKTeX, uma distribuição 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 ortográfico"
+LangString MissProgMessage "${LYX_LANG}" 'Não será instalado nenhum programa adicional.'
+
+LangString EnterLaTeXHeader1 "${LYX_LANG}" 'Distribuição de LaTeX'
+LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Escolher a distribuição de LaTeX que o LyX deverá usar.'
+LangString EnterLaTeXFolder "${LYX_LANG}" 'Opcionalmente pode especificar o caminho do ficheiro "latex.exe" e posteriormente \
+                                          escolher a distribuição de LaTeX que vai usar o LyX.\r\n\
+                                          Sem LaTeX o LyX não pode (pré-)imprimir os documentos!\r\n\
+                                          \r\n\
+                                          O instalador detectou a distribuição 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 distribuição de LaTeX que deve usar o LyX.\r\n\
+                                              Sem LaTeX o LyX não pode (pré-)imprimir os documentos!\r\n\
+                                              \r\n\
+                                              O instalador não pudo achar nenhuma distribuição de LaTeX no seu sistema.'
+LangString PathName "${LYX_LANG}" 'Caminho ao ficheiro "latex.exe"'
+LangString DontUseLaTeX "${LYX_LANG}" "Não usar LaTeX"
+LangString InvalidLaTeXFolder "${LYX_LANG}" 'O ficheiro "latex.exe" não está no caminho especificado.'
+
+LangString LatexInfo "${LYX_LANG}" 'Agora lançar-se-á o instalador da distribuição de LaTeX "MiKTeX".$\r$\n\
+                                   Para instalar o programa carregue no botão "Próximo" na janela de instalação até a instalação começar.$\r$\n\
+                                   $\r$\n\
+                                   !!! Por favor use todas as opções por defeito do instalador do MiKTeX !!!'
+LangString LatexError1 "${LYX_LANG}" 'Não foi encontrada nenhuma distribuição de LaTeX!$\r$\n\
+                                     O LyX não pode ser usado sem uma distribuição de LaTeX como o "MiKTeX"!$\r$\n\
+                                     A instalação será por isso abortada.'
+
+LangString GSviewInfo "${LYX_LANG}" 'Agora lançar-se-á o instalador do programa "GSview".$\r$\n\
+                                    Para instalar carregue no botão "Setup" na primeira janela de instalação$\r$\n\
+                                    escolha a língua e depois carregue no botão "Próximo" na janela seguinte do instalador.$\r$\n\
+                                    Pode usar todas as opções por defeito no instalador do GSview.'
+LangString GSviewError "${LYX_LANG}" 'Não se conseguiu instalar o programa "GSview"!$\r$\n\
+                                     A instalação irá continuar na mesma.$\r$\n\
+                                     Tente instalar o GSview outra vez mais tarde.'
+
+LangString JabRefInfo "${LYX_LANG}" 'Agora lançar-se-á o instalador do programa "JabRef".$\r$\n\
+                                    Pode usar todas as opções por defeito no instalador do JabRef.'
+LangString JabRefError "${LYX_LANG}" 'Não se conseguiu instalar o programa "JabRef"!$\r$\n\
+                                     A instalação irá continuar na mesma.$\r$\n\
+                                     Tente instalar o JabRef outra vez mais tarde.'
+
+LangString LatexConfigInfo "${LYX_LANG}" "A configuração seguinte do LyX irá demorar um bocado."
+
+LangString AspellInfo "${LYX_LANG}" 'Agora se vão descarregar e instalar dicionários do corrector ortográfico "Aspell".$\r$\n\
+                                    Cada dicionário tem uma licença diferente, que se mostrará antes da instalação.'
+LangString AspellDownloadFailed "${LYX_LANG}" "Não foi possível descarregar nenhum dicionário do Aspell!"
+LangString AspellInstallFailed "${LYX_LANG}" "Não foi possível instalar nenhum dicionário do Aspell!"
+LangString AspellPartAnd "${LYX_LANG}" " e "
+LangString AspellPartSep "${LYX_LANG}" ", "
+LangString AspellAll "${LYX_LANG}" 'Já há instalado um dicionário desta língua'
+LangString AspellNone "${LYX_LANG}" 'Não se instalou nenhum dicionário do "Aspell".$\r$\n\
+                                    Os dicionários podem descarregar-se de$\r$\n\
+                                    ${AspellLocation}$\r$\n\
+                                    Deseja descarregar dicionários agora?'
+LangString AspellPartStart "${LYX_LANG}" "Instalou-se com sucesso "
+LangString AspellPart1 "${LYX_LANG}" "um dicionário de inglês"
+LangString AspellPart2 "${LYX_LANG}" "um dicionário de $LangName"
+LangString AspellPart3 "${LYX_LANG}" "um$\r$\n\
+                                     dicionário de $LangNameSys"
+LangString AspellPart4 "${LYX_LANG}" ' para o corrector ortográfico "Aspell".$\r$\n\
+                                     É posível descarregar mais dicionários de$\r$\n\
+                                     ${AspellLocation}$\r$\n\
+                                     Deseja descarregar outros dicionários 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 permissão de escritura para todos os utilizadores."
+LangString MiKTeXInfo "${LYX_LANG}" 'Junto com o LyX vai-se utilizar a distribuição de LaTeX "MiKTeX".$\r$\n\
+                                    Antes de usar o LyX pela primeira vez, recomenda-se instalar as actualizações disponíveis$\r$\n\
+                                    do MiKTeX com o instalador "MiKTeX Update Wizard"$\r$\n\
+                                    Deseja comprovar agora se há actualizações do MiKTeX?'
+
+LangString ModifyingConfigureFailed "${LYX_LANG}" "Não conseguimos establecer o 'path_prefix' no script de configuração"
+LangString CreateCmdFilesFailed "${LYX_LANG}" "Não foi possível criar o lyx.bat"
+LangString RunConfigureFailed "${LYX_LANG}" "Não foi possível executar o script de configuração"
+LangString NotAdmin "${LYX_LANG}" "Precisa de privilégios 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}" "Parabéns! O LyX foi instalado com sucesso.\r\n\
+                                           \r\n\
+                                           (O primeiro início do LyX pode levar alguns segundos.)"
+LangString FinishPageRun "${LYX_LANG}" "Lançar 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 não serão removidos."
+LangString UnInstallRunning "${LYX_LANG}" "Deve fechar o LyX em primeiro lugar!"
+LangString UnNotAdminLabel "${LYX_LANG}" "Precisa de privilégios 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}" 'Preferências de utilizador do LyX'
+LangString UnGSview "${LYX_LANG}" 'Por favor carregue no botão "Desinstalar" na próxima 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 ortográfico Aspell e todos os seus dicionários."
+LangString SecUnMiKTeXDescription "${LYX_LANG}" "Desinstala a distribuição de LaTeX MiKTeX."
+LangString SecUnJabRefDescription "${LYX_LANG}" "Desinstala o gestor de referências bibliográficas JabRef."
+LangString SecUnPreferencesDescription "${LYX_LANG}" 'Apaga as pastas de configuração 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/installer/LyXWinInstaller/lyx_languages/slovak.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/slovak.nsh
new file mode 100644 (file)
index 0000000..0583737
--- /dev/null
@@ -0,0 +1,154 @@
+!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 Vám pomáha in\9atalova\9d LyX.\r\n\
+                                         \r\n\
+                                         Pre in\9ataláciu LyX potrebujete administrátorské práva.\r\n\
+                                         \r\n\
+                                         Odporúèuje sa zavrie\9d v\9aetký ostatné aplikácie pred \9atartom Setup. Tým sa umo\9eòuje nahradi\9d relevantné dáta sústavy bez nového \9atartu poèitaèe.\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}" "In\9atalova\9d pre v\9aetkých u\9eívate¾ov?"
+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}" "Manager pre bibliografický odkaz a editor pre BibTeX files."
+LangString SecAllUsersDescription "${LYX_LANG}" "In\9atalova\9d LyX pre v\9aetkých u\9eívatelov alebo len pre teraj\9aí u\9eívate¾."
+LangString SecFileAssocDescription "${LYX_LANG}" "Data s lyx roz\9aírením sa automaticky otvárajú 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 vy\9eadované programy"
+LangString MissProgCap "${LYX_LANG}" "Nasledujúce vy\9eadované programy sa in\9atalujú dodatocne"
+LangString MissProgLatex "${LYX_LANG}" "MiKTeX, je LaTeX distribúcia"
+LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, je interpretátor pre PostScript a PDF"
+LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, konvertuje obrazy"
+LangString MissProgAspell "${LYX_LANG}" "Aspell, je overovanie pravopisu"
+LangString MissProgMessage "${LYX_LANG}" 'Netreba in\9atalova\9d ïal\9aie programy.'
+
+LangString EnterLaTeXHeader1 "${LYX_LANG}" 'LaTeX distribúcia'
+LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Urcujte LaTeX distribúciu, ktorú má u\9eíva\9d LyX.'
+LangString EnterLaTeXFolder "${LYX_LANG}" 'Tu mô\9eete pou\9eíva\9d chod k "latex.exe" a tým pou\9eíva\9d chod \
+                                          LaTeX-distribúciu, ktorá by mohla by\9d pou\9eívaná cestou LyXu.\r\n\
+                                          Ak nepou\9eívate LaTeX, LyX nemô\9ee produkova\9d dokumenty!\r\n\
+                                          \r\n\
+                                          In\9atalatér detektoval LaTeX-distribúciu \
+                                          "$LaTeXName" na va\9aej sústave. Dolu vidíte jeho chod.'
+LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Pou\9eívajte dolu chod k "latex.exe". Tým urcujete, ktorá \
+                                              LaTeX-distribúcia má by\9d pou\9eívaná LyXom.\r\n\
+                                              Ak nepou\9eívate LaTeX, LyX nemô\9ee produkova\9d dokumenty!\r\n\
+                                              \r\n\
+                                              In\9atalatér nemohol nájst LaTeX-distribúciu na va\9aej sústave.'
+LangString PathName "${LYX_LANG}" 'Chod k "latex.exe"'
+LangString DontUseLaTeX "${LYX_LANG}" "Neu\9eívajte LaTeX"
+LangString InvalidLaTeXFolder "${LYX_LANG}" 'Mapa "latex.exe" nie je na \9apecifikovanej ceste.'
+
+LangString LatexInfo "${LYX_LANG}" 'Teraz mô\9eete \9atartova\9d LaTeX distribúciu "MiKTeX".$\r$\n\
+                                   Na in\9atalovanie programu tlaète gombík "Next" v in\9atalovacích oknách a\9e sa zaèína in\9atalácia.$\r$\n\
+                                   $\r$\n\
+                                   !!! Prosím u\9eívajte v\9aetký obsiahnuté nastavenia in\9atalatéra MiKTeX !!!'
+
+LangString LatexError1 "${LYX_LANG}" 'LaTeX distribúcia sa nemohla nájst!$\r$\n\
+                                     LyX sa nemô\9ee u\9eíva\9d bez LaTeX distribúcie ako "MiKTeX"!$\r$\n\
+                                     Preto sa in\9atalácia zastavila.'
+                       
+LangString GSviewInfo "${LYX_LANG}" 'Teraz \9atartuje in\9atalatér programu "GSview" .$\r$\n\
+                                    Na in\9ataláciu programu tlaète gombík "Setup" v prvom in\9atalaènom okne$\r$\n\
+                                    Vyberajte jazyk a tlaète gombík "Next" v nasledujúcich in\9atalaèných oknách.$\r$\n\
+                                    Mô\9eete u\9eívat v\9aetký obsiahnuté nastavenia in\9atalatéra GSview.'
+LangString GSviewError "${LYX_LANG}" 'Program "GSview" sa nemohol in\9atalova\9d úspe\9ane!$\r$\n\
+                                     Predsa in\9atalácia pokraèuje.$\r$\n\
+                                     Skúste in\9atalova\9d GSview e\9ate raz neskôr.'
+
+LangString JabRefInfo "${LYX_LANG}" 'Teraz sa \9atartuje in\9atalatér programu "JabRef".$\r$\n\
+                                    Môzete v\9aetký obsiahnuté nastavenia in\9atalatéra JabRef.'
+LangString JabRefError "${LYX_LANG}" 'Program "JabRef" sa nemohol in\9atalova\9d úspe\9ane!$\r$\n\
+                                     Predsa in\9atalácia pokraèuje.$\r$\n\
+                                     Skúste in\9atalova\9d JabRef e\9ate raz neskôr.'
+                               
+LangString LatexConfigInfo "${LYX_LANG}" "Na nasledujúcu konfiguráciu LyXu treba poèka\9d chví¾u."
+
+LangString AspellInfo "${LYX_LANG}" 'Teraz sa in\9atalujú slovníky pre skú\9aobný program "Aspell".$\r$\n\
+                                    Ka\9edý slovník má inú licensiu, ktorá sa predstavuje pred downloadom a in\9ataláciou.'
+LangString AspellDownloadFailed "${LYX_LANG}" "Aspell slovník sa nemohol downloadova\9d!"
+LangString AspellInstallFailed "${LYX_LANG}" "Aspell slovník sa nemohol in\9atalova\9d!"
+LangString AspellPartAnd "${LYX_LANG}" " a "
+LangString AspellPartSep "${LYX_LANG}" ", "
+LangString AspellAll "${LYX_LANG}" 'U\9e je in\9atalovaný slovník jazyku'
+LangString AspellNone "${LYX_LANG}" 'Slovník pre "Aspell" nebol in\9atalovaný.$\r$\n\
+                                    Slovníky je mo\9ené downloadova\9d od$\r$\n\
+                                    ${AspellLocation}$\r$\n\
+                                    Chcete teraz downloadova\9d slovníky?'
+LangString AspellPartStart "${LYX_LANG}" "Teraz je úspe\9ane in\9atalovaný "
+LangString AspellPart1 "${LYX_LANG}" "anglický slovník"
+LangString AspellPart2 "${LYX_LANG}" "slovník jazyku $LangName"
+LangString AspellPart3 "${LYX_LANG}" "a$\r$\n\
+                                     slovník jazyku $LangNameSys"
+LangString AspellPart4 "${LYX_LANG}" ' pre "Aspell".$\r$\n\
+                                     Viac slovníkov je mo\9eno downloadova\9d od$\r$\n\
+                                     ${AspellLocation}$\r$\n\
+                                     Chcete teraz downloadova\9d iné slovníky?'
+
+LangString MiKTeXPathInfo "${LYX_LANG}" "Aby ka\9edý pou\9eívatel bol neskôr schopný pou\9eívat MiKTeX pre svoje potreby$\r$\n\
+                                        je treba napísat povolenia pre v\9aetkých pou\9eívatelov do in\9atalacného papiera MiKTeX $\r$\n\
+                                        $MiKTeXPath $\r$\n\
+                                        aj do podriadených papierov."
+LangString MiKTeXInfo "${LYX_LANG}" 'LaTeX distribúcia "MiKTeX" sa pou\9eíva spolu s LyXom.$\r$\n\
+                                    Doporuèuje sa in\9atalovat platné MiKTeX aktualizácie pomocou programu "MiKTeX Update Wizard"$\r$\n\
+                                    pred prvým pou\9eívaním LyXu.$\r$\n\
+                                    Chcete teraz testova\9d MiKTeX aktualizácie?'
+
+LangString ModifyingConfigureFailed "${LYX_LANG}" "Nemohol uvies\9d v platnost 'path_prefix' (zoznam s cestami programu) v konfiguraènom skripte"
+LangString CreateCmdFilesFailed "${LYX_LANG}" "Nemohol prípravi\9d lyx.bat"
+LangString RunConfigureFailed "${LYX_LANG}" "Nemohol vykona\9d konfiguraèný skript"
+LangString NotAdmin "${LYX_LANG}" "Pre in\9ataláciu LyX potrebujete administrátorské práva!"
+LangString InstallRunning "${LYX_LANG}" "In\9atalatér u\9e behá!"
+LangString StillInstalled "${LYX_LANG}" "LyX je u\9e in\9atalovaný! Najprv treba odin\9atalova\9d LyX."
+
+LangString FinishPageMessage "${LYX_LANG}" "Gratulácia! LyX bol úspe\9ane in\9atalovaný.\r\n\
+                                           \r\n\
+                                           (Prvý LyX \9atart mô\9ee trva\9d niekolko sekund.)"
+LangString FinishPageRun "${LYX_LANG}" "\8atartova\9d LyX"
+
+LangString UnNotInRegistryLabel "${LYX_LANG}" "Nemô\9ee nájs\9d LyX v registre.$\r$\n\
+                                              Symboly na desktope a v \9atartovacom Menu sa nedajú odstrani\9d."
+LangString UnInstallRunning "${LYX_LANG}" "Najprv zavrí LyX!"
+LangString UnNotAdminLabel "${LYX_LANG}" "Pre odin\9ataláciu LyX potrebujete administrátorské práva!"
+LangString UnReallyRemoveLabel "${LYX_LANG}" "Ste si istý, \9ee chcete kompletne odin\9atalova\9d LyX a v\9aetký jeho suèiastky?"
+LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyX prednosti u\9eíva\9de¾a'
+LangString UnGSview "${LYX_LANG}" 'Prosím tlaète gombík "Uninstall" v nasledujúcom okne aby Ste in\9atalovali $\r$\n\
+                                  Postscript a PDF-viewer "GSview".'
+LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX je úspe\9ane odstránený od Vá\9aho poèitaèa."
+
+LangString SecUnAspellDescription "${LYX_LANG}" "Odin\9ataluje Aspell a v\9aetký jeho slovníky."
+LangString SecUnMiKTeXDescription "${LYX_LANG}" "Odin\9ataluje LaTeX distribúciu MiKTeX."
+LangString SecUnJabRefDescription "${LYX_LANG}" "Odin\9ataluje bibliografický manager JabRef."
+LangString SecUnPreferencesDescription "${LYX_LANG}" 'Odstráni konfiguracné papiere LyXu $\r$\n\
+                                          "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\
+                                          pre v\9aetkých u\9eivate¾ov.'
+LangString SecUnProgramFilesDescription "${LYX_LANG}" "Odin\9ataluj LyX a v\9aetký jeho suèiastky."
+
+!undef LYX_LANG
+
+!endif ; _LYX_LANGUAGES_SLOVAK_NSH_
+
+
+
+
+
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/spanish.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/spanish.nsh
new file mode 100644 (file)
index 0000000..194a7e4
--- /dev/null
@@ -0,0 +1,148 @@
+!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 demás aplicaciones antes de iniciar la instalación. 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 sólo para el usuario actual."
+LangString SecFileAssocDescription "${LYX_LANG}" "Asociar la extensión .lyx con LyX."
+LangString SecDesktopDescription "${LYX_LANG}" "Crear un icono de LyX en el escritorio."
+
+LangString LangSelectHeader "${LYX_LANG}" "Selección del idioma del menu de LyX "
+LangString AvailableLang "${LYX_LANG}" " Idiomas disponibles "
+
+LangString MissProgHeader "${LYX_LANG}" "Verificación de programas necesarios "
+LangString MissProgCap "${LYX_LANG}" "Los siguientes programas necesarios serán también instalados "
+LangString MissProgLatex "${LYX_LANG}" "MiKTeX, una distribución de LaTeX "
+LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, un interprete para PostScript y PDF"
+LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, un conversor de imágenes "
+LangString MissProgAspell "${LYX_LANG}" "Aspell, un corrector ortográfico"
+LangString MissProgMessage "${LYX_LANG}" 'No es necesario instalar programas adicionales.'
+
+LangString EnterLaTeXHeader1 "${LYX_LANG}" 'Distribución LaTeX'
+LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Elija la distribución de LaTeX que debería emplear LyX.'
+LangString EnterLaTeXFolder "${LYX_LANG}" 'Opcionalmente puede especificar el camino del fichero "latex.exe" y posteriormente \
+                                          elegir la distribución 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 distribución 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 distribución 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 distribución 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 distribución de LaTeX.$\r$\n\
+                                   Para instalar el programa presione el botón "Next" en la  ventana del instalador hasta que la aplicación 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 distribución de LaTeX!$\r$\n\
+                                     ¡LyX no funciona sin una distribución de LaTeX como "MiKTeX"!$\r$\n\
+                                     Por lo tanto la instalación se abortará.'
+
+LangString GSviewInfo "${LYX_LANG}" 'Ahora se lanzará el instalador del programa "GSview".$\r$\n\
+                                    Para instalar el programa presione el botón "Setup" en la primera ventana del instalador$\r$\n\
+                                    elija un idioma y luego presione el botón "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 instalación se continuará de toda forma.$\r$\n\
+                                     Intente instalar otra vez GSview más 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 instalación se continuará de toda forma.$\r$\n\
+                                     Intente instalar otra vez JabRef más tarde.'
+
+LangString LatexConfigInfo "${LYX_LANG}" "La siguiente configuración de LyX va a tardar un poco."
+
+LangString AspellInfo "${LYX_LANG}" 'Ahora se van a descargar e instalar diccionarios del corrector ortográfico "Aspell".$\r$\n\
+                                    Cada diccionario tiene una licencia diferente, que se mostrará antes da instalación.'
+LangString AspellDownloadFailed "${LYX_LANG}" "¡No se pudo descargar ningún diccionario para Aspell!"
+LangString AspellInstallFailed "${LYX_LANG}" "¡No se pudo instalar ningún 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 ningún 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 inglés"
+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 ortográfico "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 distribución 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 añadir 'path_prefix' durante la ejecución del programa de configuración"
+LangString CreateCmdFilesFailed "${LYX_LANG}" "No se pudo crear lyx.bat"
+LangString RunConfigureFailed "${LYX_LANG}" "Error al intentar ejecutar el programa de configuración"
+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 rápidos del escritorio y del Menú de Inicio no serán 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 botón "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 ortográfico Aspell y todos sus diccionarios."
+LangString SecUnMiKTeXDescription "${LYX_LANG}" "Desinstala a distribución de LaTeX MiKTeX."
+LangString SecUnJabRefDescription "${LYX_LANG}" "Desinstala el administrador de referencias bibliograficas JabRef."
+LangString SecUnPreferencesDescription "${LYX_LANG}" 'Elimina las carpetas de configuración 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/installer/LyXWinInstaller/lyx_languages/swedish.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/swedish.nsh
new file mode 100644 (file)
index 0000000..62fd2c4
--- /dev/null
@@ -0,0 +1,148 @@
+!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 behöver administratörsrättigheter för att installera LyX.\r\n\
+                                         \r\n\
+                                         Det rekommenderas att du avslutar alla andra program innan du fortsätter installationen. Detta tillåter att installationen uppdaterar nödvändiga systemfiler utan att behöva 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 för alla användare?"
+LangString SecFileAssocTitle "${LYX_LANG}" "Filassociationer"
+LangString SecDesktopTitle "${LYX_LANG}" "Skrivbordsikon"
+
+LangString SecCoreDescription "${LYX_LANG}" "LyX-filer."
+LangString SecInstGSviewDescription "${LYX_LANG}" "Program för att visa Postscript- och PDF-dokument."
+LangString SecInstJabRefDescription "${LYX_LANG}" "Program för att hantera bibliografiska referenser och redigera BibTeX-filer."
+LangString SecAllUsersDescription "${LYX_LANG}" "Installera LyX för alla användare, eller enbart för den aktuella användare."
+LangString SecFileAssocDescription "${LYX_LANG}" "Skapa en association mellan programmet och filtilläget .lyx."
+LangString SecDesktopDescription "${LYX_LANG}" "En LyXikon på skrivbordet."
+
+LangString LangSelectHeader "${LYX_LANG}" "Val av språk i LyXs menyer"
+LangString AvailableLang "${LYX_LANG}" " Tillgängliga språk "
+
+LangString MissProgHeader "${LYX_LANG}" "Leta efter nödvändiga program"
+LangString MissProgCap "${LYX_LANG}" "Följande nödvändiga program kommer dessutom att installeras"
+LangString MissProgLatex "${LYX_LANG}" "MiKTeX, en LaTeX-distribution"
+LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, ett konverteringsprogram mm för PostScript och PDF"
+LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, ett konverteringsprogram för bilder"
+LangString MissProgAspell "${LYX_LANG}" "Aspell, ett rättstavningsprogram"
+LangString MissProgMessage "${LYX_LANG}" 'Inga ytterligare program behöver installeras.'
+
+LangString EnterLaTeXHeader1 "${LYX_LANG}" 'LaTeX-distribution'
+LangString EnterLaTeXHeader2 "${LYX_LANG}" 'Ställ in LaTeX-distributionen som LyX skall använda.'
+LangString EnterLaTeXFolder "${LYX_LANG}" 'Alternativt kan du här ställa in sökvägen till filen "latex.exe" och därmed manuellt bestämma vilken \
+                                          LaTeX-distribution som skall användas av LyX.\r\n\
+                                          Utan LaTeX kan LyX bara redigera LyX-filer, inte producera t.ex. PDF-dokument!\r\n\
+                                          \r\n\
+                                          Installationsprogrammet har upptäckt LaTeX-distributionen \
+                                          "$LaTeXName" i ditt system. Nedan visas dess sökväg.'
+LangString EnterLaTeXFolderNone "${LYX_LANG}" 'Sätt nedan sökvägen till filen "latex.exe". Därmed väljer du vilken \
+                                              LaTeX-distribution som skall användas 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}" 'Sökväg till filen "latex.exe"'
+LangString DontUseLaTeX "${LYX_LANG}" "Använd inte LaTeX"
+LangString InvalidLaTeXFolder "${LYX_LANG}" 'Kan inte hitta "latex.exe"'
+
+LangString LatexInfo "${LYX_LANG}" 'Nu kommer installationsprogrammet för LaTeX-distribution "MiKTeX" att köras.$\r$\n\
+                                   För att installera programmet, klicka på knappen "Next" i installationsfönstret tills installation börjar.$\r$\n\
+                                   $\r$\n\
+                                   !!! Var snäll och använd standardinställningarna i installationsprogrammet för MiKTeX !!!'
+LangString LatexError1 "${LYX_LANG}" 'Kan inte hitta någon LaTeX-distribution!$\r$\n\
+                                     LyX kan inte användas utan en LaTeX-distribution som tex "MiKTeX"!$\r$\n\
+                                     Installation avbryts därför nu.'
+                                   
+LangString GSviewInfo "${LYX_LANG}" 'Nu kommer installationsprogrammet för "GSview" att köras.$\r$\n\
+                                    För att installera programmet, klicka på knappen "Setup" i den första dialogrutan i installationsprogrammet\r$\n\
+                                    välj ett språk och klicka sedan på knappen "Next" i det nästkommande installationsfönstret.$\r$\n\
+                                    Du kan använda alla standardalternativ i installationsprogrammet för GSview.'
+LangString GSviewError "${LYX_LANG}" 'Programmet "GSview" kunde inte installeras ordentligt!$\r$\n\
+                                     Installationen av LyX kommer att fortsätta ändå.$\r$\n\
+                                     Försök installera GSview igen senare.'
+
+LangString JabRefInfo "${LYX_LANG}" 'Nu kommer installationsprogrammet för "JabRef" att köras.$\r$\n\
+                                    Du kan använda alla standardalternativ i installationsprogrammet för JabRef.'
+LangString JabRefError "${LYX_LANG}" 'Programmet "JabRef" kunde inte installeras ordentligt!$\r$\n\
+                                     Installationen av LyX kommer att fortsätta ändå.$\r$\n\
+                                     Försök installera GSview igen senare.'
+                                     
+LangString LatexConfigInfo "${LYX_LANG}" "Följande konfigurering av LyX kommer att ta ett tag."
+
+LangString AspellInfo "${LYX_LANG}" 'Nu kommer ordlistor för stavningsprogrammet "Aspell" att laddas ner och installeras.$\r$\n\
+                                    Varje ordlista har en egen licens vilken kommer att visas före installationen.'
+LangString AspellDownloadFailed "${LYX_LANG}" "Ingen ordlista för stavningsprogrammet Aspell kunde laddas ner!"
+LangString AspellInstallFailed "${LYX_LANG}" "Ingen ordlista för stavningsprogrammet Aspell kunde installeras!"
+LangString AspellPartAnd "${LYX_LANG}" " and "
+LangString AspellPartSep "${LYX_LANG}" ", "
+LangString AspellAll "${LYX_LANG}" 'Det finns redan en installerad ordlista för språket'
+LangString AspellNone "${LYX_LANG}" 'Ingen ordlista för stavningsprogrammet "Aspell" har blivit installerad.$\r$\n\
+                                    Ordlistor kan laddas ner från\r$\n\
+                                    ${AspellLocation}$\r$\n\
+                                    Vill du ladda ner ordlistor nu?'
+LangString AspellPartStart "${LYX_LANG}" "Det installerades framgångsrikt "
+LangString AspellPart1 "${LYX_LANG}" "en engelsk ordlista"
+LangString AspellPart2 "${LYX_LANG}" "en ordlista för språket $LangName"
+LangString AspellPart3 "${LYX_LANG}" "en$\r$\n\
+                                     ordlista för språket $LangNameSys"
+LangString AspellPart4 "${LYX_LANG}" ' för stavningsprogrammet "Aspell".$\r$\n\
+                                     Ytterligare ordlistor kan laddas ner från\r$\n\
+                                     ${AspellLocation}$\r$\n\
+                                     Vill du ladda ner ytterligare ordlistor nu?'
+
+LangString MiKTeXPathInfo "${LYX_LANG}" "För att varje användare senare skall kunna anpassa MiKTeX för sina behov$\r$\n\
+                                        är det nödvändigt att ge skrivrättigheter till alla användare för MiKTeX's installationskatalog$\r$\n\
+                                        $MiKTeXPath $\r$\n\
+                                        och dess underkataloger."
+LangString MiKTeXInfo "${LYX_LANG}" 'LaTeX-distributionen "MiKTeX" kommer att användas tillsammans med LyX.$\r$\n\
+                                    Det rekommenderas att installera tillgängliga uppdateringar av MiKTeX med hjälp av programmet "MiKTeX Update Wizard".$\r$\n\
+                                    innan du använder LyX för första gången.$\r$\n\
+                                    Vill du kontrollera om det finns uppdateringar tillgängliga för MiKTeX nu?'
+                                    
+LangString ModifyingConfigureFailed "${LYX_LANG}" "Misslyckades med att sätta  'path_prefix' i konfigurationsskriptet"
+LangString CreateCmdFilesFailed "${LYX_LANG}" "Kunde inte skapa filen (kommandoskriptet) lyx.bat"
+LangString RunConfigureFailed "${LYX_LANG}" "Misslyckades med att köra konfigurationsskriptet"
+LangString NotAdmin "${LYX_LANG}" "Du måste ha administratörsrättigheter för att installera LyX!"
+LangString InstallRunning "${LYX_LANG}" "Installationsprogrammet körs readan!"
+LangString StillInstalled "${LYX_LANG}" "LyX är redan installerat! Avinstallera LyX först."
+
+LangString FinishPageMessage "${LYX_LANG}" "Gratulerar! LyX har installerats framgångsrikt.\r\n\
+                                           \r\n\
+                                           (Första gången LyX startas tar det litet längre tid då programmet konfigurerar sig själv automatiskt.)"
+LangString FinishPageRun "${LYX_LANG}" "Kör LyX"
+
+LangString UnNotInRegistryLabel "${LYX_LANG}" "Kan inte hitta LyX i registret\r$\n\
+                                              Genvägar på skrivbordet och i startmeny kommer inte att tas bort."
+LangString UnInstallRunning "${LYX_LANG}" "Du måste stänga LyX först!"
+LangString UnNotAdminLabel "${LYX_LANG}" "Du måste ha administratörsrättigheter för att avinstallera LyX!"
+LangString UnReallyRemoveLabel "${LYX_LANG}" "Är du säker på att du verkligen vill fullständigt avinstallera LyX och alla dess komponenter?"
+LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyX$\'s användarinställningar'
+LangString UnGSview "${LYX_LANG}" 'Var god tryck på knappen "Avinstallera" i följande fönster för att avinstallera$\r$\n\
+                                   "GSview" som visar Postscript och PDF.'
+LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX har framgångsrikt avinstallerats från 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 används för att hantera bibliografiska referenser."
+LangString SecUnPreferencesDescription "${LYX_LANG}" 'Raderar LyX$\'s konfigurationskatalog$\r$\n\
+                                          "$AppPre\username\$AppSuff\${PRODUCT_SUBFOLDER}"$\r$\n\
+                                          för alla användare.'
+LangString SecUnProgramFilesDescription "${LYX_LANG}" "Avinstallera LyX och alla dess komponenter."
+
+!undef LYX_LANG
+
+!endif ; _LYX_LANGUAGES_SWEDISH_NSH_
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/turkish.nsh b/development/Win32/packaging/installer/LyXWinInstaller/lyx_languages/turkish.nsh
new file mode 100644 (file)
index 0000000..581bbd2
--- /dev/null
@@ -0,0 +1,161 @@
+!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 programýný kuracak.\r\n\
+                                         \r\n\
+                                         LyX kurabilmek için yönetici yetkilerine ihtiyacýnýz var.\r\n\
+                                         \r\n\
+                                         Kuruluma baþlamadan önce diðer programlarý kapatmanýz tavsiye edilir. Böylece bilgisayarýnýzý yeniden baþlatmanýza gerek kalmadan ilgili sistem dosyalarý güncellenebilir.\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}" "Tüm kullanýcýlar için kur?"
+LangString SecFileAssocTitle "${LYX_LANG}" "Dosya eþleþmeleri"
+LangString SecDesktopTitle "${LYX_LANG}" "Masaüstü ikonu"
+
+LangString SecCoreDescription "${LYX_LANG}" "LyX dosyalarý."
+LangString SecInstGSviewDescription "${LYX_LANG}" "Postscript ve PDF gösterici program."
+LangString SecInstJabRefDescription "${LYX_LANG}" "Bibliography reference manager and editor for BibTeX files."
+LangString SecAllUsersDescription "${LYX_LANG}" "LyX tüm kullanýcýlar için mi yoksa yalnýzca bu kullanýcýya mý kurulacak."
+LangString SecFileAssocDescription "${LYX_LANG}" "Uzantýsý .lyx olan dosyalar otomatik olarak LyX ile açýlsýn."
+LangString SecDesktopDescription "${LYX_LANG}" "Masaüstüne bir LyX ikonu koy."
+
+LangString LangSelectHeader "${LYX_LANG}" "LyX arabirim dili seçimi"
+LangString AvailableLang "${LYX_LANG}" " Mevcut Diller "
+
+LangString MissProgHeader "${LYX_LANG}" "Gerekli programlarýn kontrolü"
+LangString MissProgCap "${LYX_LANG}" "Aþaðýdaki gerekli programlar da otomatik olarak kurulacak"
+LangString MissProgLatex "${LYX_LANG}" "MiKTeX, bir LaTeX daðýtýmý"
+LangString MissProgGhostscript "${LYX_LANG}" "Ghostscript, bir PostScript ve PDF yorumlayýcý"
+LangString MissProgImageMagick "${LYX_LANG}" "ImageMagick, bir resim dönüþtürücü"
+LangString MissProgAspell "${LYX_LANG}" "Aspell, bir yazým denetleyici"
+LangString MissProgMessage "${LYX_LANG}" 'Ek bir program kurmaya gerek bulunmuyor.'
+
+LangString EnterLaTeXHeader1 "${LYX_LANG}" 'LaTeX-daðýtýmý'
+LangString EnterLaTeXHeader2 "${LYX_LANG}" 'LyX in kullanacaðý LaTeX daðýtýmýný seçin.'
+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ý belirttiðiniz dizinde bulunamadý.'
+
+LangString LatexInfo "${LYX_LANG}" 'Þimdi LaTeX daðýtýmý "MiKTeX" kurulumu baþlatýlacak.$\r$\n\
+                                   Programý kurmak için kurulum baþlayana kadar "Devam" tuþuyla ilerleyin.$\r$\n\
+                                   $\r$\n\
+                                   !!! Lütfen MiKTeX kurucusunun öntanýmlý ayarlarýný deðiþtirmeyin !!!'
+LangString LatexError1 "${LYX_LANG}" 'Hiç bir LaTeX daðýtýmý bulunamadý!$\r$\n\
+                                     LyX "MiKTeX" gibi bir LaTeX daðýtýmý olmadan kullanýlamaz!$\r$\n\
+                                     Bu nedenle kurulum iptal edilecek.'
+                       
+LangString GSviewInfo "${LYX_LANG}" 'Þimdi "GSview" kurulum programý baþlatýlacak.$\r$\n\
+                                    Programý kurmak için ile kurulum penceresinde "Setup" tuþuna basýp$\r$\n\
+                                    bir dil seçin, ve sonraki pencerelerde "Devam" tuþuyla ilerleyin.$\r$\n\
+                                    GSview kurulumunun tüm öntanýmlý seçeneklerini kullanabilirsiniz.'
+LangString GSviewError "${LYX_LANG}" '"GSview" kurulumu baþarýsýz 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}" "Sýradaki LyX yapýlandýrmasý 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}" "Yapýlandýrma programýnda 'path_prefix' ayarlanamadý"
+LangString CreateCmdFilesFailed "${LYX_LANG}" "lyx.bat oluþturulamadý"
+LangString RunConfigureFailed "${LYX_LANG}" "Yapýlandýrma programý çalýþtýrýlamadý"
+LangString NotAdmin "${LYX_LANG}" "LyX kurabilmek için yönetici yetkileri gerekiyor!"
+LangString InstallRunning "${LYX_LANG}" "Kurulum programý zaten çalýþýyor!"
+LangString StillInstalled "${LYX_LANG}" "LyX kurulu zaten! Önce onu kaldýrýn."
+
+LangString FinishPageMessage "${LYX_LANG}" "Tebrikler! LyX baþarýyla kuruldu.\r\n\
+                                           \r\n\
+                                           (LyX in ilk açýlýþý birkaç saniye alabilir.)"
+LangString FinishPageRun "${LYX_LANG}" "LyX Baþlat"
+
+LangString UnNotInRegistryLabel "${LYX_LANG}" "Sistem kütüðünde LyX bulunamadý.$\r$\n\
+                                              Baþlat menüsü ve masaüstünüzdeki kýsayollar silinemeyecek."
+LangString UnInstallRunning "${LYX_LANG}" "Önce LyX i kapatmalýsýnýz!"
+LangString UnNotAdminLabel "${LYX_LANG}" "LyX kaldýrabilmek için yönetici yetkileri gerekiyor!"
+LangString UnReallyRemoveLabel "${LYX_LANG}" "LyX ve tüm bileþenlerini kaldýrmak istediðinize emin misiniz?"
+LangString UnLyXPreferencesTitle "${LYX_LANG}" 'LyX$\'s user preferences'
+LangString UnGSview "${LYX_LANG}" 'Lütfen bir sonraki pencerede "Kaldýr" düðmesine basarak$\r$\n\
+                                  "GSview" postscript ve pdf göstericisini kaldýrýn.'
+LangString UnRemoveSuccessLabel "${LYX_LANG}" "LyX bilgisayarýnýzdan baþarýyla kaldýrýldý."
+
+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/installer/LyXWinInstaller/specials/AspellDictionaryNames.txt b/development/Win32/packaging/installer/LyXWinInstaller/specials/AspellDictionaryNames.txt
new file mode 100644 (file)
index 0000000..d3e207f
--- /dev/null
@@ -0,0 +1,22 @@
+cs-20040614-1
+da-1.4.42-1
+de-20030222-1
+en-6.0-0
+es-0.50-2
+fi-0.7-0
+fr-0.50-3
+gl-0.50-0
+hu-0.99.4.2-0
+it-2.2_20050523-0
+nl-0.50-2
+no-0.50-2
+nn-0.50.1-1
+pl-0.51-0
+pt-0.50-2
+ro-0.50-2
+ru-0.99f7-1
+sk-0.52-0
+sl-0.50-0
+sr-0.02
+sv-0.51-0
+tr-0.50-0
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/specials/AspellRepositories.txt b/development/Win32/packaging/installer/LyXWinInstaller/specials/AspellRepositories.txt
new file mode 100644 (file)
index 0000000..90ae5c2
--- /dev/null
@@ -0,0 +1,4 @@
+http://download2.berlios.de/lyxwininstall
+http://download.berlios.de/lyxwininstall
+ftp://ftp.lyx.org/pub/lyx/contrib/aspell6-windows
+http://wiki.lyx.org/uploads/Windows/Aspell6
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/specials/Galician.nlf b/development/Win32/packaging/installer/LyXWinInstaller/specials/Galician.nlf
new file mode 100644 (file)
index 0000000..f1e405e
--- /dev/null
@@ -0,0 +1,191 @@
+# Header, don't edit
+NLF v6
+# Start editing here
+# Language ID
+1110
+# Font and size - dash (-) means default
+-
+-
+# Codepage - dash (-) means ANSI code page
+1252
+# RTL - anything else than RTL means LTR
+-
+# Translation v 1.0.0 by Ramon Flores <fa2ramon@usc.es>
+# ^Branding
+Sistema de Instalación Nullsoft %s
+# ^SetupCaption
+Instalación de $(^Name)
+# ^UninstallCaption
+Desinstalación de $(^Name)
+# ^LicenseSubCaption
+: Contrato de licenza
+# ^ComponentsSubCaption
+: Opcións de instalación
+# ^DirSubCaption
+: Diretória de instalación
+# ^InstallingSubCaption
+: Instalando ficheiros
+# ^CompletedSubCaption
+: Concluído
+# ^UnComponentsSubCaption
+: Opcións de desinstalación
+# ^UnDirSubCaption
+: Cartafol de desinstalación
+# ^ConfirmSubCaption
+: Confirmación
+# ^UninstallingSubCaption
+: Desinstalando
+# ^UnCompletedSubCaption
+: Concluído
+# ^BackBtn
+< &Anterior
+# ^NextBtn
+&Seguinte >
+# ^AgreeBtn
+&Aceito
+# ^AcceptBtn
+Eu &aceito os termos do Contrato de licenza
+# ^DontAcceptBtn
+Eu &non aceito os termos do Contrato de licenza
+# ^InstallBtn
+&Instalar
+# ^UninstallBtn
+&Desinstalar
+# ^CancelBtn
+Cancelar
+# ^CloseBtn
+&Fechar
+# ^BrowseBtn
+&Procurar...
+# ^ShowDetailsBtn
+Ver &Detalles
+# ^ClickNext
+Clique en 'Seguinte' para continuar.
+# ^ClickInstall
+Clique en 'Instalar' para iniciar a instalación.
+# ^ClickUninstall
+Clique en 'Desinstalar' para iniciar a desinstalación.
+# ^Name
+Nome
+# ^Completed
+Concluído
+# ^LicenseText
+Por favor revexa o acordo de licenza antes de instalar $(^NameDA). Se concordar con todos os termos da licenza, clique em 'Aceito'.
+# ^LicenseTextCB
+Por favor reveja o acordo de licenza antes de instalar $(^NameDA). Se concordar con todos os termos da licenza, clique na caixa de selección abaixo. $_CLICK
+# ^LicenseTextRB
+Por favor revexa o acordo de licenza antes de instalar $(^NameDA). Se concordar con todos os termos da licenza, escolla a primeira opción abaixo. $_CLICK
+# ^UnLicenseText
+Por favor revexa o acordo de licenza antes de desinstalar $(^NameDA). Se concordar con todos os termos da licenza, clique em 'Aceito'.
+# ^UnLicenseTextCB
+Por favor reveja o acordo de licenza antes de desinstalar $(^NameDA). Se concordar con todos os termos da licenza, clique na caixa de selección abaixo. $_CLICK
+# ^UnLicenseTextRB
+Por favor revexa o acordo de licenza antes de desinstalar $(^NameDA). Se concordar con todos os termos da licenza, escolla a primeira opción abaixo. $_CLICK
+# ^Custom
+Personalizado
+# ^ComponentsText
+Marque os componentes que desexa instalar e desmarque os componentes que non desexa instalar. $_CLICK
+# ^ComponentsSubText1
+Escolla o tipo de instalación:
+# ^ComponentsSubText2_NoInstTypes
+Escolla os componentes para instalar:
+# ^ComponentsSubText2
+Ou, escolla os componentes opcionais que desexa instalar:
+# ^UnComponentsText
+Marque os componentes que queira desinstalar e vice versa. $_CLICK
+# ^UnComponentsSubText1
+Escolla o tipo de desinstalación:
+# ^UnComponentsSubText2_NoInstTypes
+Escolla os componentes para desinstalar:
+# ^UnComponentsSubText2
+Ou, escolla os componentes opcionais que queira desinstalar:
+# ^DirText
+O $(^NameDA) será instalado na seguinte directória. Para instalar nunha directória diferente, clique en 'Procurar...' e escolla outra directória. $_CLICK
+# ^DirSubText
+Directória de destino
+# ^DirBrowseText
+Escolla unha directória para instalar o $(^NameDA):
+# ^UnDirText
+O $(^NameDA) será desinstalado da seguinte directória. Para desinstalar dunha pasta diferente, clique en 'Procurar...' e escolla outra directória. $_CLICK
+# ^UnDirSubText
+""
+# ^UnDirBrowseText
+Escolla a directória de onde vai ser desinstalado o $(^NameDA):
+# ^SpaceAvailable
+"Espazo disponíbel: "
+# ^SpaceRequired
+"Espazo necesário: "
+# ^UninstallingText
+$(^NameDA) vai ser desinstalado da seguinte directória. $_CLICK
+# ^UninstallingSubText
+Desinstalando de:
+# ^FileError
+Erro ao abrir ficheiro para escrita: \r\n\t"$0"\r\nClique en Abortar para abortar a instalación,\r\nRepetir para tentar novamente a escrita do ficheiro, ou\r\nIgnorar para ignorar este ficheiro.
+# ^FileError_NoIgnore
+Erro ao abrir ficheiro para escrita: \r\n\t"$0"\r\nClique en Repetir para tentar novamente a gravación do ficheiro, ou\r\nCancelar para abortar a instalación.
+# ^CantWrite
+"Non foi posíbel escreber: "
+# ^CopyFailed
+Falla ao copiar
+# ^CopyTo
+"Copiar para "
+# ^Registering
+"Rexistando: "
+# ^Unregistering
+"Desrexistando: "
+# ^SymbolNotFound
+"Símbolo non achado: "
+# ^CouldNotLoad
+"Non foi posíbel carregar: "
+# ^CreateFolder
+"Criando diretória: "
+# ^CreateShortcut
+"Criando atallo: "
+# ^CreatedUninstaller
+"Criando desinstalador: "
+# ^Delete
+"Eliminando ficheiro: "
+# ^DeleteOnReboot
+"Eliminar ao reiniciar: "
+# ^ErrorCreatingShortcut
+"Erro ao criar atallo: "
+# ^ErrorCreating
+"Erro ao criar: "
+# ^ErrorDecompressing
+Erro ao descomprimir dados! Instalador corrompido?
+# ^ErrorRegistering
+Erro ao rexistar DLL
+# ^ExecShell
+"Executando polo Shell: "
+# ^Exec
+"Executando: "
+# ^Extract
+"Extraindo: "
+# ^ErrorWriting
+"Extraindo: erro ao escreber ficheiro "
+# ^InvalidOpcode
+Instalador corrompido: código de operación inválido
+# ^NoOLE
+"Sen OLE para: "
+# ^OutputFolder
+"Cartafol de destino: "
+# ^RemoveFolder
+"Removendo cartafol: "
+# ^RenameOnReboot
+"Renomear ao reiniciar: "
+# ^Rename
+"Renomeando: "
+# ^Skipped
+"Ignorado: "
+# ^CopyDetails
+Copiar detalles para a Área de transférencia
+# ^LogInstall
+Rexistar proceso de instalación
+# ^Byte
+B
+# kilo
+K
+# mega
+M
+# giga
+G
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/specials/Galician.nsh b/development/Win32/packaging/installer/LyXWinInstaller/specials/Galician.nsh
new file mode 100644 (file)
index 0000000..15502c6
--- /dev/null
@@ -0,0 +1,94 @@
+;NSIS Modern User Interface - Language File
+;Compatible with Modern UI 1.68
+
+;Language: Galician (1110)
+;Ramon Flores <fa2ramon@usc.es>
+
+;--------------------------------
+
+!insertmacro MUI_LANGUAGEFILE_BEGIN "Galician"
+
+  !define MUI_LANGNAME "Galego" ;Use only ASCII characters (if this is not possible, use the English name)
+
+  !define MUI_TEXT_WELCOME_INFO_TITLE "Benvindo ao Asistente de Instalación do $(^NameDA)"
+  !define MUI_TEXT_WELCOME_INFO_TEXT "Este asistente vai axudá-lo durante a instalación do $(^NameDA).\r\n\r\nRecomenda-se fechar todas as outras aplicacións antes de iniciar a instalación. Isto posibilita actualizar os ficheiros do sistema relevantes senter que reiniciar o computador.\r\n\r\n$_CLICK"
+
+  !define MUI_TEXT_LICENSE_TITLE "Contrato de licenza"
+  !define MUI_TEXT_LICENSE_SUBTITLE "Por favor, verifique os termos da licenza antes de instalar o $(^NameDA)."
+  !define MUI_INNERTEXT_LICENSE_TOP "Prema Page Down para ver o restante da licenza."
+  !define MUI_INNERTEXT_LICENSE_BOTTOM "Se aceitar os termos da licenza, clique en 'Aceito' para continuar. Cumpre aceitar o contrato para instalar o $(^NameDA)."
+  !define MUI_INNERTEXT_LICENSE_BOTTOM_CHECKBOX "Se aceitar os termos da licenza, clique na caixa de selección abaixo. Cumpre aceitar o contrato para instalar o $(^NameDA). $_CLICK"
+  !define MUI_INNERTEXT_LICENSE_BOTTOM_RADIOBUTTONS "Se aceitar os termos da licenza, seleccione a primeira opción abaixo. Cumpre aceitar o contrato para instalar o $(^NameDA). $_CLICK"
+
+  !define MUI_TEXT_COMPONENTS_TITLE "Escolla de componentes"
+  !define MUI_TEXT_COMPONENTS_SUBTITLE "Escolla que características do $(^NameDA) que desexa instalar."
+  !define MUI_INNERTEXT_COMPONENTS_DESCRIPTION_TITLE "Descrición"
+!ifndef NSIS_CONFIG_COMPONENTPAGE_ALTERNATIVE
+    !define MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO "Posicione o rato sobre un componente para ver a sua descrición."
+  !else
+    !define MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO "Seleccione un componente para ver a sua descrición."
+  !endif
+
+  !define MUI_TEXT_DIRECTORY_TITLE "Escolla do local da instalación"
+  !define MUI_TEXT_DIRECTORY_SUBTITLE "Escolla a directória na cal desexa instalar o $(^NameDA)."
+
+  !define MUI_TEXT_INSTALLING_TITLE "Instalando"
+  !define MUI_TEXT_INSTALLING_SUBTITLE "Por favor, agarde entanto o $(^NameDA) está sendo instalado."
+
+  !define MUI_TEXT_FINISH_TITLE "Instalación completa"
+  !define MUI_TEXT_FINISH_SUBTITLE "A instalación concluiu con suceso."
+
+  !define MUI_TEXT_ABORT_TITLE "Instalación Abortada"
+  !define MUI_TEXT_ABORT_SUBTITLE "A instalación concluiu sen suceso."
+
+  !define MUI_BUTTONTEXT_FINISH "&Rematar"
+  !define MUI_TEXT_FINISH_INFO_TITLE "Concluindo o Asistente de instalación do $(^NameDA)"
+  !define MUI_TEXT_FINISH_INFO_TEXT "Instalou-se o $(^NameDA) no seu computador.\r\n\r\nClique en Rematar para fechar este asistente."
+  !define MUI_TEXT_FINISH_INFO_REBOOT "Cumpre reiniciar o seu computador para concluír a instalación do $(^NameDA). Desexa reiniciar agora?"
+  !define MUI_TEXT_FINISH_REBOOTNOW "Reiniciar agora"
+  !define MUI_TEXT_FINISH_REBOOTLATER "Prefiro reinicia-lo manualmente despois"
+  !define MUI_TEXT_FINISH_RUN "&Executar $(^NameDA)"
+  !define MUI_TEXT_FINISH_SHOWREADME "&Mostrar Leame"
+
+  !define MUI_TEXT_STARTMENU_TITLE "Escolla un cartafol do Menu Iniciar"
+  !define MUI_TEXT_STARTMENU_SUBTITLE "Escolla un cartafol do Menu Iniciar para os atallos do programa."
+  !define MUI_INNERTEXT_STARTMENU_TOP "Seleccione o cartafol do Menu Iniciar no que desexa criar os atallos do programa. Tamén é posíbel dixitar un nome para criar un novo cartafol. "
+  !define MUI_INNERTEXT_STARTMENU_CHECKBOX "Non criar atallos"
+
+  !define MUI_TEXT_ABORTWARNING "Realmente desexa cancelar a instalación do $(^Name)?"
+
+
+  !define MUI_UNTEXT_WELCOME_INFO_TITLE "Benvindo ao Asistente de desinstalación do $(^NameDA)"
+  !define MUI_UNTEXT_WELCOME_INFO_TEXT "Este asistente vai axudá-lo durante a desinstalación do $(^NameDA).\r\n\r\nAntes de iniciar a desinstalación, certifique-se de que o $(^NameDA) non está a executar-se.\r\n\r\n$_CLICK"
+
+  !define MUI_UNTEXT_CONFIRM_TITLE "Desinstalar $(^NameDA)"
+  !define MUI_UNTEXT_CONFIRM_SUBTITLE "Eliminar o $(^NameDA) do seu computador."
+
+  !define MUI_UNTEXT_LICENSE_TITLE "Contrato de licenza"
+  !define MUI_UNTEXT_LICENSE_SUBTITLE "Por favor, verifique os termos da licenza antes de desinstalar o $(^NameDA)."
+  !define MUI_UNINNERTEXT_LICENSE_BOTTOM  "Se aceitar os termos da licenza, clique en 'Aceito' para continuar. Cumpre aceitar o contrato para desinstalar o $(^NameDA)."
+  !define MUI_UNINNERTEXT_LICENSE_BOTTOM_CHECKBOX "Se aceitar os termos da licenza, clique na caixa de selección abaixo. Cumpre aceitar o contrato para desinstalar o $(^NameDA). $_CLICK"
+  !define MUI_UNINNERTEXT_LICENSE_BOTTOM_RADIOBUTTONS "Se aceitar os termos da licenza, seleccione a primeira opción abaixo. Cumpre aceitar o contrato para desinstalar o $(^NameDA). $_CLICK"
+
+  !define MUI_UNTEXT_COMPONENTS_TITLE "Escoller componentes"
+  !define MUI_UNTEXT_COMPONENTS_SUBTITLE "Escolla que características do $(^NameDA) desexa desinstalar."
+
+  !define MUI_UNTEXT_DIRECTORY_TITLE "Escolla o Local de desinstalación"
+  !define MUI_UNTEXT_DIRECTORY_SUBTITLE "Escolla a directória de onde pretende desinstalar o $(^NameDA)."
+
+  !define MUI_UNTEXT_UNINSTALLING_TITLE "Desinstalando"
+  !define MUI_UNTEXT_UNINSTALLING_SUBTITLE "Por favor, agarde entanto se desinstala o $(^NameDA)."
+
+  !define MUI_UNTEXT_FINISH_TITLE "Desinstalación completa"
+  !define MUI_UNTEXT_FINISH_SUBTITLE "A desinstalación concluiu con suceso."
+
+  !define MUI_UNTEXT_ABORT_TITLE "Desinstalación abortada"
+  !define MUI_UNTEXT_ABORT_SUBTITLE "A desinstalación non concluiu con suceso"
+
+  !define MUI_UNTEXT_FINISH_INFO_TITLE "Concluíndo o asistente de desinstalación do $(^NameDA)"
+  !define MUI_UNTEXT_FINISH_INFO_TEXT "Eliminou-se $(^NameDA) do seu computador.\r\n\r\nClique em Rematar para fechar este asistente."
+  !define MUI_UNTEXT_FINISH_INFO_REBOOT "Cumpre reiniciar o seu computador para concluír a desinstalación do $(^NameDA). Desexa reiniciá-lo agora?"
+
+  !define MUI_UNTEXT_ABORTWARNING "Realmente desexa cancelar a desinstalación do $(^Name)?"
+
+!insertmacro MUI_LANGUAGEFILE_END
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.cfg b/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.cfg
new file mode 100644 (file)
index 0000000..e9c1cc1
--- /dev/null
@@ -0,0 +1,38 @@
+-$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/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dof b/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dof
new file mode 100644 (file)
index 0000000..b1bb997
--- /dev/null
@@ -0,0 +1,136 @@
+[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/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dpr b/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.dpr
new file mode 100644 (file)
index 0000000..5ad42d2
--- /dev/null
@@ -0,0 +1,98 @@
+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/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.exe b/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.exe
new file mode 100644 (file)
index 0000000..6655718
Binary files /dev/null and b/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin7.exe differ
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.cfg b/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.cfg
new file mode 100644 (file)
index 0000000..e9c1cc1
--- /dev/null
@@ -0,0 +1,38 @@
+-$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/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.dof b/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.dof
new file mode 100644 (file)
index 0000000..6d6616b
--- /dev/null
@@ -0,0 +1,139 @@
+[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/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.dpr b/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.dpr
new file mode 100644 (file)
index 0000000..bfb5fd6
--- /dev/null
@@ -0,0 +1,127 @@
+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/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.exe b/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.exe
new file mode 100644 (file)
index 0000000..37e45f1
Binary files /dev/null and b/development/Win32/packaging/installer/LyXWinInstaller/specials/PDFViewWin/PDFViewWin8.exe differ
diff --git a/development/Win32/packaging/installer/LyXWinInstaller/specials/preferences7 b/development/Win32/packaging/installer/LyXWinInstaller/specials/preferences7
new file mode 100644 (file)
index 0000000..39b09aa
--- /dev/null
@@ -0,0 +1,87 @@
+### 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/installer/LyXWinInstaller/specials/preferences8 b/development/Win32/packaging/installer/LyXWinInstaller/specials/preferences8
new file mode 100644 (file)
index 0000000..1eea8b4
--- /dev/null
@@ -0,0 +1,87 @@
+### 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/installer/LyXWinInstaller/specials/preferencesGSview b/development/Win32/packaging/installer/LyXWinInstaller/specials/preferencesGSview
new file mode 100644 (file)
index 0000000..6b17b85
--- /dev/null
@@ -0,0 +1,84 @@
+### 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 ##########################
+#
+
index 6eb6aab843627ba39eb45f0332fa1748bf71bd66..497889bdc2f3c1108943b988d4f04a2fb54172bc 100644 (file)
-/*\r
-\r
-Create uninstaller, file associations and configure LyX\r
-\r
-*/\r
-\r
-!define SHORTCUT '${APP_NAME} ${APP_SERIES_NAME}.lnk" "$INSTDIR\${APP_RUN}" "" "$INSTDIR\${APP_RUN}" "" "" "" "${APP_INFO}"'\r
-\r
-;--------------------------------\r
-;Sections\r
-\r
-Section -FileAssociations\r
-\r
-  ;Associate .lyx files with LyX for current user of all users\r
-\r
-  ;Write information about file type\r
-  !define REG_FILETYPE 'WriteRegStr SHELL_CONTEXT "Software\Classes\${APP_REGNAME_DOC}'\r
-  \r
-  ${REG_FILETYPE}" "" "${APP_NAME} Document"\r
-  ${REG_FILETYPE}\DefaultIcon" "" "$INSTDIR\bin\lyx_doc_32x32.ico"\r
-  ${REG_FILETYPE}\Shell\open\command" "" '"$INSTDIR\${APP_RUN}" "%1"'\r
-  \r
-  !define REG_FILEEXT 'WriteRegStr SHELL_CONTEXT "Software\Classes\${APP_EXT}"'\r
-  \r
-  ${REG_FILEEXT} "" "${APP_REGNAME_DOC}"\r
-  ${REG_FILEEXT} "Content Type" "${APP_MIME_TYPE}"  \r
-  \r
-  ;Refresh shell\r
-  System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) (${SHCNE_ASSOCCHANGED}, ${SHCNF_IDLIST}, 0, 0)'\r
-\r
-SectionEnd\r
-\r
-Section -InstallData\r
-\r
-  ;Registry information\r
-  WriteRegStr SHELL_CONTEXT ${APP_REGKEY} "" $INSTDIR\r
-  WriteRegStr SHELL_CONTEXT ${APP_REGKEY} "Version" "${APP_VERSION}"\r
-\r
-  WriteRegStr SHELL_CONTEXT ${APP_REGKEY_SETUP} "LaTeX Path" $PathLaTeX\r
-  WriteRegStr SHELL_CONTEXT ${APP_REGKEY_SETUP} "ImageMagick Path" $PathImageMagick\r
-  WriteRegStr SHELL_CONTEXT ${APP_REGKEY_SETUP} "Ghostscript Path" $PathGhostscript\r
-  WriteRegStr SHELL_CONTEXT ${APP_REGKEY_SETUP} "LyX Language" $LangName\r
-\r
-  ;Start Menu shortcut\r
-  ;There is only one shortcut to the application, so it should be in the main group\r
-  CreateShortCut "$SMPROGRAMS\${SHORTCUT}\r
-    \r
-  ;Uninstaller information\r
-  !define REG_UNINSTALL 'WriteRegStr SHELL_CONTEXT "Software\Microsoft\Windows\CurrentVersion\Uninstall\${SETUP_UNINSTALLER_KEY}"'\r
-  \r
-  ${if} $CurrentUserInstall == ${TRUE}\r
-    ${REG_UNINSTALL} "DisplayName" "${APP_NAME} ${APP_VERSION} $(TEXT_INSTALL_CURRENTUSER)"\r
-  ${else}\r
-    ${REG_UNINSTALL} "DisplayName" "${APP_NAME} ${APP_VERSION}"\r
-  ${endif}\r
-  \r
-  ${REG_UNINSTALL} "UninstallString" '"$INSTDIR\${SETUP_UNINSTALLER}"'\r
-  ${REG_UNINSTALL} "DisplayVersion" "${APP_VERSION}"\r
-  ${REG_UNINSTALL} "DisplayIcon" "$INSTDIR\bin\lyx_32x32.ico"\r
-  ${REG_UNINSTALL} "URLUpdateInfo" "http://www.lyx.org/"\r
-  ${REG_UNINSTALL} "URLInfoAbout" "http://www.lyx.org/about/"\r
-  ${REG_UNINSTALL} "Publisher" "LyX Team"\r
-  ${REG_UNINSTALL} "HelpLink" "http://www.lyx.org/internet/mailing.php"  \r
-  \r
-SectionEnd\r
-\r
-Section -LaTeX\r
-\r
-  ;Let MiKTeX ask the user again to download packages if needed\r
-  \r
-  ;MiKTeX 2.5\r
-  \r
-  ReadRegStr $R0 HKCU "Software\MiKTeX.org\MiKTeX\2.5\MPM" "AutoInstall"  \r
-  \r
-  ${if} $R0 == 0\r
-    WriteRegStr HKCU "Software\MiKTeX.org\MiKTeX\2.5\MPM" "AutoInstall" 2\r
-  ${endif}\r
-  \r
-  ;MiKTeX 2.4\r
-  \r
-  ReadRegStr $R0 HKCU "Software\MiK\MiKTeX\CurrentVersion\MiKTeX" "InstallPackagesOnTheFly"\r
-  \r
-  ${if} $R0 == 0\r
-    WriteRegStr HKCU "Software\MiK\MiKTeX\CurrentVersion\MiKTeX" "InstallPackagesOnTheFly" 2\r
-  ${endif}\r
-  \r
-  ;dvipost package\r
-\r
-  Call SearchLaTeXLocalRoot\r
-  Pop $R0\r
-\r
-  ${if} $R0 != ""\r
-    SetOutPath "$R0\tex\latex\dvipost"\r
-    File "${FILES_DVIPOST_PKG}\dvipost.sty"\r
-  ${endif}\r
-  \r
-  ;Update file name database\r
-  \r
-  ${if} $PathLaTeX != ""\r
-    nsExec::Exec '"$PathLaTeX\initexmf.exe" --update-fndb'\r
-    Pop $R0 ;Return value\r
-  ${endif}\r
-\r
-SectionEnd\r
-\r
-Section -Configure\r
-\r
-  ;Windows specific configuration in lyxrc.dist\r
-  \r
-  Delete "$INSTDIR\Resources\lyxrc.dist"\r
-  FileOpen $R1 "$INSTDIR\Resources\lyxrc.dist" w\r
-  \r
-  ;Path prefix\r
-  Call GetPathPrefix\r
-  Pop $R0  \r
-  FileWrite $R1 '\path_prefix "$R0"$\r$\n'\r
-  \r
-  ;Default screen fonts\r
-  FileWrite $R1 '\screen_font_roman "Times New Roman"$\r$\n'\r
-  FileWrite $R1 '\screen_font_sans "Arial"$\r$\n'\r
-  FileWrite $R1 '\screen_font_typewriter "Courier New"$\r$\n'\r
-  FileWrite $R1 '\preview_scale_factor 1.0$\r$\n' ;Fit instant preview font size to screen fonts\r
-  ;PDF view helper\r
-  FileWrite $R1 '\format "pdf" "pdf" "PDF (ps2pdf)" "P" "pdfview" "" "document"$\r$\n'  \r
-  FileWrite $R1 '\format "pdf2" "pdf" "PDF (pdflatex)" "F" "pdfview" "" "document"$\r$\n'\r
-  FileWrite $R1 '\format "pdf3" "pdf" "PDF (dvipdfm)" "m" "pdfview" "" "document"$\r$\n'\r
-  \r
-  FileClose $R1\r
-  \r
-  ;Information in the registry for the launcher\r
-  \r
-  ;Set language\r
-  WriteRegStr SHELL_CONTEXT ${APP_REGKEY_SETTINGS} "Language" $LangISOCode\r
-\r
-SectionEnd\r
-\r
-;--------------------------------\r
-;Functions\r
-\r
-Function CheckDesktopShortcut\r
-\r
-  ;Enable desktop icon creation when there is an icon already\r
-  ;Old shortcuts need to be updated\r
-  \r
-  ${if} ${fileexists} "$DESKTOP\${APP_NAME} ${APP_SERIES_NAME}.lnk"\r
-    !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "State" "1"\r
-  ${endif}\r
-\r
-FunctionEnd\r
-\r
-Function CreateDesktopShortcut\r
-\r
-  ;Creating a desktop shortcut is an option on the finish page\r
-\r
-  CreateShortCut "$DESKTOP\${SHORTCUT}\r
-\r
-FunctionEnd\r
+/*
+
+Create uninstaller, file associations and configure LyX
+
+*/
+
+!define SHORTCUT '${APP_NAME} ${APP_SERIES_NAME}.lnk" "$INSTDIR\${APP_RUN}" "" "$INSTDIR\${APP_RUN}" "" "" "" "${APP_INFO}"'
+
+;--------------------------------
+;Sections
+
+Section -FileAssociations
+
+  ;Associate .lyx files with LyX for current user of all users
+
+  ;Write information about file type
+  !define REG_FILETYPE 'WriteRegStr SHELL_CONTEXT "Software\Classes\${APP_REGNAME_DOC}'
+  
+  ${REG_FILETYPE}" "" "${APP_NAME} Document"
+  ${REG_FILETYPE}\DefaultIcon" "" "$INSTDIR\bin\lyx_doc_32x32.ico"
+  ${REG_FILETYPE}\Shell\open\command" "" '"$INSTDIR\${APP_RUN}" "%1"'
+  
+  !define REG_FILEEXT 'WriteRegStr SHELL_CONTEXT "Software\Classes\${APP_EXT}"'
+  
+  ${REG_FILEEXT} "" "${APP_REGNAME_DOC}"
+  ${REG_FILEEXT} "Content Type" "${APP_MIME_TYPE}"  
+  
+  ;Refresh shell
+  System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) (${SHCNE_ASSOCCHANGED}, ${SHCNF_IDLIST}, 0, 0)'
+
+SectionEnd
+
+Section -InstallData
+
+  ;Registry information
+  WriteRegStr SHELL_CONTEXT ${APP_REGKEY} "" $INSTDIR
+  WriteRegStr SHELL_CONTEXT ${APP_REGKEY} "Version" "${APP_VERSION}"
+
+  WriteRegStr SHELL_CONTEXT ${APP_REGKEY_SETUP} "LaTeX Path" $PathLaTeX
+  WriteRegStr SHELL_CONTEXT ${APP_REGKEY_SETUP} "ImageMagick Path" $PathImageMagick
+  WriteRegStr SHELL_CONTEXT ${APP_REGKEY_SETUP} "Ghostscript Path" $PathGhostscript
+  WriteRegStr SHELL_CONTEXT ${APP_REGKEY_SETUP} "LyX Language" $LangName
+
+  ;Start Menu shortcut
+  ;There is only one shortcut to the application, so it should be in the main group
+  CreateShortCut "$SMPROGRAMS\${SHORTCUT}
+    
+  ;Uninstaller information
+  !define REG_UNINSTALL 'WriteRegStr SHELL_CONTEXT "Software\Microsoft\Windows\CurrentVersion\Uninstall\${SETUP_UNINSTALLER_KEY}"'
+  
+  ${if} $CurrentUserInstall == ${TRUE}
+    ${REG_UNINSTALL} "DisplayName" "${APP_NAME} ${APP_VERSION} $(TEXT_INSTALL_CURRENTUSER)"
+  ${else}
+    ${REG_UNINSTALL} "DisplayName" "${APP_NAME} ${APP_VERSION}"
+  ${endif}
+  
+  ${REG_UNINSTALL} "UninstallString" '"$INSTDIR\${SETUP_UNINSTALLER}"'
+  ${REG_UNINSTALL} "DisplayVersion" "${APP_VERSION}"
+  ${REG_UNINSTALL} "DisplayIcon" "$INSTDIR\bin\lyx_32x32.ico"
+  ${REG_UNINSTALL} "URLUpdateInfo" "http://www.lyx.org/"
+  ${REG_UNINSTALL} "URLInfoAbout" "http://www.lyx.org/about/"
+  ${REG_UNINSTALL} "Publisher" "LyX Team"
+  ${REG_UNINSTALL} "HelpLink" "http://www.lyx.org/internet/mailing.php"  
+  
+SectionEnd
+
+Section -LaTeX
+
+  ;Let MiKTeX ask the user again to download packages if needed
+  
+  ;MiKTeX 2.5
+  
+  ReadRegStr $R0 HKCU "Software\MiKTeX.org\MiKTeX\2.5\MPM" "AutoInstall"  
+  
+  ${if} $R0 == 0
+    WriteRegStr HKCU "Software\MiKTeX.org\MiKTeX\2.5\MPM" "AutoInstall" 2
+  ${endif}
+  
+  ;MiKTeX 2.4
+  
+  ReadRegStr $R0 HKCU "Software\MiK\MiKTeX\CurrentVersion\MiKTeX" "InstallPackagesOnTheFly"
+  
+  ${if} $R0 == 0
+    WriteRegStr HKCU "Software\MiK\MiKTeX\CurrentVersion\MiKTeX" "InstallPackagesOnTheFly" 2
+  ${endif}
+  
+  ;dvipost package
+
+  Call SearchLaTeXLocalRoot
+  Pop $R0
+
+  ${if} $R0 != ""
+    SetOutPath "$R0\tex\latex\dvipost"
+    File "${FILES_DVIPOST_PKG}\dvipost.sty"
+  ${endif}
+  
+  ;Update file name database
+  
+  ${if} $PathLaTeX != ""
+    nsExec::Exec '"$PathLaTeX\initexmf.exe" --update-fndb'
+    Pop $R0 ;Return value
+  ${endif}
+
+SectionEnd
+
+Section -Configure
+
+  ;Windows specific configuration in lyxrc.dist
+  
+  Delete "$INSTDIR\Resources\lyxrc.dist"
+  FileOpen $R1 "$INSTDIR\Resources\lyxrc.dist" w
+  
+  ;Path prefix
+  Call GetPathPrefix
+  Pop $R0  
+  FileWrite $R1 '\path_prefix "$R0"$\r$\n'
+  
+  ;Default screen fonts
+  FileWrite $R1 '\screen_font_roman "Times New Roman"$\r$\n'
+  FileWrite $R1 '\screen_font_sans "Arial"$\r$\n'
+  FileWrite $R1 '\screen_font_typewriter "Courier New"$\r$\n'
+  FileWrite $R1 '\preview_scale_factor 1.0$\r$\n' ;Fit instant preview font size to screen fonts
+  ;PDF view helper
+  FileWrite $R1 '\format "pdf" "pdf" "PDF (ps2pdf)" "P" "pdfview" "" "document"$\r$\n'  
+  FileWrite $R1 '\format "pdf2" "pdf" "PDF (pdflatex)" "F" "pdfview" "" "document"$\r$\n'
+  FileWrite $R1 '\format "pdf3" "pdf" "PDF (dvipdfm)" "m" "pdfview" "" "document"$\r$\n'
+  
+  FileClose $R1
+  
+  ;Information in the registry for the launcher
+  
+  ;Set language
+  WriteRegStr SHELL_CONTEXT ${APP_REGKEY_SETTINGS} "Language" $LangISOCode
+
+SectionEnd
+
+;--------------------------------
+;Functions
+
+Function CheckDesktopShortcut
+
+  ;Enable desktop icon creation when there is an icon already
+  ;Old shortcuts need to be updated
+  
+  ${if} ${fileexists} "$DESKTOP\${APP_NAME} ${APP_SERIES_NAME}.lnk"
+    !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "State" "1"
+  ${endif}
+
+FunctionEnd
+
+Function CreateDesktopShortcut
+
+  ;Creating a desktop shortcut is an option on the finish page
+
+  CreateShortCut "$DESKTOP\${SHORTCUT}
+
+FunctionEnd
   
\ No newline at end of file
index 55c79091f95d77f841855e5553106c61c1bb8092..9b88f0359c191476c504eebf8ac8cb1724d77e98 100644 (file)
@@ -1,87 +1,87 @@
-/*\r
-\r
-LyX Core\r
-Binaries, Resources, Python, Aspell\r
-\r
-*/\r
-\r
-;--------------------------------\r
-;Sections\r
-\r
-Section -Core SecCore\r
-\r
-  ;Install and register the core LyX files\r
-\r
-  InitPluginsDir\r
-  \r
-  ;Binaries\r
-  \r
-  SetOutPath "$INSTDIR\bin"\r
-\r
-  File "${FILES_LAUNCHER}\lyx.exe"\r
-  File /oname=lyxc.exe "${FILES_LYX}\bin\lyx.exe"\r
-  \r
-  !insertmacro FileListLyXBin File "${FILES_LYX}\bin\"\r
-  !insertmacro FileListQtBin File "${FILES_QT}\bin\"\r
-  \r
-  !insertmacro FileListDllMSVCBin File "${FILES_DEPS}\bin\"\r
-  !insertmacro FileListMSVCBin File "${FILES_MSVC}\"\r
-  !insertmacro FileListMSVCManifest File "..\"    \r
-\r
-  !insertmacro FileListNetpbmBin File "${FILES_NETPBM}\"\r
-  !insertmacro FileListDvipostBin File "${FILES_DVIPOST}\"\r
-  !insertmacro FileListDTLBin File "${FILES_DTL}\"\r
-  !insertmacro FileListPDFViewBin File "${FILES_PDFVIEW}\"\r
-  !insertmacro FileListPDFToolsBin File "${FILES_PDFTOOLS}\"\r
-\r
-  ;Icons\r
-  \r
-  SetOutPath "$INSTDIR\bin"\r
-  !insertmacro FileListLyXIcons File "${FILES_ICONS}\"\r
-\r
-  ;Resources\r
-  \r
-  SetOutPath "$INSTDIR"\r
-  File /r "${FILES_LYX}\Resources"\r
-  SetOutPath "$INSTDIR\Resources\fonts"\r
-  !insertmacro FileListFonts File "${FILES_FONTS}\"  \r
-  \r
-  ;Components of Python\r
-  \r
-  SetOutPath "$INSTDIR\python"\r
-  !insertmacro FileListPythonBin File "${FILES_PYTHON}\"\r
-  SetOutPath "$INSTDIR\python"\r
-  !insertmacro FileListPythonDll File "${FILES_WINDOWS}\System32\"\r
-  !insertmacro FileListUnicodeDll File "${FILES_PYTHON}\DLLs\"\r
-  SetOutPath "$INSTDIR\python\Lib"\r
-  !insertmacro FileListPythonLib File "${FILES_PYTHON}\Lib\"\r
-  SetOutPath "$INSTDIR\python\Lib\encodings"\r
-  !insertmacro FileListPythonLibEncodings File "${FILES_PYTHON}\Lib\encodings\"\r
-  \r
-  ;Aspell\r
-\r
-  File /oname=$PLUGINSDIR\AspellData.exe "${FILES_ASPELLDATA}\AspellData.exe"\r
-\r
-  ${if} $CurrentUserInstall == ${TRUE}\r
-    ExecWait '"$PLUGINSDIR\AspellData.exe" /S /CurrentUser'\r
-  ${else}\r
-    ExecWait '"$PLUGINSDIR\AspellData.exe" /S /AllUsers'\r
-  ${endif}\r
-\r
-  Delete "$PLUGINSDIR\AspellData.exe"\r
-\r
-  ;Aiksarus data\r
-  \r
-  SetOutPath "$INSTDIR\aiksaurus"\r
-  !insertmacro FileListAiksaurusData File "${FILES_AIKSAURUS}\"\r
-  \r
-  ;Helper DLLs for NSIS-based tools\r
-  \r
-  SetOutPath "$INSTDIR\bin"\r
-  !insertmacro FileListNSISPluginsStandard File "${NSISDIR}\Plugins\"\r
-  !insertmacro FileListNSISPlugins File "${FILES_NSISPLUGINS}\"\r
-  \r
-  ;Create uninstaller\r
-  WriteUninstaller "$INSTDIR\${SETUP_UNINSTALLER}"\r
-\r
-SectionEnd\r
+/*
+
+LyX Core
+Binaries, Resources, Python, Aspell
+
+*/
+
+;--------------------------------
+;Sections
+
+Section -Core SecCore
+
+  ;Install and register the core LyX files
+
+  InitPluginsDir
+  
+  ;Binaries
+  
+  SetOutPath "$INSTDIR\bin"
+
+  File "${FILES_LAUNCHER}\lyx.exe"
+  File /oname=lyxc.exe "${FILES_LYX}\bin\lyx.exe"
+  
+  !insertmacro FileListLyXBin File "${FILES_LYX}\bin\"
+  !insertmacro FileListQtBin File "${FILES_QT}\bin\"
+  
+  !insertmacro FileListDllMSVCBin File "${FILES_DEPS}\bin\"
+  !insertmacro FileListMSVCBin File "${FILES_MSVC}\"
+  !insertmacro FileListMSVCManifest File "..\"    
+
+  !insertmacro FileListNetpbmBin File "${FILES_NETPBM}\"
+  !insertmacro FileListDvipostBin File "${FILES_DVIPOST}\"
+  !insertmacro FileListDTLBin File "${FILES_DTL}\"
+  !insertmacro FileListPDFViewBin File "${FILES_PDFVIEW}\"
+  !insertmacro FileListPDFToolsBin File "${FILES_PDFTOOLS}\"
+
+  ;Icons
+  
+  SetOutPath "$INSTDIR\bin"
+  !insertmacro FileListLyXIcons File "${FILES_ICONS}\"
+
+  ;Resources
+  
+  SetOutPath "$INSTDIR"
+  File /r "${FILES_LYX}\Resources"
+  SetOutPath "$INSTDIR\Resources\fonts"
+  !insertmacro FileListFonts File "${FILES_FONTS}\"  
+  
+  ;Components of Python
+  
+  SetOutPath "$INSTDIR\python"
+  !insertmacro FileListPythonBin File "${FILES_PYTHON}\"
+  SetOutPath "$INSTDIR\python"
+  !insertmacro FileListPythonDll File "${FILES_WINDOWS}\System32\"
+  !insertmacro FileListUnicodeDll File "${FILES_PYTHON}\DLLs\"
+  SetOutPath "$INSTDIR\python\Lib"
+  !insertmacro FileListPythonLib File "${FILES_PYTHON}\Lib\"
+  SetOutPath "$INSTDIR\python\Lib\encodings"
+  !insertmacro FileListPythonLibEncodings File "${FILES_PYTHON}\Lib\encodings\"
+  
+  ;Aspell
+
+  File /oname=$PLUGINSDIR\AspellData.exe "${FILES_ASPELLDATA}\AspellData.exe"
+
+  ${if} $CurrentUserInstall == ${TRUE}
+    ExecWait '"$PLUGINSDIR\AspellData.exe" /S /CurrentUser'
+  ${else}
+    ExecWait '"$PLUGINSDIR\AspellData.exe" /S /AllUsers'
+  ${endif}
+
+  Delete "$PLUGINSDIR\AspellData.exe"
+
+  ;Aiksarus data
+  
+  SetOutPath "$INSTDIR\aiksaurus"
+  !insertmacro FileListAiksaurusData File "${FILES_AIKSAURUS}\"
+  
+  ;Helper DLLs for NSIS-based tools
+  
+  SetOutPath "$INSTDIR\bin"
+  !insertmacro FileListNSISPluginsStandard File "${NSISDIR}\Plugins\"
+  !insertmacro FileListNSISPlugins File "${FILES_NSISPLUGINS}\"
+  
+  ;Create uninstaller
+  WriteUninstaller "$INSTDIR\${SETUP_UNINSTALLER}"
+
+SectionEnd
index 502d29dd283128bf04dbde49f30316b1bdb716d2..0c2d0bc4cf4b220bc0629496ba361146cf700efe 100644 (file)
-/*\r
-\r
-Aspell dictionaries\r
-\r
-*/\r
-\r
-;--------------------------------\r
-;Macros\r
-\r
-!macro Dictionary FILE LANGNAME LANGCODE SIZE\r
-\r
-  Section /o "${LANGNAME}"\r
-  \r
-    AddSize ${SIZE}\r
-  \r
-    Push ${LANGCODE}\r
-    Push "${LANGNAME}"\r
-    Push ${FILE}\r
-    \r
-    Call DownloadDictionary\r
-    \r
-  SectionEnd\r
-  \r
-!macroend\r
-\r
-;--------------------------------\r
-;Sections\r
-\r
-Section -AspellDicts\r
-\r
-  Call GetAspellHive\r
-  Pop $AspellHive\r
-\r
-SectionEnd\r
-\r
-!define DICT '!insertmacro Dictionary'\r
-\r
-${DICT} af-0.50-0 "Afrikaans" af 916\r
-${DICT} ar-1.2-0 "Arabic" ar 4345\r
-${DICT} no-0.50-2 "Bokmål" no 1283\r
-${DICT} bg-4.0-0 "Bulgarian" bg 5344\r
-${DICT} ca-20040130-1 "Català" ca 1095\r
-${DICT} cs-20040614-1 "Ce\9atina" cs 2069\r
-${DICT} da-1.4.42-1 "Dansk" da 3041\r
-${DICT} de-20030222-1 "Deutsch" de 2874\r
-${DICT} en-6.0-0 "English" en 1130\r
-${DICT} es-0.50-2 "Español" es 2954\r
-${DICT} eo-0.50-2 "Esperanto" eo 3771\r
-${DICT} et-0.1.21-1 "Estonian" et 923\r
-${DICT} fr-0.50-3 "Français" fr 4333\r
-${DICT} gl-0.50-0 "Galego" gl 2973\r
-${DICT} el-0.50-3 "Greek" el 3206\r
-${DICT} he-1.0-0 "Hebrew" he 2026\r
-${DICT} hr-0.51-0 "Hrvatski" hr 1967\r
-${DICT} is-0.51.1-0 "Íslenska" is 1537\r
-${DICT} it-2.2_20050523-0 "Italiano" it 696\r
-${DICT} hu-0.99.4.2-0 "Magyar" hu 1608\r
-${DICT} nl-0.50-2 "Nederlands" nl 1526\r
-${DICT} nn-0.50.1-1 "Nynorsk" nn 1942\r
-${DICT} pl-0.51-0 "Polski" pl 13685\r
-${DICT} pt-0.50-2 "Português" pt 2291\r
-${DICT} ro-0.50-2 "Româna" ro 342\r
-${DICT} ru-0.99f7-1 "Russian" ru 1460\r
-${DICT} gd-0.1.1-1 "Scottish" gd 195\r
-${DICT} sr-0.02 "Serbian" sr 3684\r
-${DICT} sk-0.52-0 "Slovencina" sk 4602\r
-${DICT} sl-0.50-0 "Sloven\9acina" sl 5227\r
-${DICT} fi-0.7-0 "Suomi" fi 660\r
-${DICT} sv-0.51-0 "Svenska" sv 1029\r
-${DICT} tr-0.50-0 "Türkçe" tr 549\r
-${DICT} uk-1.1-0 "Ukrainian" uk 582\r
-${DICT} cy-0.50-3 "Welsh" cy 1770\r
-\r
-;--------------------------------\r
-;Functions\r
-\r
-Function GetAspellHive\r
-\r
-  ;Check whether the system or local version of Aspell should be used\r
-  ;The patched Aspell uses the same logic\r
-\r
-  Push $R0\r
-\r
-  ReadRegStr $R0 HKCU "Software\Aspell" "Base Path"\r
-\r
-  ${if} $R0 == ""\r
-    StrCpy $R0 HKLM\r
-  ${else}\r
-    StrCpy $R0 HKCU\r
-  ${endif}\r
-\r
-  Exch $R0\r
-\r
-FunctionEnd\r
-\r
-Function DownloadDictionary\r
-\r
-  Exch $R0\r
-  Exch 1\r
-  Exch $R1\r
-  Exch 2\r
-  Exch $R2\r
-  Push $R3\r
-\r
-  dict_download:\r
-\r
-    ;Download\r
-    InetLoad::load "${DOWNLOAD_ASPELLDICTS}/aspell6-$R0.exe" "$PLUGINSDIR\aspell6-$R0.exe" /END\r
-    Pop $R3\r
-\r
-    ${if} $R3 != "OK"\r
-      ;Download failed\r
-      MessageBox MB_YESNO|MB_ICONEXCLAMATION "$(TEXT_DOWNLOAD_FAILED_DICT) ($R3)" IDYES dict_download\r
-      Goto dict_noinstall\r
-    ${endif}\r
-\r
-    install_dict:\r
-\r
-      ExecWait '"$PLUGINSDIR\aspell6-$R0.exe" /NoDirChange /AutoClose'\r
-\r
-      ${if} $AspellHive == HKLM\r
-        ReadRegStr $R3 HKLM "Software\Aspell\Dictionaries" $R2\r
-      ${else}\r
-           ReadRegStr $R3 HKCU "Software\Aspell\Dictionaries" $R2\r
-      ${endif}\r
-\r
-           ${if} $R3 == ""\r
-        MessageBox MB_YESNO|MB_ICONEXCLAMATION "$(TEXT_NOTINSTALLED_DICT)" IDYES install_dict\r
-      ${endif}\r
-\r
-      Delete "$PLUGINSDIR\aspell6-$R0.exe"\r
-\r
-    dict_noinstall:\r
-\r
-  Pop $R3\r
-  Pop $R2\r
-  Pop $R1\r
-  Pop $R0\r
-\r
-FunctionEnd\r
+/*
+
+Aspell dictionaries
+
+*/
+
+;--------------------------------
+;Macros
+
+!macro Dictionary FILE LANGNAME LANGCODE SIZE
+
+  Section /o "${LANGNAME}"
+  
+    AddSize ${SIZE}
+  
+    Push ${LANGCODE}
+    Push "${LANGNAME}"
+    Push ${FILE}
+    
+    Call DownloadDictionary
+    
+  SectionEnd
+  
+!macroend
+
+;--------------------------------
+;Sections
+
+Section -AspellDicts
+
+  Call GetAspellHive
+  Pop $AspellHive
+
+SectionEnd
+
+!define DICT '!insertmacro Dictionary'
+
+${DICT} af-0.50-0 "Afrikaans" af 916
+${DICT} ar-1.2-0 "Arabic" ar 4345
+${DICT} no-0.50-2 "Bokmål" no 1283
+${DICT} bg-4.0-0 "Bulgarian" bg 5344
+${DICT} ca-20040130-1 "Català" ca 1095
+${DICT} cs-20040614-1 "Ce\9atina" cs 2069
+${DICT} da-1.4.42-1 "Dansk" da 3041
+${DICT} de-20030222-1 "Deutsch" de 2874
+${DICT} en-6.0-0 "English" en 1130
+${DICT} es-0.50-2 "Español" es 2954
+${DICT} eo-0.50-2 "Esperanto" eo 3771
+${DICT} et-0.1.21-1 "Estonian" et 923
+${DICT} fr-0.50-3 "Français" fr 4333
+${DICT} gl-0.50-0 "Galego" gl 2973
+${DICT} el-0.50-3 "Greek" el 3206
+${DICT} he-1.0-0 "Hebrew" he 2026
+${DICT} hr-0.51-0 "Hrvatski" hr 1967
+${DICT} is-0.51.1-0 "Íslenska" is 1537
+${DICT} it-2.2_20050523-0 "Italiano" it 696
+${DICT} hu-0.99.4.2-0 "Magyar" hu 1608
+${DICT} nl-0.50-2 "Nederlands" nl 1526
+${DICT} nn-0.50.1-1 "Nynorsk" nn 1942
+${DICT} pl-0.51-0 "Polski" pl 13685
+${DICT} pt-0.50-2 "Português" pt 2291
+${DICT} ro-0.50-2 "Româna" ro 342
+${DICT} ru-0.99f7-1 "Russian" ru 1460
+${DICT} gd-0.1.1-1 "Scottish" gd 195
+${DICT} sr-0.02 "Serbian" sr 3684
+${DICT} sk-0.52-0 "Slovencina" sk 4602
+${DICT} sl-0.50-0 "Sloven\9acina" sl 5227
+${DICT} fi-0.7-0 "Suomi" fi 660
+${DICT} sv-0.51-0 "Svenska" sv 1029
+${DICT} tr-0.50-0 "Türkçe" tr 549
+${DICT} uk-1.1-0 "Ukrainian" uk 582
+${DICT} cy-0.50-3 "Welsh" cy 1770
+
+;--------------------------------
+;Functions
+
+Function GetAspellHive
+
+  ;Check whether the system or local version of Aspell should be used
+  ;The patched Aspell uses the same logic
+
+  Push $R0
+
+  ReadRegStr $R0 HKCU "Software\Aspell" "Base Path"
+
+  ${if} $R0 == ""
+    StrCpy $R0 HKLM
+  ${else}
+    StrCpy $R0 HKCU
+  ${endif}
+
+  Exch $R0
+
+FunctionEnd
+
+Function DownloadDictionary
+
+  Exch $R0
+  Exch 1
+  Exch $R1
+  Exch 2
+  Exch $R2
+  Push $R3
+
+  dict_download:
+
+    ;Download
+    InetLoad::load "${DOWNLOAD_ASPELLDICTS}/aspell6-$R0.exe" "$PLUGINSDIR\aspell6-$R0.exe" /END
+    Pop $R3
+
+    ${if} $R3 != "OK"
+      ;Download failed
+      MessageBox MB_YESNO|MB_ICONEXCLAMATION "$(TEXT_DOWNLOAD_FAILED_DICT) ($R3)" IDYES dict_download
+      Goto dict_noinstall
+    ${endif}
+
+    install_dict:
+
+      ExecWait '"$PLUGINSDIR\aspell6-$R0.exe" /NoDirChange /AutoClose'
+
+      ${if} $AspellHive == HKLM
+        ReadRegStr $R3 HKLM "Software\Aspell\Dictionaries" $R2
+      ${else}
+           ReadRegStr $R3 HKCU "Software\Aspell\Dictionaries" $R2
+      ${endif}
+
+           ${if} $R3 == ""
+        MessageBox MB_YESNO|MB_ICONEXCLAMATION "$(TEXT_NOTINSTALLED_DICT)" IDYES install_dict
+      ${endif}
+
+      Delete "$PLUGINSDIR\aspell6-$R0.exe"
+
+    dict_noinstall:
+
+  Pop $R3
+  Pop $R2
+  Pop $R1
+  Pop $R0
+
+FunctionEnd
index db03dabab8e9131592a0f0adc9c0be8ff083ce69..4c61cd41ce6135ec798dd47ffad9d1069ed960b6 100644 (file)
-/*\r
-\r
-External Components: MiKTeX, ImageMagick, Ghostscript\r
-\r
-*/\r
-\r
-;--------------------------------\r
-;Macros\r
-\r
-!macro SetComponentState VAR COMPONENT\r
-\r
-  ${if} ${VAR} == "1"\r
-  \r
-    StrCpy $Setup${COMPONENT} ${TRUE}\r
-    \r
-    StrCpy $R1 $Size${COMPONENT}\r
-    \r
-    ${if} $Path${COMPONENT} == ""\r
-      ;Add size of component itself\r
-      IntOp $R1 $R1 + ${SIZE_${COMPONENT}}\r
-    ${endif}\r
-    \r
-    SectionSetSize ${External${COMPONENT}} $R1\r
-    \r
-  ${else}\r
-  \r
-    StrCpy $Setup${COMPONENT} ${FALSE}\r
-    SectionSetSize ${External${COMPONENT}} 0\r
-    \r
-  ${endif}\r
-\r
-!macroend\r
-\r
-!macro ExternalComponent COMPONENT\r
-\r
-  ;Action depending on type of installer\r
-  \r
-  ${if} $Setup${component} == ${TRUE}\r
-  \r
-    StrCpy $Path${component} "" ;A new one will be installed\r
-  \r
-    !ifndef SETUPTYPE_BUNDLE\r
-      !insertmacro DownloadComponent ${component}\r
-    !else\r
-      !insertmacro InstallComponent ${component}\r
-    !endif\r
-    \r
-  ${endif}\r
-\r
-!macroend\r
-\r
-!macro SetupComponent COMPONENT\r
-\r
-  ;Run the setup application for a component\r
-\r
-  install_${COMPONENT}:\r
-      \r
-    ExecWait '"$PLUGINSDIR\${COMPONENT}Setup.exe"'\r
-    Call UpdatePathEnvironment\r
-    Call Search${COMPONENT}\r
-    \r
-    ${if} $Path${COMPONENT} == ""  \r
-      MessageBox MB_YESNO|MB_ICONEXCLAMATION $(TEXT_NOTINSTALLED_${COMPONENT}) IDYES install_${COMPONENT}\r
-    ${endif}\r
-      \r
-    Delete "$PLUGINSDIR\${COMPONENT}Setup.exe"\r
-     \r
-!macroend\r
-\r
-!ifndef SETUPTYPE_BUNDLE\r
-\r
-  !macro DownloadComponent COMPONENT\r
-\r
-    download_${COMPONENT}:\r
-\r
-      ;Download using HTTP\r
-      InetLoad::load "${DOWNLOAD_${COMPONENT}}" "$PLUGINSDIR\${COMPONENT}Setup.exe" /END\r
-      Pop $R0\r
\r
-      ${if} $R0 != "OK"\r
-        ;Download failed\r
-        MessageBox MB_YESNO|MB_ICONEXCLAMATION "$(TEXT_DOWNLOAD_FAILED_${COMPONENT}) ($R0)" IDYES download_${COMPONENT}\r
-        Goto noinstall_${COMPONENT}\r
-      ${endif}\r
-      \r
-      !insertmacro SetupComponent ${COMPONENT}\r
-      \r
-    noinstall_${COMPONENT}:\r
-\r
-  !macroend\r
-\r
-!else\r
-\r
-  !macro InstallComponent COMPONENT\r
-\r
-    ;Extract\r
-    File /oname=$PLUGINSDIR\${COMPONENT}Setup.exe ${FILES_BUNDLE}\${INSTALL_${COMPONENT}}\r
-    \r
-    !insertmacro SetupComponent ${COMPONENT}\r
-    \r
-  !macroend\r
-\r
-!endif\r
-\r
-!macro DialogExternalControl component\r
-\r
-  ;Enable/disable the DirRequest control\r
-  !insertmacro MUI_INSTALLOPTIONS_READ $R0 "external_${component}.ini" "Field 3" "State"\r
-  !insertmacro MUI_INSTALLOPTIONS_READ $R1 "external_${component}.ini" "Field 4" "HWND"\r
-  EnableWindow $R1 $R0\r
-  !insertmacro MUI_INSTALLOPTIONS_READ $R1 "external_${component}.ini" "Field 4" "HWND2"\r
-  EnableWindow $R1 $R0\r
-\r
-!macroend\r
-\r
-!macro DialogExternalShow COMPONENT\r
-\r
-  !insertmacro MUI_HEADER_TEXT $(TEXT_EXTERNAL_${COMPONENT}_TITLE) $(TEXT_EXTERNAL_${COMPONENT}_SUBTITLE)\r
-  !insertmacro MUI_INSTALLOPTIONS_INITDIALOG "external_${COMPONENT}.ini"\r
-  !insertmacro DialogExternalControl ${COMPONENT}\r
-  !insertmacro MUI_INSTALLOPTIONS_SHOW\r
-\r
-!macroend\r
-\r
-!macro DialogExternalValidate COMPONENT\r
-\r
-  Push $R0\r
-  Push $R1\r
-  \r
-  ;Next button pressed?\r
-  !insertmacro MUI_INSTALLOPTIONS_READ $R0 "external_${COMPONENT}.ini" "Settings" "State"\r
-  ${if} $R0 != "0"\r
-    !insertmacro DialogExternalControl ${COMPONENT}\r
-    Abort\r
-  ${endif}\r
-  \r
-  ;Download?\r
-  !insertmacro MUI_INSTALLOPTIONS_READ $R0 "external_${COMPONENT}.ini" "Field 2" "State"\r
-  !insertmacro SetComponentState $R0 ${COMPONENT}\r
-  \r
-  ;Folder?\r
-  !insertmacro MUI_INSTALLOPTIONS_READ $R0 "external_${COMPONENT}.ini" "Field 3" "State"\r
-  \r
-  ${if} $R0 == "1"\r
-    !insertmacro MUI_INSTALLOPTIONS_READ $R0 "external_${COMPONENT}.ini" "Field 4" "State"\r
-    ${unless} ${FileExists} "$R0\${BIN_${COMPONENT}}"\r
-      MessageBox MB_OK|MB_ICONEXCLAMATION $(TEXT_EXTERNAL_${COMPONENT}_NOTFOUND)\r
-      Abort\r
-    ${endif}\r
-    StrCpy $Path${component} $R0\r
-  ${endif}\r
-\r
-  Pop $R1\r
-  Pop $R0\r
-\r
-!macroend\r
-\r
-;--------------------------------\r
-;Sections\r
-\r
-Section -LaTeX ExternalLaTeX\r
-  !insertmacro ExternalComponent LaTeX\r
-SectionEnd\r
-\r
-Section -ImageMagick ExternalImageMagick\r
-  !insertmacro ExternalComponent ImageMagick\r
-SectionEnd\r
-\r
-Section -Ghostscript ExternalGhostscript\r
-  !insertmacro ExternalComponent Ghostscript\r
-SectionEnd\r
-\r
-;--------------------------------\r
-;Functions\r
-\r
-Function InitSizeExternal\r
-\r
-  ;Get sizes of external component installers\r
-  \r
-  SectionGetSize ${ExternalLaTeX} $SizeLaTeX\r
-  SectionGetSize ${ExternalImageMagick} $SizeImageMagick\r
-  SectionGetSize ${ExternalGhostscript} $SizeGhostscript\r
-  \r
-  !ifndef SETUPTYPE_BUNDLE\r
-    ;Add download size\r
-    IntOp $SizeLaTeX $SizeLaTeX + ${SIZE_DOWNLOAD_LATEX}\r
-    IntOp $SizeImagemagick $SizeImagemagick + ${SIZE_DOWNLOAD_IMAGEMAGICK}\r
-    IntOp $SizeGhostscript $SizeGhostscript + ${SIZE_DOWNLOAD_GHOSTSCRIPT}\r
-  !endif\r
-  \r
-FunctionEnd\r
-\r
-;--------------------------------\r
-;Page functions\r
-\r
-Function PageExternalLaTeX\r
-  !insertmacro DialogExternalShow LaTeX\r
-FunctionEnd\r
-\r
-Function PageExternalLaTeXValidate\r
-  !insertmacro DialogExternalValidate LaTeX\r
-FunctionEnd\r
-\r
-Function PageExternalImageMagick\r
-  !insertmacro DialogExternalShow ImageMagick\r
-FunctionEnd\r
-\r
-Function PageExternalImageMagickValidate\r
-  !insertmacro DialogExternalValidate ImageMagick\r
-FunctionEnd\r
-\r
-Function PageExternalGhostscript\r
-  !insertmacro DialogExternalShow Ghostscript\r
-FunctionEnd\r
-\r
-Function PageExternalGhostscriptValidate\r
-  !insertmacro DialogExternalValidate Ghostscript\r
-FunctionEnd\r
+/*
+
+External Components: MiKTeX, ImageMagick, Ghostscript
+
+*/
+
+;--------------------------------
+;Macros
+
+!macro SetComponentState VAR COMPONENT
+
+  ${if} ${VAR} == "1"
+  
+    StrCpy $Setup${COMPONENT} ${TRUE}
+    
+    StrCpy $R1 $Size${COMPONENT}
+    
+    ${if} $Path${COMPONENT} == ""
+      ;Add size of component itself
+      IntOp $R1 $R1 + ${SIZE_${COMPONENT}}
+    ${endif}
+    
+    SectionSetSize ${External${COMPONENT}} $R1
+    
+  ${else}
+  
+    StrCpy $Setup${COMPONENT} ${FALSE}
+    SectionSetSize ${External${COMPONENT}} 0
+    
+  ${endif}
+
+!macroend
+
+!macro ExternalComponent COMPONENT
+
+  ;Action depending on type of installer
+  
+  ${if} $Setup${component} == ${TRUE}
+  
+    StrCpy $Path${component} "" ;A new one will be installed
+  
+    !ifndef SETUPTYPE_BUNDLE
+      !insertmacro DownloadComponent ${component}
+    !else
+      !insertmacro InstallComponent ${component}
+    !endif
+    
+  ${endif}
+
+!macroend
+
+!macro SetupComponent COMPONENT
+
+  ;Run the setup application for a component
+
+  install_${COMPONENT}:
+      
+    ExecWait '"$PLUGINSDIR\${COMPONENT}Setup.exe"'
+    Call UpdatePathEnvironment
+    Call Search${COMPONENT}
+    
+    ${if} $Path${COMPONENT} == ""  
+      MessageBox MB_YESNO|MB_ICONEXCLAMATION $(TEXT_NOTINSTALLED_${COMPONENT}) IDYES install_${COMPONENT}
+    ${endif}
+      
+    Delete "$PLUGINSDIR\${COMPONENT}Setup.exe"
+     
+!macroend
+
+!ifndef SETUPTYPE_BUNDLE
+
+  !macro DownloadComponent COMPONENT
+
+    download_${COMPONENT}:
+
+      ;Download using HTTP
+      InetLoad::load "${DOWNLOAD_${COMPONENT}}" "$PLUGINSDIR\${COMPONENT}Setup.exe" /END
+      Pop $R0
+      ${if} $R0 != "OK"
+        ;Download failed
+        MessageBox MB_YESNO|MB_ICONEXCLAMATION "$(TEXT_DOWNLOAD_FAILED_${COMPONENT}) ($R0)" IDYES download_${COMPONENT}
+        Goto noinstall_${COMPONENT}
+      ${endif}
+      
+      !insertmacro SetupComponent ${COMPONENT}
+      
+    noinstall_${COMPONENT}:
+
+  !macroend
+
+!else
+
+  !macro InstallComponent COMPONENT
+
+    ;Extract
+    File /oname=$PLUGINSDIR\${COMPONENT}Setup.exe ${FILES_BUNDLE}\${INSTALL_${COMPONENT}}
+    
+    !insertmacro SetupComponent ${COMPONENT}
+    
+  !macroend
+
+!endif
+
+!macro DialogExternalControl component
+
+  ;Enable/disable the DirRequest control
+  !insertmacro MUI_INSTALLOPTIONS_READ $R0 "external_${component}.ini" "Field 3" "State"
+  !insertmacro MUI_INSTALLOPTIONS_READ $R1 "external_${component}.ini" "Field 4" "HWND"
+  EnableWindow $R1 $R0
+  !insertmacro MUI_INSTALLOPTIONS_READ $R1 "external_${component}.ini" "Field 4" "HWND2"
+  EnableWindow $R1 $R0
+
+!macroend
+
+!macro DialogExternalShow COMPONENT
+
+  !insertmacro MUI_HEADER_TEXT $(TEXT_EXTERNAL_${COMPONENT}_TITLE) $(TEXT_EXTERNAL_${COMPONENT}_SUBTITLE)
+  !insertmacro MUI_INSTALLOPTIONS_INITDIALOG "external_${COMPONENT}.ini"
+  !insertmacro DialogExternalControl ${COMPONENT}
+  !insertmacro MUI_INSTALLOPTIONS_SHOW
+
+!macroend
+
+!macro DialogExternalValidate COMPONENT
+
+  Push $R0
+  Push $R1
+  
+  ;Next button pressed?
+  !insertmacro MUI_INSTALLOPTIONS_READ $R0 "external_${COMPONENT}.ini" "Settings" "State"
+  ${if} $R0 != "0"
+    !insertmacro DialogExternalControl ${COMPONENT}
+    Abort
+  ${endif}
+  
+  ;Download?
+  !insertmacro MUI_INSTALLOPTIONS_READ $R0 "external_${COMPONENT}.ini" "Field 2" "State"
+  !insertmacro SetComponentState $R0 ${COMPONENT}
+  
+  ;Folder?
+  !insertmacro MUI_INSTALLOPTIONS_READ $R0 "external_${COMPONENT}.ini" "Field 3" "State"
+  
+  ${if} $R0 == "1"
+    !insertmacro MUI_INSTALLOPTIONS_READ $R0 "external_${COMPONENT}.ini" "Field 4" "State"
+    ${unless} ${FileExists} "$R0\${BIN_${COMPONENT}}"
+      MessageBox MB_OK|MB_ICONEXCLAMATION $(TEXT_EXTERNAL_${COMPONENT}_NOTFOUND)
+      Abort
+    ${endif}
+    StrCpy $Path${component} $R0
+  ${endif}
+
+  Pop $R1
+  Pop $R0
+
+!macroend
+
+;--------------------------------
+;Sections
+
+Section -LaTeX ExternalLaTeX
+  !insertmacro ExternalComponent LaTeX
+SectionEnd
+
+Section -ImageMagick ExternalImageMagick
+  !insertmacro ExternalComponent ImageMagick
+SectionEnd
+
+Section -Ghostscript ExternalGhostscript
+  !insertmacro ExternalComponent Ghostscript
+SectionEnd
+
+;--------------------------------
+;Functions
+
+Function InitSizeExternal
+
+  ;Get sizes of external component installers
+  
+  SectionGetSize ${ExternalLaTeX} $SizeLaTeX
+  SectionGetSize ${ExternalImageMagick} $SizeImageMagick
+  SectionGetSize ${ExternalGhostscript} $SizeGhostscript
+  
+  !ifndef SETUPTYPE_BUNDLE
+    ;Add download size
+    IntOp $SizeLaTeX $SizeLaTeX + ${SIZE_DOWNLOAD_LATEX}
+    IntOp $SizeImagemagick $SizeImagemagick + ${SIZE_DOWNLOAD_IMAGEMAGICK}
+    IntOp $SizeGhostscript $SizeGhostscript + ${SIZE_DOWNLOAD_GHOSTSCRIPT}
+  !endif
+  
+FunctionEnd
+
+;--------------------------------
+;Page functions
+
+Function PageExternalLaTeX
+  !insertmacro DialogExternalShow LaTeX
+FunctionEnd
+
+Function PageExternalLaTeXValidate
+  !insertmacro DialogExternalValidate LaTeX
+FunctionEnd
+
+Function PageExternalImageMagick
+  !insertmacro DialogExternalShow ImageMagick
+FunctionEnd
+
+Function PageExternalImageMagickValidate
+  !insertmacro DialogExternalValidate ImageMagick
+FunctionEnd
+
+Function PageExternalGhostscript
+  !insertmacro DialogExternalShow Ghostscript
+FunctionEnd
+
+Function PageExternalGhostscriptValidate
+  !insertmacro DialogExternalValidate Ghostscript
+FunctionEnd
index c8e61ebe880cbdb25bfdb2ab932e300c69839802..677cf9fce425db66ec4c799c618df2323c9889f1 100644 (file)
@@ -1,67 +1,67 @@
-/*\r
-\r
-Selection of language for LyX interface\r
-\r
-*/\r
-\r
-;--------------------------------\r
-;Macros\r
-\r
-!macro SetSystemLangItem VAR LANGNAME LANGISOCODE LANGID\r
-\r
-  ${if} ${VAR} == ${LANGID}\r
-    !insertmacro MUI_INSTALLOPTIONS_WRITE "langselect.ini" "Field 2" "State" "${LANGNAME}"\r
-  ${endif}\r
-\r
-!macroend\r
-\r
-!macro SetSystemLang VAR\r
-\r
-  !insertmacro LanguageList '!insertmacro SetSystemLangItem ${VAR}'\r
-  \r
-!macroend\r
-\r
-!macro GetISOLangCodeItem VAR_LANGNAME VAR_LANGISOCODE LANGNAME LANGISOCODE LANGID\r
-\r
-  ${if} ${VAR_LANGNAME} == "${LANGNAME}"\r
-    StrCpy ${VAR_LANGISOCODE} "${LANGISOCODE}"\r
-  ${endif}\r
-  \r
-!macroend\r
-\r
-!macro GetISOLangCode VAR_LANGNAME VAR_LANGISOCODE\r
-\r
-  ;Get the language code for the selected language name\r
-\r
-  !insertmacro LanguageList '!insertmacro GetISOLangCodeItem ${VAR_LANGNAME} ${VAR_LANGISOCODE}'\r
-\r
-!macroend\r
-\r
-;--------------------------------\r
-;Functions\r
-\r
-Function InitLanguage\r
-\r
-  ;Set the default for the language selection dialog to the Windows language\r
-\r
-  System::Call "kernel32::GetUserDefaultUILanguage()i.R0"\r
-  !insertmacro SetSystemLang $R0\r
-  \r
-FunctionEnd\r
-\r
-;--------------------------------\r
-;Page functions\r
-\r
-Function PageLanguage\r
-\r
-  !insertmacro MUI_HEADER_TEXT "$(TEXT_LANGUAGE_TITLE)" "$(TEXT_LANGUAGE_SUBTITLE)"\r
-  !insertmacro MUI_INSTALLOPTIONS_DISPLAY "langselect.ini"\r
\r
-FunctionEnd\r
-\r
-Function PageLanguageValidate\r
-\r
-  !insertmacro MUI_INSTALLOPTIONS_READ $LangName "langselect.ini" "Field 2" "State"\r
-  !insertmacro GetISOLangCode $LangName $LangISOCode\r
-  \r
+/*
+
+Selection of language for LyX interface
+
+*/
+
+;--------------------------------
+;Macros
+
+!macro SetSystemLangItem VAR LANGNAME LANGISOCODE LANGID
+
+  ${if} ${VAR} == ${LANGID}
+    !insertmacro MUI_INSTALLOPTIONS_WRITE "langselect.ini" "Field 2" "State" "${LANGNAME}"
+  ${endif}
+
+!macroend
+
+!macro SetSystemLang VAR
+
+  !insertmacro LanguageList '!insertmacro SetSystemLangItem ${VAR}'
+  
+!macroend
+
+!macro GetISOLangCodeItem VAR_LANGNAME VAR_LANGISOCODE LANGNAME LANGISOCODE LANGID
+
+  ${if} ${VAR_LANGNAME} == "${LANGNAME}"
+    StrCpy ${VAR_LANGISOCODE} "${LANGISOCODE}"
+  ${endif}
+  
+!macroend
+
+!macro GetISOLangCode VAR_LANGNAME VAR_LANGISOCODE
+
+  ;Get the language code for the selected language name
+
+  !insertmacro LanguageList '!insertmacro GetISOLangCodeItem ${VAR_LANGNAME} ${VAR_LANGISOCODE}'
+
+!macroend
+
+;--------------------------------
+;Functions
+
+Function InitLanguage
+
+  ;Set the default for the language selection dialog to the Windows language
+
+  System::Call "kernel32::GetUserDefaultUILanguage()i.R0"
+  !insertmacro SetSystemLang $R0
+  
+FunctionEnd
+
+;--------------------------------
+;Page functions
+
+Function PageLanguage
+
+  !insertmacro MUI_HEADER_TEXT "$(TEXT_LANGUAGE_TITLE)" "$(TEXT_LANGUAGE_SUBTITLE)"
+  !insertmacro MUI_INSTALLOPTIONS_DISPLAY "langselect.ini"
+FunctionEnd
+
+Function PageLanguageValidate
+
+  !insertmacro MUI_INSTALLOPTIONS_READ $LangName "langselect.ini" "Field 2" "State"
+  !insertmacro GetISOLangCode $LangName $LangISOCode
+  
 FunctionEnd
\ No newline at end of file
index 747c6a09f5cbf0f208c32b225146976949f57c66..69ffbe4401960c26cbd4801739f5a698873199c2 100644 (file)
@@ -1,35 +1,35 @@
-/*\r
-\r
-Reinstall options\r
-\r
-*/\r
-\r
-;--------------------------------\r
-;Page functions\r
-\r
-Function PageReinstall\r
-\r
-  ;Check whether this version is already installed\r
-\r
-  ReadRegStr $R0 SHELL_CONTEXT ${APP_REGKEY} "Version"\r
-\r
-  ${if} $R0 != "${APP_VERSION}"\r
-    Abort\r
-  ${endif}\r
-\r
-  !insertmacro MUI_HEADER_TEXT $(TEXT_REINSTALL_TITLE) $(TEXT_REINSTALL_SUBTITLE)\r
-  !insertmacro MUI_INSTALLOPTIONS_DISPLAY "reinstall.ini"\r
-\r
-FunctionEnd\r
-\r
-Function PageReinstallValidate\r
-\r
-  !insertmacro MUI_INSTALLOPTIONS_READ $R0 "reinstall.ini" "Field 2" "State"\r
-\r
-  ${if} $R0 == "1"\r
-    !insertmacro SelectSection ${SecCore}\r
-  ${else}\r
-    !insertmacro UnselectSection ${SecCore}\r
-  ${endif}\r
-\r
+/*
+
+Reinstall options
+
+*/
+
+;--------------------------------
+;Page functions
+
+Function PageReinstall
+
+  ;Check whether this version is already installed
+
+  ReadRegStr $R0 SHELL_CONTEXT ${APP_REGKEY} "Version"
+
+  ${if} $R0 != "${APP_VERSION}"
+    Abort
+  ${endif}
+
+  !insertmacro MUI_HEADER_TEXT $(TEXT_REINSTALL_TITLE) $(TEXT_REINSTALL_SUBTITLE)
+  !insertmacro MUI_INSTALLOPTIONS_DISPLAY "reinstall.ini"
+
+FunctionEnd
+
+Function PageReinstallValidate
+
+  !insertmacro MUI_INSTALLOPTIONS_READ $R0 "reinstall.ini" "Field 2" "State"
+
+  ${if} $R0 == "1"
+    !insertmacro SelectSection ${SecCore}
+  ${else}
+    !insertmacro UnselectSection ${SecCore}
+  ${endif}
+
 FunctionEnd
\ No newline at end of file
index 8a57e0d3502e326fdbf0239fbc9e1cf77dd1e2f8..81869c2bdcde0416750b725f8bf035b62d56064f 100644 (file)
@@ -1,88 +1,88 @@
-/*\r
-\r
-Uninstaller\r
-\r
-*/\r
-\r
-;--------------------------------\r
-;Sections\r
-\r
-Section "un.Program Files" un.SecProgramFiles\r
-\r
-  ;Binaries\r
-  \r
-  Delete "$INSTDIR\bin\lyx.exe"\r
-  Delete "$INSTDIR\bin\lyxc.exe"\r
-  !insertmacro FileListLyXBin Delete "$INSTDIR\bin\"\r
-  !insertmacro FileListQtBin Delete "$INSTDIR\bin\"\r
-  \r
-  !insertmacro FileListDllMSVCBin Delete "$INSTDIR\bin\"\r
-  !insertmacro FileListMSVCBin Delete "$INSTDIR\bin\"\r
-  !insertmacro FileListMSVCManifest Delete "$INSTDIR\bin\"\r
-\r
-  !insertmacro FileListNetpbmBin Delete "$INSTDIR\bin\"\r
-  !insertmacro FileListDvipostBin Delete "$INSTDIR\bin\"\r
-  !insertmacro FileListDTLBin Delete "$INSTDIR\bin\"\r
-  !insertmacro FileListPDFToolsBin Delete "$INSTDIR\bin\"\r
-  !insertmacro FileListPDFViewBin Delete "$INSTDIR\bin\"\r
-  \r
-  ;Icons\r
-  \r
-  !insertmacro FileListLyXIcons Delete "$INSTDIR\bin\"  \r
-  \r
-  ;Resources\r
-  \r
-  RMDir /r "$INSTDIR\Resources"\r
-  \r
-  ;Components of Python\r
-  \r
-  RMDir /r "$INSTDIR\python"\r
-  \r
-  ;Aiksaurus Data\r
-  \r
-  !insertmacro FileListAiksaurusData Delete "$INSTDIR\aiksaurus\"\r
-  RMDir "$INSTDIR\aiksaurus"\r
-  \r
-  ;Helper DLLs for NSIS-based tools\r
-\r
-  !insertmacro FileListNSISPluginsStandard Delete "$INSTDIR\bin\"\r
-  !insertmacro FileListNSISPlugins Delete "$INSTDIR\bin\"   \r
-  \r
-  ;Shortcuts\r
-  \r
-  Delete "$SMPROGRAMS\${APP_NAME} ${APP_SERIES_NAME}.lnk"\r
-  Delete "$DESKTOP\${APP_NAME} ${APP_SERIES_NAME}.lnk"\r
-\r
-  ;Uninstaller itself\r
-  \r
-  Delete "$INSTDIR\${SETUP_UNINSTALLER}"\r
-  RMDir "$INSTDIR\bin"\r
-  \r
-  ;Application folder\r
-  \r
-  SetOutPath "$PROGRAMFILES"\r
-  RMDir "$INSTDIR"\r
-  \r
-  ;Registry keys\r
-  \r
-  DeleteRegKey SHELL_CONTEXT "${APP_REGKEY_SETUP}"\r
-  DeleteRegKey SHELL_CONTEXT "${APP_REGKEY}"\r
-  DeleteRegKey SHELL_CONTEXT "Software\Classes\${APP_REGNAME_DOC}"\r
-  DeleteRegKey SHELL_CONTEXT "Software\Microsoft\Windows\CurrentVersion\Uninstall\${SETUP_UNINSTALLER_KEY}"\r
-  \r
-  ;File associations\r
-  \r
-  ReadRegStr $R0 SHELL_CONTEXT "Software\Classes\${APP_EXT}" ""\r
-  \r
-  ${if} $R0 == "${APP_REGNAME_DOC}"\r
-     DeleteRegKey SHELL_CONTEXT "Software\Classes\${APP_EXT}"\r
-  ${endif}\r
-  \r
-SectionEnd\r
-\r
-Section "un.User Preferences and Custom Files" un.SecUserFiles\r
-\r
-  SetShellVarContext current\r
-  RMDir /r "$APPDATA\${APP_DIR_USERDATA}"\r
-  \r
-SectionEnd\r
+/*
+
+Uninstaller
+
+*/
+
+;--------------------------------
+;Sections
+
+Section "un.Program Files" un.SecProgramFiles
+
+  ;Binaries
+  
+  Delete "$INSTDIR\bin\lyx.exe"
+  Delete "$INSTDIR\bin\lyxc.exe"
+  !insertmacro FileListLyXBin Delete "$INSTDIR\bin\"
+  !insertmacro FileListQtBin Delete "$INSTDIR\bin\"
+  
+  !insertmacro FileListDllMSVCBin Delete "$INSTDIR\bin\"
+  !insertmacro FileListMSVCBin Delete "$INSTDIR\bin\"
+  !insertmacro FileListMSVCManifest Delete "$INSTDIR\bin\"
+
+  !insertmacro FileListNetpbmBin Delete "$INSTDIR\bin\"
+  !insertmacro FileListDvipostBin Delete "$INSTDIR\bin\"
+  !insertmacro FileListDTLBin Delete "$INSTDIR\bin\"
+  !insertmacro FileListPDFToolsBin Delete "$INSTDIR\bin\"
+  !insertmacro FileListPDFViewBin Delete "$INSTDIR\bin\"
+  
+  ;Icons
+  
+  !insertmacro FileListLyXIcons Delete "$INSTDIR\bin\"  
+  
+  ;Resources
+  
+  RMDir /r "$INSTDIR\Resources"
+  
+  ;Components of Python
+  
+  RMDir /r "$INSTDIR\python"
+  
+  ;Aiksaurus Data
+  
+  !insertmacro FileListAiksaurusData Delete "$INSTDIR\aiksaurus\"
+  RMDir "$INSTDIR\aiksaurus"
+  
+  ;Helper DLLs for NSIS-based tools
+
+  !insertmacro FileListNSISPluginsStandard Delete "$INSTDIR\bin\"
+  !insertmacro FileListNSISPlugins Delete "$INSTDIR\bin\"   
+  
+  ;Shortcuts
+  
+  Delete "$SMPROGRAMS\${APP_NAME} ${APP_SERIES_NAME}.lnk"
+  Delete "$DESKTOP\${APP_NAME} ${APP_SERIES_NAME}.lnk"
+
+  ;Uninstaller itself
+  
+  Delete "$INSTDIR\${SETUP_UNINSTALLER}"
+  RMDir "$INSTDIR\bin"
+  
+  ;Application folder
+  
+  SetOutPath "$PROGRAMFILES"
+  RMDir "$INSTDIR"
+  
+  ;Registry keys
+  
+  DeleteRegKey SHELL_CONTEXT "${APP_REGKEY_SETUP}"
+  DeleteRegKey SHELL_CONTEXT "${APP_REGKEY}"
+  DeleteRegKey SHELL_CONTEXT "Software\Classes\${APP_REGNAME_DOC}"
+  DeleteRegKey SHELL_CONTEXT "Software\Microsoft\Windows\CurrentVersion\Uninstall\${SETUP_UNINSTALLER_KEY}"
+  
+  ;File associations
+  
+  ReadRegStr $R0 SHELL_CONTEXT "Software\Classes\${APP_EXT}" ""
+  
+  ${if} $R0 == "${APP_REGNAME_DOC}"
+     DeleteRegKey SHELL_CONTEXT "Software\Classes\${APP_EXT}"
+  ${endif}
+  
+SectionEnd
+
+Section "un.User Preferences and Custom Files" un.SecUserFiles
+
+  SetShellVarContext current
+  RMDir /r "$APPDATA\${APP_DIR_USERDATA}"
+  
+SectionEnd
index 8a5dec1a587233d110e6c13c167aef172e02afd5..45e2190c07b4075acc43d81316985891b737d276 100644 (file)
@@ -1,87 +1,87 @@
-/*\r
-\r
-Install type setting (current user/all users)\r
-\r
-*/\r
-\r
-;--------------------------------\r
-;Macros\r
-\r
-!macro GetDirExternal COMPONENT\r
-\r
-  ReadRegStr $R0 SHELL_CONTEXT "${APP_REGKEY_SETUP}" "${COMPONENT} Path"\r
-  \r
-  ${if} ${FileExists} "$R0\${BIN_${COMPONENT}}"\r
-\r
-    ${if} $R0 != ""\r
-      StrCpy $Path${COMPONENT} $R0\r
-    ${endif}\r
-  \r
-  ${endif}\r
-\r
-!macroend\r
-\r
-;--------------------------------\r
-;Functions\r
-\r
-Function InitUser\r
-\r
-  ;Get directories from registry\r
-\r
-  ReadRegStr $R0 SHELL_CONTEXT "${APP_REGKEY}" ""\r
-  \r
-  ${if} $R0 != ""\r
-    StrCpy $INSTDIR $R0\r
-  ${endif}\r
-\r
-  !insertmacro GetDirExternal LaTeX\r
-  !insertmacro GetDirExternal ImageMagick\r
-  !insertmacro GetDirExternal Ghostscript\r
-  \r
-  ;Set directories in dialogs\r
-\r
-  !insertmacro InitDialogExternalDir latex ${TRUE}\r
-  !insertmacro InitDialogExternalDir imagemagick ${FALSE}\r
-  !insertmacro InitDialogExternalDir ghostscript ${FALSE}\r
-  \r
-  ;Get LyX language\r
-  \r
-  ReadRegStr $R0 SHELL_CONTEXT "${APP_REGKEY_SETUP}" "LyX Language"\r
-  \r
-  ${if} $R0 != ""\r
-    !insertmacro MUI_INSTALLOPTIONS_WRITE "langselect.ini" "Field 2" "State" $R0\r
-  ${endif}\r
-  \r
-FunctionEnd\r
-\r
-;--------------------------------\r
-;Page functions\r
-\r
-Function PageUser\r
-\r
-  ;Only show page if installing for all users is possible\r
-  ${if} $AdminOrPowerUser == ${FALSE}\r
-    Call InitUser\r
-    Abort\r
-  ${endif}\r
-  \r
-  !insertmacro MUI_HEADER_TEXT $(TEXT_USER_TITLE) $(TEXT_USER_SUBTITLE)\r
-  !insertmacro MUI_INSTALLOPTIONS_DISPLAY "user.ini"\r
-\r
-FunctionEnd\r
-\r
-Function PageUserValidate\r
-  \r
-  !insertmacro MUI_INSTALLOPTIONS_READ $R0 "user.ini" "Field 2" "State"\r
-  \r
-  ${if} $R0 == "1"\r
-    SetShellVarContext all\r
-    StrCpy $CurrentUserInstall ${FALSE}\r
-  ${else}\r
-    SetShellVarContext current\r
-    StrCpy $CurrentUserInstall ${TRUE}\r
-  ${endif}\r
-  \r
-  Call InitUser\r
-  \r
+/*
+
+Install type setting (current user/all users)
+
+*/
+
+;--------------------------------
+;Macros
+
+!macro GetDirExternal COMPONENT
+
+  ReadRegStr $R0 SHELL_CONTEXT "${APP_REGKEY_SETUP}" "${COMPONENT} Path"
+  
+  ${if} ${FileExists} "$R0\${BIN_${COMPONENT}}"
+
+    ${if} $R0 != ""
+      StrCpy $Path${COMPONENT} $R0
+    ${endif}
+  
+  ${endif}
+
+!macroend
+
+;--------------------------------
+;Functions
+
+Function InitUser
+
+  ;Get directories from registry
+
+  ReadRegStr $R0 SHELL_CONTEXT "${APP_REGKEY}" ""
+  
+  ${if} $R0 != ""
+    StrCpy $INSTDIR $R0
+  ${endif}
+
+  !insertmacro GetDirExternal LaTeX
+  !insertmacro GetDirExternal ImageMagick
+  !insertmacro GetDirExternal Ghostscript
+  
+  ;Set directories in dialogs
+
+  !insertmacro InitDialogExternalDir latex ${TRUE}
+  !insertmacro InitDialogExternalDir imagemagick ${FALSE}
+  !insertmacro InitDialogExternalDir ghostscript ${FALSE}
+  
+  ;Get LyX language
+  
+  ReadRegStr $R0 SHELL_CONTEXT "${APP_REGKEY_SETUP}" "LyX Language"
+  
+  ${if} $R0 != ""
+    !insertmacro MUI_INSTALLOPTIONS_WRITE "langselect.ini" "Field 2" "State" $R0
+  ${endif}
+  
+FunctionEnd
+
+;--------------------------------
+;Page functions
+
+Function PageUser
+
+  ;Only show page if installing for all users is possible
+  ${if} $AdminOrPowerUser == ${FALSE}
+    Call InitUser
+    Abort
+  ${endif}
+  
+  !insertmacro MUI_HEADER_TEXT $(TEXT_USER_TITLE) $(TEXT_USER_SUBTITLE)
+  !insertmacro MUI_INSTALLOPTIONS_DISPLAY "user.ini"
+
+FunctionEnd
+
+Function PageUserValidate
+  
+  !insertmacro MUI_INSTALLOPTIONS_READ $R0 "user.ini" "Field 2" "State"
+  
+  ${if} $R0 == "1"
+    SetShellVarContext all
+    StrCpy $CurrentUserInstall ${FALSE}
+  ${else}
+    SetShellVarContext current
+    StrCpy $CurrentUserInstall ${TRUE}
+  ${endif}
+  
+  Call InitUser
+  
 FunctionEnd
\ No newline at end of file
index 741978bcd5bb7b8897f260af8bcc3dbb9502e378..6b8854a69384240a4cc15e73b86cca6d0359564a 100644 (file)
@@ -1,60 +1,60 @@
-/*\r
-\r
-Option to download GSView (PDF/Postscript viewer)\r
-\r
-*/\r
-\r
-;--------------------------------\r
-;Sections\r
-\r
-Section -Viewer ExternalViewer\r
-  !insertmacro ExternalComponent Viewer\r
-SectionEnd\r
-\r
-;--------------------------------\r
-;Functions\r
-\r
-Function InitSizeViewer\r
-\r
-  ;Get size of viewer installer\r
\r
-  SectionGetSize ${ExternalViewer} $SizeViewer\r
-  \r
-  !ifndef SETUPTYPE_BUNDLE\r
-    ;Add download size\r
-    IntOp $SizeViewer $SizeViewer + ${SIZE_DOWNLOAD_VIEWER}\r
-  !endif\r
-  \r
-FunctionEnd\r
-\r
-;--------------------------------\r
-;Page functions\r
-\r
-Function PageViewer\r
-\r
-  ;Show page if no viewer is installed, the user has Power User or Administrator priviledges and\r
-  ;Ghostscript is installed or will be installed\r
-\r
-  ${if} $AdminOrPowerUser == ${FALSE}\r
-  ${orif} $PathViewer == "associated"\r
-    Abort\r
-  ${endif}\r
-\r
-  ${if} $PathGhostscript == ""\r
-  ${andif} $SetupGhostscript == ${FALSE}\r
-    !insertmacro SetComponentState $R0 Viewer\r
-    Abort\r
-  ${endif}\r
-\r
-  !insertmacro MUI_HEADER_TEXT $(TEXT_VIEWER_TITLE) $(TEXT_VIEWER_SUBTITLE)\r
-  !insertmacro MUI_INSTALLOPTIONS_DISPLAY "viewer.ini"\r
-\r
-FunctionEnd\r
-\r
-Function PageViewerValidate\r
-\r
-  ;Download?\r
-  !insertmacro MUI_INSTALLOPTIONS_READ $R0 "viewer.ini" "Field 2" "State"\r
-  !insertmacro SetComponentState $R0 Viewer\r
-\r
-FunctionEnd\r
+/*
+
+Option to download GSView (PDF/Postscript viewer)
+
+*/
+
+;--------------------------------
+;Sections
+
+Section -Viewer ExternalViewer
+  !insertmacro ExternalComponent Viewer
+SectionEnd
+
+;--------------------------------
+;Functions
+
+Function InitSizeViewer
+
+  ;Get size of viewer installer
+  SectionGetSize ${ExternalViewer} $SizeViewer
+  
+  !ifndef SETUPTYPE_BUNDLE
+    ;Add download size
+    IntOp $SizeViewer $SizeViewer + ${SIZE_DOWNLOAD_VIEWER}
+  !endif
+  
+FunctionEnd
+
+;--------------------------------
+;Page functions
+
+Function PageViewer
+
+  ;Show page if no viewer is installed, the user has Power User or Administrator priviledges and
+  ;Ghostscript is installed or will be installed
+
+  ${if} $AdminOrPowerUser == ${FALSE}
+  ${orif} $PathViewer == "associated"
+    Abort
+  ${endif}
+
+  ${if} $PathGhostscript == ""
+  ${andif} $SetupGhostscript == ${FALSE}
+    !insertmacro SetComponentState $R0 Viewer
+    Abort
+  ${endif}
+
+  !insertmacro MUI_HEADER_TEXT $(TEXT_VIEWER_TITLE) $(TEXT_VIEWER_SUBTITLE)
+  !insertmacro MUI_INSTALLOPTIONS_DISPLAY "viewer.ini"
+
+FunctionEnd
+
+Function PageViewerValidate
+
+  ;Download?
+  !insertmacro MUI_INSTALLOPTIONS_READ $R0 "viewer.ini" "Field 2" "State"
+  !insertmacro SetComponentState $R0 Viewer
+
+FunctionEnd
index 8e0556eb5cd8ba14351f4e54adaa4fdcda04d971..3032ae02f97c32ae95f6e9fd8e88aefc9c2609a8 100644 (file)
@@ -1,52 +1,52 @@
-[Settings]\r
-NumFields=6\r
-\r
-[Field 1]\r
-Type=Label\r
-Left=0\r
-Top=0\r
-Right=300\r
-Bottom=40\r
-Text=###TEXT_EXTERNAL_INFO###\r
-\r
-[Field 2]\r
-Type=RadioButton\r
-Left=0\r
-Top=40\r
-Right=300\r
-Bottom=51\r
-Text=###TEXT_EXTERNAL_DOWNLOAD###\r
-Flags=NOTIFY\r
-\r
-[Field 3]\r
-Type=RadioButton\r
-Left=0\r
-Top=60\r
-Right=300\r
-Bottom=70\r
-Text=###TEXT_EXTERNAL_FOLDER###\r
-Flags=NOTIFY\r
-\r
-[Field 4]\r
-Type=DirRequest\r
-Left=10\r
-Top=80\r
-Right=300\r
-Bottom=93\r
-Flags=NOTIFY\r
-\r
-[Field 6]\r
-Type=RadioButton\r
-Left=0\r
-Top=120\r
-Right=300\r
-Bottom=130\r
-Text=###TEXT_EXTERNAL_NONE###\r
-Flags=NOTIFY\r
-[Field 5]\r
-Type=Label\r
-Left=10\r
-Top=100\r
-Right=290\r
-Bottom=110\r
-Text=###TEXT_EXTERNAL_FOLDER_INFO###\r
+[Settings]
+NumFields=6
+
+[Field 1]
+Type=Label
+Left=0
+Top=0
+Right=300
+Bottom=40
+Text=###TEXT_EXTERNAL_INFO###
+
+[Field 2]
+Type=RadioButton
+Left=0
+Top=40
+Right=300
+Bottom=51
+Text=###TEXT_EXTERNAL_DOWNLOAD###
+Flags=NOTIFY
+
+[Field 3]
+Type=RadioButton
+Left=0
+Top=60
+Right=300
+Bottom=70
+Text=###TEXT_EXTERNAL_FOLDER###
+Flags=NOTIFY
+
+[Field 4]
+Type=DirRequest
+Left=10
+Top=80
+Right=300
+Bottom=93
+Flags=NOTIFY
+
+[Field 6]
+Type=RadioButton
+Left=0
+Top=120
+Right=300
+Bottom=130
+Text=###TEXT_EXTERNAL_NONE###
+Flags=NOTIFY
+[Field 5]
+Type=Label
+Left=10
+Top=100
+Right=290
+Bottom=110
+Text=###TEXT_EXTERNAL_FOLDER_INFO###
index ab7935568c3ba31e8907a9f27959720cda305b54..a6c24205416f30ea972fe4b614678b3c941b9bbb 100644 (file)
@@ -1,18 +1,18 @@
-[Settings]\r
-NumFields=2\r
-\r
-[Field 1]\r
-Type=Label\r
-Left=0\r
-Top=0\r
-Right=300\r
-Bottom=40\r
-Text=###TEXT_LANGUAGE_INFO###\r
-\r
-[Field 2]\r
-Type=DropList\r
-Left=0\r
-Top=40\r
-Right=110\r
-Bottom=140\r
-ListItems=\r
+[Settings]
+NumFields=2
+
+[Field 1]
+Type=Label
+Left=0
+Top=0
+Right=300
+Bottom=40
+Text=###TEXT_LANGUAGE_INFO###
+
+[Field 2]
+Type=DropList
+Left=0
+Top=40
+Right=110
+Bottom=140
+ListItems=
index 763d92ccbba9947743b6b58f836070bf8b2992d6..20546a079288bfef8638ed0772e8000605b6666b 100644 (file)
@@ -1,18 +1,18 @@
-[Settings]\r
-NumFields=2\r
-\r
-[Field 1]\r
-Type=Label\r
-Left=0\r
-Top=0\r
-Right=300\r
-Bottom=60\r
-Text=###TEXT_REINSTALL_INFO###\r
-\r
-[Field 2]\r
-Type=CheckBox\r
-Left=20\r
-Top=60\r
-Right=300\r
-Bottom=69\r
-Text=###TEXT_REINSTALL_ENABLE###\r
+[Settings]
+NumFields=2
+
+[Field 1]
+Type=Label
+Left=0
+Top=0
+Right=300
+Bottom=60
+Text=###TEXT_REINSTALL_INFO###
+
+[Field 2]
+Type=CheckBox
+Left=20
+Top=60
+Right=300
+Bottom=69
+Text=###TEXT_REINSTALL_ENABLE###
index 45a788b268a1037492492b8789b3e53005efa269..1f2ff78596a510c39276b5ff587875d7e91014fc 100644 (file)
@@ -1,27 +1,27 @@
-[Settings]\r
-NumFields=3\r
-\r
-[Field 1]\r
-Type=Label\r
-Left=0\r
-Top=0\r
-Right=300\r
-Bottom=50\r
-Text=###TEXT_USER_INFO###\r
-\r
-[Field 3]\r
-Type=RadioButton\r
-Left=20\r
-Top=70\r
-Right=300\r
-Bottom=81\r
-Text=###TEXT_USER_CURRENT###\r
-State=\r
-[Field 2]\r
-Type=RadioButton\r
-Left=20\r
-Top=50\r
-Right=300\r
-Bottom=61\r
-Text=###TEXT_USER_ALL#\r
-State=\r
+[Settings]
+NumFields=3
+
+[Field 1]
+Type=Label
+Left=0
+Top=0
+Right=300
+Bottom=50
+Text=###TEXT_USER_INFO###
+
+[Field 3]
+Type=RadioButton
+Left=20
+Top=70
+Right=300
+Bottom=81
+Text=###TEXT_USER_CURRENT###
+State=
+[Field 2]
+Type=RadioButton
+Left=20
+Top=50
+Right=300
+Bottom=61
+Text=###TEXT_USER_ALL#
+State=
index 4371d6df7817ec131ee75ce6e54bae4fc2bb9521..ca478f9222af2871e56f9866ea71704775a946cb 100644 (file)
@@ -1,19 +1,19 @@
-[Settings]\r
-NumFields=2\r
-\r
-[Field 1]\r
-Type=Label\r
-Left=0\r
-Top=0\r
-Right=300\r
-Bottom=60\r
-Text=###TEXT_VIEWER_INFO###\r
-\r
-[Field 2]\r
-Type=CheckBox\r
-Left=20\r
-Top=60\r
-Right=300\r
-Bottom=69\r
-Text=###TEXT_VIEWER_DOWNLOAD###\r
-State=1\r
+[Settings]
+NumFields=2
+
+[Field 1]
+Type=Label
+Left=0
+Top=0
+Right=300
+Bottom=60
+Text=###TEXT_VIEWER_INFO###
+
+[Field 2]
+Type=CheckBox
+Left=20
+Top=60
+Right=300
+Bottom=69
+Text=###TEXT_VIEWER_DOWNLOAD###
+State=1
index 85d887600b159d06556741e1d2abf00a55aa71ef..a45d28203171b33284a5f265ef2edc1667870ebc 100644 (file)
-/*\r
-\r
-Declarations\r
-\r
-*/\r
-\r
-!include "settings.user.nsh"\r
-!include "settings.nsh"\r
-\r
-;--------------------------------\r
-;Defines based on settings\r
-\r
-!ifndef SETUPTYPE_BUNDLE\r
-  !define SETUPTYPE_NAME DOWNLOAD\r
-!else\r
-  !define SETUPTYPE_NAME INSTALL\r
-!endif\r
-\r
-;--------------------------------\r
-;Standard header files\r
-\r
-!include "MUI.nsh"\r
-!include "LogicLib.nsh"\r
-!include "StrFunc.nsh"\r
-!include "FileFunc.nsh"\r
-!include "WordFunc.nsh"\r
-!include "Sections.nsh"\r
-!include "WinVer.nsh"\r
-\r
-;--------------------------------\r
-;Windows constants\r
-\r
-!define SHCNE_ASSOCCHANGED 0x08000000\r
-!define SHCNF_IDLIST 0x0000\r
-\r
-;--------------------------------\r
-;Reserve Files\r
-;These files should come first in the compressed data (for faster GUI)\r
-\r
-ReserveFile "${NSISDIR}\Plugins\UserInfo.dll"\r
-ReserveFile "dialogs\user.ini"\r
-ReserveFile "dialogs\external.ini"\r
-ReserveFile "dialogs\viewer.ini"\r
-ReserveFile "dialogs\langselect.ini"\r
-!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS\r
-ReserveFile "${FILES_DVIPOST_PKG}\dvipost.sty"\r
-\r
-;--------------------------------\r
-;Variables\r
-\r
-Var AdminOrPowerUser\r
-Var CurrentUserInstall\r
-\r
-Var PathLaTeX\r
-Var PathImageMagick\r
-Var PathGhostscript\r
-Var PathViewer\r
-\r
-Var SetupLaTeX\r
-Var SetupImageMagick\r
-Var SetupGhostscript\r
-Var SetupViewer\r
-\r
-Var SizeLaTeX\r
-Var SizeImageMagick\r
-Var SizeGhostscript\r
-Var SizeViewer\r
-\r
-Var LangName\r
-Var LangISOCode\r
-\r
-Var AspellHive\r
-  \r
-;--------------------------------\r
-;Include standard functions\r
-\r
-!insertmacro FUNCTION_STRING_StrStr\r
-\r
-!insertmacro GetParent\r
-!insertmacro VersionCompare\r
-!insertmacro WordFind2X\r
-\r
-;--------------------------------\r
-;Macros  \r
-\r
-!macro ReDef NAME VALUE\r
-\r
-  ;Redefine a pre-processor definition\r
-\r
-  !ifdef `${NAME}`\r
-    !undef `${NAME}`\r
-  !endif\r
-\r
-  !define `${NAME}` `${VALUE}`\r
-\r
-!macroend\r
-  \r
-!macro CallFunc FUNCTION INPUT VAROUT\r
-  \r
-  ;Calls a function that modifies a single value on the stack\r
-\r
-  Push ${INPUT}\r
-    Call ${FUNCTION}\r
-  Pop ${VAROUT}\r
-\r
-!macroend\r
-\r
-;--------------------------------\r
-;LyX installer header files  \r
-\r
-!include "include\init.nsh"\r
-!include "include\windows.nsh"\r
-!include "include\lang.nsh"\r
-!include "include\gui.nsh"\r
-!include "include\detection.nsh"\r
-!include "include\filelists.nsh"\r
+/*
+
+Declarations
+
+*/
+
+!include "settings.user.nsh"
+!include "settings.nsh"
+
+;--------------------------------
+;Defines based on settings
+
+!ifndef SETUPTYPE_BUNDLE
+  !define SETUPTYPE_NAME DOWNLOAD
+!else
+  !define SETUPTYPE_NAME INSTALL
+!endif
+
+;--------------------------------
+;Standard header files
+
+!include "MUI.nsh"
+!include "LogicLib.nsh"
+!include "StrFunc.nsh"
+!include "FileFunc.nsh"
+!include "WordFunc.nsh"
+!include "Sections.nsh"
+!include "WinVer.nsh"
+
+;--------------------------------
+;Windows constants
+
+!define SHCNE_ASSOCCHANGED 0x08000000
+!define SHCNF_IDLIST 0x0000
+
+;--------------------------------
+;Reserve Files
+;These files should come first in the compressed data (for faster GUI)
+
+ReserveFile "${NSISDIR}\Plugins\UserInfo.dll"
+ReserveFile "dialogs\user.ini"
+ReserveFile "dialogs\external.ini"
+ReserveFile "dialogs\viewer.ini"
+ReserveFile "dialogs\langselect.ini"
+!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
+ReserveFile "${FILES_DVIPOST_PKG}\dvipost.sty"
+
+;--------------------------------
+;Variables
+
+Var AdminOrPowerUser
+Var CurrentUserInstall
+
+Var PathLaTeX
+Var PathImageMagick
+Var PathGhostscript
+Var PathViewer
+
+Var SetupLaTeX
+Var SetupImageMagick
+Var SetupGhostscript
+Var SetupViewer
+
+Var SizeLaTeX
+Var SizeImageMagick
+Var SizeGhostscript
+Var SizeViewer
+
+Var LangName
+Var LangISOCode
+
+Var AspellHive
+  
+;--------------------------------
+;Include standard functions
+
+!insertmacro FUNCTION_STRING_StrStr
+
+!insertmacro GetParent
+!insertmacro VersionCompare
+!insertmacro WordFind2X
+
+;--------------------------------
+;Macros  
+
+!macro ReDef NAME VALUE
+
+  ;Redefine a pre-processor definition
+
+  !ifdef `${NAME}`
+    !undef `${NAME}`
+  !endif
+
+  !define `${NAME}` `${VALUE}`
+
+!macroend
+  
+!macro CallFunc FUNCTION INPUT VAROUT
+  
+  ;Calls a function that modifies a single value on the stack
+
+  Push ${INPUT}
+    Call ${FUNCTION}
+  Pop ${VAROUT}
+
+!macroend
+
+;--------------------------------
+;LyX installer header files  
+
+!include "include\init.nsh"
+!include "include\windows.nsh"
+!include "include\lang.nsh"
+!include "include\gui.nsh"
+!include "include\detection.nsh"
+!include "include\filelists.nsh"
index 757ec58d2c2c797f16e82ff3c1ca8421bf6d2d97..6b4860e9f58df4f5c7b444ff4f40b0e326190879 100644 (file)
-/*\r
-\r
-Detection functions for all components\r
-\r
-*/\r
-\r
-;--------------------------------\r
-;Macros\r
-\r
-!macro SearchMiKTeX25\r
-\r
-  ;Detect location of MiKTeX installation using initexmf\r
-  \r
-  Push $R0\r
-  \r
-  nsExec::ExecToStack "initexmf.exe --report"\r
-  Pop $R0 ;Return value\r
-  Pop $R0 ;Output\r
-  \r
-  ${WordFind2X} $R0 "BinDir: " "$\r" "+1" $PathLaTeX\r
-  \r
-  Pop $R0\r
-\r
-!macroend\r
-\r
-!macro SearchMiKTeX24 ROOTKEY\r
-\r
-  ReadRegStr $PathLaTeX ${ROOTKEY} "Software\MiK\MiKTeX\CurrentVersion\MiKTeX" "Install Root"\r
-  \r
-  ${if} $PathLaTeX != ""\r
-    !insertmacro callfunc TrimBackslash $PathLaTeX $PathLaTeX ;Just in case it's installed in a root directory\r
-    StrCpy $PathLaTeX "$PathLaTeX\miktex\bin"\r
-  ${endif}\r
-  \r
-!macroend\r
-\r
-!macro IfKeyExists ROOT MAIN_KEY KEY\r
-\r
-  Push $R0\r
-  Push $R1\r
\r
-  !define Index 'Line${__LINE__}'\r
\r
-  StrCpy $R1 0\r
\r
-  "${Index}-Loop:"\r
-  ;Check for key\r
-  EnumRegKey $R0 ${ROOT} "${MAIN_KEY}" "$R1"\r
-  StrCmp $R0 "" "${Index}-False"\r
-  IntOp $R1 $R1 + 1\r
-  StrCmp $R0 "${KEY}" "${Index}-True" "${Index}-Loop"\r
\r
-  "${Index}-True:"\r
-  ;Found\r
-  Push ${TRUE}\r
-  Goto "${Index}-End"\r
\r
-  "${Index}-False:"\r
-  ;Not found\r
-  Push ${FALSE}\r
-  goto "${Index}-End"\r
\r
-  "${Index}-End:"\r
-  !undef Index\r
-  \r
-  Exch 2\r
-  Pop $R0\r
-  Pop $R1\r
-\r
-!macroend\r
-\r
-;--------------------------------\r
-;Functions\r
-\r
-Function SearchAll\r
-\r
-  Call SearchLaTeX\r
-  Call SearchGhostscript\r
-  Call SearchImageMagick\r
-  \r
-  IfSilent +2\r
-    Call SearchViewer\r
-\r
-FunctionEnd\r
-\r
-Function TrimBackslash\r
-\r
-  ;Trim a trailing backslash of a directory\r
-\r
-  Exch $R0\r
-  Push $R1\r
-  \r
-  StrCpy $R1 $R0 1 -1\r
-  \r
-  ${if} $R1 == "\"\r
-    StrLen $R1 $R0\r
-    IntOp $R1 $R1 - 1\r
-    StrCpy $R0 $R0 $R1\r
-  ${endif}\r
-  \r
-  Pop $R1\r
-  Exch $R0\r
-  \r
-FunctionEnd\r
-\r
-Function GetPathPrefix\r
-\r
-  Push $R0\r
-\r
-  StrCpy $R0 "$INSTDIR\bin;$INSTDIR\python"\r
-  \r
-  ${if} $PathLaTeX != ""\r
-    StrCpy $R0 "$R0;$PathLaTeX"\r
-  ${endif}\r
-  \r
-  ${if} $PathGhostscript != ""\r
-    StrCpy $R0 "$R0;$PathGhostscript"\r
-  ${endif}\r
-  \r
-  ${if} $PathImageMagick != ""\r
-    StrCpy $R0 "$R0;$PathImageMagick"\r
-  ${endif}\r
-  \r
-  Exch $R0\r
-  \r
-FunctionEnd\r
-\r
-Function SearchViewer\r
-\r
-  Push $R0\r
-  Push $R1\r
-\r
-  !insertmacro CallFunc DetectViewerByExtension "pdf" $R0\r
-  !insertmacro CallFunc DetectViewerByExtension "ps" $R1\r
-\r
-  StrCpy $PathViewer ""\r
-  \r
-  ${if} $R0 != ""\r
-    ${if} $R1 != ""\r
-      StrCpy $PathViewer "associated"\r
-    ${endif}      \r
-  ${endif}\r
-  \r
-  Pop $R1\r
-  Pop $R0\r
-  \r
-FunctionEnd  \r
-\r
-Function DetectViewerByExtension\r
-\r
-  ;Input on stack: file extension without dot\r
-\r
-  Exch $R0\r
-  Push $R1\r
-  Push $R2\r
-  \r
-  InitPluginsDir\r
-  \r
-  StrCpy $R1 "$PLUGINSDIR\ViewerDetect.$R0"\r
-  FileOpen $R2 $R1 w\r
-  FileClose $R2\r
-  \r
-  StrCpy $R0 ""\r
-\r
-  System::Call "shell32::FindExecutableA(t R1, n, t .R0)"\r
-  \r
-  Delete $R1\r
-  \r
-  Pop $R2\r
-  Pop $R1\r
-  Exch $R0\r
-  \r
-FunctionEnd\r
-\r
-Function SearchLaTeX\r
-\r
-  ;Search where MikTeX is installed\r
-  \r
-  !insertmacro SearchMiKTeX25\r
-  \r
-  ${unless} ${FileExists} "$PathLaTeX\${BIN_LATEX}"\r
-    !insertmacro SearchMiKTeX24 HKCU\r
-  ${endif}\r
-\r
-  ${unless} ${FileExists} "$PathLaTeX\${BIN_LATEX}"\r
-    !insertmacro SearchMiKTeX24 HKLM\r
-  ${endif}\r
-\r
-  ${unless} ${FileExists} "$PathLaTeX\${BIN_LATEX}"\r
-    StrCpy $PathLatex ""\r
-  ${endif}\r
-\r
-FunctionEnd\r
-\r
-Function SearchLaTeXLocalRoot\r
-\r
-  ;Search for the MikTeX local root\r
-  ;Returns value on stack\r
-\r
-  Push $R0\r
-  \r
-  ;MikTeX 2.5\r
-  \r
-  !insertmacro IfKeyExists HKCU "Software\MiKTeX.org\MiKTeX" "2.5"\r
-  Pop $R0\r
-  \r
-  ${if} $R0 == ${FALSE}\r
-    !insertmacro IfKeyExists HKLM "Software\MiKTeX.org\MiKTeX" "2.5"\r
-    Pop $R0\r
-  ${endif}\r
-  \r
-  ${if} $R0 == ${TRUE}\r
-    StrCpy $R0 "$APPDATA\MiKTeX\2.5"\r
-  ${else}\r
-  \r
-    ;MiKTeX 2.4\r
-    \r
-    ReadRegStr $R0 HKCU "Software\MiK\MiKTeX\CurrentVersion\MiKTeX" "Local Root"\r
-    \r
-    ${unless} ${FileExists} $R0\r
-      ReadRegStr $R0 HKLM "Software\MiK\MiKTeX\CurrentVersion\MiKTeX" "Local Root"\r
-    ${endif}\r
-    \r
-  ${endif}\r
-  \r
-  Exch $R0\r
-\r
-FunctionEnd\r
-\r
-Function SearchGhostscript\r
-\r
-  ;Search where Ghostscript is installed\r
-  \r
-  Push $R0 ;Temp\r
-  Push $R1 ;Counter\r
-  Push $R2 ;Enum return\r
-  Push $R3 ;AFPL version\r
-  Push $R4 ;GPL version\r
-\r
-  StrCpy $R3 ""\r
-  StrCpy $R4 ""\r
-\r
-  ;Check the latest version of AFPL Ghostscript installed\r
-  \r
-  StrCpy $R1 0\r
-  \r
-  ${do}\r
-  \r
-    EnumRegKey $R2 HKLM "Software\AFPL Ghostscript" $R1\r
-    \r
-    ${if} $R2 != ""\r
-      ${VersionCompare} $R2 $R3 $R0\r
-      ${if} $R0 == "1"\r
-        StrCpy $R3 $R2\r
-      ${endif}\r
-      IntOp $R1 $R1 + 1\r
-    ${endif}\r
-    \r
-  ${loopuntil} $R2 == ""\r
-    \r
-  ;The same for GPL Ghostscript\r
-    \r
-  StrCpy $R1 0\r
-  \r
-  ${do}\r
-\r
-    EnumRegKey $R2 HKLM "Software\GPL Ghostscript" $R1\r
-    \r
-    ${if} $R2 != ""\r
-      ${VersionCompare} $R2 $R4 $R0\r
-      ${if} $R0 == "1"\r
-        StrCpy $R4 $R2\r
-      ${endif}\r
-      IntOp $R1 $R1 + 1\r
-    ${endif}    \r
-  \r
-  ${loopuntil} $R2 == ""  \r
-  \r
-  ;Take the latest one\r
-  ${VersionCompare} $R3 $R4 $R0\r
-\r
-  ${if} $R0 == "1"\r
-    ;AFPL is newer\r
-    ReadRegStr $PathGhostscript HKLM "Software\AFPL Ghostscript\$R3" "GS_DLL"\r
-  ${else}\r
-    ;GPL is newer or equal\r
-    ReadRegStr $PathGhostscript HKLM "Software\GPL Ghostscript\$R4" "GS_DLL"\r
-  ${endif}\r
-  \r
-  ;Trim the DLL filename to get the path\r
-  ${GetParent} $PathGhostscript $PathGhostscript\r
-  \r
-  ${unless} ${FileExists} "$PathGhostscript\${BIN_GHOSTSCRIPT}"\r
-    StrCpy $PathGhostscript ""  \r
-  ${endif}\r
-    \r
-  Pop $R4\r
-  Pop $R3\r
-  Pop $R2\r
-  Pop $R1\r
-  Pop $R0\r
-  \r
-FunctionEnd\r
-\r
-Function SearchImageMagick\r
-\r
-  ;Search where ImageMagick is installed\r
-  ReadRegStr $PathImageMagick HKLM "Software\ImageMagick\Current" "BinPath"\r
-  \r
-  ${unless} ${FileExists} "$PathImageMagick\${BIN_IMAGEMAGICK}"\r
-    StrCpy $PathImageMagick ""  \r
-  ${endif}\r
-\r
+/*
+
+Detection functions for all components
+
+*/
+
+;--------------------------------
+;Macros
+
+!macro SearchMiKTeX25
+
+  ;Detect location of MiKTeX installation using initexmf
+  
+  Push $R0
+  
+  nsExec::ExecToStack "initexmf.exe --report"
+  Pop $R0 ;Return value
+  Pop $R0 ;Output
+  
+  ${WordFind2X} $R0 "BinDir: " "$\r" "+1" $PathLaTeX
+  
+  Pop $R0
+
+!macroend
+
+!macro SearchMiKTeX24 ROOTKEY
+
+  ReadRegStr $PathLaTeX ${ROOTKEY} "Software\MiK\MiKTeX\CurrentVersion\MiKTeX" "Install Root"
+  
+  ${if} $PathLaTeX != ""
+    !insertmacro callfunc TrimBackslash $PathLaTeX $PathLaTeX ;Just in case it's installed in a root directory
+    StrCpy $PathLaTeX "$PathLaTeX\miktex\bin"
+  ${endif}
+  
+!macroend
+
+!macro IfKeyExists ROOT MAIN_KEY KEY
+
+  Push $R0
+  Push $R1
+  !define Index 'Line${__LINE__}'
+  StrCpy $R1 0
+  "${Index}-Loop:"
+  ;Check for key
+  EnumRegKey $R0 ${ROOT} "${MAIN_KEY}" "$R1"
+  StrCmp $R0 "" "${Index}-False"
+  IntOp $R1 $R1 + 1
+  StrCmp $R0 "${KEY}" "${Index}-True" "${Index}-Loop"
+  "${Index}-True:"
+  ;Found
+  Push ${TRUE}
+  Goto "${Index}-End"
+  "${Index}-False:"
+  ;Not found
+  Push ${FALSE}
+  goto "${Index}-End"
+  "${Index}-End:"
+  !undef Index
+  
+  Exch 2
+  Pop $R0
+  Pop $R1
+
+!macroend
+
+;--------------------------------
+;Functions
+
+Function SearchAll
+
+  Call SearchLaTeX
+  Call SearchGhostscript
+  Call SearchImageMagick
+  
+  IfSilent +2
+    Call SearchViewer
+
+FunctionEnd
+
+Function TrimBackslash
+
+  ;Trim a trailing backslash of a directory
+
+  Exch $R0
+  Push $R1
+  
+  StrCpy $R1 $R0 1 -1
+  
+  ${if} $R1 == "\"
+    StrLen $R1 $R0
+    IntOp $R1 $R1 - 1
+    StrCpy $R0 $R0 $R1
+  ${endif}
+  
+  Pop $R1
+  Exch $R0
+  
+FunctionEnd
+
+Function GetPathPrefix
+
+  Push $R0
+
+  StrCpy $R0 "$INSTDIR\bin;$INSTDIR\python"
+  
+  ${if} $PathLaTeX != ""
+    StrCpy $R0 "$R0;$PathLaTeX"
+  ${endif}
+  
+  ${if} $PathGhostscript != ""
+    StrCpy $R0 "$R0;$PathGhostscript"
+  ${endif}
+  
+  ${if} $PathImageMagick != ""
+    StrCpy $R0 "$R0;$PathImageMagick"
+  ${endif}
+  
+  Exch $R0
+  
+FunctionEnd
+
+Function SearchViewer
+
+  Push $R0
+  Push $R1
+
+  !insertmacro CallFunc DetectViewerByExtension "pdf" $R0
+  !insertmacro CallFunc DetectViewerByExtension "ps" $R1
+
+  StrCpy $PathViewer ""
+  
+  ${if} $R0 != ""
+    ${if} $R1 != ""
+      StrCpy $PathViewer "associated"
+    ${endif}      
+  ${endif}
+  
+  Pop $R1
+  Pop $R0
+  
+FunctionEnd  
+
+Function DetectViewerByExtension
+
+  ;Input on stack: file extension without dot
+
+  Exch $R0
+  Push $R1
+  Push $R2
+  
+  InitPluginsDir
+  
+  StrCpy $R1 "$PLUGINSDIR\ViewerDetect.$R0"
+  FileOpen $R2 $R1 w
+  FileClose $R2
+  
+  StrCpy $R0 ""
+
+  System::Call "shell32::FindExecutableA(t R1, n, t .R0)"
+  
+  Delete $R1
+  
+  Pop $R2
+  Pop $R1
+  Exch $R0
+  
+FunctionEnd
+
+Function SearchLaTeX
+
+  ;Search where MikTeX is installed
+  
+  !insertmacro SearchMiKTeX25
+  
+  ${unless} ${FileExists} "$PathLaTeX\${BIN_LATEX}"
+    !insertmacro SearchMiKTeX24 HKCU
+  ${endif}
+
+  ${unless} ${FileExists} "$PathLaTeX\${BIN_LATEX}"
+    !insertmacro SearchMiKTeX24 HKLM
+  ${endif}
+
+  ${unless} ${FileExists} "$PathLaTeX\${BIN_LATEX}"
+    StrCpy $PathLatex ""
+  ${endif}
+
+FunctionEnd
+
+Function SearchLaTeXLocalRoot
+
+  ;Search for the MikTeX local root
+  ;Returns value on stack
+
+  Push $R0
+  
+  ;MikTeX 2.5
+  
+  !insertmacro IfKeyExists HKCU "Software\MiKTeX.org\MiKTeX" "2.5"
+  Pop $R0
+  
+  ${if} $R0 == ${FALSE}
+    !insertmacro IfKeyExists HKLM "Software\MiKTeX.org\MiKTeX" "2.5"
+    Pop $R0
+  ${endif}
+  
+  ${if} $R0 == ${TRUE}
+    StrCpy $R0 "$APPDATA\MiKTeX\2.5"
+  ${else}
+  
+    ;MiKTeX 2.4
+    
+    ReadRegStr $R0 HKCU "Software\MiK\MiKTeX\CurrentVersion\MiKTeX" "Local Root"
+    
+    ${unless} ${FileExists} $R0
+      ReadRegStr $R0 HKLM "Software\MiK\MiKTeX\CurrentVersion\MiKTeX" "Local Root"
+    ${endif}
+    
+  ${endif}
+  
+  Exch $R0
+
+FunctionEnd
+
+Function SearchGhostscript
+
+  ;Search where Ghostscript is installed
+  
+  Push $R0 ;Temp
+  Push $R1 ;Counter
+  Push $R2 ;Enum return
+  Push $R3 ;AFPL version
+  Push $R4 ;GPL version
+
+  StrCpy $R3 ""
+  StrCpy $R4 ""
+
+  ;Check the latest version of AFPL Ghostscript installed
+  
+  StrCpy $R1 0
+  
+  ${do}
+  
+    EnumRegKey $R2 HKLM "Software\AFPL Ghostscript" $R1
+    
+    ${if} $R2 != ""
+      ${VersionCompare} $R2 $R3 $R0
+      ${if} $R0 == "1"
+        StrCpy $R3 $R2
+      ${endif}
+      IntOp $R1 $R1 + 1
+    ${endif}
+    
+  ${loopuntil} $R2 == ""
+    
+  ;The same for GPL Ghostscript
+    
+  StrCpy $R1 0
+  
+  ${do}
+
+    EnumRegKey $R2 HKLM "Software\GPL Ghostscript" $R1
+    
+    ${if} $R2 != ""
+      ${VersionCompare} $R2 $R4 $R0
+      ${if} $R0 == "1"
+        StrCpy $R4 $R2
+      ${endif}
+      IntOp $R1 $R1 + 1
+    ${endif}    
+  
+  ${loopuntil} $R2 == ""  
+  
+  ;Take the latest one
+  ${VersionCompare} $R3 $R4 $R0
+
+  ${if} $R0 == "1"
+    ;AFPL is newer
+    ReadRegStr $PathGhostscript HKLM "Software\AFPL Ghostscript\$R3" "GS_DLL"
+  ${else}
+    ;GPL is newer or equal
+    ReadRegStr $PathGhostscript HKLM "Software\GPL Ghostscript\$R4" "GS_DLL"
+  ${endif}
+  
+  ;Trim the DLL filename to get the path
+  ${GetParent} $PathGhostscript $PathGhostscript
+  
+  ${unless} ${FileExists} "$PathGhostscript\${BIN_GHOSTSCRIPT}"
+    StrCpy $PathGhostscript ""  
+  ${endif}
+    
+  Pop $R4
+  Pop $R3
+  Pop $R2
+  Pop $R1
+  Pop $R0
+  
+FunctionEnd
+
+Function SearchImageMagick
+
+  ;Search where ImageMagick is installed
+  ReadRegStr $PathImageMagick HKLM "Software\ImageMagick\Current" "BinPath"
+  
+  ${unless} ${FileExists} "$PathImageMagick\${BIN_IMAGEMAGICK}"
+    StrCpy $PathImageMagick ""  
+  ${endif}
+
 FunctionEnd
\ No newline at end of file
index d3de51349f4fb899b2ae64e1e7ebd6df5d0ffe91..cb225ef22b864bc8e5b776e539abd9ce4c258a00 100644 (file)
-/*\r
-\r
-Lists of files to include in the installer\r
-\r
-*/\r
-\r
-!define FILE '${COMMAND} "${DIRECTORY}'\r
-\r
-!macro FileListLyXBin COMMAND DIRECTORY\r
-\r
-  ${FILE}tex2lyx.exe"\r
-\r
-!macroend\r
-\r
-!macro FileListLyXIcons COMMAND DIRECTORY\r
-\r
-  ${FILE}lyx_32x32.ico"\r
-  ${FILE}lyx_doc_32x32.ico"\r
-\r
-!macroend\r
-\r
-!macro FileListLyXScriptsCleanDVI COMMAND DIRECTORY\r
-\r
-  ${FILE}clean_dvi.py"\r
-\r
-!macroend\r
-\r
-!macro FileListQtBin COMMAND DIRECTORY\r
-\r
-  ${FILE}QtCore4.dll"\r
-  ${FILE}QtGui4.dll"  \r
-\r
-!macroend\r
-\r
-!macro FileListMSVCBin COMMAND DIRECTORY\r
-\r
-  ${FILE}msvcr80.dll"\r
-  ${FILE}msvcp80.dll"\r
-  \r
-!macroend\r
-\r
-!macro FileListMSVCManifest COMMAND DIRECTORY\r
-\r
-  ${FILE}\Microsoft.VC80.CRT.manifest"\r
-  \r
-!macroend\r
-\r
-!macro FileListDllMSVCBin COMMAND DIRECTORY\r
-\r
-  ${FILE}iconv.dll"\r
-  ${FILE}intl.dll"\r
-  ${FILE}aspell.dll"\r
-  ${FILE}Aiksaurus.dll"\r
-  ${FILE}zlib1.dll"\r
-\r
-!macroend\r
-\r
-!macro FileListNetpbmBin COMMAND DIRECTORY\r
-\r
-  ${FILE}libnetpbm10.dll"\r
-  ${FILE}pnmcrop.exe"\r
-  \r
-!macroend\r
-\r
-!macro FileListDTLBin COMMAND DIRECTORY\r
-\r
-  ${FILE}dt2dv.exe"\r
-  ${FILE}dv2dt.exe"\r
-  \r
-!macroend\r
-\r
-!macro FileListDvipostBin COMMAND DIRECTORY\r
-\r
-  ${FILE}pplatex.exe"\r
-  \r
-!macroend\r
-\r
-!macro FileListPDFToolsBin COMMAND DIRECTORY\r
-\r
-  ${FILE}pdfopen.exe"\r
-  ${FILE}pdfclose.exe"\r
-  \r
-!macroend\r
-\r
-!macro FileListPDFViewBin COMMAND DIRECTORY\r
-\r
-  ${FILE}pdfview.exe"\r
-\r
-!macroend\r
-\r
-!macro FileListFonts COMMAND DIRECTORY\r
-\r
-  ${FILE}cmex10.ttf"\r
-  ${FILE}cmmi10.ttf"\r
-  ${FILE}cmr10.ttf"\r
-  ${FILE}cmsy10.ttf"\r
-  ${FILE}eufm10.ttf"\r
-  ${FILE}msam10.ttf"\r
-  ${FILE}msbm10.ttf"\r
-  ${FILE}wasy10.ttf"\r
-  \r
-!macroend\r
-\r
-!macro FileListPythonBin COMMAND DIRECTORY\r
-\r
-  ${FILE}python.exe"\r
-\r
-!macroend\r
-\r
-!macro FileListPythonDll COMMAND DIRECTORY\r
-\r
-  ${FILE}python25.dll"\r
-\r
-!macroend\r
-\r
-!macro FileListUnicodeDll COMMAND DIRECTORY\r
-\r
-  ${FILE}unicodedata.pyd"\r
-\r
-!macroend\r
-\r
-!macro FileListPythonLib COMMAND DIRECTORY\r
-\r
-  ${FILE}UserDict.py"\r
-  ${FILE}codecs.py"\r
-  ${FILE}copy_reg.py"\r
-  ${FILE}fnmatch.py"\r
-  ${FILE}getopt.py"\r
-  ${FILE}glob.py"\r
-  ${FILE}gzip.py"\r
-  ${FILE}linecache.py"\r
-  ${FILE}locale.py"\r
-  ${FILE}ntpath.py"\r
-  ${FILE}os.py"\r
-  ${FILE}pipes.py"\r
-  ${FILE}posixpath.py"\r
-  ${FILE}random.py"\r
-  ${FILE}re.py"\r
-  ${FILE}shutil.py"\r
-  ${FILE}site.py"\r
-  ${FILE}sre.py"\r
-  ${FILE}sre_compile.py"\r
-  ${FILE}sre_constants.py"\r
-  ${FILE}sre_parse.py"\r
-  ${FILE}stat.py"\r
-  ${FILE}string.py"\r
-  ${FILE}struct.py"  \r
-  ${FILE}tempfile.py"\r
-  ${FILE}tempfile.py"\r
-  ${FILE}types.py"\r
-  ${FILE}warnings.py"\r
-\r
-!macroend\r
-\r
-!macro FileListPythonLibEncodings COMMAND DIRECTORY\r
-\r
-  ${FILE}aliases.py"\r
-  ${FILE}ascii.py"\r
-  ${FILE}base64_codec.py"\r
-  ${FILE}big5.py"\r
-  ${FILE}big5hkscs.py"\r
-  ${FILE}bz2_codec.py"\r
-  ${FILE}charmap.py"\r
-  ${FILE}cp037.py"\r
-  ${FILE}cp1006.py"\r
-  ${FILE}cp1026.py"\r
-  ${FILE}cp1140.py"\r
-  ${FILE}cp1250.py"\r
-  ${FILE}cp1251.py"\r
-  ${FILE}cp1252.py"\r
-  ${FILE}cp1253.py"\r
-  ${FILE}cp1254.py"\r
-  ${FILE}cp1255.py"\r
-  ${FILE}cp1256.py"\r
-  ${FILE}cp1257.py"\r
-  ${FILE}cp1258.py"\r
-  ${FILE}cp424.py"\r
-  ${FILE}cp437.py"\r
-  ${FILE}cp500.py"\r
-  ${FILE}cp737.py"\r
-  ${FILE}cp775.py"\r
-  ${FILE}cp850.py"\r
-  ${FILE}cp852.py"\r
-  ${FILE}cp855.py"\r
-  ${FILE}cp856.py"\r
-  ${FILE}cp857.py"\r
-  ${FILE}cp860.py"\r
-  ${FILE}cp861.py"\r
-  ${FILE}cp862.py"\r
-  ${FILE}cp863.py"\r
-  ${FILE}cp864.py"\r
-  ${FILE}cp865.py"\r
-  ${FILE}cp866.py"\r
-  ${FILE}cp869.py"\r
-  ${FILE}cp874.py"\r
-  ${FILE}cp875.py"\r
-  ${FILE}cp932.py"\r
-  ${FILE}cp949.py"\r
-  ${FILE}cp950.py"\r
-  ${FILE}euc_jisx0213.py"\r
-  ${FILE}euc_jis_2004.py"\r
-  ${FILE}euc_jp.py"\r
-  ${FILE}euc_kr.py"\r
-  ${FILE}gb18030.py"\r
-  ${FILE}gb2312.py"\r
-  ${FILE}gbk.py"\r
-  ${FILE}hex_codec.py"\r
-  ${FILE}hp_roman8.py"\r
-  ${FILE}hz.py"\r
-  ${FILE}idna.py"\r
-  ${FILE}iso2022_jp.py"\r
-  ${FILE}iso2022_jp_1.py"\r
-  ${FILE}iso2022_jp_2.py"\r
-  ${FILE}iso2022_jp_2004.py"\r
-  ${FILE}iso2022_jp_3.py"\r
-  ${FILE}iso2022_jp_ext.py"\r
-  ${FILE}iso2022_kr.py"\r
-  ${FILE}iso8859_1.py"\r
-  ${FILE}iso8859_10.py"\r
-  ${FILE}iso8859_11.py"\r
-  ${FILE}iso8859_13.py"\r
-  ${FILE}iso8859_14.py"\r
-  ${FILE}iso8859_15.py"\r
-  ${FILE}iso8859_16.py"\r
-  ${FILE}iso8859_2.py"\r
-  ${FILE}iso8859_3.py"\r
-  ${FILE}iso8859_4.py"\r
-  ${FILE}iso8859_5.py"\r
-  ${FILE}iso8859_6.py"\r
-  ${FILE}iso8859_7.py"\r
-  ${FILE}iso8859_8.py"\r
-  ${FILE}iso8859_9.py"\r
-  ${FILE}johab.py"\r
-  ${FILE}koi8_r.py"\r
-  ${FILE}koi8_u.py"\r
-  ${FILE}latin_1.py"\r
-  ${FILE}mac_arabic.py"\r
-  ${FILE}mac_centeuro.py"\r
-  ${FILE}mac_croatian.py"\r
-  ${FILE}mac_cyrillic.py"\r
-  ${FILE}mac_farsi.py"\r
-  ${FILE}mac_greek.py"\r
-  ${FILE}mac_iceland.py"\r
-  ${FILE}mac_latin2.py"\r
-  ${FILE}mac_roman.py"\r
-  ${FILE}mac_romanian.py"\r
-  ${FILE}mac_turkish.py"\r
-  ${FILE}mbcs.py"\r
-  ${FILE}palmos.py"\r
-  ${FILE}ptcp154.py"\r
-  ${FILE}punycode.py"\r
-  ${FILE}quopri_codec.py"\r
-  ${FILE}raw_unicode_escape.py"\r
-  ${FILE}rot_13.py"\r
-  ${FILE}shift_jis.py"\r
-  ${FILE}shift_jisx0213.py"\r
-  ${FILE}shift_jis_2004.py"\r
-  ${FILE}string_escape.py"\r
-  ${FILE}tis_620.py"\r
-  ${FILE}undefined.py"\r
-  ${FILE}unicode_escape.py"\r
-  ${FILE}unicode_internal.py"\r
-  ${FILE}utf_16.py"\r
-  ${FILE}utf_16_be.py"\r
-  ${FILE}utf_16_le.py"\r
-  ${FILE}utf_7.py"\r
-  ${FILE}utf_8.py"\r
-  ${FILE}utf_8_sig.py"\r
-  ${FILE}uu_codec.py"\r
-  ${FILE}zlib_codec.py"\r
-  ${FILE}__init__.py"\r
-  \r
-!macroend\r
-\r
-!macro FileListAiksaurusData COMMAND DIRECTORY\r
-\r
-  ${FILE}words.dat"\r
-  ${FILE}meanings.dat"\r
-  \r
-!macroend\r
-\r
-!macro FileListNSISPluginsStandard COMMAND DIRECTORY\r
-\r
-  ${FILE}System.dll"\r
-\r
-!macroend\r
-\r
-!macro FileListNSISPlugins COMMAND DIRECTORY\r
-\r
-  ${FILE}Console.dll"\r
-\r
-!macroend\r
+/*
+
+Lists of files to include in the installer
+
+*/
+
+!define FILE '${COMMAND} "${DIRECTORY}'
+
+!macro FileListLyXBin COMMAND DIRECTORY
+
+  ${FILE}tex2lyx.exe"
+
+!macroend
+
+!macro FileListLyXIcons COMMAND DIRECTORY
+
+  ${FILE}lyx_32x32.ico"
+  ${FILE}lyx_doc_32x32.ico"
+
+!macroend
+
+!macro FileListLyXScriptsCleanDVI COMMAND DIRECTORY
+
+  ${FILE}clean_dvi.py"
+
+!macroend
+
+!macro FileListQtBin COMMAND DIRECTORY
+
+  ${FILE}QtCore4.dll"
+  ${FILE}QtGui4.dll"  
+
+!macroend
+
+!macro FileListMSVCBin COMMAND DIRECTORY
+
+  ${FILE}msvcr80.dll"
+  ${FILE}msvcp80.dll"
+  
+!macroend
+
+!macro FileListMSVCManifest COMMAND DIRECTORY
+
+  ${FILE}\Microsoft.VC80.CRT.manifest"
+  
+!macroend
+
+!macro FileListDllMSVCBin COMMAND DIRECTORY
+
+  ${FILE}iconv.dll"
+  ${FILE}intl.dll"
+  ${FILE}aspell.dll"
+  ${FILE}Aiksaurus.dll"
+  ${FILE}zlib1.dll"
+
+!macroend
+
+!macro FileListNetpbmBin COMMAND DIRECTORY
+
+  ${FILE}libnetpbm10.dll"
+  ${FILE}pnmcrop.exe"
+  
+!macroend
+
+!macro FileListDTLBin COMMAND DIRECTORY
+
+  ${FILE}dt2dv.exe"
+  ${FILE}dv2dt.exe"
+  
+!macroend
+
+!macro FileListDvipostBin COMMAND DIRECTORY
+
+  ${FILE}pplatex.exe"
+  
+!macroend
+
+!macro FileListPDFToolsBin COMMAND DIRECTORY
+
+  ${FILE}pdfopen.exe"
+  ${FILE}pdfclose.exe"
+  
+!macroend
+
+!macro FileListPDFViewBin COMMAND DIRECTORY
+
+  ${FILE}pdfview.exe"
+
+!macroend
+
+!macro FileListFonts COMMAND DIRECTORY
+
+  ${FILE}cmex10.ttf"
+  ${FILE}cmmi10.ttf"
+  ${FILE}cmr10.ttf"
+  ${FILE}cmsy10.ttf"
+  ${FILE}eufm10.ttf"
+  ${FILE}msam10.ttf"
+  ${FILE}msbm10.ttf"
+  ${FILE}wasy10.ttf"
+  
+!macroend
+
+!macro FileListPythonBin COMMAND DIRECTORY
+
+  ${FILE}python.exe"
+
+!macroend
+
+!macro FileListPythonDll COMMAND DIRECTORY
+
+  ${FILE}python25.dll"
+
+!macroend
+
+!macro FileListUnicodeDll COMMAND DIRECTORY
+
+  ${FILE}unicodedata.pyd"
+
+!macroend
+
+!macro FileListPythonLib COMMAND DIRECTORY
+
+  ${FILE}UserDict.py"
+  ${FILE}codecs.py"
+  ${FILE}copy_reg.py"
+  ${FILE}fnmatch.py"
+  ${FILE}getopt.py"
+  ${FILE}glob.py"
+  ${FILE}gzip.py"
+  ${FILE}linecache.py"
+  ${FILE}locale.py"
+  ${FILE}ntpath.py"
+  ${FILE}os.py"
+  ${FILE}pipes.py"
+  ${FILE}posixpath.py"
+  ${FILE}random.py"
+  ${FILE}re.py"
+  ${FILE}shutil.py"
+  ${FILE}site.py"
+  ${FILE}sre.py"
+  ${FILE}sre_compile.py"
+  ${FILE}sre_constants.py"
+  ${FILE}sre_parse.py"
+  ${FILE}stat.py"
+  ${FILE}string.py"
+  ${FILE}struct.py"  
+  ${FILE}tempfile.py"
+  ${FILE}tempfile.py"
+  ${FILE}types.py"
+  ${FILE}warnings.py"
+
+!macroend
+
+!macro FileListPythonLibEncodings COMMAND DIRECTORY
+
+  ${FILE}aliases.py"
+  ${FILE}ascii.py"
+  ${FILE}base64_codec.py"
+  ${FILE}big5.py"
+  ${FILE}big5hkscs.py"
+  ${FILE}bz2_codec.py"
+  ${FILE}charmap.py"
+  ${FILE}cp037.py"
+  ${FILE}cp1006.py"
+  ${FILE}cp1026.py"
+  ${FILE}cp1140.py"
+  ${FILE}cp1250.py"
+  ${FILE}cp1251.py"
+  ${FILE}cp1252.py"
+  ${FILE}cp1253.py"
+  ${FILE}cp1254.py"
+  ${FILE}cp1255.py"
+  ${FILE}cp1256.py"
+  ${FILE}cp1257.py"
+  ${FILE}cp1258.py"
+  ${FILE}cp424.py"
+  ${FILE}cp437.py"
+  ${FILE}cp500.py"
+  ${FILE}cp737.py"
+  ${FILE}cp775.py"
+  ${FILE}cp850.py"
+  ${FILE}cp852.py"
+  ${FILE}cp855.py"
+  ${FILE}cp856.py"
+  ${FILE}cp857.py"
+  ${FILE}cp860.py"
+  ${FILE}cp861.py"
+  ${FILE}cp862.py"
+  ${FILE}cp863.py"
+  ${FILE}cp864.py"
+  ${FILE}cp865.py"
+  ${FILE}cp866.py"
+  ${FILE}cp869.py"
+  ${FILE}cp874.py"
+  ${FILE}cp875.py"
+  ${FILE}cp932.py"
+  ${FILE}cp949.py"
+  ${FILE}cp950.py"
+  ${FILE}euc_jisx0213.py"
+  ${FILE}euc_jis_2004.py"
+  ${FILE}euc_jp.py"
+  ${FILE}euc_kr.py"
+  ${FILE}gb18030.py"
+  ${FILE}gb2312.py"
+  ${FILE}gbk.py"
+  ${FILE}hex_codec.py"
+  ${FILE}hp_roman8.py"
+  ${FILE}hz.py"
+  ${FILE}idna.py"
+  ${FILE}iso2022_jp.py"
+  ${FILE}iso2022_jp_1.py"
+  ${FILE}iso2022_jp_2.py"
+  ${FILE}iso2022_jp_2004.py"
+  ${FILE}iso2022_jp_3.py"
+  ${FILE}iso2022_jp_ext.py"
+  ${FILE}iso2022_kr.py"
+  ${FILE}iso8859_1.py"
+  ${FILE}iso8859_10.py"
+  ${FILE}iso8859_11.py"
+  ${FILE}iso8859_13.py"
+  ${FILE}iso8859_14.py"
+  ${FILE}iso8859_15.py"
+  ${FILE}iso8859_16.py"
+  ${FILE}iso8859_2.py"
+  ${FILE}iso8859_3.py"
+  ${FILE}iso8859_4.py"
+  ${FILE}iso8859_5.py"
+  ${FILE}iso8859_6.py"
+  ${FILE}iso8859_7.py"
+  ${FILE}iso8859_8.py"
+  ${FILE}iso8859_9.py"
+  ${FILE}johab.py"
+  ${FILE}koi8_r.py"
+  ${FILE}koi8_u.py"
+  ${FILE}latin_1.py"
+  ${FILE}mac_arabic.py"
+  ${FILE}mac_centeuro.py"
+  ${FILE}mac_croatian.py"
+  ${FILE}mac_cyrillic.py"
+  ${FILE}mac_farsi.py"
+  ${FILE}mac_greek.py"
+  ${FILE}mac_iceland.py"
+  ${FILE}mac_latin2.py"
+  ${FILE}mac_roman.py"
+  ${FILE}mac_romanian.py"
+  ${FILE}mac_turkish.py"
+  ${FILE}mbcs.py"
+  ${FILE}palmos.py"
+  ${FILE}ptcp154.py"
+  ${FILE}punycode.py"
+  ${FILE}quopri_codec.py"
+  ${FILE}raw_unicode_escape.py"
+  ${FILE}rot_13.py"
+  ${FILE}shift_jis.py"
+  ${FILE}shift_jisx0213.py"
+  ${FILE}shift_jis_2004.py"
+  ${FILE}string_escape.py"
+  ${FILE}tis_620.py"
+  ${FILE}undefined.py"
+  ${FILE}unicode_escape.py"
+  ${FILE}unicode_internal.py"
+  ${FILE}utf_16.py"
+  ${FILE}utf_16_be.py"
+  ${FILE}utf_16_le.py"
+  ${FILE}utf_7.py"
+  ${FILE}utf_8.py"
+  ${FILE}utf_8_sig.py"
+  ${FILE}uu_codec.py"
+  ${FILE}zlib_codec.py"
+  ${FILE}__init__.py"
+  
+!macroend
+
+!macro FileListAiksaurusData COMMAND DIRECTORY
+
+  ${FILE}words.dat"
+  ${FILE}meanings.dat"
+  
+!macroend
+
+!macro FileListNSISPluginsStandard COMMAND DIRECTORY
+
+  ${FILE}System.dll"
+
+!macroend
+
+!macro FileListNSISPlugins COMMAND DIRECTORY
+
+  ${FILE}Console.dll"
+
+!macroend
index 6e7e8aee7b371df8e05621bd42a5dc212e6b47c9..76a2e343016e3aa9b0302ae76a2a5cf479aba34b 100644 (file)
-/*\r
-\r
-Installer User Interface\r
-\r
-*/\r
-\r
-;--------------------------------\r
-;General\r
-\r
-Name "${APP_NAME} ${APP_VERSION}"\r
-BrandingText " "\r
-\r
-;Default installation folder\r
-InstallDir "${SETUP_DEFAULT_DIRECTORY}"\r
-\r
-;--------------------------------\r
-;Interface settings\r
-\r
-!define MUI_ABORTWARNING\r
-!define MUI_ICON "${SETUP_ICON}"\r
-!define MUI_UNICON "${SETUP_ICON}"\r
-!define MUI_HEADERIMAGE\r
-!define MUI_HEADERIMAGE_BITMAP "${SETUP_HEADERIMAGE}"\r
-!define MUI_HEADERIMAGE_RIGHT\r
-!define MUI_WELCOMEFINISHPAGE_BITMAP "${SETUP_WIZARDIMAGE}"\r
-!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${SETUP_WIZARDIMAGE}"\r
-!define MUI_CUSTOMFUNCTION_GUIINIT InitInterface\r
-!define MUI_COMPONENTSPAGE_NODESC\r
-\r
-;--------------------------------\r
-;Pages\r
-\r
-;Installer\r
-\r
-!define MUI_WELCOMEPAGE_TITLE_3LINES\r
-!define MUI_WELCOMEPAGE_TEXT $(TEXT_WELCOME_${SETUPTYPE_NAME})\r
-!insertmacro MUI_PAGE_WELCOME\r
-!insertmacro MUI_PAGE_LICENSE "${FILES_LICENSE}"\r
-\r
-Page custom PageUser PageUserValidate\r
-Page custom PageReinstall PageReinstallValidate\r
-Page custom PageExternalLaTeX PageExternalLaTeXValidate\r
-Page custom PageExternalImageMagick PageExternalImageMagickValidate\r
-Page custom PageExternalGhostscript PageExternalGhostscriptValidate\r
-Page custom PageViewer PageViewerValidate\r
-Page custom PageLanguage PageLanguageValidate\r
-\r
-!define MUI_PAGE_HEADER_TEXT $(TEXT_DICT_TITLE)\r
-!define MUI_PAGE_HEADER_SUBTEXT $(TEXT_DICT_SUBTITLE)\r
-!define MUI_COMPONENTSPAGE_TEXT_TOP $(TEXT_DICT_TOP)\r
-!define MUI_COMPONENTSPAGE_TEXT_COMPLIST $(TEXT_DICT_LIST)\r
-!insertmacro MUI_PAGE_COMPONENTS ;For spell checker dictionaries\r
-\r
-!insertmacro MUI_PAGE_DIRECTORY\r
-!insertmacro MUI_PAGE_INSTFILES\r
-\r
-!define MUI_FINISHPAGE_RUN "$INSTDIR\${APP_RUN}"\r
-!define MUI_FINISHPAGE_SHOWREADME\r
-!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED\r
-!define MUI_FINISHPAGE_SHOWREADME_FUNCTION CreateDesktopShortcut\r
-!define MUI_FINISHPAGE_SHOWREADME_TEXT $(TEXT_FINISH_DESKTOP)\r
-!define MUI_FINISHPAGE_LINK $(TEXT_FINISH_WEBSITE)\r
-!define MUI_FINISHPAGE_LINK_LOCATION "http://www.lyx.org/"\r
-!define MUI_PAGE_CUSTOMFUNCTION_PRE CheckDesktopShortcut\r
-!insertmacro MUI_PAGE_FINISH\r
-\r
-;Uninstaller\r
-\r
-!define MUI_WELCOMEPAGE_TITLE_3LINES\r
-!define MUI_WELCOMEPAGE_TEXT $(UNTEXT_WELCOME)\r
-!insertmacro MUI_UNPAGE_WELCOME\r
-!insertmacro MUI_UNPAGE_CONFIRM\r
-!insertmacro MUI_UNPAGE_COMPONENTS\r
-!insertmacro MUI_UNPAGE_INSTFILES\r
-\r
-!insertmacro MUI_UNPAGE_FINISH\r
-\r
-;--------------------------------\r
-;Installer Languages\r
-\r
-!insertmacro IncludeLang "english"\r
-!insertmacro IncludeLang "french"\r
-!insertmacro IncludeLang "german"\r
-!insertmacro IncludeLang "italian"\r
-\r
-;--------------------------------\r
-;Version information\r
-\r
-VIProductVersion "${APP_VERSION_NUMBER}"\r
-VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "${APP_NAME}"\r
-VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "${APP_INFO}"\r
-VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${APP_VERSION}"\r
-VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "${APP_COPYRIGHT}"\r
-\r
-;--------------------------------\r
-;Macros\r
-\r
-!macro InitDialogExternal COMPONENT CURRENTUSER_POSSIBLE\r
-\r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 1" "Text" $(TEXT_EXTERNAL_${COMPONENT}_INFO_${SETUPTYPE_NAME})\r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 3" "Text" $(TEXT_EXTERNAL_${COMPONENT}_FOLDER)\r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 5" "Text" $(TEXT_EXTERNAL_${COMPONENT}_FOLDER_INFO)\r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 6" "Text" $(TEXT_EXTERNAL_${COMPONENT}_NONE)\r
-  \r
-  !if ${CURRENTUSER_POSSIBLE} == ${TRUE}\r
-    !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 2" "Text" "$(TEXT_EXTERNAL_${COMPONENT}_${SETUPTYPE_NAME})"\r
-  !else  \r
-    ${if} $AdminOrPowerUser == ${TRUE}\r
-      !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 2" "Text" "$(TEXT_EXTERNAL_${COMPONENT}_${SETUPTYPE_NAME})"\r
-    ${else}\r
-      !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 2" "Text" "$(TEXT_EXTERNAL_${COMPONENT}_${SETUPTYPE_NAME}) $(TEXT_EXTERNAL_NOPRIVILEDGES)"\r
-      !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 2" "Flags" "DISABLED"\r
-    ${endif}\r
-  !endif\r
-  \r
-!macroend\r
-\r
-!macro InitDialogExternalDir COMPONENT CURRENTUSER_POSSIBLE\r
-\r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 4" "State" $Path${COMPONENT}\r
-  \r
-  !if ${CURRENTUSER_POSSIBLE} == ${FALSE}\r
-    ${if} $AdminOrPowerUser == ${TRUE}\r
-  !endif\r
-  \r
-    ${if} $Path${COMPONENT} == ""\r
-      !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 2" "State" "1"\r
-    ${else}\r
-      !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 3" "State" "1"\r
-    ${endif}\r
-    \r
-  !if ${CURRENTUSER_POSSIBLE} == ${FALSE}\r
-    ${else}\r
-      !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 3" "State" "1"\r
-    ${endif}\r
-  !endif\r
-  \r
-!macroend\r
-\r
-!macro InitDialogLang VAR LANGNAME LANGISOCODE LANGID\r
-\r
-  StrCpy ${VAR} `${VAR}|${LANGNAME}`\r
-\r
-!macroend\r
-\r
-;--------------------------------\r
-;Functions\r
-\r
-Function InitDialogs\r
-\r
-  Push $R0\r
-\r
-  ;Extract dialogs\r
-  \r
-  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "dialogs\user.ini" "user.ini"\r
-  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "dialogs\reinstall.ini" "reinstall.ini"\r
-  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "dialogs\external.ini" "external_latex.ini"\r
-  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "dialogs\external.ini" "external_imagemagick.ini"\r
-  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "dialogs\external.ini" "external_ghostscript.ini"\r
-  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "dialogs\viewer.ini" "viewer.ini"\r
-  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "dialogs\langselect.ini" "langselect.ini"\r
-  \r
-  ;Write texts\r
-  \r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "user.ini" "Field 1" "Text" $(TEXT_USER_INFO)\r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "user.ini" "Field 2" "Text" $(TEXT_USER_ALL)\r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "user.ini" "Field 3" "Text" $(TEXT_USER_CURRENT)\r
-  \r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "reinstall.ini" "Field 1" "Text" $(TEXT_REINSTALL_INFO)\r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "reinstall.ini" "Field 2" "Text" $(TEXT_REINSTALL_ENABLE)\r
-  \r
-  !insertmacro InitDialogExternal latex ${TRUE}\r
-  !insertmacro InitDialogExternal imagemagick ${FALSE}\r
-  !insertmacro InitDialogExternal ghostscript ${FALSE}\r
-  \r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "viewer.ini" "Field 1" "Text" $(TEXT_VIEWER_INFO_${SETUPTYPE_NAME})\r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "viewer.ini" "Field 2" "Text" $(TEXT_VIEWER_${SETUPTYPE_NAME})\r
-  \r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "langselect.ini" "Field 1" "Text" $(TEXT_LANGUAGE_INFO)\r
-  StrCpy $R0 ""\r
-  !insertmacro LanguageList '!insertmacro InitDialogLang $R0'\r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "langselect.ini" "Field 2" "ListItems" $R0\r
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "langselect.ini" "Field 2" "State" "English" ;Default language\r
-  \r
-  ;Set state of user dialog\r
-  ${if} $CurrentUserInstall == ${TRUE}\r
-    !insertmacro MUI_INSTALLOPTIONS_WRITE "user.ini" "Field 2" "State" "0"\r
-    !insertmacro MUI_INSTALLOPTIONS_WRITE "user.ini" "Field 3" "State" "1"\r
-  ${else}\r
-    !insertmacro MUI_INSTALLOPTIONS_WRITE "user.ini" "Field 2" "State" "1"\r
-    !insertmacro MUI_INSTALLOPTIONS_WRITE "user.ini" "Field 3" "State" "0"\r
-  ${endif}\r
-  \r
-  Pop $R0\r
-\r
-FunctionEnd\r
-\r
-Function InitInterface\r
-\r
-  ${if} $AdminOrPowerUser != ${TRUE}\r
-    MessageBox MB_OK|MB_ICONEXCLAMATION $(TEXT_NO_PRIVILEDGES)\r
-  ${endif}\r
-\r
-  Banner::show /NOUNLOAD "Preparing wizard"\r
-\r
-  Call InitDialogs\r
-  Call InitLanguage  \r
-  Call InitSizeExternal\r
-  Call InitSizeViewer\r
-  \r
-  Banner::destroy\r
-\r
-FunctionEnd\r
+/*
+
+Installer User Interface
+
+*/
+
+;--------------------------------
+;General
+
+Name "${APP_NAME} ${APP_VERSION}"
+BrandingText " "
+
+;Default installation folder
+InstallDir "${SETUP_DEFAULT_DIRECTORY}"
+
+;--------------------------------
+;Interface settings
+
+!define MUI_ABORTWARNING
+!define MUI_ICON "${SETUP_ICON}"
+!define MUI_UNICON "${SETUP_ICON}"
+!define MUI_HEADERIMAGE
+!define MUI_HEADERIMAGE_BITMAP "${SETUP_HEADERIMAGE}"
+!define MUI_HEADERIMAGE_RIGHT
+!define MUI_WELCOMEFINISHPAGE_BITMAP "${SETUP_WIZARDIMAGE}"
+!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${SETUP_WIZARDIMAGE}"
+!define MUI_CUSTOMFUNCTION_GUIINIT InitInterface
+!define MUI_COMPONENTSPAGE_NODESC
+
+;--------------------------------
+;Pages
+
+;Installer
+
+!define MUI_WELCOMEPAGE_TITLE_3LINES
+!define MUI_WELCOMEPAGE_TEXT $(TEXT_WELCOME_${SETUPTYPE_NAME})
+!insertmacro MUI_PAGE_WELCOME
+!insertmacro MUI_PAGE_LICENSE "${FILES_LICENSE}"
+
+Page custom PageUser PageUserValidate
+Page custom PageReinstall PageReinstallValidate
+Page custom PageExternalLaTeX PageExternalLaTeXValidate
+Page custom PageExternalImageMagick PageExternalImageMagickValidate
+Page custom PageExternalGhostscript PageExternalGhostscriptValidate
+Page custom PageViewer PageViewerValidate
+Page custom PageLanguage PageLanguageValidate
+
+!define MUI_PAGE_HEADER_TEXT $(TEXT_DICT_TITLE)
+!define MUI_PAGE_HEADER_SUBTEXT $(TEXT_DICT_SUBTITLE)
+!define MUI_COMPONENTSPAGE_TEXT_TOP $(TEXT_DICT_TOP)
+!define MUI_COMPONENTSPAGE_TEXT_COMPLIST $(TEXT_DICT_LIST)
+!insertmacro MUI_PAGE_COMPONENTS ;For spell checker dictionaries
+
+!insertmacro MUI_PAGE_DIRECTORY
+!insertmacro MUI_PAGE_INSTFILES
+
+!define MUI_FINISHPAGE_RUN "$INSTDIR\${APP_RUN}"
+!define MUI_FINISHPAGE_SHOWREADME
+!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
+!define MUI_FINISHPAGE_SHOWREADME_FUNCTION CreateDesktopShortcut
+!define MUI_FINISHPAGE_SHOWREADME_TEXT $(TEXT_FINISH_DESKTOP)
+!define MUI_FINISHPAGE_LINK $(TEXT_FINISH_WEBSITE)
+!define MUI_FINISHPAGE_LINK_LOCATION "http://www.lyx.org/"
+!define MUI_PAGE_CUSTOMFUNCTION_PRE CheckDesktopShortcut
+!insertmacro MUI_PAGE_FINISH
+
+;Uninstaller
+
+!define MUI_WELCOMEPAGE_TITLE_3LINES
+!define MUI_WELCOMEPAGE_TEXT $(UNTEXT_WELCOME)
+!insertmacro MUI_UNPAGE_WELCOME
+!insertmacro MUI_UNPAGE_CONFIRM
+!insertmacro MUI_UNPAGE_COMPONENTS
+!insertmacro MUI_UNPAGE_INSTFILES
+
+!insertmacro MUI_UNPAGE_FINISH
+
+;--------------------------------
+;Installer Languages
+
+!insertmacro IncludeLang "english"
+!insertmacro IncludeLang "french"
+!insertmacro IncludeLang "german"
+!insertmacro IncludeLang "italian"
+
+;--------------------------------
+;Version information
+
+VIProductVersion "${APP_VERSION_NUMBER}"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "${APP_NAME}"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "${APP_INFO}"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${APP_VERSION}"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "${APP_COPYRIGHT}"
+
+;--------------------------------
+;Macros
+
+!macro InitDialogExternal COMPONENT CURRENTUSER_POSSIBLE
+
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 1" "Text" $(TEXT_EXTERNAL_${COMPONENT}_INFO_${SETUPTYPE_NAME})
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 3" "Text" $(TEXT_EXTERNAL_${COMPONENT}_FOLDER)
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 5" "Text" $(TEXT_EXTERNAL_${COMPONENT}_FOLDER_INFO)
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 6" "Text" $(TEXT_EXTERNAL_${COMPONENT}_NONE)
+  
+  !if ${CURRENTUSER_POSSIBLE} == ${TRUE}
+    !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 2" "Text" "$(TEXT_EXTERNAL_${COMPONENT}_${SETUPTYPE_NAME})"
+  !else  
+    ${if} $AdminOrPowerUser == ${TRUE}
+      !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 2" "Text" "$(TEXT_EXTERNAL_${COMPONENT}_${SETUPTYPE_NAME})"
+    ${else}
+      !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 2" "Text" "$(TEXT_EXTERNAL_${COMPONENT}_${SETUPTYPE_NAME}) $(TEXT_EXTERNAL_NOPRIVILEDGES)"
+      !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 2" "Flags" "DISABLED"
+    ${endif}
+  !endif
+  
+!macroend
+
+!macro InitDialogExternalDir COMPONENT CURRENTUSER_POSSIBLE
+
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 4" "State" $Path${COMPONENT}
+  
+  !if ${CURRENTUSER_POSSIBLE} == ${FALSE}
+    ${if} $AdminOrPowerUser == ${TRUE}
+  !endif
+  
+    ${if} $Path${COMPONENT} == ""
+      !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 2" "State" "1"
+    ${else}
+      !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 3" "State" "1"
+    ${endif}
+    
+  !if ${CURRENTUSER_POSSIBLE} == ${FALSE}
+    ${else}
+      !insertmacro MUI_INSTALLOPTIONS_WRITE "external_${COMPONENT}.ini" "Field 3" "State" "1"
+    ${endif}
+  !endif
+  
+!macroend
+
+!macro InitDialogLang VAR LANGNAME LANGISOCODE LANGID
+
+  StrCpy ${VAR} `${VAR}|${LANGNAME}`
+
+!macroend
+
+;--------------------------------
+;Functions
+
+Function InitDialogs
+
+  Push $R0
+
+  ;Extract dialogs
+  
+  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "dialogs\user.ini" "user.ini"
+  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "dialogs\reinstall.ini" "reinstall.ini"
+  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "dialogs\external.ini" "external_latex.ini"
+  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "dialogs\external.ini" "external_imagemagick.ini"
+  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "dialogs\external.ini" "external_ghostscript.ini"
+  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "dialogs\viewer.ini" "viewer.ini"
+  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "dialogs\langselect.ini" "langselect.ini"
+  
+  ;Write texts
+  
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "user.ini" "Field 1" "Text" $(TEXT_USER_INFO)
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "user.ini" "Field 2" "Text" $(TEXT_USER_ALL)
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "user.ini" "Field 3" "Text" $(TEXT_USER_CURRENT)
+  
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "reinstall.ini" "Field 1" "Text" $(TEXT_REINSTALL_INFO)
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "reinstall.ini" "Field 2" "Text" $(TEXT_REINSTALL_ENABLE)
+  
+  !insertmacro InitDialogExternal latex ${TRUE}
+  !insertmacro InitDialogExternal imagemagick ${FALSE}
+  !insertmacro InitDialogExternal ghostscript ${FALSE}
+  
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "viewer.ini" "Field 1" "Text" $(TEXT_VIEWER_INFO_${SETUPTYPE_NAME})
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "viewer.ini" "Field 2" "Text" $(TEXT_VIEWER_${SETUPTYPE_NAME})
+  
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "langselect.ini" "Field 1" "Text" $(TEXT_LANGUAGE_INFO)
+  StrCpy $R0 ""
+  !insertmacro LanguageList '!insertmacro InitDialogLang $R0'
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "langselect.ini" "Field 2" "ListItems" $R0
+  !insertmacro MUI_INSTALLOPTIONS_WRITE "langselect.ini" "Field 2" "State" "English" ;Default language
+  
+  ;Set state of user dialog
+  ${if} $CurrentUserInstall == ${TRUE}
+    !insertmacro MUI_INSTALLOPTIONS_WRITE "user.ini" "Field 2" "State" "0"
+    !insertmacro MUI_INSTALLOPTIONS_WRITE "user.ini" "Field 3" "State" "1"
+  ${else}
+    !insertmacro MUI_INSTALLOPTIONS_WRITE "user.ini" "Field 2" "State" "1"
+    !insertmacro MUI_INSTALLOPTIONS_WRITE "user.ini" "Field 3" "State" "0"
+  ${endif}
+  
+  Pop $R0
+
+FunctionEnd
+
+Function InitInterface
+
+  ${if} $AdminOrPowerUser != ${TRUE}
+    MessageBox MB_OK|MB_ICONEXCLAMATION $(TEXT_NO_PRIVILEDGES)
+  ${endif}
+
+  Banner::show /NOUNLOAD "Preparing wizard"
+
+  Call InitDialogs
+  Call InitLanguage  
+  Call InitSizeExternal
+  Call InitSizeViewer
+  
+  Banner::destroy
+
+FunctionEnd
index fb7a7df5e124c9fb4188861486aa722932dbfe74..d7cebf6df420079340e0551c926193b823b8ee7c 100644 (file)
-/*\r
-\r
-Installer and uninstaller initialization\r
-\r
-*/\r
-\r
-;--------------------------------\r
-;Functions\r
-\r
-Function CommandLineParameter\r
-\r
-  Exch $R0\r
-  Push $R1\r
-  Push $R2\r
-  \r
-  StrLen $R1 $R0\r
-  \r
-  Push $CMDLINE\r
-  Push $R0\r
-  Call StrStr\r
-  Pop $R2\r
-  \r
-  StrCpy $R2 $R2 $R1\r
-  \r
-  ${if} $R2 == $R0\r
-    StrCpy $R0 ${TRUE}\r
-  ${else}\r
-    StrCpy $R0 ${FALSE} \r
-  ${endif}\r
-  \r
-  Push $R2\r
-  Push $R1\r
-  Exch $R0\r
-\r
-FunctionEnd\r
-\r
-Function .onInit\r
-\r
-  ${unless} ${silent}\r
-    Banner::show /NOUNLOAD "Checking system"\r
-  ${endif}\r
-  \r
-  ;Check all dependencies\r
-  \r
-  Call CheckWindows\r
-  Call CheckPrivileges\r
-  Call LoadInstaller\r
-  Call SearchAll\r
-\r
-  ${unless} ${silent}\r
-    Banner::destroy\r
-  ${endif}\r
-\r
-FunctionEnd\r
-\r
-Function un.onInit\r
-\r
-  Call un.CheckPrivileges\r
-  Call un.LoadUnInstaller\r
-  \r
-FunctionEnd\r
-\r
-Function LoadInstaller\r
-\r
-  ;Set the correct shell context depending on command line parameter\r
-  ;and priviledges\r
-\r
-  Push $R0\r
-\r
-  Push "/CurrentUser"\r
-  Call CommandLineParameter\r
-  Pop $CurrentUserInstall\r
-\r
-  ${if} $CurrentUserInstall == ${TRUE}\r
-  \r
-    SetShellVarContext current\r
-  \r
-  ${else}\r
-  \r
-    ${if} $AdminOrPowerUser == ${TRUE}\r
-      \r
-      SetShellVarContext all\r
-      \r
-    ${else}\r
-    \r
-      ;Display an error when the /AllUsers command line parameter is used\r
-      ;by a user without Administrator or Power User priviledges\r
-       \r
-      Push "/AllUsers"\r
-      Call CommandLineParameter\r
-      Pop $R0\r
-  \r
-      ${if} $R0 == ${TRUE}\r
-        MessageBox MB_OK|MB_ICONSTOP "You need Administrator or Power User privileges to install ${APP_NAME} for all users."\r
-        Quit\r
-      ${endif}\r
-      \r
-      SetShellVarContext current\r
-      StrCpy $CurrentUserInstall ${TRUE}\r
-    \r
-    ${endif}\r
-    \r
-  ${endif}\r
-  \r
-  ${if} ${silent}\r
-    Call InitUser\r
-  ${endif}\r
-  \r
-  Pop $R0\r
-\r
-FunctionEnd\r
-\r
-Function un.LoadUnInstaller\r
-\r
-  ;Set the correct shell context depending on whether LyX has been installed\r
-  ;for the current user or all users\r
-\r
-  ReadRegStr $R0 HKCU ${APP_REGKEY} ""\r
-  \r
-  ${if} $R0 == $INSTDIR\r
-    StrCpy $CurrentUserInstall ${TRUE}\r
-  ${endif}\r
-\r
-  ${if} $CurrentUserInstall == ${TRUE}\r
-  \r
-    SetShellVarContext current\r
-  \r
-  ${else}\r
-  \r
-    ${if} $AdminOrPowerUser == ${FALSE}\r
-      MessageBox MB_OK|MB_ICONSTOP "${APP_NAME} has been installed for all users. Therefore you need Administrator or Power User privileges to uninstall."\r
-      Quit\r
-    ${else}\r
-      SetShellVarContext all\r
-    ${endif}\r
-  \r
-  ${endif}\r
-\r
-FunctionEnd\r
+/*
+
+Installer and uninstaller initialization
+
+*/
+
+;--------------------------------
+;Functions
+
+Function CommandLineParameter
+
+  Exch $R0
+  Push $R1
+  Push $R2
+  
+  StrLen $R1 $R0
+  
+  Push $CMDLINE
+  Push $R0
+  Call StrStr
+  Pop $R2
+  
+  StrCpy $R2 $R2 $R1
+  
+  ${if} $R2 == $R0
+    StrCpy $R0 ${TRUE}
+  ${else}
+    StrCpy $R0 ${FALSE} 
+  ${endif}
+  
+  Push $R2
+  Push $R1
+  Exch $R0
+
+FunctionEnd
+
+Function .onInit
+
+  ${unless} ${silent}
+    Banner::show /NOUNLOAD "Checking system"
+  ${endif}
+  
+  ;Check all dependencies
+  
+  Call CheckWindows
+  Call CheckPrivileges
+  Call LoadInstaller
+  Call SearchAll
+
+  ${unless} ${silent}
+    Banner::destroy
+  ${endif}
+
+FunctionEnd
+
+Function un.onInit
+
+  Call un.CheckPrivileges
+  Call un.LoadUnInstaller
+  
+FunctionEnd
+
+Function LoadInstaller
+
+  ;Set the correct shell context depending on command line parameter
+  ;and priviledges
+
+  Push $R0
+
+  Push "/CurrentUser"
+  Call CommandLineParameter
+  Pop $CurrentUserInstall
+
+  ${if} $CurrentUserInstall == ${TRUE}
+  
+    SetShellVarContext current
+  
+  ${else}
+  
+    ${if} $AdminOrPowerUser == ${TRUE}
+      
+      SetShellVarContext all
+      
+    ${else}
+    
+      ;Display an error when the /AllUsers command line parameter is used
+      ;by a user without Administrator or Power User priviledges
+       
+      Push "/AllUsers"
+      Call CommandLineParameter
+      Pop $R0
+  
+      ${if} $R0 == ${TRUE}
+        MessageBox MB_OK|MB_ICONSTOP "You need Administrator or Power User privileges to install ${APP_NAME} for all users."
+        Quit
+      ${endif}
+      
+      SetShellVarContext current
+      StrCpy $CurrentUserInstall ${TRUE}
+    
+    ${endif}
+    
+  ${endif}
+  
+  ${if} ${silent}
+    Call InitUser
+  ${endif}
+  
+  Pop $R0
+
+FunctionEnd
+
+Function un.LoadUnInstaller
+
+  ;Set the correct shell context depending on whether LyX has been installed
+  ;for the current user or all users
+
+  ReadRegStr $R0 HKCU ${APP_REGKEY} ""
+  
+  ${if} $R0 == $INSTDIR
+    StrCpy $CurrentUserInstall ${TRUE}
+  ${endif}
+
+  ${if} $CurrentUserInstall == ${TRUE}
+  
+    SetShellVarContext current
+  
+  ${else}
+  
+    ${if} $AdminOrPowerUser == ${FALSE}
+      MessageBox MB_OK|MB_ICONSTOP "${APP_NAME} has been installed for all users. Therefore you need Administrator or Power User privileges to uninstall."
+      Quit
+    ${else}
+      SetShellVarContext all
+    ${endif}
+  
+  ${endif}
+
+FunctionEnd
index 0c078294444df93d115cb4d88b931dd1d3750508..8e71166203e49c1dda70ed07345ad8a39f455eff 100644 (file)
-/*\r
-\r
-Translations for installer and LyX itself\r
-\r
-*/\r
-\r
-!macro LanguageList COMMAND\r
-\r
-  ;List of supported LyX languages with ISO code and language identifier\r
-  ;To be used as input for other macros\r
\r
-  ${COMMAND} "Bokmål" nb_NO 1044\r
-  ${COMMAND} "Ce\9atina" cs_CZ 1029\r
-  ${COMMAND} "Dansk" da_DK 1030\r
-  ${COMMAND} "Deutsch" de_DE 1031\r
-  ${COMMAND} "English" en_EN 1033\r
-  ${COMMAND} "Español" es_ES 1034\r
-  ${COMMAND} "Euskara" eu_EU 1069\r
-  ${COMMAND} "Français" fr_FR 1036\r
-  ${COMMAND} "Italiano" it_IT 1057\r
-  ${COMMAND} "Magyar" hu_HU 1038  \r
-  ${COMMAND} "Nynorsk" nn_NO 2068\r
-  ${COMMAND} "Polski" pl_PL 1045\r
-  ${COMMAND} "Russian" ru_RU 1049\r
-  ${COMMAND} "Slovencina" sk_SK 1060\r
-  ${COMMAND} "Suomi" fi_FI 1035\r
-  ${COMMAND} "Türkçe" tr_TR 1055\r
-  \r
-!macroend\r
-\r
-!macro LanguageString name text\r
-\r
-  !ifndef "${name}"\r
-    !define "${name}" "${text}"\r
-  !endif\r
-  \r
-!macroend\r
-\r
-!macro LanguageStringAdd lang_name name\r
-\r
-  ;Takes a define and puts that into a language string\r
-  LangString "${name}" "${LANG_${lang_name}}" "${${name}}"\r
-  !undef "${name}"\r
-\r
-!macroend\r
-\r
-!macro LanguageStringCreateExternal component\r
-\r
-  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_TITLE\r
-  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_SUBTITLE\r
-  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_INFO_${SETUPTYPE_NAME}\r
-  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_${SETUPTYPE_NAME}\r
-  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_FOLDER\r
-  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_FOLDER_INFO\r
-  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_NONE\r
-  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_NOTFOUND\r
-  \r
-!macroend\r
-\r
-!macro LanguageStringCreate lang_name\r
-\r
-  ;Creates all language strings\r
-  !insertmacro ReDef LanguageStringAdd '!insertmacro LanguageStringAdd "${lang_name}"'\r
-\r
-  ${LanguageStringAdd} TEXT_NO_PRIVILEDGES\r
-  \r
-  ${LanguageStringAdd} TEXT_INSTALL_CURRENTUSER\r
-\r
-  ${LanguageStringAdd} TEXT_WELCOME_${SETUPTYPE_NAME}\r
-\r
-  ${LanguageStringAdd} TEXT_USER_TITLE\r
-  ${LanguageStringAdd} TEXT_USER_SUBTITLE\r
-  ${LanguageStringAdd} TEXT_USER_INFO  \r
-  ${LanguageStringAdd} TEXT_USER_CURRENT\r
-  ${LanguageStringAdd} TEXT_USER_ALL\r
-  \r
-  ${LanguageStringAdd} TEXT_REINSTALL_TITLE\r
-  ${LanguageStringAdd} TEXT_REINSTALL_SUBTITLE\r
-  ${LanguageStringAdd} TEXT_REINSTALL_INFO\r
-  ${LanguageStringAdd} TEXT_REINSTALL_ENABLE\r
-  \r
-  ${LanguageStringAdd} TEXT_EXTERNAL_NOPRIVILEDGES\r
-\r
-  !insertmacro LanguageStringCreateExternal LaTeX\r
-  !insertmacro LanguageStringCreateExternal ImageMagick\r
-  !insertmacro LanguageStringCreateExternal Ghostscript\r
-\r
-  ${LanguageStringAdd} TEXT_VIEWER_TITLE\r
-  ${LanguageStringAdd} TEXT_VIEWER_SUBTITLE\r
-  ${LanguageStringAdd} TEXT_VIEWER_INFO_${SETUPTYPE_NAME}\r
-  ${LanguageStringAdd} TEXT_VIEWER_${SETUPTYPE_NAME}\r
-  \r
-  ${LanguageStringAdd} TEXT_DICT_TITLE\r
-  ${LanguageStringAdd} TEXT_DICT_SUBTITLE\r
-  ${LanguageStringAdd} TEXT_DICT_TOP\r
-  ${LanguageStringAdd} TEXT_DICT_LIST\r
-  \r
-  ${LanguageStringAdd} TEXT_LANGUAGE_TITLE\r
-  ${LanguageStringAdd} TEXT_LANGUAGE_SUBTITLE\r
-  ${LanguageStringAdd} TEXT_LANGUAGE_INFO \r
-\r
-  !ifndef SETUPTYPE_BUNDLE\r
-    ${LanguageStringAdd} TEXT_DOWNLOAD_FAILED_LATEX\r
-    ${LanguageStringAdd} TEXT_DOWNLOAD_FAILED_IMAGEMAGICK\r
-    ${LanguageStringAdd} TEXT_DOWNLOAD_FAILED_GHOSTSCRIPT\r
-    ${LanguageStringAdd} TEXT_DOWNLOAD_FAILED_VIEWER\r
-  !endif \r
-  ${LanguageStringAdd} TEXT_DOWNLOAD_FAILED_DICT\r
-  \r
-  ${LanguageStringAdd} TEXT_NOTINSTALLED_LATEX\r
-  ${LanguageStringAdd} TEXT_NOTINSTALLED_IMAGEMAGICK\r
-  ${LanguageStringAdd} TEXT_NOTINSTALLED_GHOSTSCRIPT\r
-  ${LanguageStringAdd} TEXT_NOTINSTALLED_VIEWER\r
-  ${LanguageStringAdd} TEXT_NOTINSTALLED_DICT\r
-  \r
-  ${LanguageStringAdd} TEXT_FINISH_DESKTOP\r
-  ${LanguageStringAdd} TEXT_FINISH_WEBSITE\r
-  \r
-  ${LanguageStringAdd} UNTEXT_WELCOME\r
-\r
-!macroend\r
-\r
-!macro IncludeLang langname\r
-\r
-  !ifndef DICT_NAME\r
-    !define DICT_NAME $R1\r
-  !endif\r
-\r
-  ;Include both NSIS/LyX language file\r
-  \r
-  !insertmacro MUI_LANGUAGE "${langname}"\r
-  \r
-  !include "lang\${langname}.nsh"\r
-  !include "lang\English.nsh" ;Use English for missing strings in translation\r
-  \r
-  !insertmacro LanguageStringCreate "${langname}"\r
-  \r
-!macroend\r
+/*
+
+Translations for installer and LyX itself
+
+*/
+
+!macro LanguageList COMMAND
+
+  ;List of supported LyX languages with ISO code and language identifier
+  ;To be used as input for other macros
+  ${COMMAND} "Bokmål" nb_NO 1044
+  ${COMMAND} "Ce\9atina" cs_CZ 1029
+  ${COMMAND} "Dansk" da_DK 1030
+  ${COMMAND} "Deutsch" de_DE 1031
+  ${COMMAND} "English" en_EN 1033
+  ${COMMAND} "Español" es_ES 1034
+  ${COMMAND} "Euskara" eu_EU 1069
+  ${COMMAND} "Français" fr_FR 1036
+  ${COMMAND} "Italiano" it_IT 1057
+  ${COMMAND} "Magyar" hu_HU 1038  
+  ${COMMAND} "Nynorsk" nn_NO 2068
+  ${COMMAND} "Polski" pl_PL 1045
+  ${COMMAND} "Russian" ru_RU 1049
+  ${COMMAND} "Slovencina" sk_SK 1060
+  ${COMMAND} "Suomi" fi_FI 1035
+  ${COMMAND} "Türkçe" tr_TR 1055
+  
+!macroend
+
+!macro LanguageString name text
+
+  !ifndef "${name}"
+    !define "${name}" "${text}"
+  !endif
+  
+!macroend
+
+!macro LanguageStringAdd lang_name name
+
+  ;Takes a define and puts that into a language string
+  LangString "${name}" "${LANG_${lang_name}}" "${${name}}"
+  !undef "${name}"
+
+!macroend
+
+!macro LanguageStringCreateExternal component
+
+  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_TITLE
+  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_SUBTITLE
+  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_INFO_${SETUPTYPE_NAME}
+  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_${SETUPTYPE_NAME}
+  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_FOLDER
+  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_FOLDER_INFO
+  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_NONE
+  ${LanguageStringAdd} TEXT_EXTERNAL_${component}_NOTFOUND
+  
+!macroend
+
+!macro LanguageStringCreate lang_name
+
+  ;Creates all language strings
+  !insertmacro ReDef LanguageStringAdd '!insertmacro LanguageStringAdd "${lang_name}"'
+
+  ${LanguageStringAdd} TEXT_NO_PRIVILEDGES
+  
+  ${LanguageStringAdd} TEXT_INSTALL_CURRENTUSER
+
+  ${LanguageStringAdd} TEXT_WELCOME_${SETUPTYPE_NAME}
+
+  ${LanguageStringAdd} TEXT_USER_TITLE
+  ${LanguageStringAdd} TEXT_USER_SUBTITLE
+  ${LanguageStringAdd} TEXT_USER_INFO  
+  ${LanguageStringAdd} TEXT_USER_CURRENT
+  ${LanguageStringAdd} TEXT_USER_ALL
+  
+  ${LanguageStringAdd} TEXT_REINSTALL_TITLE
+  ${LanguageStringAdd} TEXT_REINSTALL_SUBTITLE
+  ${LanguageStringAdd} TEXT_REINSTALL_INFO
+  ${LanguageStringAdd} TEXT_REINSTALL_ENABLE
+  
+  ${LanguageStringAdd} TEXT_EXTERNAL_NOPRIVILEDGES
+
+  !insertmacro LanguageStringCreateExternal LaTeX
+  !insertmacro LanguageStringCreateExternal ImageMagick
+  !insertmacro LanguageStringCreateExternal Ghostscript
+
+  ${LanguageStringAdd} TEXT_VIEWER_TITLE
+  ${LanguageStringAdd} TEXT_VIEWER_SUBTITLE
+  ${LanguageStringAdd} TEXT_VIEWER_INFO_${SETUPTYPE_NAME}
+  ${LanguageStringAdd} TEXT_VIEWER_${SETUPTYPE_NAME}
+  
+  ${LanguageStringAdd} TEXT_DICT_TITLE
+  ${LanguageStringAdd} TEXT_DICT_SUBTITLE
+  ${LanguageStringAdd} TEXT_DICT_TOP
+  ${LanguageStringAdd} TEXT_DICT_LIST
+  
+  ${LanguageStringAdd} TEXT_LANGUAGE_TITLE
+  ${LanguageStringAdd} TEXT_LANGUAGE_SUBTITLE
+  ${LanguageStringAdd} TEXT_LANGUAGE_INFO 
+
+  !ifndef SETUPTYPE_BUNDLE
+    ${LanguageStringAdd} TEXT_DOWNLOAD_FAILED_LATEX
+    ${LanguageStringAdd} TEXT_DOWNLOAD_FAILED_IMAGEMAGICK
+    ${LanguageStringAdd} TEXT_DOWNLOAD_FAILED_GHOSTSCRIPT
+    ${LanguageStringAdd} TEXT_DOWNLOAD_FAILED_VIEWER
+  !endif 
+  ${LanguageStringAdd} TEXT_DOWNLOAD_FAILED_DICT
+  
+  ${LanguageStringAdd} TEXT_NOTINSTALLED_LATEX
+  ${LanguageStringAdd} TEXT_NOTINSTALLED_IMAGEMAGICK
+  ${LanguageStringAdd} TEXT_NOTINSTALLED_GHOSTSCRIPT
+  ${LanguageStringAdd} TEXT_NOTINSTALLED_VIEWER
+  ${LanguageStringAdd} TEXT_NOTINSTALLED_DICT
+  
+  ${LanguageStringAdd} TEXT_FINISH_DESKTOP
+  ${LanguageStringAdd} TEXT_FINISH_WEBSITE
+  
+  ${LanguageStringAdd} UNTEXT_WELCOME
+
+!macroend
+
+!macro IncludeLang langname
+
+  !ifndef DICT_NAME
+    !define DICT_NAME $R1
+  !endif
+
+  ;Include both NSIS/LyX language file
+  
+  !insertmacro MUI_LANGUAGE "${langname}"
+  
+  !include "lang\${langname}.nsh"
+  !include "lang\English.nsh" ;Use English for missing strings in translation
+  
+  !insertmacro LanguageStringCreate "${langname}"
+  
+!macroend
index d0a464cd737a705274a8186684f3d0d9dbcf8820..57633d56eee5cca55a2419747586c2fa7575cd70 100644 (file)
@@ -1,68 +1,68 @@
-/*\r
-\r
-Checks for Windows version\r
-\r
-*/\r
-\r
-;--------------------------------\r
-;Macros\r
-\r
-!macro CheckPrivileges\r
-\r
-  Push $R0\r
-\r
-  UserInfo::GetAccountType\r
-  Pop $R0\r
-  \r
-  ${if} $R0 == "Admin"\r
-    StrCpy $AdminOrPowerUser ${TRUE}\r
-  ${elseif} $R0 == "Power"\r
-    StrCpy $AdminOrPowerUser ${TRUE}\r
-  ${else}\r
-    StrCpy $AdminOrPowerUser ${FALSE}\r
-  ${endif}\r
-  \r
-  Pop $R0\r
-\r
-!macroend\r
-\r
-;--------------------------------\r
-;Functions\r
-\r
-Function CheckPrivileges\r
-  !insertmacro CheckPrivileges\r
-FunctionEnd\r
-\r
-Function un.CheckPrivileges\r
-  !insertmacro CheckPrivileges\r
-FunctionEnd\r
-\r
-Function CheckWindows\r
-\r
-  ;Check for Windows NT 5.0 or later (2000, XP, 2003 etc.)\r
-\r
-  ${unless} ${IsNT}\r
-    ${andunless} ${AtLeastWin2000}\r
-\r
-    MessageBox MB_OK|MB_ICONSTOP "${APP_NAME} ${APP_VERSION} only supports Windows 2000, XP, 2003 and later."\r
-\r
-  ${endif}\r
-\r
-FunctionEnd\r
-\r
-Function UpdatePathEnvironment\r
-\r
-  Push $R0\r
-  Push $R1\r
-  \r
-  ;Updates the path environment variable of the instaler process to the latest system value\r
-  \r
-  ReadRegStr $R0 HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" Path\r
-  ReadRegStr $R1 HKCU "Environment" Path\r
-  \r
-  System::Call 'kernel32::SetEnvironmentVariableA(t, t) i("Path", "$R0;$R1").r0'\r
-  \r
-  Pop $R1\r
-  Pop $R0\r
-\r
-FunctionEnd\r
+/*
+
+Checks for Windows version
+
+*/
+
+;--------------------------------
+;Macros
+
+!macro CheckPrivileges
+
+  Push $R0
+
+  UserInfo::GetAccountType
+  Pop $R0
+  
+  ${if} $R0 == "Admin"
+    StrCpy $AdminOrPowerUser ${TRUE}
+  ${elseif} $R0 == "Power"
+    StrCpy $AdminOrPowerUser ${TRUE}
+  ${else}
+    StrCpy $AdminOrPowerUser ${FALSE}
+  ${endif}
+  
+  Pop $R0
+
+!macroend
+
+;--------------------------------
+;Functions
+
+Function CheckPrivileges
+  !insertmacro CheckPrivileges
+FunctionEnd
+
+Function un.CheckPrivileges
+  !insertmacro CheckPrivileges
+FunctionEnd
+
+Function CheckWindows
+
+  ;Check for Windows NT 5.0 or later (2000, XP, 2003 etc.)
+
+  ${unless} ${IsNT}
+    ${andunless} ${AtLeastWin2000}
+
+    MessageBox MB_OK|MB_ICONSTOP "${APP_NAME} ${APP_VERSION} only supports Windows 2000, XP, 2003 and later."
+
+  ${endif}
+
+FunctionEnd
+
+Function UpdatePathEnvironment
+
+  Push $R0
+  Push $R1
+  
+  ;Updates the path environment variable of the instaler process to the latest system value
+  
+  ReadRegStr $R0 HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" Path
+  ReadRegStr $R1 HKCU "Environment" Path
+  
+  System::Call 'kernel32::SetEnvironmentVariableA(t, t) i("Path", "$R0;$R1").r0'
+  
+  Pop $R1
+  Pop $R0
+
+FunctionEnd
index f00918f058e09431ff2a04b611dd6a85f7e99606..ce5d5230fc522d269d56082591dba7dd04debddb 100644 (file)
@@ -1,93 +1,93 @@
-/*\r
-\r
-LyX Installer Language File\r
-Language: English\r
-Author: Joost Verburg\r
-\r
-*/\r
-\r
-!insertmacro LanguageString TEXT_NO_PRIVILEDGES "You do not have Administrator or Power User privileges.$\r$\n$\r$\nAlthough you can install ${APP_NAME} and the typesetting system, the utilities for image conversion and previewing cannot be installed without these priviledges."\r
-\r
-!insertmacro LanguageString TEXT_INSTALL_CURRENTUSER "(Installed for Current User)"\r
-\r
-!insertmacro LanguageString TEXT_WELCOME_DOWNLOAD "This wizard will guide you through the installation of $(^NameDA), the document processor that encourages an approach to writing based on the structure of your documents, not their appearance.\r\n\r\nThis installer will setup a complete environment to use ${APP_NAME} and can download missing components automatically.\r\n\r\n$(^ClickNext)"\r
-!insertmacro LanguageString TEXT_WELCOME_INSTALL "This wizard will guide you through the installation of $(^NameDA), the document processor that encourages an approach to writing based on the structure of your documents, not their appearance.\r\n\r\nThis installer will setup a complete environment to use ${APP_NAME} and can install missing components automatically.\r\n\r\n$(^ClickNext)"\r
-\r
-!insertmacro LanguageString TEXT_USER_TITLE "Choose Users"\r
-!insertmacro LanguageString TEXT_USER_SUBTITLE "Choose for which users you want to install $(^NameDA)."\r
-!insertmacro LanguageString TEXT_USER_INFO "Select whether want to install $(^NameDA) for yourself only or for all users on this sytem. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_USER_CURRENT "Install just for me"\r
-!insertmacro LanguageString TEXT_USER_ALL "Install for anyone using this computer"\r
-\r
-!insertmacro LanguageString TEXT_REINSTALL_TITLE "Reinstall"\r
-!insertmacro LanguageString TEXT_REINSTALL_SUBTITLE "Choose whether you want to reinstall the $(^NameDA) program files."\r
-!insertmacro LanguageString TEXT_REINSTALL_INFO "$(^NameDA) is already installed. This installer will allow you to change the interface language and locations of external applications or download additional dictionaries. If you also want to reinstall the program files, check the box below. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_REINSTALL_ENABLE "Reinstall $(^NameDA) program files"\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_NOPRIVILEDGES "(Administrator or Power User privileges required)"\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_TITLE "LaTeX Typesetting System"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_SUBTITLE "A typesetting system is required to be able to create documents for printing or publishing."\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_DOWNLOAD "Please specify whether you want to download MiKTeX or want to use an existing LaTeX system. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_INSTALL "Please specify whether you want to install MiKTeX or want to use an existing LaTeX system. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_DOWNLOAD "Download MiKTeX"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INSTALL "Install MiKTeX"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER "Use an existing LaTeX system in the following folder:"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER_INFO "This folder should contain ${BIN_LATEX}."\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NONE "Install without a LaTeX typesetting system (not recommended)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NOTFOUND "${BIN_LATEX} does not exist in the folder you specified."\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_TITLE "ImageMagick"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_SUBTITLE "ImageMagick is required to support various image formats."\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_DOWNLOAD "Please specify whether you want to download ImageMagick or have it already installed. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_INSTALL "Please specify whether you want to install ImageMagick or have it already installed. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_DOWNLOAD "Download ImageMagick"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INSTALL "Install ImageMagick"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER "Use an existing ImageMagick installation in the following folder:"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER_INFO "This folder should contain ${BIN_IMAGEMAGICK}."\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NONE "Install without ImageMagick (not recommended)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NOTFOUND "${BIN_IMAGEMAGICK} does not exist in the folder you specified."\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_TITLE "Ghostscript"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_SUBTITLE "Ghostscript is required to preview images in PostScript format."\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_DOWNLOAD "Please specify whether you want to download Ghostscript or have it already installed. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_INSTALL "Please specify whether you want to install Ghostscript or have it already installed. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_DOWNLOAD "Download Ghostscript"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INSTALL "Install Ghostscript"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER "Use an existing Ghostscript installation in the following folder:"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER_INFO "This folder should contain ${BIN_GHOSTSCRIPT}."\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NONE "Install without GhostScript (not recommended)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NOTFOUND "${BIN_GHOSTSCRIPT} does not exist in the folder you specified."\r
-\r
-!insertmacro LanguageString TEXT_VIEWER_TITLE "Document Viewer"\r
-!insertmacro LanguageString TEXT_VIEWER_SUBTITLE "A viewer is required to be able to display typeset documents on your screen."\r
-!insertmacro LanguageString TEXT_VIEWER_INFO_DOWNLOAD "There is no viewer installed on your system to preview both PDF and Postscript files, which are common formats for typeset documents. If you check the box below, the PDF/Postscript viewer GSView will be downloaded. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_VIEWER_INFO_INSTALL "There is no viewer installed on your system to preview both PDF and Postscript files, which are common formats for typeset documents. If you check the box below, the PDF/Postscript viewer GSView will be installed. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_VIEWER_DOWNLOAD "Download GSView"\r
-!insertmacro LanguageString TEXT_VIEWER_INSTALL "Install GSView"\r
-\r
-!insertmacro LanguageString TEXT_DICT_TITLE "Spell Checker Dictionaries"\r
-!insertmacro LanguageString TEXT_DICT_SUBTITLE "Choose the languages you want the spell checker to support."\r
-!insertmacro LanguageString TEXT_DICT_TOP "In order to spell check documents in a certain language, a dictionary with valid words has to be downloaded. $_CLICK"\r
-!insertmacro LanguageString TEXT_DICT_LIST "Select dictionaries to download:"\r
-\r
-!insertmacro LanguageString TEXT_LANGUAGE_TITLE "Choose Language"\r
-!insertmacro LanguageString TEXT_LANGUAGE_SUBTITLE "Choose the language in which you want to use $(^NameDA)."\r
-!insertmacro LanguageString TEXT_LANGUAGE_INFO "Select the language to use for the ${APP_NAME} interface. $(^ClickNext)"\r
-\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_LATEX "Downloading MiKTeX failed. Would you like to try again?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_IMAGEMAGICK "Downloading ImageMagick failed. Would you like to try again?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_GHOSTSCRIPT "Downloading Ghostscript failed. Would you like to try again?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_VIEWER "Downloading GSView failed. Would you like to try again?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_DICT "Failed to download the ${DICT_NAME} spell checker dictionary. Would you like to try again?"\r
-\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_LATEX "The MiKTeX setup wizard was not completed. Do you want to run MiKTeX setup again?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_IMAGEMAGICK "The ImageMagick was not completed. Do you want to run ImageMagick setup again?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_GHOSTSCRIPT "The Ghostscript setup wizard was not completed. Do you want to run Ghostscript setup again?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_VIEWER "You did not associate GSView with the PDF/Postscript file types. Do you want to run GSView setup again?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_DICT "The setup wizard of the ${DICT_NAME} spell checker dictionary was not completed. Do you want to run the setup again?"\r
-\r
-!insertmacro LanguageString TEXT_FINISH_DESKTOP "Create desktop shortcut"\r
-!insertmacro LanguageString TEXT_FINISH_WEBSITE "Visit lyx.org for the latest news, support and tips"\r
-\r
-!insertmacro LanguageString UNTEXT_WELCOME "This wizard will guide you through the uninstallation of $(^NameDA). Please close $(^NameDA) before you continue.\r\n\r\nNote that this wizard will only uninstall LyX itself. If you want to uninstall other applications you installed for use with LyX, uninstall them using their entry in Add/Remove Programs.\r\n\r\n$_CLICK"\r
+/*
+
+LyX Installer Language File
+Language: English
+Author: Joost Verburg
+
+*/
+
+!insertmacro LanguageString TEXT_NO_PRIVILEDGES "You do not have Administrator or Power User privileges.$\r$\n$\r$\nAlthough you can install ${APP_NAME} and the typesetting system, the utilities for image conversion and previewing cannot be installed without these priviledges."
+
+!insertmacro LanguageString TEXT_INSTALL_CURRENTUSER "(Installed for Current User)"
+
+!insertmacro LanguageString TEXT_WELCOME_DOWNLOAD "This wizard will guide you through the installation of $(^NameDA), the document processor that encourages an approach to writing based on the structure of your documents, not their appearance.\r\n\r\nThis installer will setup a complete environment to use ${APP_NAME} and can download missing components automatically.\r\n\r\n$(^ClickNext)"
+!insertmacro LanguageString TEXT_WELCOME_INSTALL "This wizard will guide you through the installation of $(^NameDA), the document processor that encourages an approach to writing based on the structure of your documents, not their appearance.\r\n\r\nThis installer will setup a complete environment to use ${APP_NAME} and can install missing components automatically.\r\n\r\n$(^ClickNext)"
+
+!insertmacro LanguageString TEXT_USER_TITLE "Choose Users"
+!insertmacro LanguageString TEXT_USER_SUBTITLE "Choose for which users you want to install $(^NameDA)."
+!insertmacro LanguageString TEXT_USER_INFO "Select whether want to install $(^NameDA) for yourself only or for all users on this sytem. $(^ClickNext)"
+!insertmacro LanguageString TEXT_USER_CURRENT "Install just for me"
+!insertmacro LanguageString TEXT_USER_ALL "Install for anyone using this computer"
+
+!insertmacro LanguageString TEXT_REINSTALL_TITLE "Reinstall"
+!insertmacro LanguageString TEXT_REINSTALL_SUBTITLE "Choose whether you want to reinstall the $(^NameDA) program files."
+!insertmacro LanguageString TEXT_REINSTALL_INFO "$(^NameDA) is already installed. This installer will allow you to change the interface language and locations of external applications or download additional dictionaries. If you also want to reinstall the program files, check the box below. $(^ClickNext)"
+!insertmacro LanguageString TEXT_REINSTALL_ENABLE "Reinstall $(^NameDA) program files"
+
+!insertmacro LanguageString TEXT_EXTERNAL_NOPRIVILEDGES "(Administrator or Power User privileges required)"
+
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_TITLE "LaTeX Typesetting System"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_SUBTITLE "A typesetting system is required to be able to create documents for printing or publishing."
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_DOWNLOAD "Please specify whether you want to download MiKTeX or want to use an existing LaTeX system. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_INSTALL "Please specify whether you want to install MiKTeX or want to use an existing LaTeX system. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_DOWNLOAD "Download MiKTeX"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INSTALL "Install MiKTeX"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER "Use an existing LaTeX system in the following folder:"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER_INFO "This folder should contain ${BIN_LATEX}."
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NONE "Install without a LaTeX typesetting system (not recommended)"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NOTFOUND "${BIN_LATEX} does not exist in the folder you specified."
+
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_TITLE "ImageMagick"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_SUBTITLE "ImageMagick is required to support various image formats."
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_DOWNLOAD "Please specify whether you want to download ImageMagick or have it already installed. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_INSTALL "Please specify whether you want to install ImageMagick or have it already installed. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_DOWNLOAD "Download ImageMagick"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INSTALL "Install ImageMagick"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER "Use an existing ImageMagick installation in the following folder:"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER_INFO "This folder should contain ${BIN_IMAGEMAGICK}."
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NONE "Install without ImageMagick (not recommended)"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NOTFOUND "${BIN_IMAGEMAGICK} does not exist in the folder you specified."
+
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_TITLE "Ghostscript"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_SUBTITLE "Ghostscript is required to preview images in PostScript format."
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_DOWNLOAD "Please specify whether you want to download Ghostscript or have it already installed. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_INSTALL "Please specify whether you want to install Ghostscript or have it already installed. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_DOWNLOAD "Download Ghostscript"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INSTALL "Install Ghostscript"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER "Use an existing Ghostscript installation in the following folder:"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER_INFO "This folder should contain ${BIN_GHOSTSCRIPT}."
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NONE "Install without GhostScript (not recommended)"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NOTFOUND "${BIN_GHOSTSCRIPT} does not exist in the folder you specified."
+
+!insertmacro LanguageString TEXT_VIEWER_TITLE "Document Viewer"
+!insertmacro LanguageString TEXT_VIEWER_SUBTITLE "A viewer is required to be able to display typeset documents on your screen."
+!insertmacro LanguageString TEXT_VIEWER_INFO_DOWNLOAD "There is no viewer installed on your system to preview both PDF and Postscript files, which are common formats for typeset documents. If you check the box below, the PDF/Postscript viewer GSView will be downloaded. $(^ClickNext)"
+!insertmacro LanguageString TEXT_VIEWER_INFO_INSTALL "There is no viewer installed on your system to preview both PDF and Postscript files, which are common formats for typeset documents. If you check the box below, the PDF/Postscript viewer GSView will be installed. $(^ClickNext)"
+!insertmacro LanguageString TEXT_VIEWER_DOWNLOAD "Download GSView"
+!insertmacro LanguageString TEXT_VIEWER_INSTALL "Install GSView"
+
+!insertmacro LanguageString TEXT_DICT_TITLE "Spell Checker Dictionaries"
+!insertmacro LanguageString TEXT_DICT_SUBTITLE "Choose the languages you want the spell checker to support."
+!insertmacro LanguageString TEXT_DICT_TOP "In order to spell check documents in a certain language, a dictionary with valid words has to be downloaded. $_CLICK"
+!insertmacro LanguageString TEXT_DICT_LIST "Select dictionaries to download:"
+
+!insertmacro LanguageString TEXT_LANGUAGE_TITLE "Choose Language"
+!insertmacro LanguageString TEXT_LANGUAGE_SUBTITLE "Choose the language in which you want to use $(^NameDA)."
+!insertmacro LanguageString TEXT_LANGUAGE_INFO "Select the language to use for the ${APP_NAME} interface. $(^ClickNext)"
+
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_LATEX "Downloading MiKTeX failed. Would you like to try again?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_IMAGEMAGICK "Downloading ImageMagick failed. Would you like to try again?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_GHOSTSCRIPT "Downloading Ghostscript failed. Would you like to try again?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_VIEWER "Downloading GSView failed. Would you like to try again?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_DICT "Failed to download the ${DICT_NAME} spell checker dictionary. Would you like to try again?"
+
+!insertmacro LanguageString TEXT_NOTINSTALLED_LATEX "The MiKTeX setup wizard was not completed. Do you want to run MiKTeX setup again?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_IMAGEMAGICK "The ImageMagick was not completed. Do you want to run ImageMagick setup again?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_GHOSTSCRIPT "The Ghostscript setup wizard was not completed. Do you want to run Ghostscript setup again?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_VIEWER "You did not associate GSView with the PDF/Postscript file types. Do you want to run GSView setup again?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_DICT "The setup wizard of the ${DICT_NAME} spell checker dictionary was not completed. Do you want to run the setup again?"
+
+!insertmacro LanguageString TEXT_FINISH_DESKTOP "Create desktop shortcut"
+!insertmacro LanguageString TEXT_FINISH_WEBSITE "Visit lyx.org for the latest news, support and tips"
+
+!insertmacro LanguageString UNTEXT_WELCOME "This wizard will guide you through the uninstallation of $(^NameDA). Please close $(^NameDA) before you continue.\r\n\r\nNote that this wizard will only uninstall LyX itself. If you want to uninstall other applications you installed for use with LyX, uninstall them using their entry in Add/Remove Programs.\r\n\r\n$_CLICK"
index 9267a8ab4dfd362f6bf7b2514f26475438a46675..49f26689f31cb12483bae5e352ae966fa342ca03 100644 (file)
@@ -1,91 +1,91 @@
-/*\r
-\r
-LyX Installer Language File\r
-Language: French\r
-Author: Jean-Pierre Chrétien\r
-\r
-*/\r
-\r
-!insertmacro LanguageString TEXT_NO_PRIVILEDGES "Vous n'avez pas les privilèges d'administrateur.$\r$\n$\r$\nBien que vous puissiez installer ${APP_NAME} et le système typographique, les utilitaires de conversion de format graphique et de prévisualisation ne peuvent être installés sans ces privilèges."\r
-\r
-!insertmacro LanguageString TEXT_WELCOME_DOWNLOAD "Cet assistant va vous guider tout au long de l'installation de $(^NameDA), le constructeur de documents qui encourage une saisie fondée sur la structure du document plutôt que sur son apparence.\r\n\r\nCet assistant d'installation va paramétrer un environnement complet d'utilisation de ${APP_NAME} et peut télécharger automatiquement les composants manquants.\r\n\r\n$(^ClickNext)"\r
-!insertmacro LanguageString TEXT_WELCOME_INSTALL "Cet assistant va vous guider tout au long de l'installation de $(^NameDA), le constructeur de documents qui encourage une saisie fondée sur la structure du document plutôt que sur son apparence.\r\n\r\nCet assistant d'installation va paramétrer un environnement complet d'utilisation de ${APP_NAME} et peut installer automatiquement les composants manquants.\r\n\r\n$(^ClickNext)"\r
-\r
-!insertmacro LanguageString TEXT_USER_TITLE "Choix des utilisateurs"\r
-!insertmacro LanguageString TEXT_USER_SUBTITLE "Sélection des utilisateurs désirant utiliser $(^NameDA)."\r
-!insertmacro LanguageString TEXT_USER_INFO "Choix entre installer $(^NameDA) seulement pour vous-même  ou bien pour tous les utilisateurs du système. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_USER_CURRENT "Installer seulement pour moi."\r
-!insertmacro LanguageString TEXT_USER_ALL "Installer pour tous les utilisateurs."\r
-\r
-!insertmacro LanguageString TEXT_REINSTALL_TITLE "Réinstallation"\r
-!insertmacro LanguageString TEXT_REINSTALL_SUBTITLE "Réinstallation éventuelle des fichiers programmes de $(^NameDA)."\r
-!insertmacro LanguageString TEXT_REINSTALL_INFO "$(^NameDA) est déjà installé. Cet assistant vous permettra de modifier le langage de l'interface ou l'emplacement des applications externes, ou de télécharger de nouveaux dictionnaires. Si vous souhaitez réinstaller aussi les fichiers programmes, cochez la case ci-dessous. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_REINSTALL_ENABLE "Réinstaller les fichiers programmes $(^NameDA)"\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_NOPRIVILEDGES "(Privilèges d'administration requis)"\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_TITLE "Système typographique LaTeX"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_SUBTITLE "Un système typographique est requis pour pouvoir créer des documents imprimables ou publiables."\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_DOWNLOAD "Merci de préciser si vous désirez télécharger MikTeX ou si vous voulez utiliser une distribution LaTeX existante. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_INSTALL "Merci de préciser si vous désirez installer MikTeX ou si vous voulez utiliser une distribution LaTeX existante. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_DOWNLOAD "Télécharger MikTeX"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INSTALL "Installer MikTeX"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER "Utiliser une distribution LaTeX existante dans le répertoire suivant :"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER_INFO "Ce répertoire doit contenir ${BIN_LATEX}."\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NONE "Installer sans distribution LaTeX (non recommandé)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NOTFOUND "${BIN_LATEX} n'existe pas dans le répertoire spécifié."\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_TITLE "ImageMagick"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_SUBTITLE "ImageMagick est requis pour les conversions de formats graphiques variés."\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_DOWNLOAD "Merci de préciser si vous désirez télécharger ImageMagick ou si vous en disposez déjà. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_INSTALL "Merci de préciser si vous désirez installer ImageMagick ou si vous en disposez déjà. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_DOWNLOAD "Télécharger ImageMagick"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INSTALL "Installer ImageMagick"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER "Utiliser une installation ImageMagick existante dans le répertoire suivant :"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER_INFO "Ce répertoire doit contenir ${BIN_IMAGEMAGICK}."\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NONE "Installer sans ImageMagick (non recommandé)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NOTFOUND "${BIN_IMAGEMAGICK} n'existe pas dans le répertoire spécifié."\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_TITLE "Ghostscript"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_SUBTITLE "Ghostscript est requis pour prévisualiser les documents au format PostScript."\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_DOWNLOAD "Merci de préciser si vous désirez télécharger Ghostscript ou si vous en disposez déjà. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_INSTALL "Merci de préciser si vous désirez installer Ghostscript ou si vous en disposez déjà. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_DOWNLOAD "Télécharger Ghostscript"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INSTALL "Installer Ghostscript"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER "Utiliser une installation Ghostscript existante dans le répertoire suivant :"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER_INFO "Ce répertoire doit contenir ${BIN_GHOSTSCRIPT}."\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NONE "Installer sans GhostScript (non recommandé)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NOTFOUND "${BIN_GHOSTSCRIPT} n'existe pas dans le répertoire spécifié."\r
-\r
-!insertmacro LanguageString TEXT_VIEWER_TITLE "Visualisation des documents"\r
-!insertmacro LanguageString TEXT_VIEWER_SUBTITLE "Un afficheur est requis pour présenter les résultats des traitements à l'écran."\r
-!insertmacro LanguageString TEXT_VIEWER_INFO_DOWNLOAD "Il n'y a pas d'afficheur installé sur votre système pour prévisualiser les fichiers PDF et PostScript , formats courants de la version typographique des documents. Si vous cochez la case ci-dessous, l'afficheur PDF/PostScript Gaviez sera téléchargé. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_VIEWER_INFO_INSTALL "Il n'y a pas d'afficheur installé sur votre système pour prévisualiser les fichiers PDF et PostScript , formats courants de la version typographique des documents. Si vous cochez la case ci-dessous, l'afficheur PDF/PostScript GSView sera installé. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_VIEWER_DOWNLOAD "Télécharger GSView"\r
-!insertmacro LanguageString TEXT_VIEWER_INSTALL "Installer GSView"\r
-\r
-!insertmacro LanguageString TEXT_DICT_TITLE "Dictionnaires orthographiques"\r
-!insertmacro LanguageString TEXT_DICT_SUBTITLE "Sélection des langues pour lesquelles vous désirez un dictionnaire orthographique."\r
-!insertmacro LanguageString TEXT_DICT_TOP "Pour vérifier l'orthographe des documents dans un langage donné, un dictionnaire contenant les mots admis dot être téléchargé. Sélectionner les dictionnaires à télécharger. $_CLICK"\r
-!insertmacro LanguageString TEXT_DICT_LIST "Sélectionner les dictionnaires à télécharger :"\r
-\r
-!insertmacro LanguageString TEXT_LANGUAGE_TITLE "Choix de la langue"\r
-!insertmacro LanguageString TEXT_LANGUAGE_SUBTITLE "Choix de la langue de l'interface $(^NameDA)."\r
-!insertmacro LanguageString TEXT_LANGUAGE_INFO "Sélectionner la langue à utiliser dans l'interface ${APP_NAME}. $(^ClickNext)"\r
-\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_LATEX "Le téléchargement de MikTeX a échoué. Voulez-vous réessayer ?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_IMAGEMAGICK "Le téléchargement de ImageMagick a échoué. Voulez-vous réessayer ?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_GHOSTSCRIPT "Le téléchargement de Ghostscript a échoué. Voulez-vous réessayer ?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_VIEWER "Le téléchargement de GSView a échoué. Voulez-vous réessayer ?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_DICT "Le téléchargement du dictionnaire orthographique ${DICT_NAME} a échoué. Voulez-vous réessayer ?"\r
-\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_LATEX "L'installation de MikTeX est restée incomplète. Voulez-vous relancer l'installation de MikTeX ?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_IMAGEMAGICK "L'installation de ImageMagick est restée incomplète. Voulez-vous relancer l'installation de ImageMagick ?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_GHOSTSCRIPT "L'installation de Ghostscript est restée incomplète. Voulez-vous relancer l'installation de Ghostscript ?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_VIEWER "Vous n'avez pas associé GSView aux types de fichier PDF/PostScript. Voulez-vous relancer l'installation de GSView ?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_DICT "L'installation du dictionnaire orthographique ${DICT_NAME} est restée incomplète. Voulez-vous relancer l'installation ?"\r
-\r
-!insertmacro LanguageString TEXT_FINISH_DESKTOP "Créer un raccourci sur le bureau"\r
-!insertmacro LanguageString TEXT_FINISH_WEBSITE "Consulter les dernières nouvelles, trucs et astuces sur le site lyx.org"\r
-\r
-!insertmacro LanguageString UNTEXT_WELCOME "Cet assistant va vous guider tout au long de la désinstallation de $(^NameDA). Merci de quitter $(^NameDA) avant de poursuivre.\r\n\r\nNotez bien que cet assistant ne désinstallera que LyX proprement dit. Si vous désirez désinstaller d'autres applications que vous avez installées pour les besoins de $(^NameDA), effectuez cette désinstallation via la page « Ajout/Suppression de programmes ».\r\n\r\n$_CLICK"\r
+/*
+
+LyX Installer Language File
+Language: French
+Author: Jean-Pierre Chrétien
+
+*/
+
+!insertmacro LanguageString TEXT_NO_PRIVILEDGES "Vous n'avez pas les privilèges d'administrateur.$\r$\n$\r$\nBien que vous puissiez installer ${APP_NAME} et le système typographique, les utilitaires de conversion de format graphique et de prévisualisation ne peuvent être installés sans ces privilèges."
+
+!insertmacro LanguageString TEXT_WELCOME_DOWNLOAD "Cet assistant va vous guider tout au long de l'installation de $(^NameDA), le constructeur de documents qui encourage une saisie fondée sur la structure du document plutôt que sur son apparence.\r\n\r\nCet assistant d'installation va paramétrer un environnement complet d'utilisation de ${APP_NAME} et peut télécharger automatiquement les composants manquants.\r\n\r\n$(^ClickNext)"
+!insertmacro LanguageString TEXT_WELCOME_INSTALL "Cet assistant va vous guider tout au long de l'installation de $(^NameDA), le constructeur de documents qui encourage une saisie fondée sur la structure du document plutôt que sur son apparence.\r\n\r\nCet assistant d'installation va paramétrer un environnement complet d'utilisation de ${APP_NAME} et peut installer automatiquement les composants manquants.\r\n\r\n$(^ClickNext)"
+
+!insertmacro LanguageString TEXT_USER_TITLE "Choix des utilisateurs"
+!insertmacro LanguageString TEXT_USER_SUBTITLE "Sélection des utilisateurs désirant utiliser $(^NameDA)."
+!insertmacro LanguageString TEXT_USER_INFO "Choix entre installer $(^NameDA) seulement pour vous-même  ou bien pour tous les utilisateurs du système. $(^ClickNext)"
+!insertmacro LanguageString TEXT_USER_CURRENT "Installer seulement pour moi."
+!insertmacro LanguageString TEXT_USER_ALL "Installer pour tous les utilisateurs."
+
+!insertmacro LanguageString TEXT_REINSTALL_TITLE "Réinstallation"
+!insertmacro LanguageString TEXT_REINSTALL_SUBTITLE "Réinstallation éventuelle des fichiers programmes de $(^NameDA)."
+!insertmacro LanguageString TEXT_REINSTALL_INFO "$(^NameDA) est déjà installé. Cet assistant vous permettra de modifier le langage de l'interface ou l'emplacement des applications externes, ou de télécharger de nouveaux dictionnaires. Si vous souhaitez réinstaller aussi les fichiers programmes, cochez la case ci-dessous. $(^ClickNext)"
+!insertmacro LanguageString TEXT_REINSTALL_ENABLE "Réinstaller les fichiers programmes $(^NameDA)"
+
+!insertmacro LanguageString TEXT_EXTERNAL_NOPRIVILEDGES "(Privilèges d'administration requis)"
+
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_TITLE "Système typographique LaTeX"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_SUBTITLE "Un système typographique est requis pour pouvoir créer des documents imprimables ou publiables."
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_DOWNLOAD "Merci de préciser si vous désirez télécharger MikTeX ou si vous voulez utiliser une distribution LaTeX existante. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_INSTALL "Merci de préciser si vous désirez installer MikTeX ou si vous voulez utiliser une distribution LaTeX existante. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_DOWNLOAD "Télécharger MikTeX"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INSTALL "Installer MikTeX"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER "Utiliser une distribution LaTeX existante dans le répertoire suivant :"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER_INFO "Ce répertoire doit contenir ${BIN_LATEX}."
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NONE "Installer sans distribution LaTeX (non recommandé)"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NOTFOUND "${BIN_LATEX} n'existe pas dans le répertoire spécifié."
+
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_TITLE "ImageMagick"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_SUBTITLE "ImageMagick est requis pour les conversions de formats graphiques variés."
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_DOWNLOAD "Merci de préciser si vous désirez télécharger ImageMagick ou si vous en disposez déjà. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_INSTALL "Merci de préciser si vous désirez installer ImageMagick ou si vous en disposez déjà. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_DOWNLOAD "Télécharger ImageMagick"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INSTALL "Installer ImageMagick"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER "Utiliser une installation ImageMagick existante dans le répertoire suivant :"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER_INFO "Ce répertoire doit contenir ${BIN_IMAGEMAGICK}."
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NONE "Installer sans ImageMagick (non recommandé)"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NOTFOUND "${BIN_IMAGEMAGICK} n'existe pas dans le répertoire spécifié."
+
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_TITLE "Ghostscript"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_SUBTITLE "Ghostscript est requis pour prévisualiser les documents au format PostScript."
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_DOWNLOAD "Merci de préciser si vous désirez télécharger Ghostscript ou si vous en disposez déjà. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_INSTALL "Merci de préciser si vous désirez installer Ghostscript ou si vous en disposez déjà. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_DOWNLOAD "Télécharger Ghostscript"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INSTALL "Installer Ghostscript"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER "Utiliser une installation Ghostscript existante dans le répertoire suivant :"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER_INFO "Ce répertoire doit contenir ${BIN_GHOSTSCRIPT}."
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NONE "Installer sans GhostScript (non recommandé)"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NOTFOUND "${BIN_GHOSTSCRIPT} n'existe pas dans le répertoire spécifié."
+
+!insertmacro LanguageString TEXT_VIEWER_TITLE "Visualisation des documents"
+!insertmacro LanguageString TEXT_VIEWER_SUBTITLE "Un afficheur est requis pour présenter les résultats des traitements à l'écran."
+!insertmacro LanguageString TEXT_VIEWER_INFO_DOWNLOAD "Il n'y a pas d'afficheur installé sur votre système pour prévisualiser les fichiers PDF et PostScript , formats courants de la version typographique des documents. Si vous cochez la case ci-dessous, l'afficheur PDF/PostScript Gaviez sera téléchargé. $(^ClickNext)"
+!insertmacro LanguageString TEXT_VIEWER_INFO_INSTALL "Il n'y a pas d'afficheur installé sur votre système pour prévisualiser les fichiers PDF et PostScript , formats courants de la version typographique des documents. Si vous cochez la case ci-dessous, l'afficheur PDF/PostScript GSView sera installé. $(^ClickNext)"
+!insertmacro LanguageString TEXT_VIEWER_DOWNLOAD "Télécharger GSView"
+!insertmacro LanguageString TEXT_VIEWER_INSTALL "Installer GSView"
+
+!insertmacro LanguageString TEXT_DICT_TITLE "Dictionnaires orthographiques"
+!insertmacro LanguageString TEXT_DICT_SUBTITLE "Sélection des langues pour lesquelles vous désirez un dictionnaire orthographique."
+!insertmacro LanguageString TEXT_DICT_TOP "Pour vérifier l'orthographe des documents dans un langage donné, un dictionnaire contenant les mots admis dot être téléchargé. Sélectionner les dictionnaires à télécharger. $_CLICK"
+!insertmacro LanguageString TEXT_DICT_LIST "Sélectionner les dictionnaires à télécharger :"
+
+!insertmacro LanguageString TEXT_LANGUAGE_TITLE "Choix de la langue"
+!insertmacro LanguageString TEXT_LANGUAGE_SUBTITLE "Choix de la langue de l'interface $(^NameDA)."
+!insertmacro LanguageString TEXT_LANGUAGE_INFO "Sélectionner la langue à utiliser dans l'interface ${APP_NAME}. $(^ClickNext)"
+
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_LATEX "Le téléchargement de MikTeX a échoué. Voulez-vous réessayer ?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_IMAGEMAGICK "Le téléchargement de ImageMagick a échoué. Voulez-vous réessayer ?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_GHOSTSCRIPT "Le téléchargement de Ghostscript a échoué. Voulez-vous réessayer ?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_VIEWER "Le téléchargement de GSView a échoué. Voulez-vous réessayer ?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_DICT "Le téléchargement du dictionnaire orthographique ${DICT_NAME} a échoué. Voulez-vous réessayer ?"
+
+!insertmacro LanguageString TEXT_NOTINSTALLED_LATEX "L'installation de MikTeX est restée incomplète. Voulez-vous relancer l'installation de MikTeX ?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_IMAGEMAGICK "L'installation de ImageMagick est restée incomplète. Voulez-vous relancer l'installation de ImageMagick ?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_GHOSTSCRIPT "L'installation de Ghostscript est restée incomplète. Voulez-vous relancer l'installation de Ghostscript ?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_VIEWER "Vous n'avez pas associé GSView aux types de fichier PDF/PostScript. Voulez-vous relancer l'installation de GSView ?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_DICT "L'installation du dictionnaire orthographique ${DICT_NAME} est restée incomplète. Voulez-vous relancer l'installation ?"
+
+!insertmacro LanguageString TEXT_FINISH_DESKTOP "Créer un raccourci sur le bureau"
+!insertmacro LanguageString TEXT_FINISH_WEBSITE "Consulter les dernières nouvelles, trucs et astuces sur le site lyx.org"
+
+!insertmacro LanguageString UNTEXT_WELCOME "Cet assistant va vous guider tout au long de la désinstallation de $(^NameDA). Merci de quitter $(^NameDA) avant de poursuivre.\r\n\r\nNotez bien que cet assistant ne désinstallera que LyX proprement dit. Si vous désirez désinstaller d'autres applications que vous avez installées pour les besoins de $(^NameDA), effectuez cette désinstallation via la page « Ajout/Suppression de programmes ».\r\n\r\n$_CLICK"
index bbca36e15c10d76b9efbb37c6af8bbc6f09c3162..b77336d65bf72cd8f63d9a71c017da6c288e8ae8 100644 (file)
@@ -1,91 +1,91 @@
-/*\r
-\r
-LyX Installer Language File\r
-Language: German\r
-Author: Andreas Deininger\r
-\r
-*/\r
-\r
-!insertmacro LanguageString TEXT_NO_PRIVILEDGES "Sie gehören weder der Gruppe der Administratoren noch der Gruppe der Hauptbenutzer an.$\r$\n$\r$\nSie können zwar ${APP_NAME} installieren und ebenso auch das Satzprogramm. Die Werkzeuge zur Grafikkonvertierung und für die Vorschau können jedoch ohne diese Rechte nicht installiert werden."\r
-\r
-!insertmacro LanguageString TEXT_WELCOME_DOWNLOAD "Dieses Installationsprogramm wird Sie durch die Installation von $(^NameDA) leiten, des Dokumentenverarbeitungsprogramms welches das Verfassen von Texten basierend auf ihrer Struktur unterstützt, nicht das Verfassen von Texten ausgerichtet auf ihr Erscheinungsbild.\r\n\r\nDieses Installationsprogramm wird ein Komplettsystem zur Nutzung von ${APP_NAME} auf Ihrem Rechner erzeugen, dabei können fehlende Komponenten automatisch heruntergeladen werden.\r\n\r\n$(^ClickNext)"\r
-!insertmacro LanguageString TEXT_WELCOME_INSTALL "Dieses Installationsprogramm wird Sie durch die Installation von $(^NameDA) leiten, des Dokumentenverarbeitungsprogramms welches das Verfassen von Texten basierend auf ihrer Struktur unterstützt, nicht das Verfassen von Texten ausgerichtet auf ihr Erscheinungsbild.\r\n\r\nDieses Installationsprogramm wird ein Komplettsystem zur Nutzung von ${APP_NAME} auf Ihrem Rechner erzeugen, dabei können fehlende Komponenten automatisch heruntergeladen werden.\r\n\r\n$(^ClickNext)"\r
-\r
-!insertmacro LanguageString TEXT_USER_TITLE "Benutzer auswählen"\r
-!insertmacro LanguageString TEXT_USER_SUBTITLE "Wählen Sie die Benutzer aus, für die Sie $(^NameDA) installieren wollen."\r
-!insertmacro LanguageString TEXT_USER_INFO "Wählen Sie aus, ob Sie $(^NameDA) nur für den eigenen Gebrauch oder für die Nutzung durch alle Benutzer dieses Systems installieren möchten. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_USER_CURRENT "Installation nur für mich"\r
-!insertmacro LanguageString TEXT_USER_ALL "Installation für alle Benutzer dieses Computers"\r
-\r
-!insertmacro LanguageString TEXT_REINSTALL_TITLE "Erneute Installation"\r
-!insertmacro LanguageString TEXT_REINSTALL_SUBTITLE "Wählen Sie aus, ob Sie die $(^NameDA) Programmdateien erneut installieren möchten."\r
-!insertmacro LanguageString TEXT_REINSTALL_INFO "$(^NameDA) ist bereits installiert. Das Installationsprogramm gestattet Ihnen die Spracheinstellungen der Benutzeroberfläche oder den Ort externer Anwendungen abzuändern, ferner können Sie zusätzliche Wörterbücher herunterladen. Falls Sie die Programmdateien erneut installieren möchten, markieren Sie das untenstehende Kästchen. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_REINSTALL_ENABLE "$(^NameDA) Programmdateien erneut installieren"\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_NOPRIVILEDGES "(Rechte als Administrator oder Hauptbenutzer erforderlich)"\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_TITLE "LaTeX Satzsystem"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_SUBTITLE "Es wird ein Satzsystem benötigt, um Dokumente zum Druck oder zur Publikation erzeugen zu können."\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_DOWNLOAD "Bitte geben Sie an, ob sie MiKTeX herunterladen wollen oder ob Sie eine bereits existierendes LaTeX-System nutzen wollen. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_INSTALL "Bitte geben Sie an, ob sie MiKTeX installieren wollen oder ob Sie eine bereits existierendes LaTeX -System nutzen wollen. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_DOWNLOAD "MiKTeX herunterladen"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INSTALL "MiKTeX installieren"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER "Ein bereits existierendes LaTeX-System im folgenden Verzeichnis nutzen:"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER_INFO "Dieses Verzeichnis sollte ${BIN_LATEX} enthalten."\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NONE "Installation ohne das LaTeX Satzsystem (nicht empfohlen)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NOTFOUND "${BIN_LATEX} existiert nicht in dem von Ihnen angegebenen Verzeichnis."\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_TITLE "ImageMagick"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_SUBTITLE "ImageMagick wird benötigt, damit verschiedene Bildformate unterstützt werden können."\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_DOWNLOAD "Bitte geben Sie an, ob sie ImageMagick herunterladen wollen oder ob Sie es bereits installiert haben. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_INSTALL "Bitte geben Sie an, ob sie ImageMagick installieren wollen oder ob Sie es bereits installiert haben. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_DOWNLOAD "ImageMagick herunterladen"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INSTALL "ImageMagick installieren"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER "Eine bereits bestehende ImageMagick-Installation aus dem folgenden Verzeichnis nutzen:"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER_INFO "Dieses Verzeichnis sollte ${BIN_IMAGEMAGICK} enthalten."\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NONE "Installation ohne ImageMagick (nicht empfohlen)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NOTFOUND "${BIN_IMAGEMAGICK} existiert nicht in dem von Ihnen angegebenen Verzeichnis."\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_TITLE "Ghostscript"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_SUBTITLE "Ghostscript wird für die Vorschauansicht von Bildern im PostScript-Format benötigt."\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_DOWNLOAD "Bitte geben Sie an, ob sie Ghostscript herunterladen wollen oder ob Sie es bereits installiert haben. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_INSTALL "Bitte geben Sie an, ob sie Ghostscript installieren wollen oder ob Sie es bereits installiert haben. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_DOWNLOAD "Ghostscript herunterladen"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INSTALL "Ghostscript installieren"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER "Eine bereits bestehende Ghostscript-Installation aus dem folgenden Verzeichnis nutzen:"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER_INFO "Dieses Verzeichnis sollte ${BIN_GHOSTSCRIPT} enthalten."\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NONE "Installation ohne Ghostscript (nicht empfohlen)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NOTFOUND "${BIN_GHOSTSCRIPT} existiert nicht in dem von Ihnen angegebenen Verzeichnis."\r
-\r
-!insertmacro LanguageString TEXT_VIEWER_TITLE "Dokumentenbetrachter"\r
-!insertmacro LanguageString TEXT_VIEWER_SUBTITLE "Um von Ihnen verfasste Dokumente auf Ihrem Bildschirm anzuzeigen, wird ein Anzeigeprogramm benötigt."\r
-!insertmacro LanguageString TEXT_VIEWER_INFO_DOWNLOAD "Auf Ihrem System ist kein Anzeigeprogramm für die Vorschauansicht von sowohl PDF- als auch Postscript-Dateien installiert, beides sind gebräuchliche Formate beim Dokumentensatz. Falls Sie das untenstehende Kästchen markieren, wird GSView heruntergeladen, ein Anzeigeprogramm für PDF- und Postscript-Dateien. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_VIEWER_INFO_INSTALL "Auf Ihrem System ist kein Anzeigeprogramm für die Vorschauansicht von sowohl PDF- als auch Postscript-Dateien installiert, beides sind gebräuchliche Formate beim Dokumentensatz. Falls Sie das untenstehende Kästchen markieren, wird GSView installiert, ein Anzeigeprogramm für PDF- und Postscript-Dateien. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_VIEWER_DOWNLOAD "GSView herunterladen"\r
-!insertmacro LanguageString TEXT_VIEWER_INSTALL "GSView installieren"\r
-\r
-!insertmacro LanguageString TEXT_DICT_TITLE "Wörterbücher zur Rechtschreibprüfung"\r
-!insertmacro LanguageString TEXT_DICT_SUBTITLE "Wählen Sie die Sprachen aus, für die eine Rechtschreibprüfung möglich sein soll."\r
-!insertmacro LanguageString TEXT_DICT_TOP "Um für Dokumente in einer bestimmten Sprache die Rechtschreibprüfung zu benutzen, muss ein Wörterbuch heruntergeladen werden. $_CLICK"\r
-!insertmacro LanguageString TEXT_DICT_LIST "Wählen Sie die Wörterbucher aus, die Sie herunterladen möchten:"\r
-\r
-!insertmacro LanguageString TEXT_LANGUAGE_TITLE "Wählen Sie die Sprache aus"\r
-!insertmacro LanguageString TEXT_LANGUAGE_SUBTITLE "Wählen Sie die Sprache aus, in der Sie $(^NameDA) nutzen wollen."\r
-!insertmacro LanguageString TEXT_LANGUAGE_INFO "Wählen Sie die Sprache aus, die Sie für die ${APP_NAME} Benutzeroberfläche nutzen wollen. $(^ClickNext)"\r
-\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_LATEX "Das Herunterladen von MiKTeX ist fehlgeschlagen. Möchten Sie es erneut versuchen?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_IMAGEMAGICK "Das Herunterladen von ImageMagick ist fehlgeschlagen. Möchten Sie es erneut versuchen?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_GHOSTSCRIPT "Das Herunterladen von Ghostscript ist fehlgeschlagen. Möchten Sie es erneut versuchen?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_VIEWER "Das Herunterladen von GSView ist fehlgeschlagen. Möchten Sie es erneut versuchen?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_DICT "Das Herunterladen von Wöterbüchern für die ${DICT_NAME} Rechtschreibprüfung ist fehlgeschlagen. Möchten Sie es erneut versuchen?"\r
-\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_LATEX "Die Installation von MiKTeX konnte nicht erfolgreich abgeschlossen werden. Möchten Sie MiKTeX erneut installieren?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_IMAGEMAGICK "Die Installation von ImageMagick konnte nicht erfolgreich abgeschlossen werden. Möchten Sie ImageMagick erneut installieren?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_GHOSTSCRIPT "Die Installation von Ghostscript konnte nicht erfolgreich abgeschlossen werden. Möchten Sie Ghostscript erneut installieren?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_VIEWER "GSView ist nicht für die Anzeige von PDF- oder Postscript-Dateien konfiguriert. Möchten Sie GSView erneut installieren?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_DICT "Die Installation der Wörterbucher für die ${DICT_NAME} Rechtschreibprüfung konnte nicht erfolgreich abgeschlossen werden. Möchten Sie die Installation erneut versuchen?"\r
-\r
-!insertmacro LanguageString TEXT_FINISH_DESKTOP "Ein Symbol auf der Arbeitsoberfläche erzeugen"\r
-!insertmacro LanguageString TEXT_FINISH_WEBSITE "Besuchen Sie lyx.org für aktuelle Neuigkeiten"\r
-\r
-!insertmacro LanguageString UNTEXT_WELCOME "Dieses Installationsprogramm wird Sie durch die Deinstallation von $(^NameDA) leiten. Bitte schließen Sie $(^NameDA) bevor Sie fortfahren.\r\n\r\nBeachten Sie bitte, dass im folgenden nur LyX selbst deinstalliert wird. Falls Sie andere Anwendungen aus ihrem System entfernen möchten, die zur Nutzung von Lyx installiert wurden, benutzen Sie hierzu bitte den Eintrag Software im Menü Systemsteuerung und wählen Sie dort dann den entsprechenden Eintrag für das Programm aus.\r\n\r\n$_CLICK"\r
+/*
+
+LyX Installer Language File
+Language: German
+Author: Andreas Deininger
+
+*/
+
+!insertmacro LanguageString TEXT_NO_PRIVILEDGES "Sie gehören weder der Gruppe der Administratoren noch der Gruppe der Hauptbenutzer an.$\r$\n$\r$\nSie können zwar ${APP_NAME} installieren und ebenso auch das Satzprogramm. Die Werkzeuge zur Grafikkonvertierung und für die Vorschau können jedoch ohne diese Rechte nicht installiert werden."
+
+!insertmacro LanguageString TEXT_WELCOME_DOWNLOAD "Dieses Installationsprogramm wird Sie durch die Installation von $(^NameDA) leiten, des Dokumentenverarbeitungsprogramms welches das Verfassen von Texten basierend auf ihrer Struktur unterstützt, nicht das Verfassen von Texten ausgerichtet auf ihr Erscheinungsbild.\r\n\r\nDieses Installationsprogramm wird ein Komplettsystem zur Nutzung von ${APP_NAME} auf Ihrem Rechner erzeugen, dabei können fehlende Komponenten automatisch heruntergeladen werden.\r\n\r\n$(^ClickNext)"
+!insertmacro LanguageString TEXT_WELCOME_INSTALL "Dieses Installationsprogramm wird Sie durch die Installation von $(^NameDA) leiten, des Dokumentenverarbeitungsprogramms welches das Verfassen von Texten basierend auf ihrer Struktur unterstützt, nicht das Verfassen von Texten ausgerichtet auf ihr Erscheinungsbild.\r\n\r\nDieses Installationsprogramm wird ein Komplettsystem zur Nutzung von ${APP_NAME} auf Ihrem Rechner erzeugen, dabei können fehlende Komponenten automatisch heruntergeladen werden.\r\n\r\n$(^ClickNext)"
+
+!insertmacro LanguageString TEXT_USER_TITLE "Benutzer auswählen"
+!insertmacro LanguageString TEXT_USER_SUBTITLE "Wählen Sie die Benutzer aus, für die Sie $(^NameDA) installieren wollen."
+!insertmacro LanguageString TEXT_USER_INFO "Wählen Sie aus, ob Sie $(^NameDA) nur für den eigenen Gebrauch oder für die Nutzung durch alle Benutzer dieses Systems installieren möchten. $(^ClickNext)"
+!insertmacro LanguageString TEXT_USER_CURRENT "Installation nur für mich"
+!insertmacro LanguageString TEXT_USER_ALL "Installation für alle Benutzer dieses Computers"
+
+!insertmacro LanguageString TEXT_REINSTALL_TITLE "Erneute Installation"
+!insertmacro LanguageString TEXT_REINSTALL_SUBTITLE "Wählen Sie aus, ob Sie die $(^NameDA) Programmdateien erneut installieren möchten."
+!insertmacro LanguageString TEXT_REINSTALL_INFO "$(^NameDA) ist bereits installiert. Das Installationsprogramm gestattet Ihnen die Spracheinstellungen der Benutzeroberfläche oder den Ort externer Anwendungen abzuändern, ferner können Sie zusätzliche Wörterbücher herunterladen. Falls Sie die Programmdateien erneut installieren möchten, markieren Sie das untenstehende Kästchen. $(^ClickNext)"
+!insertmacro LanguageString TEXT_REINSTALL_ENABLE "$(^NameDA) Programmdateien erneut installieren"
+
+!insertmacro LanguageString TEXT_EXTERNAL_NOPRIVILEDGES "(Rechte als Administrator oder Hauptbenutzer erforderlich)"
+
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_TITLE "LaTeX Satzsystem"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_SUBTITLE "Es wird ein Satzsystem benötigt, um Dokumente zum Druck oder zur Publikation erzeugen zu können."
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_DOWNLOAD "Bitte geben Sie an, ob sie MiKTeX herunterladen wollen oder ob Sie eine bereits existierendes LaTeX-System nutzen wollen. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_INSTALL "Bitte geben Sie an, ob sie MiKTeX installieren wollen oder ob Sie eine bereits existierendes LaTeX -System nutzen wollen. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_DOWNLOAD "MiKTeX herunterladen"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INSTALL "MiKTeX installieren"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER "Ein bereits existierendes LaTeX-System im folgenden Verzeichnis nutzen:"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER_INFO "Dieses Verzeichnis sollte ${BIN_LATEX} enthalten."
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NONE "Installation ohne das LaTeX Satzsystem (nicht empfohlen)"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NOTFOUND "${BIN_LATEX} existiert nicht in dem von Ihnen angegebenen Verzeichnis."
+
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_TITLE "ImageMagick"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_SUBTITLE "ImageMagick wird benötigt, damit verschiedene Bildformate unterstützt werden können."
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_DOWNLOAD "Bitte geben Sie an, ob sie ImageMagick herunterladen wollen oder ob Sie es bereits installiert haben. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_INSTALL "Bitte geben Sie an, ob sie ImageMagick installieren wollen oder ob Sie es bereits installiert haben. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_DOWNLOAD "ImageMagick herunterladen"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INSTALL "ImageMagick installieren"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER "Eine bereits bestehende ImageMagick-Installation aus dem folgenden Verzeichnis nutzen:"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER_INFO "Dieses Verzeichnis sollte ${BIN_IMAGEMAGICK} enthalten."
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NONE "Installation ohne ImageMagick (nicht empfohlen)"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NOTFOUND "${BIN_IMAGEMAGICK} existiert nicht in dem von Ihnen angegebenen Verzeichnis."
+
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_TITLE "Ghostscript"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_SUBTITLE "Ghostscript wird für die Vorschauansicht von Bildern im PostScript-Format benötigt."
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_DOWNLOAD "Bitte geben Sie an, ob sie Ghostscript herunterladen wollen oder ob Sie es bereits installiert haben. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_INSTALL "Bitte geben Sie an, ob sie Ghostscript installieren wollen oder ob Sie es bereits installiert haben. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_DOWNLOAD "Ghostscript herunterladen"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INSTALL "Ghostscript installieren"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER "Eine bereits bestehende Ghostscript-Installation aus dem folgenden Verzeichnis nutzen:"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER_INFO "Dieses Verzeichnis sollte ${BIN_GHOSTSCRIPT} enthalten."
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NONE "Installation ohne Ghostscript (nicht empfohlen)"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NOTFOUND "${BIN_GHOSTSCRIPT} existiert nicht in dem von Ihnen angegebenen Verzeichnis."
+
+!insertmacro LanguageString TEXT_VIEWER_TITLE "Dokumentenbetrachter"
+!insertmacro LanguageString TEXT_VIEWER_SUBTITLE "Um von Ihnen verfasste Dokumente auf Ihrem Bildschirm anzuzeigen, wird ein Anzeigeprogramm benötigt."
+!insertmacro LanguageString TEXT_VIEWER_INFO_DOWNLOAD "Auf Ihrem System ist kein Anzeigeprogramm für die Vorschauansicht von sowohl PDF- als auch Postscript-Dateien installiert, beides sind gebräuchliche Formate beim Dokumentensatz. Falls Sie das untenstehende Kästchen markieren, wird GSView heruntergeladen, ein Anzeigeprogramm für PDF- und Postscript-Dateien. $(^ClickNext)"
+!insertmacro LanguageString TEXT_VIEWER_INFO_INSTALL "Auf Ihrem System ist kein Anzeigeprogramm für die Vorschauansicht von sowohl PDF- als auch Postscript-Dateien installiert, beides sind gebräuchliche Formate beim Dokumentensatz. Falls Sie das untenstehende Kästchen markieren, wird GSView installiert, ein Anzeigeprogramm für PDF- und Postscript-Dateien. $(^ClickNext)"
+!insertmacro LanguageString TEXT_VIEWER_DOWNLOAD "GSView herunterladen"
+!insertmacro LanguageString TEXT_VIEWER_INSTALL "GSView installieren"
+
+!insertmacro LanguageString TEXT_DICT_TITLE "Wörterbücher zur Rechtschreibprüfung"
+!insertmacro LanguageString TEXT_DICT_SUBTITLE "Wählen Sie die Sprachen aus, für die eine Rechtschreibprüfung möglich sein soll."
+!insertmacro LanguageString TEXT_DICT_TOP "Um für Dokumente in einer bestimmten Sprache die Rechtschreibprüfung zu benutzen, muss ein Wörterbuch heruntergeladen werden. $_CLICK"
+!insertmacro LanguageString TEXT_DICT_LIST "Wählen Sie die Wörterbucher aus, die Sie herunterladen möchten:"
+
+!insertmacro LanguageString TEXT_LANGUAGE_TITLE "Wählen Sie die Sprache aus"
+!insertmacro LanguageString TEXT_LANGUAGE_SUBTITLE "Wählen Sie die Sprache aus, in der Sie $(^NameDA) nutzen wollen."
+!insertmacro LanguageString TEXT_LANGUAGE_INFO "Wählen Sie die Sprache aus, die Sie für die ${APP_NAME} Benutzeroberfläche nutzen wollen. $(^ClickNext)"
+
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_LATEX "Das Herunterladen von MiKTeX ist fehlgeschlagen. Möchten Sie es erneut versuchen?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_IMAGEMAGICK "Das Herunterladen von ImageMagick ist fehlgeschlagen. Möchten Sie es erneut versuchen?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_GHOSTSCRIPT "Das Herunterladen von Ghostscript ist fehlgeschlagen. Möchten Sie es erneut versuchen?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_VIEWER "Das Herunterladen von GSView ist fehlgeschlagen. Möchten Sie es erneut versuchen?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_DICT "Das Herunterladen von Wöterbüchern für die ${DICT_NAME} Rechtschreibprüfung ist fehlgeschlagen. Möchten Sie es erneut versuchen?"
+
+!insertmacro LanguageString TEXT_NOTINSTALLED_LATEX "Die Installation von MiKTeX konnte nicht erfolgreich abgeschlossen werden. Möchten Sie MiKTeX erneut installieren?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_IMAGEMAGICK "Die Installation von ImageMagick konnte nicht erfolgreich abgeschlossen werden. Möchten Sie ImageMagick erneut installieren?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_GHOSTSCRIPT "Die Installation von Ghostscript konnte nicht erfolgreich abgeschlossen werden. Möchten Sie Ghostscript erneut installieren?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_VIEWER "GSView ist nicht für die Anzeige von PDF- oder Postscript-Dateien konfiguriert. Möchten Sie GSView erneut installieren?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_DICT "Die Installation der Wörterbucher für die ${DICT_NAME} Rechtschreibprüfung konnte nicht erfolgreich abgeschlossen werden. Möchten Sie die Installation erneut versuchen?"
+
+!insertmacro LanguageString TEXT_FINISH_DESKTOP "Ein Symbol auf der Arbeitsoberfläche erzeugen"
+!insertmacro LanguageString TEXT_FINISH_WEBSITE "Besuchen Sie lyx.org für aktuelle Neuigkeiten"
+
+!insertmacro LanguageString UNTEXT_WELCOME "Dieses Installationsprogramm wird Sie durch die Deinstallation von $(^NameDA) leiten. Bitte schließen Sie $(^NameDA) bevor Sie fortfahren.\r\n\r\nBeachten Sie bitte, dass im folgenden nur LyX selbst deinstalliert wird. Falls Sie andere Anwendungen aus ihrem System entfernen möchten, die zur Nutzung von Lyx installiert wurden, benutzen Sie hierzu bitte den Eintrag Software im Menü Systemsteuerung und wählen Sie dort dann den entsprechenden Eintrag für das Programm aus.\r\n\r\n$_CLICK"
index 389cd97f19018b130df9d632ea5ca2dce12d64c7..4ac15bc34003182d5da59b32168434423646efe0 100644 (file)
@@ -1,91 +1,91 @@
-/*\r
-\r
-LyX Installer Language File\r
-Language: Italian\r
-Author: Enrico Forestieri\r
-\r
-*/\r
-\r
-!insertmacro LanguageString TEXT_NO_PRIVILEDGES "Non si hanno privilegi da amministratore o utente avanzato.$\r$\n$\r$\nSebbene sia possibile installare ${APP_NAME} ed il sistema di composizione tipografica, le utilità per la conversione delle immagini e per l'anteprima non possono essere installate senza tali privilegi."\r
-\r
-!insertmacro LanguageString TEXT_WELCOME_DOWNLOAD "Verrete guidati nell'installazione di $(^NameDA), il compilatore di documenti che incoraggia un approccio alla scrittura basato sulla struttura dei vostri testi, non sulla loro apparenza.\r\n\r\nQuesto installer preparerà un ambiente completo per usare ${APP_NAME} ed è in grado di scaricare automaticamente dalla rete i componenti mancanti.\r\n\r\n$(^ClickNext)"\r
-!insertmacro LanguageString TEXT_WELCOME_INSTALL "Verrete guidati nell'installazione di $(^NameDA), il compilatore di documenti che incoraggia un approccio alla scrittura basato sulla struttura dei vostri testi, non sulla loro apparenza.\r\n\r\nQuesto installer preparerà un ambiente completo per usare ${APP_NAME} ed è in grado di installare automaticamente i componenti mancanti.\r\n\r\n$(^ClickNext)"\r
-\r
-!insertmacro LanguageString TEXT_USER_TITLE "Scelta degli Utenti"\r
-!insertmacro LanguageString TEXT_USER_SUBTITLE "Scegliete per quali utenti volete installare $(^NameDA)."\r
-!insertmacro LanguageString TEXT_USER_INFO "Scegliete se volete installare $(^NameDA) solo per voi o per tutti gli utenti di questo sistema. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_USER_CURRENT "Installazione personale"\r
-!insertmacro LanguageString TEXT_USER_ALL "Installazione per tutti gli utenti"\r
-\r
-!insertmacro LanguageString TEXT_REINSTALL_TITLE "Reinstallazione"\r
-!insertmacro LanguageString TEXT_REINSTALL_SUBTITLE "Scegliete se volete reinstallare i file di $(^NameDA)."\r
-!insertmacro LanguageString TEXT_REINSTALL_INFO "$(^NameDA) è già installato. Questo installer vi consentirà di cambiare la lingua dell'interfaccia, l'ubicazione di applicazioni esterne o di scaricare dalla rete dizionari aggiuntivi. Se volete anche reinstallare i file del programma, selezionate la casella sottostante. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_REINSTALL_ENABLE "Reinstallazione dei file di $(^NameDA)"\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_NOPRIVILEDGES "(sono richiesti privilegi da amministratore o utente avanzato)"\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_TITLE "Sistema di Composizione Tipografica LaTeX"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_SUBTITLE "È necessario il sistema di composizione tipografica LaTeX per potere creare documenti adatti per la stampa o la pubblicazione."\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_DOWNLOAD "Specificate se volete scaricare dalla rete MiKTeX o volete usare un sistema LaTeX preesistente. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_INSTALL "Specificate se volete installare MiKTeX o volete usare un sistema LaTeX preesistente. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_DOWNLOAD "Scarica MiKTeX"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INSTALL "Installa MiKTeX"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER "Usa il sistema LaTeX preesistente nella seguente cartella:"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER_INFO "Questa cartella deve contenere ${BIN_LATEX}."\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NONE "Installa senza un sistema di composizione tipografica LaTeX (sconsigliato)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NOTFOUND "${BIN_LATEX} non è presente nella cartella specificata."\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_TITLE "ImageMagick"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_SUBTITLE "ImageMagick è necessario per il supporto di vari formati grafici."\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_DOWNLOAD "Specificate se volete scaricare dalla rete ImageMagick o se è già installato. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_INSTALL "Specificate se volete installare ImageMagick o se è già installato. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_DOWNLOAD "Scarica ImageMagick"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INSTALL "Installa ImageMagick"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER "Usa l'installazione di ImageMagick preesistente nella seguente cartella:"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER_INFO "Questa cartella deve contenere ${BIN_IMAGEMAGICK}."\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NONE "Installa senza ImageMagick (sconsigliato)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NOTFOUND "${BIN_IMAGEMAGICK} non è presente nella cartella specificata."\r
-\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_TITLE "Ghostscript"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_SUBTITLE "Ghostscript è necessario per l'anteprima di immagini in formato PostScript."\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_DOWNLOAD "Specificate se volete scaricare dalla rete Ghostscript o se è già installato. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_INSTALL "Specificate se volete installare Ghostscript o se è già installato. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_DOWNLOAD "Scarica Ghostscript"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INSTALL "Installa Ghostscript"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER "Usa l'installazione di Ghostscript preesistente nella seguente cartella:"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER_INFO "Questa cartella deve contenere ${BIN_GHOSTSCRIPT}."\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NONE "Installa senza GhostScript (sconsigliato)"\r
-!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NOTFOUND "${BIN_GHOSTSCRIPT} non è presente nella cartella specificata."\r
-\r
-!insertmacro LanguageString TEXT_VIEWER_TITLE "Visualizzatore di Documenti"\r
-!insertmacro LanguageString TEXT_VIEWER_SUBTITLE "Un visualizzatore è necessario per mostrare sullo schermo i documenti compilati."\r
-!insertmacro LanguageString TEXT_VIEWER_INFO_DOWNLOAD "Non è installato nessun visualizzatore in grado di mostrare file sia PDF che Postscript, ovvero i formati comuni per i documenti compilati. Selezionando la casella sottostante, verrà scaricato dalla rete il visualizzatore PDF/Postscript GSView. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_VIEWER_INFO_INSTALL "Non è installato nessun visualizzatore in grado di mostrare file sia PDF che Postscript, ovvero i formati comuni per i documenti compilati. Selezionando la casella sottostante, verrà installato il visualizzatore PDF/Postscript GSView. $(^ClickNext)"\r
-!insertmacro LanguageString TEXT_VIEWER_DOWNLOAD "Scarica GSView"\r
-!insertmacro LanguageString TEXT_VIEWER_INSTALL "Installa GSView"\r
-\r
-!insertmacro LanguageString TEXT_DICT_TITLE "Dizionari per il Correttore Ortografico"\r
-!insertmacro LanguageString TEXT_DICT_SUBTITLE "Scegliete le lingue che volete usare per il correttore ortografico."\r
-!insertmacro LanguageString TEXT_DICT_TOP "Per verificare l'ortografia dei documenti in una data lingua, è necessario scaricare dalla rete un dizionario di parole valide. Selezionate i dizionari da scaricare. $_CLICK"\r
-!insertmacro LanguageString TEXT_DICT_LIST "Selezionate i dizionari da scaricare:"\r
-\r
-!insertmacro LanguageString TEXT_LANGUAGE_TITLE "Scelta della Lingua"\r
-!insertmacro LanguageString TEXT_LANGUAGE_SUBTITLE "Scegliete la lingua nella quale volete usare $(^NameDA)."\r
-!insertmacro LanguageString TEXT_LANGUAGE_INFO "Scegliete la lingua da usare per l'interfaccia di ${APP_NAME}. $(^ClickNext)"\r
-\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_LATEX "Non sono riuscito a scaricare MiKTeX. Volete provare ancora?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_IMAGEMAGICK "Non sono riuscito a scaricare ImageMagick. Volete provare ancora?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_GHOSTSCRIPT "Non sono riuscito a scaricare Ghostscript. Volete provare ancora?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_VIEWER "Non sono riuscito a scaricare GSView. Volete provare ancora?"\r
-!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_DICT "Non sono riuscito a scaricare il dizionario ortografico ${DICT_NAME}. Volete provare ancora?"\r
-\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_LATEX "L'installazione di MiKTeX non è stata completata. Volete rilanciare il programma di installazione di MiKTeX?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_IMAGEMAGICK "L'installazione di ImageMagick non è stata completata. Volete rilanciare il programma di installazione di ImageMagick?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_GHOSTSCRIPT "L'installazione di Ghostscript non è stata completata. Volete rilanciare il programma di installazione di Ghostscript?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_VIEWER "Non avete associato GSView ai file di tipo PDF/Postscript. Volete rilanciare il programma di installazione di GSView?"\r
-!insertmacro LanguageString TEXT_NOTINSTALLED_DICT "L'installazione del dizionario ortografico ${DICT_NAME} non è stata completata. Volete riprovarla?"\r
-\r
-!insertmacro LanguageString TEXT_FINISH_DESKTOP "Crea icona sul desktop"\r
-!insertmacro LanguageString TEXT_FINISH_WEBSITE "Visitate lyx.org per ultime novità, aiuto e suggerimenti"\r
-\r
-!insertmacro LanguageString UNTEXT_WELCOME "Verrete guidati nella disinstallazione di $(^NameDA). Per favore, chiudete $(^NameDA) prima di continuare.\r\n\r\nNotate che verrà disinstallato solamente LyX. Se volete disinstallare le altre applicazioni installate insieme a LyX, dovrete farlo mediante la voce corrispondente in 'Installazione applicazioni'.\r\n\r\n$_CLICK"\r
+/*
+
+LyX Installer Language File
+Language: Italian
+Author: Enrico Forestieri
+
+*/
+
+!insertmacro LanguageString TEXT_NO_PRIVILEDGES "Non si hanno privilegi da amministratore o utente avanzato.$\r$\n$\r$\nSebbene sia possibile installare ${APP_NAME} ed il sistema di composizione tipografica, le utilità per la conversione delle immagini e per l'anteprima non possono essere installate senza tali privilegi."
+
+!insertmacro LanguageString TEXT_WELCOME_DOWNLOAD "Verrete guidati nell'installazione di $(^NameDA), il compilatore di documenti che incoraggia un approccio alla scrittura basato sulla struttura dei vostri testi, non sulla loro apparenza.\r\n\r\nQuesto installer preparerà un ambiente completo per usare ${APP_NAME} ed è in grado di scaricare automaticamente dalla rete i componenti mancanti.\r\n\r\n$(^ClickNext)"
+!insertmacro LanguageString TEXT_WELCOME_INSTALL "Verrete guidati nell'installazione di $(^NameDA), il compilatore di documenti che incoraggia un approccio alla scrittura basato sulla struttura dei vostri testi, non sulla loro apparenza.\r\n\r\nQuesto installer preparerà un ambiente completo per usare ${APP_NAME} ed è in grado di installare automaticamente i componenti mancanti.\r\n\r\n$(^ClickNext)"
+
+!insertmacro LanguageString TEXT_USER_TITLE "Scelta degli Utenti"
+!insertmacro LanguageString TEXT_USER_SUBTITLE "Scegliete per quali utenti volete installare $(^NameDA)."
+!insertmacro LanguageString TEXT_USER_INFO "Scegliete se volete installare $(^NameDA) solo per voi o per tutti gli utenti di questo sistema. $(^ClickNext)"
+!insertmacro LanguageString TEXT_USER_CURRENT "Installazione personale"
+!insertmacro LanguageString TEXT_USER_ALL "Installazione per tutti gli utenti"
+
+!insertmacro LanguageString TEXT_REINSTALL_TITLE "Reinstallazione"
+!insertmacro LanguageString TEXT_REINSTALL_SUBTITLE "Scegliete se volete reinstallare i file di $(^NameDA)."
+!insertmacro LanguageString TEXT_REINSTALL_INFO "$(^NameDA) è già installato. Questo installer vi consentirà di cambiare la lingua dell'interfaccia, l'ubicazione di applicazioni esterne o di scaricare dalla rete dizionari aggiuntivi. Se volete anche reinstallare i file del programma, selezionate la casella sottostante. $(^ClickNext)"
+!insertmacro LanguageString TEXT_REINSTALL_ENABLE "Reinstallazione dei file di $(^NameDA)"
+
+!insertmacro LanguageString TEXT_EXTERNAL_NOPRIVILEDGES "(sono richiesti privilegi da amministratore o utente avanzato)"
+
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_TITLE "Sistema di Composizione Tipografica LaTeX"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_SUBTITLE "È necessario il sistema di composizione tipografica LaTeX per potere creare documenti adatti per la stampa o la pubblicazione."
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_DOWNLOAD "Specificate se volete scaricare dalla rete MiKTeX o volete usare un sistema LaTeX preesistente. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INFO_INSTALL "Specificate se volete installare MiKTeX o volete usare un sistema LaTeX preesistente. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_DOWNLOAD "Scarica MiKTeX"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_INSTALL "Installa MiKTeX"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER "Usa il sistema LaTeX preesistente nella seguente cartella:"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_FOLDER_INFO "Questa cartella deve contenere ${BIN_LATEX}."
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NONE "Installa senza un sistema di composizione tipografica LaTeX (sconsigliato)"
+!insertmacro LanguageString TEXT_EXTERNAL_LATEX_NOTFOUND "${BIN_LATEX} non è presente nella cartella specificata."
+
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_TITLE "ImageMagick"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_SUBTITLE "ImageMagick è necessario per il supporto di vari formati grafici."
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_DOWNLOAD "Specificate se volete scaricare dalla rete ImageMagick o se è già installato. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INFO_INSTALL "Specificate se volete installare ImageMagick o se è già installato. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_DOWNLOAD "Scarica ImageMagick"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_INSTALL "Installa ImageMagick"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER "Usa l'installazione di ImageMagick preesistente nella seguente cartella:"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_FOLDER_INFO "Questa cartella deve contenere ${BIN_IMAGEMAGICK}."
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NONE "Installa senza ImageMagick (sconsigliato)"
+!insertmacro LanguageString TEXT_EXTERNAL_IMAGEMAGICK_NOTFOUND "${BIN_IMAGEMAGICK} non è presente nella cartella specificata."
+
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_TITLE "Ghostscript"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_SUBTITLE "Ghostscript è necessario per l'anteprima di immagini in formato PostScript."
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_DOWNLOAD "Specificate se volete scaricare dalla rete Ghostscript o se è già installato. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INFO_INSTALL "Specificate se volete installare Ghostscript o se è già installato. $(^ClickNext)"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_DOWNLOAD "Scarica Ghostscript"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_INSTALL "Installa Ghostscript"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER "Usa l'installazione di Ghostscript preesistente nella seguente cartella:"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_FOLDER_INFO "Questa cartella deve contenere ${BIN_GHOSTSCRIPT}."
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NONE "Installa senza GhostScript (sconsigliato)"
+!insertmacro LanguageString TEXT_EXTERNAL_GHOSTSCRIPT_NOTFOUND "${BIN_GHOSTSCRIPT} non è presente nella cartella specificata."
+
+!insertmacro LanguageString TEXT_VIEWER_TITLE "Visualizzatore di Documenti"
+!insertmacro LanguageString TEXT_VIEWER_SUBTITLE "Un visualizzatore è necessario per mostrare sullo schermo i documenti compilati."
+!insertmacro LanguageString TEXT_VIEWER_INFO_DOWNLOAD "Non è installato nessun visualizzatore in grado di mostrare file sia PDF che Postscript, ovvero i formati comuni per i documenti compilati. Selezionando la casella sottostante, verrà scaricato dalla rete il visualizzatore PDF/Postscript GSView. $(^ClickNext)"
+!insertmacro LanguageString TEXT_VIEWER_INFO_INSTALL "Non è installato nessun visualizzatore in grado di mostrare file sia PDF che Postscript, ovvero i formati comuni per i documenti compilati. Selezionando la casella sottostante, verrà installato il visualizzatore PDF/Postscript GSView. $(^ClickNext)"
+!insertmacro LanguageString TEXT_VIEWER_DOWNLOAD "Scarica GSView"
+!insertmacro LanguageString TEXT_VIEWER_INSTALL "Installa GSView"
+
+!insertmacro LanguageString TEXT_DICT_TITLE "Dizionari per il Correttore Ortografico"
+!insertmacro LanguageString TEXT_DICT_SUBTITLE "Scegliete le lingue che volete usare per il correttore ortografico."
+!insertmacro LanguageString TEXT_DICT_TOP "Per verificare l'ortografia dei documenti in una data lingua, è necessario scaricare dalla rete un dizionario di parole valide. Selezionate i dizionari da scaricare. $_CLICK"
+!insertmacro LanguageString TEXT_DICT_LIST "Selezionate i dizionari da scaricare:"
+
+!insertmacro LanguageString TEXT_LANGUAGE_TITLE "Scelta della Lingua"
+!insertmacro LanguageString TEXT_LANGUAGE_SUBTITLE "Scegliete la lingua nella quale volete usare $(^NameDA)."
+!insertmacro LanguageString TEXT_LANGUAGE_INFO "Scegliete la lingua da usare per l'interfaccia di ${APP_NAME}. $(^ClickNext)"
+
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_LATEX "Non sono riuscito a scaricare MiKTeX. Volete provare ancora?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_IMAGEMAGICK "Non sono riuscito a scaricare ImageMagick. Volete provare ancora?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_GHOSTSCRIPT "Non sono riuscito a scaricare Ghostscript. Volete provare ancora?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_VIEWER "Non sono riuscito a scaricare GSView. Volete provare ancora?"
+!insertmacro LanguageString TEXT_DOWNLOAD_FAILED_DICT "Non sono riuscito a scaricare il dizionario ortografico ${DICT_NAME}. Volete provare ancora?"
+
+!insertmacro LanguageString TEXT_NOTINSTALLED_LATEX "L'installazione di MiKTeX non è stata completata. Volete rilanciare il programma di installazione di MiKTeX?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_IMAGEMAGICK "L'installazione di ImageMagick non è stata completata. Volete rilanciare il programma di installazione di ImageMagick?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_GHOSTSCRIPT "L'installazione di Ghostscript non è stata completata. Volete rilanciare il programma di installazione di Ghostscript?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_VIEWER "Non avete associato GSView ai file di tipo PDF/Postscript. Volete rilanciare il programma di installazione di GSView?"
+!insertmacro LanguageString TEXT_NOTINSTALLED_DICT "L'installazione del dizionario ortografico ${DICT_NAME} non è stata completata. Volete riprovarla?"
+
+!insertmacro LanguageString TEXT_FINISH_DESKTOP "Crea icona sul desktop"
+!insertmacro LanguageString TEXT_FINISH_WEBSITE "Visitate lyx.org per ultime novità, aiuto e suggerimenti"
+
+!insertmacro LanguageString UNTEXT_WELCOME "Verrete guidati nella disinstallazione di $(^NameDA). Per favore, chiudete $(^NameDA) prima di continuare.\r\n\r\nNotate che verrà disinstallato solamente LyX. Se volete disinstallare le altre applicazioni installate insieme a LyX, dovrete farlo mediante la voce corrispondente in 'Installazione applicazioni'.\r\n\r\n$_CLICK"
index 2d86bd5bd11081f80ac2d76058ddfb8dd4d10746..1179fd8713e95582f4406f2980666b8913af780e 100644 (file)
-/*\r
-\r
-Windows PDF view helper\r
-Author: Joost Verburg\r
-\r
-This will be installed as pdfview.exe.\r
-\r
-The application will launch the default PDF viewer to display the PDF file,\r
-but works around the file locking problems of Adobe Reader.\r
-\r
-Source code of pdfopen/pdfclose is available at:\r
-http://magic.aladdin.cs.cmu.edu/2005/07/15/pdfopen-and-pdfclose/\r
-\r
-*/\r
-\r
-!include "LogicLib.nsh"\r
-!include "FileFunc.nsh"\r
-!insertmacro GetParameters\r
-!insertmacro GetFileName\r
-\r
-;--------------------------------\r
-;Settings\r
-\r
-Caption "PDF Viewer"\r
-OutFile pdfview.exe\r
-Icon "..\packaging\icons\lyx_32x32.ico"\r
-SilentInstall silent\r
-\r
-;--------------------------------\r
-;Constants\r
-\r
-!define FALSE 0\r
-!define TRUE 1\r
-\r
-;--------------------------------\r
-;Variables\r
-\r
-Var Dummy\r
-Var OriginalFile\r
-Var OriginalFileName\r
-Var PDFFile\r
-Var Viewer\r
-Var OriginalTimeHigh\r
-Var OriginalTimeLow\r
-Var CurrentTimeHigh\r
-Var CurrentTimeLow\r
-\r
-;--------------------------------\r
-;Macros\r
-\r
-!macro SystemCall STACK\r
-\r
-  Push `${STACK}`\r
-  CallInstDLL "$EXEDIR\System.dll" Call\r
-\r
-!macroend\r
-\r
-!macro HideConsole COMMAND_LINE\r
-\r
-  Push `${COMMAND_LINE}`\r
-  CallInstDLL "$EXEDIR\Console.dll" Exec\r
-  Pop $Dummy\r
-  \r
-  ${if} $Dummy == "error"\r
-    MessageBox MB_OK|MB_ICONSTOP "Error opening PDF file $R0."\r
-  ${endif}\r
-\r
-!macroend\r
-\r
-;--------------------------------\r
-;PDF vieweing\r
-\r
-Section "View PDF file"\r
-\r
-  InitPluginsDir ;Temporary directory for PDF file\r
-\r
-  ;Command line parameters\r
-  Call GetParameters\r
-  Pop $OriginalFile\r
-\r
-  ;Trim quotes\r
-  StrCpy $Dummy $OriginalFile 1\r
-  ${if} $Dummy == '"'\r
-    StrCpy $OriginalFile $OriginalFile "" 1\r
-  ${endif}\r
-  StrCpy $Dummy $OriginalFile 1 -1\r
-  ${if} $Dummy == '"'\r
-    StrCpy $OriginalFile $OriginalFile -1\r
-  ${endif}\r
-\r
-  GetFullPathName $OriginalFile $OriginalFile\r
-  Push $OriginalFile\r
-  Call GetFileName\r
-  Pop $OriginalFileName\r
-\r
-  SetOutPath $TEMP ;The LyX tmpbuf should not be locked\r
-\r
-  StrCpy $PDFFile $PLUGINSDIR\$OriginalFileName\r
-\r
-  ;Check whether the file will be opened with Adobe Reader or Adobe Acrobat\r
-  Push $OriginalFile\r
-  !insertmacro SystemCall "shell32::FindExecutable(t s, t '', t .s)"\r
-  Call GetFileName\r
-  Pop $Viewer\r
-\r
-  ${if} $Viewer == ""\r
-    MessageBox MB_OK|MB_ICONEXCLAMATION "No PDF viewer is installed. \\r
-        Please install a PDF viewer such as Adobe Reader."\r
-    Quit        \r
-  ${endif}\r
-\r
-  ${if} $Viewer == "AcroRd32.exe"\r
-    ${orif} $Viewer == "Acrobat.exe"\r
-    \r
-    ;Using Adobe viewer\r
-    \r
-    ;Close existing view\r
-    ${if} ${fileexists} $PDFFile\r
-      !insertmacro HideConsole '"$EXEDIR\pdfclose.exe" --file "$PDFFile"'\r
-    ${endif}\r
-    \r
-    ;Copy PDF to temporary file to allow LyX to overwrite the original\r
-    CopyFiles /SILENT $OriginalFile $PDFFile\r
-    \r
-    ;Open a new view\r
-    !insertmacro HideConsole '"$EXEDIR\pdfopen.exe" --back --file "$PDFFile"'\r
-    \r
-    ;Monitor for updates of the original file\r
-    \r
-    GetFileTime $OriginalFile $OriginalTimeHigh $OriginalTimeLow\r
-    \r
-    ${do}\r
-    \r
-      Sleep 500\r
-      \r
-      FileOpen $Dummy $PDFFile a\r
-      \r
-      ${if} $Dummy != ""\r
-        ;File no longer locked, reader closed\r
-        FileClose $Dummy\r
-        Delete $PDFFile\r
-        Quit\r
-      ${endif}\r
-      \r
-      ${if} ${fileexists} $OriginalFile\r
-        \r
-        GetFileTime $OriginalFile $CurrentTimeHigh $CurrentTimeLow\r
-        \r
-        ${if} $OriginalTimeHigh != $CurrentTimeHigh\r
-          ${orif} $OriginalTimeLow != $CurrentTimeLow\r
-          \r
-          ;Original has been modified, update!\r
-          \r
-          StrCpy $OriginalTimeHigh $CurrentTimeHigh\r
-          StrCpy $OriginalTimeLow  $CurrentTimeLow\r
-          !insertmacro HideConsole '"$EXEDIR\pdfclose.exe" --file "$PDFFile"'\r
-          CopyFiles /SILENT $OriginalFile $PDFFile\r
-          !insertmacro HideConsole '"$EXEDIR\pdfopen.exe" --back --file "$PDFFile"'\r
-          \r
-        ${endif}\r
-        \r
-      ${endif}\r
-    \r
-    ${loop}\r
-    \r
-  ${else}\r
-  \r
-    ;Another PDF viewer like GSView is used\r
-    ;No need for special actions, just forward to ShellExecute\r
-    ExecShell open $OriginalFile\r
-    \r
-  ${endif}\r
-    \r
-SectionEnd\r
+/*
+
+Windows PDF view helper
+Author: Joost Verburg
+
+This will be installed as pdfview.exe.
+
+The application will launch the default PDF viewer to display the PDF file,
+but works around the file locking problems of Adobe Reader.
+
+Source code of pdfopen/pdfclose is available at:
+http://magic.aladdin.cs.cmu.edu/2005/07/15/pdfopen-and-pdfclose/
+
+*/
+
+!include "LogicLib.nsh"
+!include "FileFunc.nsh"
+!insertmacro GetParameters
+!insertmacro GetFileName
+
+;--------------------------------
+;Settings
+
+Caption "PDF Viewer"
+OutFile pdfview.exe
+Icon "..\packaging\icons\lyx_32x32.ico"
+SilentInstall silent
+
+;--------------------------------
+;Constants
+
+!define FALSE 0
+!define TRUE 1
+
+;--------------------------------
+;Variables
+
+Var Dummy
+Var OriginalFile
+Var OriginalFileName
+Var PDFFile
+Var Viewer
+Var OriginalTimeHigh
+Var OriginalTimeLow
+Var CurrentTimeHigh
+Var CurrentTimeLow
+
+;--------------------------------
+;Macros
+
+!macro SystemCall STACK
+
+  Push `${STACK}`
+  CallInstDLL "$EXEDIR\System.dll" Call
+
+!macroend
+
+!macro HideConsole COMMAND_LINE
+
+  Push `${COMMAND_LINE}`
+  CallInstDLL "$EXEDIR\Console.dll" Exec
+  Pop $Dummy
+  
+  ${if} $Dummy == "error"
+    MessageBox MB_OK|MB_ICONSTOP "Error opening PDF file $R0."
+  ${endif}
+
+!macroend
+
+;--------------------------------
+;PDF vieweing
+
+Section "View PDF file"
+
+  InitPluginsDir ;Temporary directory for PDF file
+
+  ;Command line parameters
+  Call GetParameters
+  Pop $OriginalFile
+
+  ;Trim quotes
+  StrCpy $Dummy $OriginalFile 1
+  ${if} $Dummy == '"'
+    StrCpy $OriginalFile $OriginalFile "" 1
+  ${endif}
+  StrCpy $Dummy $OriginalFile 1 -1
+  ${if} $Dummy == '"'
+    StrCpy $OriginalFile $OriginalFile -1
+  ${endif}
+
+  GetFullPathName $OriginalFile $OriginalFile
+  Push $OriginalFile
+  Call GetFileName
+  Pop $OriginalFileName
+
+  SetOutPath $TEMP ;The LyX tmpbuf should not be locked
+
+  StrCpy $PDFFile $PLUGINSDIR\$OriginalFileName
+
+  ;Check whether the file will be opened with Adobe Reader or Adobe Acrobat
+  Push $OriginalFile
+  !insertmacro SystemCall "shell32::FindExecutable(t s, t '', t .s)"
+  Call GetFileName
+  Pop $Viewer
+
+  ${if} $Viewer == ""
+    MessageBox MB_OK|MB_ICONEXCLAMATION "No PDF viewer is installed. \
+        Please install a PDF viewer such as Adobe Reader."
+    Quit        
+  ${endif}
+
+  ${if} $Viewer == "AcroRd32.exe"
+    ${orif} $Viewer == "Acrobat.exe"
+    
+    ;Using Adobe viewer
+    
+    ;Close existing view
+    ${if} ${fileexists} $PDFFile
+      !insertmacro HideConsole '"$EXEDIR\pdfclose.exe" --file "$PDFFile"'
+    ${endif}
+    
+    ;Copy PDF to temporary file to allow LyX to overwrite the original
+    CopyFiles /SILENT $OriginalFile $PDFFile
+    
+    ;Open a new view
+    !insertmacro HideConsole '"$EXEDIR\pdfopen.exe" --back --file "$PDFFile"'
+    
+    ;Monitor for updates of the original file
+    
+    GetFileTime $OriginalFile $OriginalTimeHigh $OriginalTimeLow
+    
+    ${do}
+    
+      Sleep 500
+      
+      FileOpen $Dummy $PDFFile a
+      
+      ${if} $Dummy != ""
+        ;File no longer locked, reader closed
+        FileClose $Dummy
+        Delete $PDFFile
+        Quit
+      ${endif}
+      
+      ${if} ${fileexists} $OriginalFile
+        
+        GetFileTime $OriginalFile $CurrentTimeHigh $CurrentTimeLow
+        
+        ${if} $OriginalTimeHigh != $CurrentTimeHigh
+          ${orif} $OriginalTimeLow != $CurrentTimeLow
+          
+          ;Original has been modified, update!
+          
+          StrCpy $OriginalTimeHigh $CurrentTimeHigh
+          StrCpy $OriginalTimeLow  $CurrentTimeLow
+          !insertmacro HideConsole '"$EXEDIR\pdfclose.exe" --file "$PDFFile"'
+          CopyFiles /SILENT $OriginalFile $PDFFile
+          !insertmacro HideConsole '"$EXEDIR\pdfopen.exe" --back --file "$PDFFile"'
+          
+        ${endif}
+        
+      ${endif}
+    
+    ${loop}
+    
+  ${else}
+  
+    ;Another PDF viewer like GSView is used
+    ;No need for special actions, just forward to ShellExecute
+    ExecShell open $OriginalFile
+    
+  ${endif}
+    
+SectionEnd