From d6c73154042208393560d75dcc8bd417efd5d051 Mon Sep 17 00:00:00 2001 From: canni2007 Date: Thu, 27 Dec 2007 01:39:50 +0000 Subject: - Updated installer source to fit changes made for version 1.0.1a - Added new demo song "Joshua Morin - On the run" - Fixed: required disc size will now be calculated correctly - Fixed: icon appears now in the software uninstall menu of windows git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1@746 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Installer/UltraStarDeluxeFull.nsi | 41 +++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) (limited to 'Installer/UltraStarDeluxeFull.nsi') diff --git a/Installer/UltraStarDeluxeFull.nsi b/Installer/UltraStarDeluxeFull.nsi index 66c0234b..95bb628a 100644 --- a/Installer/UltraStarDeluxeFull.nsi +++ b/Installer/UltraStarDeluxeFull.nsi @@ -8,8 +8,8 @@ !include ".\settings\functions.nsh" !include "WinVer.nsh" -!define icon_inst ".\icons\ustar.ico" ; Icon for Installation -!define icon_uninst ".\icons\uninstall.ico" ; Icon for Uninstallation +!define icon_inst "ustar.ico" ; Icon for Installation +!define icon_uninst "uninstall.ico" ; Icon for Uninstallation SetCompress Auto SetCompressor /SOLID lzma @@ -315,13 +315,16 @@ SectionEnd LangString DESC_g2Section2 ${LANG_ENGLISH} "${eng_g2Section2_desc}" LangString DESC_g2Section2 ${LANG_GERMAN} "${ger_g2Section2_desc}" + LangString DESC_g2Section3 ${LANG_ENGLISH} "${eng_g2Section3_desc}" + LangString DESC_g2Section3 ${LANG_GERMAN} "${ger_g2Section3_desc}" + LangString sec2 ${LANG_ENGLISH} "${eng_sec2}" LangString sec2 ${LANG_GERMAN} "${ger_sec2}" SectionGroup $(sec2) Section2 Section /o "Dead Smiling Pirates - I 18" g2Section1 - AddSize 2816 +; AddSize 1400 SetOverwrite try SetOutPath "$INSTDIR" CreateDirectory "$INSTDIR\Songs\Dead Smiling Pirates - I 18 [DEMO]" @@ -348,7 +351,7 @@ Section /o "Dead Smiling Pirates - I 18" g2Section1 SectionEnd Section /o "Steven Dunston - Northern Star" g2Section2 - AddSize 3769 +; AddSize 1500 SetOverwrite try SetOutPath "$INSTDIR" CreateDirectory "$INSTDIR\Songs\Steven Dunston - Northern Star [DEMO]" @@ -373,6 +376,32 @@ Section /o "Steven Dunston - Northern Star" g2Section2 SectionEnd +Section /o "Joshua Morin - On the run" g2Section3 +; AddSize 2200 + SetOverwrite try + SetOutPath "$INSTDIR" + CreateDirectory "$INSTDIR\Songs\Joshua Morin - On the run [DEMO]" + SetOutPath "$INSTDIR\Songs\Joshua Morin - On the run [DEMO]\" + +; Download song: +; NSISdl::download /TIMEOUT=30000 ${demosong3} $TEMP\Song-On-the-run.zip + +; Pop $R0 ;Get the return value +; StrCmp $R0 "success" dlok +; MessageBox MB_OK|MB_ICONEXCLAMATION "Download Error, click OK to Continue" /SD IDOK +; dlok: +; nsisunz::Unzip "$TEMP\Song-On-the-run.zip" "$INSTDIR\Songs\Joshua Morin - On the run [DEMO]\" + +; Delete "$TEMP\Song-On-the-run.zip" + + SetOutPath "$INSTDIR" + +!include ".\settings\optional\in_song3.nsh" + + SetOutPath "$INSTDIR" + + SectionEnd + SectionGroupEnd ; --------------------------------------------------------- @@ -397,6 +426,7 @@ LangString sec_group ${LANG_GERMAN} "${ger_sec3}" SectionGroup $(sec_group) Section3 Section "Orange" g1Sec1 +; AddSize 700 ; Download theme orange: ; NSISdl::download /TIMEOUT=30000 ${dl_orange} $TEMP\Theme-Orange.zip @@ -418,6 +448,7 @@ SectionGroup $(sec_group) Section3 SectionEnd Section "Streetlight" g1Sec2 +; AddSize 1000 ; Download theme Streetlight: ; NSISdl::download /TIMEOUT=30000 ${dl_streetlight} $TEMP\Theme-Streetlight.zip @@ -439,6 +470,7 @@ SectionEnd SectionEnd Section "Vistar" g1Sec3 +; AddSize 1000 ; Download theme Vistar: @@ -497,6 +529,7 @@ SectionEnd !insertmacro MUI_DESCRIPTION_TEXT ${g2Section1} $(DESC_g2Section1) !insertmacro MUI_DESCRIPTION_TEXT ${g2Section2} $(DESC_g2Section2) + !insertmacro MUI_DESCRIPTION_TEXT ${g2Section3} $(DESC_g2Section3) !insertmacro MUI_FUNCTION_DESCRIPTION_END -- cgit v1.2.3