diff options
author | rubidium <rubidium@openttd.org> | 2012-02-06 20:11:00 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2012-02-06 20:11:00 +0000 |
commit | e42425a18d5d96a6870ab2ac773a838b4e235cae (patch) | |
tree | 257809a47d7c21510aa1c08b3b4ede0af32f7110 /os/windows | |
parent | 9da9d221f093258c8fe5f08a8d1c1fd686c5252b (diff) | |
download | openttd-e42425a18d5d96a6870ab2ac773a838b4e235cae.tar.xz |
(svn r23905) -Fix [FS#5045]: OpenMSX got downloaded to and extracted in the wrong (non-existent) folder
Diffstat (limited to 'os/windows')
-rw-r--r-- | os/windows/installer/install.nsi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os/windows/installer/install.nsi b/os/windows/installer/install.nsi index f4a3ec955..eda407ff7 100644 --- a/os/windows/installer/install.nsi +++ b/os/windows/installer/install.nsi @@ -281,17 +281,17 @@ SectionEnd Section "Download OpenMSX (free music set)" Section5 SetOverwrite try - NSISdl::download "http://binaries.openttd.org/installer/openmsx-${OPENMSX_BASE_VERSION}.7z" "$INSTDIR\gm\openmsx.7z" + NSISdl::download "http://binaries.openttd.org/installer/openmsx-${OPENMSX_BASE_VERSION}.7z" "$INSTDIR\baseset\openmsx.7z" Pop $R0 ;Get the return value StrCmp $R0 "success" +3 MessageBox MB_OK "Downloading of OpenMSX failed" Goto Done ; Let's extract the files - SetOutPath "$INSTDIR\gm\" - NSIS7z::Extract "$INSTDIR\gm\openmsx.7z" + SetOutPath "$INSTDIR\baseset\" + NSIS7z::Extract "$INSTDIR\baseset\openmsx.7z" - Delete "$INSTDIR\gm\openmsx.7z" + Delete "$INSTDIR\baseset\openmsx.7z" SetOutPath "$INSTDIR\" Done: |