mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +00:00
Win installer: add file info to the installer executable file
This commit is contained in:
parent
f0aabdc987
commit
01205cfafa
@ -58,6 +58,11 @@ Configuration of LyX installer
|
|||||||
!define APP_WIKI "http://wiki.lyx.org"
|
!define APP_WIKI "http://wiki.lyx.org"
|
||||||
!define APP_WIKI_INFO "${APP_NAME} Wiki"
|
!define APP_WIKI_INFO "${APP_NAME} Wiki"
|
||||||
!define APP_COPYRIGHT "LyX is Copyright © 1995 by Matthias Ettrich, 1995-${COPYRIGHT_YEAR} by the LyX Team"
|
!define APP_COPYRIGHT "LyX is Copyright © 1995 by Matthias Ettrich, 1995-${COPYRIGHT_YEAR} by the LyX Team"
|
||||||
|
!if ${SETUPTYPE} == STANDARD
|
||||||
|
!define APP_SETUPTYPE "Standard"
|
||||||
|
!else if ${SETUPTYPE} == BUNDLE
|
||||||
|
!define APP_SETUPTYPE "Bundle"
|
||||||
|
!endif
|
||||||
|
|
||||||
!define APP_RUN "bin\lyx.exe"
|
!define APP_RUN "bin\lyx.exe"
|
||||||
!define BIN_LYX "lyx.exe"
|
!define BIN_LYX "lyx.exe"
|
||||||
@ -80,14 +85,10 @@ Configuration of LyX installer
|
|||||||
# /DExeFile=/path/to/installer
|
# /DExeFile=/path/to/installer
|
||||||
|
|
||||||
!if ${SETUPTYPE} == STANDARD
|
!if ${SETUPTYPE} == STANDARD
|
||||||
|
|
||||||
!define SETUP_EXE ${ExeFile}
|
!define SETUP_EXE ${ExeFile}
|
||||||
|
|
||||||
!else if ${SETUPTYPE} == BUNDLE
|
!else if ${SETUPTYPE} == BUNDLE
|
||||||
|
|
||||||
!define SETUP_EXE ${BundleExeFile}
|
!define SETUP_EXE ${BundleExeFile}
|
||||||
!define BUNDLESETUP_LATEX
|
!define BUNDLESETUP_LATEX
|
||||||
|
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!define SETUP_ICON "${FILES_ICONS}\lyx.ico"
|
!define SETUP_ICON "${FILES_ICONS}\lyx.ico"
|
||||||
|
@ -93,7 +93,10 @@ BrandingText " "
|
|||||||
|
|
||||||
VIProductVersion "${APP_VERSION_NUMBER}"
|
VIProductVersion "${APP_VERSION_NUMBER}"
|
||||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "${APP_NAME}"
|
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "${APP_NAME}"
|
||||||
|
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductVersion" "${APP_NAME} ${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION} ${APP_SETUPTYPE} installer"
|
||||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "${APP_INFO}"
|
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "${APP_INFO}"
|
||||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${APP_VERSION}"
|
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${APP_VERSION}"
|
||||||
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "${APP_COPYRIGHT}"
|
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "${APP_COPYRIGHT}"
|
||||||
|
VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "LyX Team"
|
||||||
|
# Fixme: LyX should register the name LyX as trademark
|
||||||
|
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" ""
|
||||||
|
Loading…
Reference in New Issue
Block a user