Changeset 070b93


Ignore:
Timestamp:
04/27/2009 11:18:01 PM (16 years ago)
Author:
Jesper Lund <mail@jesperlund.com>
Children:
93ccb9
Parents:
ab8460
Message:

Made .torrent file association optional in installer.
Added Win32 README file with installer build instructions.

Location:
win32
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • win32/deluge-bbfreeze.py

    rab8460 r070b93  
    1 build_version = "1.1.6"
     1build_version = "1.1.7"
    22python_path = "C:\\Python25\\"
    33
  • win32/deluge-win32-installer.nsi

    rab8460 r070b93  
    11# Deluge Windows installer script
    2 # Version 0.3.1, 18-Apr-2009
     2# Version 0.4 28-Apr-2009
    33
    44# Copyright (C) 2009 by
     
    2626#
    2727
     28# Set default compressor
     29SetCompressor lzma
     30
    2831###
    29 ### --- Some of these !define's need to be updated with new Deluge versions ---
     32### --- The PROGRAM_VERSION !define need to be updated with new Deluge versions ---
    3033###
    3134
    3235# Script version; displayed when running the installer
    33 !define DELUGE_INSTALLER_VERSION "0.3.1"
     36!define DELUGE_INSTALLER_VERSION "0.4"
    3437
    3538# Deluge program information
    3639!define PROGRAM_NAME "Deluge"
    37 !define PROGRAM_VERSION "1.1.6"
     40!define PROGRAM_VERSION "1.1.7"
    3841!define PROGRAM_WEB_SITE "http://deluge-torrent.org"
    3942
     
    189192SectionEnd
    190193
    191 Section -Uninstaller_Registry
     194Section -Uninstaller
    192195  WriteUninstaller "$INSTDIR\Deluge-uninst.exe"
    193196  WriteRegStr ${PROGRAM_UNINST_ROOT_KEY} "${PROGRAM_UNINST_KEY}" "DisplayName" "$(^Name)"
    194197  WriteRegStr ${PROGRAM_UNINST_ROOT_KEY} "${PROGRAM_UNINST_KEY}" "UninstallString" "$INSTDIR\Deluge-uninst.exe"
    195198  WriteRegStr ${PROGRAM_UNINST_ROOT_KEY} "${PROGRAM_UNINST_KEY}" "DisplayIcon" "$INSTDIR\deluge.ico"
    196  
     199SectionEnd
     200
     201# Create file association for .torrent
     202Section "Create .torrent file association for Deluge" Section2
    197203  # Set up file association for .torrent files
    198204  DeleteRegKey HKCR ".torrent"
     
    209215
    210216# Install GTK+ 2.12
    211 Section "GTK+ 2.12 runtime" Section2
     217Section "GTK+ 2.12 runtime" Section3
    212218  # Check whether GTK+ 2.12 is installed on the system; if so skip this section
    213219  # The criterion is whether the registry key HKLM\SOFTWARE\GTK\2.0\Version exists
     
    258264
    259265LangString DESC_Section1 ${LANG_ENGLISH} "Install Deluge Bittorrent client."
    260 LangString DESC_Section2 ${LANG_ENGLISH} "Download and install the GTK+ 2.12 runtime. \
     266LangString DESC_Section2 ${LANG_ENGLISH} "Select this option unless you have another torrent client which you want to use for opening .torrent files."
     267LangString DESC_Section3 ${LANG_ENGLISH} "Download and install the GTK+ 2.12 runtime. \
    261268  This is skipped automatically if GTK+ is already installed."
    262269
     
    264271  !insertmacro MUI_DESCRIPTION_TEXT ${Section1} $(DESC_Section1)
    265272  !insertmacro MUI_DESCRIPTION_TEXT ${Section2} $(DESC_Section2)
     273  !insertmacro MUI_DESCRIPTION_TEXT ${Section2} $(DESC_Section3)
    266274!insertmacro MUI_FUNCTION_DESCRIPTION_END
    267275
Note: See TracChangeset for help on using the changeset viewer.