Changeset 824


Ignore:
Timestamp:
03/16/11 14:42:26 (9 years ago)
Author:
beliar
Message:

Patch by Beliar

setup.nsi:

  • Readded FIFE to externals. It will be downloaded from a random mirror of 10 preselected mirros.
Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/setup.nsi

    r823 r824  
    2626!include "AdvUninstLog2.nsh" 
    2727!include "python-module.nsh" 
     28!include "download_mirror.nsh" 
    2829 
    2930# MUI Settings 
     
    126127SectionEnd 
    127128 
     129Section "FIFE (required)" FIFE 
     130    DetailPrint "Downloading FIFE installer" 
     131        Push "http://puzzle.dl.sourceforge.net/project/fife/active/packages/FIFE-0.3.2r2_installer_win32.exe" 
     132        Push "http://mesh.dl.sourceforge.net/project/fife/active/packages/FIFE-0.3.2r2_installer_win32.exe" 
     133        Push "http://aarnet.dl.sourceforge.net/project/fife/active/packages/FIFE-0.3.2r2_installer_win32.exe" 
     134        Push "http://cdnetworks-us-1.dl.sourceforge.net/project/fife/active/packages/FIFE-0.3.2r2_installer_win32.exe" 
     135        Push "http://ovh.dl.sourceforge.net/project/fife/active/packages/FIFE-0.3.2r2_installer_win32.exe" 
     136        Push "http://ignum.dl.sourceforge.net/project/fife/active/packages/FIFE-0.3.2r2_installer_win32.exe" 
     137        Push "http://tenet.dl.sourceforge.net/project/fife/active/packages/FIFE-0.3.2r2_installer_win32.exe" 
     138        Push "http://jaist.dl.sourceforge.net/project/fife/active/packages/FIFE-0.3.2r2_installer_win32.exe" 
     139        Push "http://garr.dl.sourceforge.net/project/fife/active/packages/FIFE-0.3.2r2_installer_win32.exe" 
     140        Push "http://cdnetworks-kr-2.dl.sourceforge.net/project/fife/active/packages/FIFE-0.3.2r2_installer_win32.exe" 
     141        Push 10 
     142        Push "$TEMP\FIFE-0.3.2r2_installer_win32.exe" 
     143        Call DownloadFromRandomMirror 
     144        Pop $0 
     145     
     146        StrCmp $0 "cancel" 0 +3 
     147                MessageBox MB_OK "Download canceled" 
     148                Goto End 
     149        StrCmp $0 "success" 0 +3 
     150        DetailPrint "Installing FIFE" 
     151                ExecWait "$TEMP\FIFE-0.3.2r2_installer_win32.exe" 
     152        Goto End 
     153        MessageBox MB_OK "Error $0" 
     154        End: 
     155    DetailPrint "Deleting FIFE Installer" 
     156    Delete "$TEMP\FIFE-0.3.2r2_installer_win32.exe" 
     157SectionEnd 
     158 
    128159#--------- SECTION END ------------ 
    129160SectionGroupEnd 
     
    233264  
    234265!define EXT_StartIndex ${Externals} 
    235 !define EXT_EndIndex   ${OpenAL} 
     266!define EXT_EndIndex   ${Fife} 
    236267 
    237268Function .OnInit 
     
    393424LangString DESC_PARPG ${LANG_ENGLISH} "PARPG - Techdemo 1 SVN r788" 
    394425LangString DESC_Python ${LANG_ENGLISH} "ActivePython 2.6.4.8 - Required to run PARPG. Requires an active internet connection to install." 
    395 LangString DESC_FIFE ${LANG_ENGLISH} "FIFE 0.3.0 SVN trunk r3236 - Required to run PARPG." 
     426LangString DESC_FIFE ${LANG_ENGLISH} "FIFE-0.3.2r2 - Required to run PARPG." 
    396427LangString DESC_PyYAML ${LANG_ENGLISH} "PyYAML 3.09 - Required Python Module. Requires an active internet connection to install." 
    397428LangString DESC_OpenAL ${LANG_ENGLISH} "OpenAL - Required for sound effects and music playback." 
Note: See TracChangeset for help on using the changeset viewer.