More Installer Fun
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 19 Apr 2011 14:37:24 +0000 (14:37 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 19 Apr 2011 14:37:24 +0000 (14:37 +0000)
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

15 files changed:
Open-ILS/xul/staff_client/custom_images/Beta Header.png [new file with mode: 0644]
Open-ILS/xul/staff_client/custom_images/Beta Wizard - Install.png [new file with mode: 0644]
Open-ILS/xul/staff_client/custom_images/Beta Wizard - Uninstall.png [new file with mode: 0644]
Open-ILS/xul/staff_client/custom_images/DCO [new file with mode: 0644]
Open-ILS/xul/staff_client/custom_images/Header.png [new file with mode: 0644]
Open-ILS/xul/staff_client/custom_images/README [new file with mode: 0644]
Open-ILS/xul/staff_client/custom_images/Wizard - Install.png [new file with mode: 0644]
Open-ILS/xul/staff_client/custom_images/Wizard - Uninstall.png [new file with mode: 0644]
Open-ILS/xul/staff_client/custom_images/beta/header.bmp [new file with mode: 0644]
Open-ILS/xul/staff_client/custom_images/beta/install.bmp [new file with mode: 0644]
Open-ILS/xul/staff_client/custom_images/beta/uninstall.bmp [new file with mode: 0644]
Open-ILS/xul/staff_client/custom_images/release/header.bmp [new file with mode: 0644]
Open-ILS/xul/staff_client/custom_images/release/install.bmp [new file with mode: 0644]
Open-ILS/xul/staff_client/custom_images/release/uninstall.bmp [new file with mode: 0644]
Open-ILS/xul/staff_client/windowssetup.nsi

diff --git a/Open-ILS/xul/staff_client/custom_images/Beta Header.png b/Open-ILS/xul/staff_client/custom_images/Beta Header.png
new file mode 100644 (file)
index 0000000..c37427d
Binary files /dev/null and b/Open-ILS/xul/staff_client/custom_images/Beta Header.png differ
diff --git a/Open-ILS/xul/staff_client/custom_images/Beta Wizard - Install.png b/Open-ILS/xul/staff_client/custom_images/Beta Wizard - Install.png
new file mode 100644 (file)
index 0000000..ac38401
Binary files /dev/null and b/Open-ILS/xul/staff_client/custom_images/Beta Wizard - Install.png differ
diff --git a/Open-ILS/xul/staff_client/custom_images/Beta Wizard - Uninstall.png b/Open-ILS/xul/staff_client/custom_images/Beta Wizard - Uninstall.png
new file mode 100644 (file)
index 0000000..a6277e8
Binary files /dev/null and b/Open-ILS/xul/staff_client/custom_images/Beta Wizard - Uninstall.png differ
diff --git a/Open-ILS/xul/staff_client/custom_images/DCO b/Open-ILS/xul/staff_client/custom_images/DCO
new file mode 100644 (file)
index 0000000..67e70e6
--- /dev/null
@@ -0,0 +1,27 @@
+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
diff --git a/Open-ILS/xul/staff_client/custom_images/Header.png b/Open-ILS/xul/staff_client/custom_images/Header.png
new file mode 100644 (file)
index 0000000..2b53de1
Binary files /dev/null and b/Open-ILS/xul/staff_client/custom_images/Header.png differ
diff --git a/Open-ILS/xul/staff_client/custom_images/README b/Open-ILS/xul/staff_client/custom_images/README
new file mode 100644 (file)
index 0000000..ec1b5ea
--- /dev/null
@@ -0,0 +1,15 @@
+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
diff --git a/Open-ILS/xul/staff_client/custom_images/Wizard - Install.png b/Open-ILS/xul/staff_client/custom_images/Wizard - Install.png
new file mode 100644 (file)
index 0000000..6b4085a
Binary files /dev/null and b/Open-ILS/xul/staff_client/custom_images/Wizard - Install.png differ
diff --git a/Open-ILS/xul/staff_client/custom_images/Wizard - Uninstall.png b/Open-ILS/xul/staff_client/custom_images/Wizard - Uninstall.png
new file mode 100644 (file)
index 0000000..797b044
Binary files /dev/null and b/Open-ILS/xul/staff_client/custom_images/Wizard - Uninstall.png differ
diff --git a/Open-ILS/xul/staff_client/custom_images/beta/header.bmp b/Open-ILS/xul/staff_client/custom_images/beta/header.bmp
new file mode 100644 (file)
index 0000000..8d62b8d
Binary files /dev/null and b/Open-ILS/xul/staff_client/custom_images/beta/header.bmp differ
diff --git a/Open-ILS/xul/staff_client/custom_images/beta/install.bmp b/Open-ILS/xul/staff_client/custom_images/beta/install.bmp
new file mode 100644 (file)
index 0000000..6cdcf92
Binary files /dev/null and b/Open-ILS/xul/staff_client/custom_images/beta/install.bmp differ
diff --git a/Open-ILS/xul/staff_client/custom_images/beta/uninstall.bmp b/Open-ILS/xul/staff_client/custom_images/beta/uninstall.bmp
new file mode 100644 (file)
index 0000000..d7173aa
Binary files /dev/null and b/Open-ILS/xul/staff_client/custom_images/beta/uninstall.bmp differ
diff --git a/Open-ILS/xul/staff_client/custom_images/release/header.bmp b/Open-ILS/xul/staff_client/custom_images/release/header.bmp
new file mode 100644 (file)
index 0000000..d80b85f
Binary files /dev/null and b/Open-ILS/xul/staff_client/custom_images/release/header.bmp differ
diff --git a/Open-ILS/xul/staff_client/custom_images/release/install.bmp b/Open-ILS/xul/staff_client/custom_images/release/install.bmp
new file mode 100644 (file)
index 0000000..8fbac89
Binary files /dev/null and b/Open-ILS/xul/staff_client/custom_images/release/install.bmp differ
diff --git a/Open-ILS/xul/staff_client/custom_images/release/uninstall.bmp b/Open-ILS/xul/staff_client/custom_images/release/uninstall.bmp
new file mode 100644 (file)
index 0000000..fc68313
Binary files /dev/null and b/Open-ILS/xul/staff_client/custom_images/release/uninstall.bmp differ
index a613dbf..f2b3164 100644 (file)
@@ -4,6 +4,9 @@
 ; 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"
 
@@ -69,8 +77,8 @@ var ICONS_GROUP
 
 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