]> git.lyx.org Git - lyx.git/blob - development/Win32/packaging/installer/settings.nsh.cmake
Win installer: convert the translations to Unicode
[lyx.git] / development / Win32 / packaging / installer / settings.nsh.cmake
1 /*
2
3 Settings for LyX installer
4
5 These typically need to be modified for each LyX release
6
7 */
8
9 #--------------------------------
10 # Version number
11
12 !define APP_VERSION_MAJOR @LYX_MAJOR_VERSION@
13 !define APP_VERSION_MINOR @LYX_MINOR_VERSION@
14 !define APP_VERSION_PATCH @LYX_PATCH_VERSION@
15 !define APP_VERSION_REVISION @LYX_REVISION_VERSION@
16 #!define APP_VERSION_BUILD 0 # isn't revision number enough?
17
18 !define /date APP_VERSION "@LYX_MAJOR_VERSION@.@LYX_MINOR_VERSION@.@LYX_PATCH_VERSION@-@LYX_REVISION_VERSION@" # Version to display
19
20 #--------------------------------
21 # Installer file name
22
23 # Typical names for the release are "LyX-2.0.0-1-Installer.exe" etc.
24
25 !ifndef ExeFile
26   !define /date ExeFile "LyX-${APP_VERSION}-Installer.exe"
27 !endif
28 !ifndef BundleExeFile
29   !define /date BundleExeFile "LyX-${APP_VERSION}-Installer-Bundle.exe"
30 !endif
31 !ifndef MinimalExeFile
32   !define /date MinimalExeFile "LyX-${APP_VERSION}-Installer-Minimal.exe"
33 !endif
34
35 #--------------------------------
36 # File locations
37
38 !define FILES_LYX "@CMAKE_INSTALL_PREFIX_ABSOLUTE@"
39 !define FILES_DEPS "@LYX_DEPENDENCIES_DIR@/deps20"
40 !define FILES_BUNDLE "@CMAKE_BINARY_DIR@/depsbundle" #TODO Where is it? Where does it comes from?
41 !define FILES_QT "@QT_INCLUDE_DIR@/.."
42 !define FILES_INSTALLER "@CMAKE_SOURCE_DIR@/development/Win32/packaging/installer"
43
44 #--------------------------------
45 # MiKTeX
46 # Sizes in KB
47
48 !define SETUPFILE_LATEX "basic-miktex-2.9.4146.exe"
49 !define SIZE_DOWNLOAD_LATEX 160106
50 !define SIZE_LATEX 380000