diff options
author | canni2007 <canni2007@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-11-02 22:40:41 +0000 |
---|---|---|
committer | canni2007 <canni2007@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-11-02 22:40:41 +0000 |
commit | 4ebb1c51ca8ec788c8593cd76dca9e0cc2f83f64 (patch) | |
tree | bfbbeab792d3f7bef260c0ef748b29cbec705100 /Installer/UltraStar Deluxe.nsi | |
parent | a4be35ffa2990ff10793c039193b812d597ac463 (diff) | |
download | usdx-4ebb1c51ca8ec788c8593cd76dca9e0cc2f83f64.tar.gz usdx-4ebb1c51ca8ec788c8593cd76dca9e0cc2f83f64.tar.xz usdx-4ebb1c51ca8ec788c8593cd76dca9e0cc2f83f64.zip |
- Updated installer source:
added section size, another demo song
added check within uninstall routine (whether game is running)
changed component selection layout (no need to scroll anymore)
optional themes/skins will now be downloaded (not provided)
- New gdf.dll Source:
added source code for gdf dll with beta boxart for vista game explorer
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.01@559 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Installer/UltraStar Deluxe.nsi')
-rw-r--r-- | Installer/UltraStar Deluxe.nsi | 48 |
1 files changed, 39 insertions, 9 deletions
diff --git a/Installer/UltraStar Deluxe.nsi b/Installer/UltraStar Deluxe.nsi index 35e0433c..59b33eda 100644 --- a/Installer/UltraStar Deluxe.nsi +++ b/Installer/UltraStar Deluxe.nsi @@ -328,15 +328,15 @@ Section /o "Dead Smiling Pirates - I 18" g2Section1 SetOutPath "$INSTDIR\Songs\Dead Smiling Pirates - I 18 [DEMO]\"
; Download song:
-NSISdl::download /TIMEOUT=30000 ${demosong} $TEMP\song.zip
+NSISdl::download /TIMEOUT=30000 ${demosong} $TEMP\Song-I-18.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.zip" "$INSTDIR\Songs\Dead Smiling Pirates - I 18 [DEMO]\"
+nsisunz::Unzip "$TEMP\Song-I-18.zip" "$INSTDIR\Songs\Dead Smiling Pirates - I 18 [DEMO]\"
-Delete "$TEMP\song.zip"
+Delete "$TEMP\Song-I-18.zip"
SectionEnd
@@ -348,15 +348,15 @@ Section /o "Steven Dunston - Northern Star" g2Section2 SetOutPath "$INSTDIR\Songs\Steven Dunston - Northern Star [DEMO]\"
; Download song:
-NSISdl::download /TIMEOUT=30000 ${demosong2} $TEMP\song.zip
+NSISdl::download /TIMEOUT=30000 ${demosong2} $TEMP\Song-Northern-Star.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.zip" "$INSTDIR\Songs\Steven Dunston - Northern Star [DEMO]\"
+nsisunz::Unzip "$TEMP\Song-Northern-Star.zip" "$INSTDIR\Songs\Steven Dunston - Northern Star [DEMO]\"
-Delete "$TEMP\song.zip"
+Delete "$TEMP\Song-Northern-Star.zip"
SectionEnd
@@ -385,19 +385,49 @@ SectionGroup $(sec_group) Section3 Section /o "Orange" g1Sec1
- !include ".\settings\optional\in_orange.nsh"
+; Download theme orange:
+NSISdl::download /TIMEOUT=30000 ${dl_orange} $TEMP\Theme-Orange.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\Theme-Orange.zip" "$INSTDIR\"
+
+Delete "$TEMP\Theme-Orange.zip"
+
SectionEnd
Section /o "Streetlight" g1Sec2
- !include ".\settings\optional\in_streetlight.nsh"
+; Download theme Streetlight:
+NSISdl::download /TIMEOUT=30000 ${dl_streetlight} $TEMP\Theme-Streetlight.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\Theme-Streetlight.zip" "$INSTDIR\"
+
+Delete "$TEMP\Theme-Streetlight.zip"
+
SectionEnd
Section /o "Vistar" g1Sec3
- !include ".\settings\optional\in_vistar.nsh"
+; Download theme Vistar:
+NSISdl::download /TIMEOUT=30000 ${dl_vistar} $TEMP\Theme-Vistar.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\Theme-Vistar.zip" "$INSTDIR\"
+
+Delete "$TEMP\Theme-Vistar.zip"
+
SectionEnd
|