- Timestamp:
- 19/12/06 11:36:59 (6 years ago)
- File:
-
- 1 edited
-
trunk/OpenYahtzee/windows_installer.nsi (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/OpenYahtzee/windows_installer.nsi
r26 r27 7 7 ;-------------------------------- 8 8 9 ;-------------------------------- 10 ;Include Modern UI 11 12 !include "MUI.nsh" 13 14 ;-------------------------------- 15 9 16 ; The name of the installer 10 Name "Open Yahtzee 1.5.1"17 Name "OpenYahtzee 1.5.1" 11 18 12 19 ; The file to write … … 24 31 InstallDirRegKey HKLM "Software\OpenYahtzee" "Install_Dir" 25 32 26 ; make the installer controls use the new XP style when running on Windows XP27 XPStyle on 33 ;-------------------------------- 34 ;Interface Settings 28 35 29 ;set the license 30 LicenseData COPYING.txt 36 !define MUI_ABORTWARNING 31 37 32 38 ;-------------------------------- 39 ;Pages 33 40 34 ; Pages 35 36 Page license 37 Page components 38 Page directory 39 Page instfiles 40 UninstPage uninstConfirm 41 UninstPage instfiles 42 43 41 !insertmacro MUI_PAGE_LICENSE "COPYING.txt" 42 !insertmacro MUI_PAGE_COMPONENTS 43 !insertmacro MUI_PAGE_DIRECTORY 44 !insertmacro MUI_PAGE_INSTFILES 45 46 !insertmacro MUI_UNPAGE_CONFIRM 47 !insertmacro MUI_UNPAGE_INSTFILES 48 44 49 ;-------------------------------- 45 50 46 51 ; The stuff to install 47 Section "OpenYahtzee-1.5.1 (required)" 52 Section "OpenYahtzee-1.5.1 (required)" SecOpenYahtzee 48 53 49 54 SectionIn RO … … 73 78 74 79 ; Optional section (can be disabled by the user) 75 Section "Start Menu Shortcuts" 80 Section "Start Menu Shortcuts" SecStartMenu 76 81 77 82 CreateDirectory "$SMPROGRAMS\OpenYahtzee" … … 80 85 81 86 SectionEnd 87 ;-------------------------------- 88 ;Languages 89 90 !insertmacro MUI_LANGUAGE "English" 91 92 ;-------------------------------- 93 ;Descriptions 94 95 ;Language strings 96 LangString DESC_SecOpenYahtzee ${LANG_ENGLISH} "The OpenYahtzee game files and the required libraries." 97 LangString DESC_SecStartMenu ${LANG_ENGLISH} "Create shortcuts in the Start menu" 98 99 ;Assign language strings to sections 100 !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN 101 !insertmacro MUI_DESCRIPTION_TEXT ${SecOpenYahtzee} $(DESC_SecOpenYahtzee) 102 !insertmacro MUI_DESCRIPTION_TEXT ${SecStartMenu} $(DESC_SecStartMenu) 103 !insertmacro MUI_FUNCTION_DESCRIPTION_END 82 104 83 105 ;--------------------------------
Note: See TracChangeset
for help on using the changeset viewer.
