[vlc-commits] NSIS: Add custom VLC banner image
Marvin Scholz
git at videolan.org
Thu Feb 1 17:01:57 CET 2018
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Feb 1 16:59:26 2018 +0100| [eba012251d969d9598bb41eca7225c12efe137bf] | committer: Marvin Scholz
NSIS: Add custom VLC banner image
This adds a custom VLC banner image to the welcome and finish page of
the NSIS installer and uninstaller.
Note: If there is ever need to re-generate the bmp banner image,
use a custom color pallet, this allows to only need 4 bits per color and
drastically reduces the size. Do not write colorspace information.
Use Run-length coding.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eba012251d969d9598bb41eca7225c12efe137bf
---
extras/package/win32/NSIS/vlc.win32.nsi.in | 5 +++++
extras/package/win32/NSIS/vlc_branding.bmp | Bin 0 -> 5226 bytes
2 files changed, 5 insertions(+)
diff --git a/extras/package/win32/NSIS/vlc.win32.nsi.in b/extras/package/win32/NSIS/vlc.win32.nsi.in
index 9897179d8e..0096a93271 100644
--- a/extras/package/win32/NSIS/vlc.win32.nsi.in
+++ b/extras/package/win32/NSIS/vlc.win32.nsi.in
@@ -79,6 +79,11 @@ RequestExecutionLevel admin
!define MUI_UNICON "vlc.ico"
!define MUI_COMPONENTSPAGE_SMALLDESC
+ ; Banner (welcome and finish page) for installer
+ !define MUI_WELCOMEFINISHPAGE_BITMAP "NSIS/vlc_branding.bmp"
+ ; Banner for uninstaller
+ !define MUI_UNWELCOMEFINISHPAGE_BITMAP "NSIS/vlc_branding.bmp"
+
; Installer pages
; Welcome page
!define MUI_PAGE_CUSTOMFUNCTION_PRE PageFastUpdatePre
diff --git a/extras/package/win32/NSIS/vlc_branding.bmp b/extras/package/win32/NSIS/vlc_branding.bmp
new file mode 100755
index 0000000000..67fb27a319
Binary files /dev/null and b/extras/package/win32/NSIS/vlc_branding.bmp differ
More information about the vlc-commits
mailing list