From b2916b1e748d6abc6681b81050c724a85950883b Mon Sep 17 00:00:00 2001 From: Radegast Date: Mon, 13 Aug 2012 12:06:56 +0200 Subject: [PATCH] installer: removed the option to download the datafiles. Distributing original pk3 files is illegal. --- etl-installer.nsi | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/etl-installer.nsi b/etl-installer.nsi index 154210b..c3301ce 100755 --- a/etl-installer.nsi +++ b/etl-installer.nsi @@ -98,16 +98,18 @@ Section !ET:L MainProgram WriteRegStr HKLM "${REGKEY}\Components" ET:L 1 SectionEnd -Section "Download required datafiles" GameData - StrCpy $FileToDownload "pak0.pk3" - Call Download - StrCpy $FileToDownload "pak1.pk3" - Call Download - StrCpy $FileToDownload "pak2.pk3" - Call Download - StrCpy $FileToDownload "mp_bin.pk3" - Call Download -SectionEnd +# Distributing these files is illegal +# we have to find another way. +;Section "Download required datafiles" GameData +; StrCpy $FileToDownload "pak0.pk3" +; Call Download +; StrCpy $FileToDownload "pak1.pk3" +; Call Download +; StrCpy $FileToDownload "pak2.pk3" +; Call Download +; StrCpy $FileToDownload "mp_bin.pk3" +; Call Download +;SectionEnd Function Download StrCpy $2 "$INSTDIR\etmain\$FileToDownload" @@ -213,7 +215,7 @@ FunctionEnd # Section Descriptions !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN !insertmacro MUI_DESCRIPTION_TEXT ${MainProgram} $(MainProgram_DESC) - !insertmacro MUI_DESCRIPTION_TEXT ${GameData} $(GameData_DESC) +; !insertmacro MUI_DESCRIPTION_TEXT ${GameData} $(GameData_DESC) !insertmacro MUI_FUNCTION_DESCRIPTION_END # Installer Language Strings