installer: sync with branch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22199 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-12-17 22:34:35 +00:00
parent 1447a7bf98
commit fdd5ea3ab5
12 changed files with 111 additions and 400 deletions

View File

@ -1,316 +1,8 @@
Version 3.19
- LyX 1.5.?
Version LyX 1.6svn-21-12-2007
- support to Portuguese as LyX's menu language
- LyX 1.6svn from 21-12-2007
for an overview about new features, have a look at
http://wiki.lyx.org/LyX/NewInLyX16
Version 3.18
- LyX 1.5.1
- support to set "Chinese (China)" (simplified Chinese) and
"Chinese (Taiwan)" (traditional Chinese) as LyX's menu language
- updated to MiKTeX 2.6 (version 2742)
- updated to ImageMagick 6.3.5
- updated to GhostScript 8.60
Version LyX 1.5rc2-27-06-2007
- LyX 1.5rc2 from 27-06-2007
- new Chinese translation of LyX's menus
- new button to close document tabs separately
- enable HTML export on all OS platforms
- fixes in language support for Arabic and Farsi
- new German translation of the EmbeddedObjects manual
- Aspell (thanks to Joost Verburg)
- updated dictionaries for Bulgarian (bg), Farsi (fa), Irish (ga),
Kurdish (ku), Polish (pl), Ukrainian (uk), and Uzbek (uz)
- new dictionaries for Armenian (hy), Frisian (fy), Hindi (hi),
and Portuguese(pt_BR and pt_PT)
- Norwegian (no) dictionary renamed and updated to Norwegian (nb)
- bugfixes in the installer of each dictionary
- updated to MiKTeX 2.6 (version 2726)
Version LyX 1.5rc1-31-05-2007
- LyX 1.5rc1 from 31-05-2007
- support for Farsi
- new Korean and Japanese translation of LyX's menus
- updated to MiKTeX 2.6 (version 2704)
- new Windows Vista-compatible launcher for LyX
- fixed layout file for the LaTeX-package powerdot
- support for SVG-images: when Inkscape is installed, it will be
used as SVG to PDF converter (to get real vector graphics in the
PDF-output)
- support to set Hebrew, Japanese, and Korean as LyX's menu language
- added missing zlib1.dll (caused tex2lyx problems)
Thanks to Pavel Sanda:
- new Czech translation of the installer
Version LyX 1.5beta3-18-05-2007
- LyX 1.5 beta3 from 18-05-2007
- fix bug, introduced with last version, that all margin notes in
a document are lost
- support for Chinese, Japanese and Korean
- support for the LaTeX-package "listings"
- updated to ImageMagick 6.3.4
- updated to Python 2.5.1
- updated to MiKTeX 2.6 (version 2675)
- fix bug that LyX's menu language setting was ignored when LyX is
started by double-clicking on a LyX-file
- when Updating PDFs, the PDF is opened at the last viewed position
(only works with Acrobat/Adobe Reader version <= 7)
- fix hopefully the case that PDFs couldn't be updated when
Adobe Reader 8 is used on Windows Vista
- fix bug that MiKTeX and JabRef weren't correctly uninstalled
Version LyX 1.5svn-02-05-2007
- LyX 1.5svn from 02-05-2007
- support for Armenian
- LyX's console window is now hidden -> updated source code Readmes
- fix bug that file associations were set also when the user has chosen
to leave them untouched
- Update installer: new option to choose whether the file associations
should be updated or not
- Update installer: fix uninstalling
- Update installer: fix that a subfolder of the old install folder
remained after the new install folder has been set
Version LyX 1.5beta2-21-04-2007
- LyX 1.5 beta2 from 21-04-2007
- math-macro fixes
- math delimiter changed again
- new math sidebar that replaces the math panel dialog
- Update installer: require to close LyX before it can be updated
- Update installer: fix bug that sessions files weren't actualized while
updating
- Update installer: fix uninstalling (not fully tested yet)
Version LyX 1.5svn-15-04-2007
- LyX 1.5svn from 15-04-2007
- reworked paragraph dialog
- more cleanups of the math delimiter and the document settings dialogs
- fix bug that configure-script was not run after the installer told
you that the configuration will now start
- fix bug in uninstalling Arabic Aspell dictionary
- fix bug that PDFViewWin7.exe failed to start
- add missing math fonts
- name desktop icon according to the version to avoid interferences
with other installed LyX-versions
- only uninstall stuff that was installed together with the current LyX
version and not together with other installed LyX versions
- New installer Version "Update" available. With this you don't need to
reinstall LyX when you have the previous version "LyX 1.5svn-09-04-2007"
installed.
Version LyX 1.5svn-09-04-2007
- LyX 1.5svn from 09-04-2007
- CJK fixes
- keyboard maps are now working
- InstantPreview is working again
- new layout and template files for the g-brief2 letter class and the
moderncv and europecv curriculum vitae classes
- reworked BibTeX file parser
- reworked graphics, glossary, and math delimiter dialog
- new Spanish translation of the Extended manual
- many other bug fixes
- updated Readme files
- NSIS 2.25 is now required to compile the installer
Version LyX 1.5svn-30-03-2007
- LyX 1.5svn from 30-03-2007
- improved TOC dialog
- fixes for RTL languages
- anti-aliased symbols in math
- new chapter in EmbeddedObjects manual
- revised German Userguide
- new syntax highlighting for document(LaTeX)-preamble
- polished bookmark handling
- new window style for View -> View Source
- many, many bug fixes
- updated to ImageMagick 6.3.3-4: fix bug that transparent image pixels appear
black in DVI or Postscript output
- updated to Ghostscript 8.56
- add missing DLL to run Python on all Win platforms
- add missing image files for EmbeddedObjects manual
Version LyX 1.5beta1-19-02-2007
- LyX 1.5beta1 from 19-02-2007
- improvements for CJK languages
- new inset for captions
- support for more unicode characters, for example TIPA phonetic symbols
- better export to plain text
- updated readme files
- when viewing documents as PDF, Acrobat/Adobe Reader is opened with full size
- update to ImageMagick 6.3.2-7: fix bug of wrong display size of PDF and EPS images
within LyX
Thanks to Martin A. Hansen:
- updated Danish translation of the installer
Version LyX 1.5alpha-05-02-2007
- LyX 1.5alpha from 05-02-2007
- updated to ImageMagick 6.3.2-3
- installer bug fix 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 bug fixes 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 characters 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 bug fixes: 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
!Happy new year!

