2006-07-12 11:03:00 +00:00
|
|
|
/*
|
|
|
|
|
|
|
|
Settings for LyX installer
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
;File locations
|
|
|
|
|
|
|
|
!define FILES_LICENSE "license.rtf"
|
|
|
|
|
|
|
|
!define FILES_ICONS "..\icons"
|
|
|
|
!define FILES_FONTS "..\bakoma"
|
|
|
|
|
2006-09-19 23:07:00 +00:00
|
|
|
!ifdef BUILD_MSVC
|
|
|
|
!define FILES_MSVC "${FILES_WINDOWS}\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd"
|
|
|
|
!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}"
|
|
|
|
!else
|
|
|
|
!define FILES_NETPBM "${FILES_DEPS}\bin"
|
|
|
|
!define FILES_DTL "${FILES_DEPS}\bin"
|
|
|
|
!define FILES_AIKSAURUS "${FILES_DEPS}\share\Aiksaurus\"
|
|
|
|
!define FILES_DVIPOST "${FILES_DEPS}\bin"
|
|
|
|
!define FILES_DVIPOST_PKG "${FILES_DEPS}\dvipost"
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!define FILES_QT "${FILES_DEPS}\qt-3"
|
|
|
|
!define FILES_DVIPOSTDATA "${FILES_DEPS}\dvipost"
|
|
|
|
!define FILES_ASPELLDATA "${FILES_DEPS}\aspell"
|
|
|
|
|
2006-07-12 11:03:00 +00:00
|
|
|
;--------------------------------
|
|
|
|
;Locations of components to download
|
|
|
|
|
2006-09-19 23:07:00 +00:00
|
|
|
!define DOWNLOAD_LATEX "http://superb-west.dl.sourceforge.net/sourceforge/miktex/basic-miktex-2.5.2449.exe"
|
|
|
|
!define DOWNLOAD_IMAGEMAGICK "http://superb-west.dl.sourceforge.net/sourceforge/imagemagick/ImageMagick-6.2.9-6-Q16-windows-dll.exe"
|
|
|
|
!define DOWNLOAD_GHOSTSCRIPT "http://superb-west.dl.sourceforge.net/sourceforge/ghostscript/gs854w32.exe"
|
2006-07-12 11:03:00 +00:00
|
|
|
!define DOWNLOAD_VIEWER "http://tug.ctan.org/tex-archive/nonfree/support/ghostscript/ghostgum/gsv48w32.exe"
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
;Download size (in KB)
|
|
|
|
|
2006-09-19 23:07:00 +00:00
|
|
|
!define SIZE_DOWNLOAD_LATEX 43127
|
|
|
|
!define SIZE_DOWNLOAD_IMAGEMAGICK 6790
|
|
|
|
!define SIZE_DOWNLOAD_GHOSTSCRIPT 12669
|
2006-07-12 11:03:00 +00:00
|
|
|
!define SIZE_DOWNLOAD_VIEWER 1459
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
;Approximations of space required for components (in KB)
|
|
|
|
|
2006-09-19 23:07:00 +00:00
|
|
|
!define SIZE_LATEX 120000
|
|
|
|
!define SIZE_IMAGEMAGICK 17000
|
|
|
|
!define SIZE_GHOSTSCRIPT 26000
|
|
|
|
!define SIZE_VIEWER 4000
|
2006-07-12 11:03:00 +00:00
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
;Locations of setup files for components (for bundled setup)
|
|
|
|
|
2006-09-19 23:07:00 +00:00
|
|
|
!define INSTALL_LATEX "basic-miktex-2.5.2449.exe"
|
|
|
|
!define INSTALL_IMAGEMAGICK "ImageMagick-6.2.9-6-Q16-windows-dll.exe"
|
|
|
|
!define INSTALL_GHOSTSCRIPT "gs854w32.exe"
|
2006-07-12 11:03:00 +00:00
|
|
|
!define INSTALL_VIEWER "gsv48w32.exe"
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
;Names and version
|
|
|
|
|
|
|
|
!define APP_NAME "LyX"
|
2006-09-19 23:07:00 +00:00
|
|
|
!define /date APP_VERSION "1.4svn %Y%m%d"
|
2006-07-12 11:03:00 +00:00
|
|
|
!define APP_SERIES_NAME "1.4"
|
|
|
|
!define APP_SERIES_KEY "14"
|
|
|
|
!define APP_DIR_USERDATA "LyX1.4.x"
|
|
|
|
!define APP_INFO "${APP_NAME} - The Document Processor"
|
|
|
|
|
|
|
|
!define APP_RUN "bin\lyx.bat"
|
|
|
|
!define APP_EXE "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_REGNAME_DOC "LyX.Document"
|
|
|
|
|
|
|
|
!define APP_EXT ".lyx"
|
|
|
|
!define APP_MIME_TYPE "application/lyx"
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
;Setup settings
|
|
|
|
|
|
|
|
!ifndef SETUPTYPE_BUNDLE
|
2006-09-19 23:07:00 +00:00
|
|
|
!define /date SETUP_EXE "lyx-14svn-%Y%m%d.exe"
|
2006-07-12 11:03:00 +00:00
|
|
|
!else
|
2006-09-19 23:07:00 +00:00
|
|
|
!define /date SETUP_EXE "lyx-14svn-%Y%m%d.exe-bundle.exe"
|
2006-07-12 11:03:00 +00:00
|
|
|
!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}"
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
;Names of binaries to identify compontents
|
|
|
|
|
2006-09-19 23:07:00 +00:00
|
|
|
!define BIN_LATEX "tex.exe"
|
2006-07-12 11:03:00 +00:00
|
|
|
!define BIN_IMAGEMAGICK "convert.exe"
|
|
|
|
!define BIN_GHOSTSCRIPT "gswin32c.exe"
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
;Compession
|
|
|
|
|
|
|
|
SetCompressor /SOLID lzma
|