comparison makeinst-script.sh @ 3363:b89f15801606

Added Octave images in welcome page, headers, and finish page of installer.
author Anirudha Bose <ani07nov@gmail.com>
date Sat, 27 Jul 2013 21:34:11 +0530
parents 0f2a5e218359
children 4812bade5c85
comparison
equal deleted inserted replaced
3362:0f2a5e218359 3363:b89f15801606
28 !define WEB_SITE "http://www.octave.org" 28 !define WEB_SITE "http://www.octave.org"
29 !define VERSION "3.7.5.0" 29 !define VERSION "3.7.5.0"
30 !define OCTAVE_VERSION "3.7.5" 30 !define OCTAVE_VERSION "3.7.5"
31 !define COPYRIGHT "Copyright © 2013 John W. Eaton and others." 31 !define COPYRIGHT "Copyright © 2013 John W. Eaton and others."
32 !define DESCRIPTION "GNU Octave is a high-level programming language, primarily intended for numerical computations." 32 !define DESCRIPTION "GNU Octave is a high-level programming language, primarily intended for numerical computations."
33 !define LICENSE_TXT "../gpl-3.0.txt" 33 !define INSTALLER_FILES "../installer_files"
34 !define INSTALLER_NAME "octave-installer.exe" 34 !define INSTALLER_NAME "octave-installer.exe"
35 !define MAIN_APP_EXE "octave.exe" 35 !define MAIN_APP_EXE "octave.exe"
36 !define INSTALL_TYPE "SetShellVarContext current" 36 !define INSTALL_TYPE "SetShellVarContext current"
37 !define PRODUCT_ROOT_KEY "HKLM" 37 !define PRODUCT_ROOT_KEY "HKLM"
38 !define PRODUCT_KEY "Software\Octave" 38 !define PRODUCT_KEY "Software\Octave"
56 XPStyle on 56 XPStyle on
57 InstallDir "C:\\Octave\\Octave-\${OCTAVE_VERSION}" 57 InstallDir "C:\\Octave\\Octave-\${OCTAVE_VERSION}"
58 Icon "$OCTAVE_SOURCE\\$ICON" 58 Icon "$OCTAVE_SOURCE\\$ICON"
59 59
60 ###################################################################### 60 ######################################################################
61 ; MUI settings
61 !include "MUI.nsh" 62 !include "MUI.nsh"
62 63
63 !define MUI_ABORTWARNING 64 !define MUI_ABORTWARNING
64 !define MUI_UNABORTWARNING 65 !define MUI_UNABORTWARNING
65 66 !define MUI_HEADERIMAGE
67
68 ; Theme
69 !define MUI_ICON "\${INSTALLER_FILES}/octave-logo.ico"
70 !define MUI_UNICON "./${OCTAVE_SOURCE}/share/nsis/Contrib/Graphics/Icons/orange-uninstall.ico"
71 !define MUI_HEADERIMAGE_BITMAP "\${INSTALLER_FILES}/octave-hdr.bmp"
72 !define MUI_WELCOMEFINISHPAGE_BITMAP "\${INSTALLER_FILES}/octave.bmp"
73
66 !insertmacro MUI_PAGE_WELCOME 74 !insertmacro MUI_PAGE_WELCOME
67 75
68 !ifdef LICENSE_TXT
69 !define MUI_LICENSEPAGE_TEXT_BOTTOM "The source code for Octave is freely redistributable under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation." 76 !define MUI_LICENSEPAGE_TEXT_BOTTOM "The source code for Octave is freely redistributable under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation."
70 !define MUI_LICENSEPAGE_BUTTON "Next >" 77 !define MUI_LICENSEPAGE_BUTTON "Next >"
71 !insertmacro MUI_PAGE_LICENSE "\${LICENSE_TXT}" 78 !insertmacro MUI_PAGE_LICENSE "\${INSTALLER_FILES}/gpl-3.0.txt"
72 !endif
73 79
74 !insertmacro MUI_PAGE_DIRECTORY 80 !insertmacro MUI_PAGE_DIRECTORY
75 81
76 !insertmacro MUI_PAGE_INSTFILES 82 !insertmacro MUI_PAGE_INSTFILES
77 83