View File

@ -1,7 +1,6 @@
Function DeleteFiles
# list with deleted files for LyX 1.6svn xx-xx-2007
# list with deleted files for LyX 1.6svn 21-12-2007
FunctionEnd

View File

@ -141,8 +141,8 @@ SectionEnd
Function InstDirChange
# determine the new name of the install location,
# Change the old install path to the new one (currently only when the user
# has used the default path settings of the previous LyX-version)
# Change the old install path to the new one (only when the user
# has used the default path settings of the previous LyX-version, otherwise leave the path as is)
StrCpy $String $INSTDIR
StrCpy $Search "${PRODUCT_VERSION_OLD}"
StrLen $3 $String

View File

@ -8,13 +8,7 @@ Function LaTeXActions
Call LaTeXCheck # sets the path to the latex.exe to $LatexPath # Function from LyXUtils.nsh
${if} $LatexPath != ""
# check if MiKTeX 2.4, 2.5 or 2.6 is installed
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}
# check if MiKTeX 2.5 or 2.6 is installed
# check if MiKTeX 2.5 or 2.6 and newer is installed
StrCpy $0 0
loopA:
EnumRegKey $1 HKLM "SOFTWARE\MiKTeX.org\MiKTeX" $0 # check the last subkey
@ -31,6 +25,10 @@ Function LaTeXActions
StrCpy $MiKTeXVersion "2.6"
StrCpy $LaTeXName "MiKTeX 2.6"
${endif}
${if} $String == "2.7"
StrCpy $MiKTeXVersion "2.7"
StrCpy $LaTeXName "MiKTeX 2.7"
${endif}
${endif}
${if} $LatexPath == "" # check if MiKTeX is installed only for the current user
@ -40,14 +38,8 @@ Function LaTeXActions
${if} $LatexPath != ""
StrCpy $MiKTeXUser "HKCU" # needed later to configure MiKTeX
${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}
# check for MiKTeX 2.5 and 2.6
${endif}
${if} $LaTeXName == "" # check for the MiKTeX version
StrCpy $0 0
loopB:
EnumRegKey $1 HKCU "SOFTWARE\MiKTeX.org\MiKTeX" $0 # check the last subkey
@ -64,8 +56,12 @@ Function LaTeXActions
StrCpy $MiKTeXVersion "2.6"
StrCpy $LaTeXName "MiKTeX 2.6"
${endif}
${if} $String == "2.7"
StrCpy $MiKTeXVersion "2.7"
StrCpy $LaTeXName "MiKTeX 2.7"
${endif}
${endif}
${if} $LatexPath != ""
StrCpy $MiKTeXInstalled "yes"
${endif}
@ -98,9 +94,9 @@ Function LaTeXActions
${endif}
${endif}
${if} $LatexPath != ""
${andif} $LaTeXName != "MiKTeX 2.4"
${andif} $LaTeXName != "MiKTeX 2.5"
${andif} $LaTeXName != "MiKTeX 2.6"
${andif} $LaTeXName != "MiKTeX 2.7"
StrCpy $LaTeXName "TeXLive"
${endif}
@ -180,61 +176,51 @@ Function ConfigureMiKTeX
SetOutPath "$String\tex\latex\broadway"
File "${ClassFileDir}\broadway.cls"
# install LaTeX-package dvipost (dvipost is not available for MiKTeX)
SetOutPath "$String\tex\latex\" # Should there be a final \ before "?
SetOutPath "$String\tex\latex"
File /r "${DVIPostFileDir}"
# refresh MiKTeX's file name database
ExecWait "$LaTeXPath\initexmf --update-fndb"
${if} $MiKTeXVersion == "2.4"
# 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}"
${endif}
${if} $MiKTeXVersion == "2.5"
# enable package installation without asking (t = Yes, f = No)
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "AutoInstall" "1" # if only for curent user
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "AutoInstall" "1" # if only for current user
${if} $MiKTeXUser != "HKCU"
WriteRegStr SHCTX "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "MIKTEX_AUTOINSTALL" "t"
${endif}
# set package repository (MiKTeX's primary package repository)
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RemoteRepository" "${MiKTeXRepo}" # if only for curent user
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RepositoryType" "remote" # if only for curent user
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RemoteRepository" "${MiKTeXRepo}" # if only for current user
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RepositoryType" "remote" # if only for current user
${if} $MiKTeXUser != "HKCU"
WriteRegStr SHCTX "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "MIKTEX_REPOSITORY" "${MiKTeXRepo}"
${endif}
${endif}
${if} $MiKTeXVersion == "2.6"
# enable package installation without asking (t = Yes, f = No)
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "AutoInstall" "1" # if only for curent user
${else} # if MiKTeX 2.6 or above
# enable package installation without asking (1 = Yes, 0 = No, 2 = Ask me first)
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "AutoInstall" "1" # if only for current user
${if} $MiKTeXUser != "HKCU"
WriteRegStr SHCTX "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "AutoInstall" "1" # if only for curent user
WriteRegStr SHCTX "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "AutoInstall" "1"
${endif}
# set package repository (MiKTeX's primary package repository)
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RemoteRepository" "${MiKTeXRepo}" # if only for curent user
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RepositoryType" "remote" # if only for curent user
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RemoteRepository" "${MiKTeXRepo}" # if only for current user
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RepositoryType" "remote" # if only for current user
${if} $MiKTeXUser != "HKCU"
WriteRegStr SHCTX "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RemoteRepository" "${MiKTeXRepo}" # if only for curent user
WriteRegStr SHCTX "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RepositoryType" "remote" # if only for curent user
WriteRegStr SHCTX "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RemoteRepository" "${MiKTeXRepo}"
WriteRegStr SHCTX "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RepositoryType" "remote"
${endif}
${endif}
${endif} # end if $MiKTeXVersion == "2.5"
# enable MiKTeX's automatic package installation
${if} $MiKTeXVersion == "2.4"
${orif} $MiKTeXVersion == "2.5"
${if} $MiKTeXVersion == "2.5"
ExecWait '$LaTeXPath\mpm.com --update-fndb'
${else} # if MiKTeX 2.6
${endif}
${if} $MiKTeXVersion == "2.6"
ExecWait '$LaTeXPath\mpm.exe --update-fndb'
${endif}
${if} $MiKTeXVersion == "2.7"
ExecWait '$LaTeXPath\mpm.exe --update-db'
${endif}
# the following feature is planned to be used for a possible CD-version
# copy LaTeX-packages needed by LyX
# SetOutPath "$INSTDIR"

