mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
renamed installer script and fixed typo
This commit is contained in:
parent
6fe82e9104
commit
785d922a77
1 changed files with 80 additions and 0 deletions
80
win32/deluge.nsi
Normal file
80
win32/deluge.nsi
Normal file
|
@ -0,0 +1,80 @@
|
||||||
|
; Deluge Windows Installer Script
|
||||||
|
; Written By John Garland <johnnybg@gmail.com>
|
||||||
|
; Date: 21/02/09
|
||||||
|
|
||||||
|
; Includes
|
||||||
|
|
||||||
|
!include "MUI2.nsh"
|
||||||
|
|
||||||
|
; General Settings
|
||||||
|
|
||||||
|
; Name
|
||||||
|
Name "Deluge"
|
||||||
|
OutFile "deluge.exe"
|
||||||
|
|
||||||
|
; Default install dir
|
||||||
|
InstallDir "$PROGRAMFILES\Deluge"
|
||||||
|
|
||||||
|
; Request privileges for Vista
|
||||||
|
RequestExecutionLevel user
|
||||||
|
|
||||||
|
|
||||||
|
; Interface Settings
|
||||||
|
|
||||||
|
!define MUI_ABORTWARNING
|
||||||
|
|
||||||
|
; Pages
|
||||||
|
|
||||||
|
; Installation
|
||||||
|
|
||||||
|
!insertmacro MUI_PAGE_WELCOME
|
||||||
|
!insertmacro MUI_PAGE_LICENSE "..\deluge\LICENSE"
|
||||||
|
!insertmacro MUI_PAGE_COMPONENTS
|
||||||
|
!insertmacro MUI_PAGE_DIRECTORY
|
||||||
|
!insertmacro MUI_PAGE_INSTFILES
|
||||||
|
!insertmacro MUI_PAGE_FINISH
|
||||||
|
|
||||||
|
; Uninstallation
|
||||||
|
|
||||||
|
!insertmacro MUI_UNPAGE_CONFIRM
|
||||||
|
!insertmacro MUI_UNPAGE_INSTFILES
|
||||||
|
!insertmacro MUI_UNPAGE_FINISH
|
||||||
|
|
||||||
|
; Languages
|
||||||
|
|
||||||
|
!insertmacro MUI_LANGUAGE "English"
|
||||||
|
; Should put all languages deluge supports here
|
||||||
|
|
||||||
|
; Installer Sections
|
||||||
|
|
||||||
|
Section "Deluge" deluge
|
||||||
|
|
||||||
|
SectionIn RO
|
||||||
|
|
||||||
|
SetOutPath "$INSTDIR"
|
||||||
|
|
||||||
|
file "..\deluge\README"
|
||||||
|
|
||||||
|
WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||||
|
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
|
; Descriptions
|
||||||
|
|
||||||
|
; Language strings
|
||||||
|
LangString DESC_deluge ${LANG_ENGLISH} "Core section."
|
||||||
|
|
||||||
|
; Assign language strings to sections
|
||||||
|
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
||||||
|
!insertmacro MUI_DESCRIPTION_TEXT ${deluge} $(DESC_deluge)
|
||||||
|
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
||||||
|
|
||||||
|
; Uninstaller Section
|
||||||
|
|
||||||
|
Section "Uninstall"
|
||||||
|
|
||||||
|
Delete "$INSTDIR\uninstall.exe"
|
||||||
|
|
||||||
|
RMDir "$INSTDIR"
|
||||||
|
|
||||||
|
SectionEnd
|
Loading…
Add table
Add a link
Reference in a new issue