try pulling OpenAL and SDL Windows libraries from mirrors
This commit is contained in:
@@ -160,17 +160,14 @@ SectionGroupEnd
|
|||||||
;***************************
|
;***************************
|
||||||
Section "-OpenAl" OpenAl
|
Section "-OpenAl" OpenAl
|
||||||
AddSize 768
|
AddSize 768
|
||||||
|
SetOutPath "$TEMP"
|
||||||
ClearErrors
|
ClearErrors
|
||||||
${GetFileVersion} $SYSDIR\OpenAL32.dll $0
|
${GetFileVersion} $SYSDIR\OpenAL32.dll $0
|
||||||
IfErrors installal 0
|
IfErrors installal 0
|
||||||
${VersionCompare} $0 "6.14.357.24" $1
|
${VersionCompare} $0 "6.14.357.24" $1
|
||||||
IntCmp $1 1 done done installal
|
IntCmp $1 1 done done installal
|
||||||
installal:
|
installal:
|
||||||
SetOutPath "$TEMP"
|
!insertmacro DownloadDependency "openal" "oalinst.zip"
|
||||||
NSISdl::download http://connect.creativelabs.com/openal/Downloads/oalinst.zip oalinst.zip
|
|
||||||
Pop $R0
|
|
||||||
StrCmp $R0 "success" +2
|
|
||||||
Abort
|
|
||||||
!insertmacro ZIPDLL_EXTRACT oalinst.zip OpenAL oalinst.exe
|
!insertmacro ZIPDLL_EXTRACT oalinst.zip OpenAL oalinst.exe
|
||||||
ExecWait "$TEMP\OpenAL\oalinst.exe"
|
ExecWait "$TEMP\OpenAL\oalinst.exe"
|
||||||
done:
|
done:
|
||||||
@@ -178,10 +175,10 @@ SectionEnd
|
|||||||
|
|
||||||
Section "-Sdl" SDL
|
Section "-Sdl" SDL
|
||||||
AddSize 317
|
AddSize 317
|
||||||
|
SetOutPath "$TEMP"
|
||||||
IfFileExists $INSTDIR\SDL.dll done installsdl
|
IfFileExists $INSTDIR\SDL.dll done installsdl
|
||||||
installsdl:
|
installsdl:
|
||||||
SetOutPath "$TEMP"
|
!insertmacro DownloadDependency "sdl" "sdl.zip"
|
||||||
NSISdl::download http://www.libsdl.org/release/SDL-1.2.14-win32.zip sdl.zip
|
|
||||||
!insertmacro ZIPDLL_EXTRACT sdl.zip $INSTDIR SDL.dll
|
!insertmacro ZIPDLL_EXTRACT sdl.zip $INSTDIR SDL.dll
|
||||||
done:
|
done:
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|||||||
Reference in New Issue
Block a user