View File

@ -131,6 +131,12 @@ Function MissingPrograms
${if} $BibTeXEditorPath == ""
ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef 2.2" "UninstallString"
${endif}
${if} $BibTeXEditorPath == ""
ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef 2.3" "UninstallString"
${endif}
${if} $BibTeXEditorPath == ""
ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef 2.3.1" "UninstallString"
${endif}
# test if Inkscape is installed
ReadRegStr $SVGPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Inkscape" "InstallLocation"

View File

@ -47,14 +47,14 @@ ImageMagick
License: ImageMagick license
The folder ~\LyX\etc\ImageMagick contains all used files from ImageMagick 6.3.3
The folder ~\LyX\etc\ImageMagick contains all used files from ImageMagick 6.3.7
---
Ghostscript
License: GPL
The folder ~\LyX\etc\Ghostscript contains all used files from GPL Ghostscript 8.56
The folder ~\LyX\etc\Ghostscript contains all used files from GPL Ghostscript 8.61
---
Aspell
@ -70,7 +70,7 @@ Python
License: Python license
The following files from Python 2.5 are used:
The following files from Python 2.5.1 are used:
python.exe and python25.dll are in the folder ~\LyX\bin.

View File

@ -19,6 +19,8 @@ Prerequisites
You must have the last LyX-version installed, otherwise the update installer
quits with a varning about the wrong LyX version.
Note: The last LyX-version should have been installed using also LyXWinInstaller
to assure that the update works as expected.
---
License

