summaryrefslogtreecommitdiff
path: root/branding.nsi
blob: 681cad96f1ca3b4aab72c5b549064fdb5aa785bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
!ifndef _EN_PROGRAM_NAME
 # Keep that in sync that with l10/win32-loader.c
 !define _EN_PROGRAM_NAME "Debian-Installer loader"
!endif
!ifndef _PRODUCT_NAME
 !define _PRODUCT_NAME "win32-loader"
!endif
!ifndef _OUTFILE_NAME
 !define _OUTFILE_NAME "win32-loader.exe"
!endif
!ifndef _PROGRAM_ICON
 !define _PROGRAM_ICON "win32-loader.ico"
!endif
!ifndef _COMPANY_NAME
 !define _COMPANY_NAME "The Debian Project"
!endif
!ifdef OPTIONS_TXT
 !define VERSION_OPT "${VERSION} ${OPTIONS_TXT} "
!else
 !define VERSION_OPT "${VERSION}"
!endif

XPStyle on

Name $(program_name)
Caption $(program_name)
Icon ${_PROGRAM_ICON}
UninstallIcon ${_PROGRAM_ICON}
OutFile ${_OUTFILE_NAME}

VIProductVersion "${4DIGITS_DATE}"

VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "${_COMPANY_NAME}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "${_EN_PROGRAM_NAME}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "${_PRODUCT_NAME}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductVersion" "${VERSION_OPT}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "GPLv3+"

BrandingText "${_PRODUCT_NAME} ${VERSION_OPT}"

!define REGSTR_UNINST "Software\Microsoft\Windows\CurrentVersion\Uninstall\Debian-Installer Loader"
!define REGSTR_WIN32 "Software\Debian\Debian-Installer Loader"