[win32] Update packaging scripts

* Update directory paths.
This commit is contained in:
Calum Lind 2015-08-23 12:34:19 +01:00
parent bef71e60b3
commit f599b883cf
1 changed files with 6 additions and 5 deletions

View File

@ -34,7 +34,7 @@ SetCompressorDictSize 64
### ###
# Script version; displayed when running the installer # Script version; displayed when running the installer
!define DELUGE_INSTALLER_VERSION "0.6" !define DELUGE_INSTALLER_VERSION "0.7"
# Deluge program information # Deluge program information
!define PROGRAM_NAME "Deluge" !define PROGRAM_NAME "Deluge"
@ -46,7 +46,8 @@ SetCompressorDictSize 64
!define PROGRAM_WEB_SITE "http://deluge-torrent.org" !define PROGRAM_WEB_SITE "http://deluge-torrent.org"
# Python files generated with bbfreeze # Python files generated with bbfreeze
!define DELUGE_PYTHON_BBFREEZE_OUTPUT_DIR "..\build-win32\deluge-bbfreeze-${PROGRAM_VERSION}" !define BUILD_DIR "..\build-win32"
!define BBFREEZE_DIR "${BUILD_DIR}\deluge-bbfreeze-${PROGRAM_VERSION}"
# --- Interface settings --- # --- Interface settings ---
@ -54,7 +55,7 @@ SetCompressorDictSize 64
!include MUI2.nsh !include MUI2.nsh
# Installer # Installer
!define MUI_ICON "deluge.ico" !define MUI_ICON "..\deluge\data\pixmaps\deluge.ico"
!define MUI_HEADERIMAGE !define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_RIGHT !define MUI_HEADERIMAGE_RIGHT
!define MUI_HEADERIMAGE_BITMAP "installer-top.bmp" !define MUI_HEADERIMAGE_BITMAP "installer-top.bmp"
@ -129,7 +130,7 @@ FunctionEnd
BrandingText "Deluge Windows Installer v${DELUGE_INSTALLER_VERSION}" BrandingText "Deluge Windows Installer v${DELUGE_INSTALLER_VERSION}"
Name "${PROGRAM_NAME} ${PROGRAM_VERSION}" Name "${PROGRAM_NAME} ${PROGRAM_VERSION}"
OutFile "..\build-win32\deluge-${PROGRAM_VERSION}-win32-setup.exe" OutFile "${BUILD_DIR}\deluge-${PROGRAM_VERSION}-win32-setup.exe"
InstallDir "$PROGRAMFILES\Deluge" InstallDir "$PROGRAMFILES\Deluge"
@ -141,7 +142,7 @@ Section "Deluge Bittorrent Client" Section1
SectionIn RO SectionIn RO
SetOutPath $INSTDIR SetOutPath $INSTDIR
File /r "${DELUGE_PYTHON_BBFREEZE_OUTPUT_DIR}\*.*" File /r "${BBFREEZE_DIR}\*.*"
SetOverwrite ifnewer SetOverwrite ifnewer
File "..\LICENSE" File "..\LICENSE"