View File

@ -3,9 +3,9 @@
!define PRODUCT_DIR "D:\LyXPackage1.5"
!define PRODUCT_NAME "LyX"
!define PRODUCT_VERSION "1.5.2"
!define PRODUCT_VERSION_SHORT "152"
!define PRODUCT_SUBFOLDER "lyx15"
!define PRODUCT_VERSION "1.6svn-21-12-2007"
!define PRODUCT_VERSION_SHORT "160svn"
!define PRODUCT_SUBFOLDER "lyx16"
!define PRODUCT_LICENSE_FILE "${PRODUCT_DIR}\License.txt"
!define PRODUCT_SOURCEDIR "${PRODUCT_DIR}\LyX"
!define PRODUCT_EXE "$INSTDIR\bin\lyx.exe"
@ -19,12 +19,12 @@
!define PRODUCT_INFO_URL "http://www.lyx.org/"
!define LAUNCHER_EXE "$INSTDIR\bin\LyXLauncher.exe"
BrandingText "LyXWinInstaller v3.20 - ${INSTALLER_VERSION}"
BrandingText "LyXWinInstaller v4.0 - ${INSTALLER_VERSION}"
# to check later if this installer version is running at the same time
!define INSTALLER_EXE "LyX-${PRODUCT_VERSION_SHORT}-3-20-AltInstaller-${INSTALLER_VERSION}.exe"
!define INSTALLER2_EXE "LyX-${PRODUCT_VERSION_SHORT}-3-20-AltInstaller-${INSTALLER2_VERSION}.exe"
!define INSTALLER3_EXE "LyX-${PRODUCT_VERSION_SHORT}-3-20-AltInstaller-${INSTALLER3_VERSION}.exe"
!define INSTALLER_EXE "LyX-${PRODUCT_VERSION_SHORT}-4-0-AltInstaller-${INSTALLER_VERSION}.exe"
!define INSTALLER2_EXE "LyX-${PRODUCT_VERSION_SHORT}-4-0-AltInstaller-${INSTALLER2_VERSION}.exe"
!define INSTALLER3_EXE "LyX-${PRODUCT_VERSION_SHORT}-4-0-AltInstaller-${INSTALLER3_VERSION}.exe"
!define VERSION_BITMAP "${PRODUCT_DIR}\icons\lyx_logo_vert${PRODUCT_VERSION_SHORT}.bmp"
# Replaced by HKLM or HKCU depending on SetShellVarContext.
@ -38,14 +38,13 @@ BrandingText "LyXWinInstaller v3.20 - ${INSTALLER_VERSION}"
# definitions for the Update installer
!if ${INSTALLER_VERSION} == "Update"
!define PRODUCT_UNINST_KEY_OLD "Software\Microsoft\Windows\CurrentVersion\Uninstall\LyX151"
!define PRODUCT_VERSION_OLD "LyX 1.5.1"
!define PRODUCT_UNINSTALL_EXE_OLD "$INSTDIR\LyXWinUninstall.exe"
!define PRODUCT_VERSION_SHORT_OLD "151"
!define JabRefVersion "2.2" # could be an older version
!define ImageMagickVersion_Old "6.3.5" # could be an older version
!define GhostscriptVersion_Old "8.60"
!define MiKTeXDeliveredVersion "2.6" # could be an older version
!define PRODUCT_UNINST_KEY_OLD "Software\Microsoft\Windows\CurrentVersion\Uninstall\LyX152"
!define PRODUCT_VERSION_OLD "1.6svn-21-12-2007"
!define PRODUCT_VERSION_SHORT_OLD "160svn"
!define JabRefVersion "2.3.1" # could be an older version
!define ImageMagickVersion_Old "6.3.7" # could be an older version
!define GhostscriptVersion_Old "8.61" # could be an older version
!define MiKTeXDeliveredVersion "2.7" # could be an older version
!endif
# definitions for the Small installer
@ -56,20 +55,20 @@ BrandingText "LyXWinInstaller v3.20 - ${INSTALLER_VERSION}"
# definitions for the Complete installer
!if ${INSTALLER_VERSION} == "Complete"
!define GSviewInstall "external\gsv48w32.exe"
!define JabRefInstall "external\JabRef-2.2-Setup.exe"
!define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.6.2831.exe"
!define JabRefVersion "2.2"
!define MiKTeXDeliveredVersion "2.6"
!define GSviewInstall "external\gsv49w32.exe"
!define JabRefInstall "external\JabRef-2.3.1-Setup.exe"
!define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.7.2904.exe"
!define JabRefVersion "2.3.1"
!define MiKTeXDeliveredVersion "2.7"
!endif
!define ClassFileDir "${PRODUCT_SOURCEDIR}\Resources\tex"
!define ImageMagickVersion "6.3.6"
!define ImageMagickVersion "6.3.7"
# for some odd reason the ImageMagick folder may not be a subfolder of $INSTDIR\bin!
!define ImageMagickDir "$INSTDIR\etc\ImageMagick"
!define GhostscriptDir "$INSTDIR\etc\Ghostscript"
!define GhostscriptVersion "8.60"
!define GhostscriptVersion "8.61"
!define AiksaurusDir "$APPDATA\Aiksaurus"
!define AiksaurusInstall "external\Aiksaurus"
!define AspellDir "$APPDATA\Aspell"
@ -92,3 +91,6 @@ Name "${PRODUCT_NAME}"
OutFile "${INSTALLER_EXE}"
InstallDir "$PROGRAMFILES\${PRODUCT_NAME} ${PRODUCT_VERSION}"
# set execution level for Windows Vista
RequestExecutionLevel admin

