File: branding.nsi

package info (click to toggle)
win32-loader 0.10.0
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,664 kB
  • sloc: sh: 460; asm: 345; makefile: 323; ansic: 215
file content (43 lines) | stat: -rw-r--r-- 1,355 bytes parent folder | download
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
43
!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 "${BUILD_DIR}/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} "FileVersion" "${VERSION_OPT}"
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"