2006-11-04 14:28:11 +00:00
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
Settings for LyX installer
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2007-02-26 16:03:30 +00:00
|
|
|
|
#--------------------------------
|
|
|
|
|
#File locations
|
2006-11-04 14:28:11 +00:00
|
|
|
|
|
|
|
|
|
!define FILES_LICENSE "license.rtf"
|
|
|
|
|
|
|
|
|
|
!define FILES_ICONS "..\icons"
|
|
|
|
|
!define FILES_LAUNCHER "..\..\launcher"
|
|
|
|
|
!define FILES_PDFVIEW "..\..\pdfview"
|
|
|
|
|
|
2007-02-18 22:42:39 +00:00
|
|
|
|
!define FILES_MSVC "${FILES_WINDOWS}\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700"
|
2006-11-04 14:28:11 +00:00
|
|
|
|
!define FILES_NETPBM "${FILES_DEPS}\netpbm"
|
|
|
|
|
!define FILES_DTL "${FILES_DEPS}\dtl"
|
|
|
|
|
!define FILES_AIKSAURUS "${FILES_DEPS}\aiksaurus\"
|
|
|
|
|
!define FILES_DVIPOST "${FILES_DEPS}\dvipost"
|
|
|
|
|
!define FILES_DVIPOST_PKG "${FILES_DVIPOST}"
|
|
|
|
|
!define FILES_PDFTOOLS "${FILES_DEPS}\pdftools"
|
|
|
|
|
|
|
|
|
|
!define FILES_QT "${FILES_DEPS}\qt-4"
|
|
|
|
|
!define FILES_DVIPOSTDATA "${FILES_DEPS}\dvipost"
|
|
|
|
|
!define FILES_ASPELLDATA "${FILES_DEPS}\aspell"
|
|
|
|
|
|
2006-11-06 21:51:43 +00:00
|
|
|
|
!define FILES_NSISPLUGINS "${FILES_DEPS}\nsis"
|
|
|
|
|
|
2007-02-26 16:03:30 +00:00
|
|
|
|
#--------------------------------
|
|
|
|
|
#Locations of components to download
|
2007-02-07 18:26:32 +00:00
|
|
|
|
!define DOWNLOAD_LATEX "http://superb-west.dl.sourceforge.net/sourceforge/miktex/basic-miktex-2.5.2580.exe"
|
2007-04-14 04:27:00 +00:00
|
|
|
|
!define DOWNLOAD_IMAGEMAGICK "http://superb-west.dl.sourceforge.net/sourceforge/imagemagick/ImageMagick-6.3.3-7-Q16-windows-dll.exe"
|
2006-11-27 16:23:44 +00:00
|
|
|
|
!define DOWNLOAD_GHOSTSCRIPT "http://superb-west.dl.sourceforge.net/sourceforge/ghostscript/gs854w32-gpl.exe"
|
2006-11-04 14:28:11 +00:00
|
|
|
|
!define DOWNLOAD_VIEWER "http://tug.ctan.org/tex-archive/nonfree/support/ghostscript/ghostgum/gsv48w32.exe"
|
|
|
|
|
|
|
|
|
|
!define DOWNLOAD_ASPELLDICTS "ftp://ftp.lyx.org/pub/lyx/contrib/aspell6-windows"
|
|
|
|
|
|
2007-02-26 16:03:30 +00:00
|
|
|
|
#--------------------------------
|
|
|
|
|
#Download size (in KB)
|
2006-11-04 14:28:11 +00:00
|
|
|
|
|
2007-02-07 07:55:38 +00:00
|
|
|
|
!define SIZE_DOWNLOAD_LATEX 47271
|
2007-04-14 04:27:00 +00:00
|
|
|
|
!define SIZE_DOWNLOAD_IMAGEMAGICK 6947
|
2006-11-04 14:28:11 +00:00
|
|
|
|
!define SIZE_DOWNLOAD_GHOSTSCRIPT 12669
|
|
|
|
|
!define SIZE_DOWNLOAD_VIEWER 1459
|
|
|
|
|
|
2007-02-26 16:03:30 +00:00
|
|
|
|
#--------------------------------
|
|
|
|
|
#Approximations of space required for components (in KB)
|
2006-11-04 14:28:11 +00:00
|
|
|
|
|
|
|
|
|
!define SIZE_LATEX 120000
|
|
|
|
|
!define SIZE_IMAGEMAGICK 17000
|
|
|
|
|
!define SIZE_GHOSTSCRIPT 26000
|
|
|
|
|
!define SIZE_VIEWER 4000
|
|
|
|
|
|
2007-02-26 16:03:30 +00:00
|
|
|
|
#--------------------------------
|
|
|
|
|
#Locations of setup files for components (for bundled setup)
|
2006-11-04 14:28:11 +00:00
|
|
|
|
|
2007-02-07 07:55:38 +00:00
|
|
|
|
!define INSTALL_LATEX "basic-miktex-2.5.2580.exe"
|
2007-04-14 04:27:00 +00:00
|
|
|
|
!define INSTALL_IMAGEMAGICK "ImageMagick-6.3.3-7-Q16-windows-dll.exe"
|
2006-11-27 16:23:44 +00:00
|
|
|
|
!define INSTALL_GHOSTSCRIPT "gs854w32-gpl.exe"
|
2006-11-04 14:28:11 +00:00
|
|
|
|
!define INSTALL_VIEWER "gsv48w32.exe"
|
|
|
|
|
|
2007-02-26 16:03:30 +00:00
|
|
|
|
#--------------------------------
|
|
|
|
|
#Names and version
|
2006-11-04 14:28:11 +00:00
|
|
|
|
|
|
|
|
|
!define APP_NAME "LyX"
|
|
|
|
|
!define /date APP_VERSION "1.5svn %Y%m%d"
|
|
|
|
|
!define APP_VERSION_NUMBER "1.5.0.0"
|
|
|
|
|
!define APP_SERIES_NAME "1.5"
|
|
|
|
|
!define APP_SERIES_KEY "15"
|
|
|
|
|
!define APP_DIR_USERDATA "LyX1.5.x"
|
|
|
|
|
!define APP_INFO "${APP_NAME} - The Document Processor"
|
|
|
|
|
!define APP_COPYRIGHT "LyX is Copyright <20> 1995 by Matthias Ettrich, 1995-2006 LyX Team"
|
|
|
|
|
|
|
|
|
|
!define APP_RUN "bin\lyx.exe"
|
|
|
|
|
|
|
|
|
|
!define APP_REGKEY "Software\${APP_NAME}${APP_SERIES_KEY}"
|
|
|
|
|
!define APP_REGKEY_SETUP "Software\${APP_NAME}${APP_SERIES_KEY}\Setup"
|
|
|
|
|
!define APP_REGKEY_SETTINGS "Software\${APP_NAME}${APP_SERIES_KEY}\Settings"
|
|
|
|
|
|
|
|
|
|
!define APP_REGNAME_DOC "LyX.Document"
|
|
|
|
|
|
|
|
|
|
!define APP_EXT ".lyx"
|
|
|
|
|
!define APP_MIME_TYPE "application/lyx"
|
|
|
|
|
|
2007-02-26 16:03:30 +00:00
|
|
|
|
#--------------------------------
|
|
|
|
|
#Setup settings
|
2006-11-04 14:28:11 +00:00
|
|
|
|
|
|
|
|
|
!ifndef SETUPTYPE_BUNDLE
|
|
|
|
|
!define /date SETUP_EXE "lyx-15svn-%Y%m%d.exe"
|
|
|
|
|
!else
|
|
|
|
|
!define /date SETUP_EXE "lyx-15svn-%Y%m%d-bundle.exe"
|
|
|
|
|
!endif
|
|
|
|
|
|
|
|
|
|
!define SETUP_DEFAULT_DIRECTORY "$PROGRAMFILES\${APP_NAME}${APP_SERIES_KEY}"
|
|
|
|
|
!define SETUP_ICON "${FILES_ICONS}\lyx_32x32.ico"
|
|
|
|
|
!define SETUP_HEADERIMAGE "graphics\header.bmp"
|
|
|
|
|
!define SETUP_WIZARDIMAGE "graphics\wizard.bmp"
|
|
|
|
|
!define SETUP_UNINSTALLER "Uninstall-${APP_NAME}.exe"
|
|
|
|
|
!define SETUP_UNINSTALLER_KEY "${APP_NAME}"
|
|
|
|
|
|
2007-02-26 16:03:30 +00:00
|
|
|
|
#--------------------------------
|
|
|
|
|
#Names of binaries to identify compontents
|
2006-11-04 14:28:11 +00:00
|
|
|
|
|
|
|
|
|
!define BIN_LATEX "tex.exe"
|
|
|
|
|
!define BIN_IMAGEMAGICK "convert.exe"
|
|
|
|
|
!define BIN_GHOSTSCRIPT "gswin32c.exe"
|
|
|
|
|
|
2007-02-26 16:03:30 +00:00
|
|
|
|
#--------------------------------
|
|
|
|
|
#Custom NSIS plug-ins
|
2006-11-06 21:51:43 +00:00
|
|
|
|
|
|
|
|
|
!addplugindir "${FILES_NSISPLUGINS}"
|