Define an Install Tag, defaulting to the product tag.
This will be used in the install location and registry setting for where we installed to.
Different install tags will mean different installs, so Trunk won't (by default) install over 2.1 (for example)
Plus, include riggings for Mike Peter's new install images.
Author: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20199
dcc99617-32d9-48b4-a31d-
7c20da2025e4
--- /dev/null
+Developer's Certificate of Origin 1.1\r
+\r
+By making a contribution to this project, I certify that:\r
+\r
+(a) The contribution was created in whole or in part by me and I\r
+ have the right to submit it under the open source license\r
+ indicated in the file; or\r
+\r
+(b) The contribution is based upon previous work that, to the best\r
+ of my knowledge, is covered under an appropriate open source\r
+ license and I have the right under that license to submit that\r
+ work with modifications, whether created in whole or in part\r
+ by me, under the same open source license (unless I am\r
+ permitted to submit under a different license), as indicated\r
+ in the file; or\r
+\r
+(c) The contribution was provided directly to me by some other\r
+ person who certified (a), (b) or (c) and I have not modified\r
+ it.\r
+\r
+(d) I understand and agree that this project and the contribution\r
+ are public and that a record of the contribution (including all\r
+ personal information I submit with it, including my sign-off) is\r
+ maintained indefinitely and may be redistributed consistent with\r
+ this project or the open source license(s) involved.\r
+\r
+Signed-off-by: Michael Peters <mrpeters@library.in.gov>
\ No newline at end of file
--- /dev/null
+Evergreen Installer Graphics\r
+Adapted by Mike Peters (Evergreen Indiana)\r
+\r
+Sourced from NSIS "Orange" Modern UI Theme\r
+The NSIS "Orange Modern UI Theme" was created by MoNKi. You can freely use it in your NSIS scritps. (from http://nsis.sourceforge.net/%22Orange%22_Modern_UI_Theme)\r
+\r
+Includes:\r
+Wizard - Install\r
+Wizard - Uninstall\r
+Header - Left, fade to white\r
+Beta Wizard - Install\r
+Beta Wizard - Uninstall\r
+Beta Header - Left, fade to white\r
+\r
+Thomas Berezansky then took them, saved them as BMP files (as makensis, on linux at least, won't read PNG files), and put them in beta/release folders with basic names.\r
; Old versions of makensis don't like this, moved to Makefile
;!define /file PRODUCT_VERSION "client/VERSION"
!define PRODUCT_TAG "Trunk"
+!define PRODUCT_INSTALL_TAG "${PRODUCT_TAG}"
+!define UI_IMAGESET "beta"
+;!define UI_IMAGESET "release"
!define PRODUCT_NAME "Evergreen Staff Client ${PRODUCT_TAG}"
!define PRODUCT_PUBLISHER "Evergreen Community"
!define PRODUCT_WEB_SITE "http://evergreen-ils.org/"
!define PRODUCT_LICENSE
!endif
+!define MUI_HEADERIMAGE
+!define MUI_HEADERIMAGE_BITMAP "custom_images\${UI_IMAGESET}\header.bmp"
+!define MUI_WELCOMEFINISHPAGE_BITMAP "custom_images\${UI_IMAGESET}\install.bmp"
+!define MUI_UNWELCOMEFINISHPAGE_BITMAP "custom_images\${UI_IMAGESET}\uninstall.bmp"
+
; MUI 1.67 compatible ------
!include "MUI.nsh"
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "evergreen_staff_client_setup.exe"
-InstallDir "$PROGRAMFILES\Evergreen Staff Client ${PRODUCT_TAG}"
-InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
+InstallDir "$PROGRAMFILES\Evergreen Staff Client ${PRODUCT_INSTALL_TAG}"
+InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "${PRODUCT_INSTALL_TAG}"
ShowInstDetails show
ShowUnInstDetails show
RequestExecutionLevel admin