View File

@ -1,10 +1,12 @@
Function UpdateModifiedFiles
# list with modified files for LyX 1.6svn xx-xx-2007
# list with modified files for LyX 1.6svn 21-12-2007
SetOutPath "$INSTDIR\bin"
File "${PRODUCT_SOURCEDIR}\bin\lyx.exe" # always here
File "${PRODUCT_SOURCEDIR}\bin\tex2lyx.exe" # always here
File /r "${PRODUCT_SOURCEDIR}\Resources\locale" # always here
SetOutPath "$INSTDIR\Resources\lyx2lyx" # always here
File "${PRODUCT_SOURCEDIR}\Resources\lyx2lyx\lyx2lyx_version.py" # always here
FunctionEnd

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 101 KiB

View File

@ -17,4 +17,4 @@ WindowHeight = 550
WindowIsMaximized = no
WindowPosX = 200
WindowPosY = 200
WindowWidth = 712
WindowWidth = 720

View File

@ -101,8 +101,9 @@ ToolbarSet
Item "Insert footnote" "footnote-insert"
Item "Insert margin note" "marginalnote-insert"
Item "Insert note" "note-insert"
Item "Insert URL" "url-insert"
Item "Insert Hyperlink" "href-insert"
Item "Insert TeX code" "ert-insert"
Item "Insert math macro" "math-macro newmacroname newcommand"
Item "Include file" "dialog-show-new-inset include"
Separator
Item "Text style" "dialog-show character"
@ -162,6 +163,21 @@ ToolbarSet
Separator
Item "Toggle Math Panels" "toolbar-toggle math_panels"
End
Toolbar "math_macros" "Math Macros"
Item "Remove Last Parameter" "math-macro-remove-param"
Item "Append Parameter" "math-macro-add-param"
Separator
Item "Make First Non-Optional into Optional Parameter" "math-macro-make-optional"
Item "Make Last Optional into Non-Optional Parameter"
"math-macro-make-nonoptional"
Item "Remove Optional Parameter" "math-macro-remove-optional-param"
Item "Insert Optional Parameter" "math-macro-add-optional-param"
Separator
Item "Remove Last Parameter Spitting Out To The Right" "math-macro-remove-greedy-param"
Item "Append Parameter Eating From The Right" "math-macro-append-greedy-param"
Item "Append Optional Parameter Eating From The Right" "math-macro-add-greedy-optional-param"
End
Toolbar "minibuffer" "Command Buffer"
Minibuffer
@ -255,6 +271,9 @@ ToolbarSet
Item "Quadratin space \\quad" "math-insert \quad"
Item "Double quadratin space \\qquad" "math-insert \qquad"
Item "Negative space \\!" "math-insert \!"
Item "Placeholder \\phantom" "math-insert \phantom"
Item "Horizontal placeholder \\hphantom" "math-insert \hphantom"
Item "Vertical placeholder \\vphantom" "math-insert \vphantom"
End
Toolbar "sqrt-square" "Roots"
@ -271,11 +290,17 @@ ToolbarSet
Toolbar "frac-square" "Fractions"
Item "Standard \\frac" "math-insert \frac"
Item "No hor. line \\atop" "math-insert \atop"
Item "Nice \\nicefrac" "math-insert \nicefrac"
Item "Text frac (amsmath) \\tfrac" "math-insert \tfrac"
Item "Display frac (amsmath) \\dfrac" "math-insert \dfrac"
Item "Binomial \\choose" "math-insert \choose"
Item "No horizontal line \\atop" "math-insert \atop"
Item "Nice fraction (3/4) \\nicefrac" "math-insert \nicefrac"
Item "Unit (km) \\unit" "math-insert \unitone"
Item "Unit (864 m) \\unit" "math-insert \unittwo"
Item "Unit fraction (km/h) \\unitfrac" "math-insert \unitfrac"
Item "Unit fraction (20 km/h) \\unitfrac" "math-insert \unitfracthree"
Item "Text fraction (amsmath) \\tfrac" "math-insert \tfrac"
Item "Display fraction (amsmath) \\dfrac" "math-insert \dfrac"
Item "Binomial \\binom" "math-insert \binom"
Item "Text binomial \\tbinom" "math-insert \tbinom"
Item "Display binomial \\dbinom" "math-insert \dbinom"
End
Toolbar "font" "Fonts"
@ -519,9 +544,6 @@ ToolbarSet
Item "mathcal L" "math-insert \mathcal L"
Item "mathcal H" "math-insert \mathcal H"
Item "mathcal O" "math-insert \mathcal O"
Item "phantom" "math-insert \phantom"
Item "vphantom" "math-insert \vphantom"
Item "hphantom" "math-insert \hphantom"
End
Toolbar "latex_varsz" "Big Operators"