Commit 2e2c14db authored by Jussi Lindgren's avatar Jussi Lindgren
Browse files

Build: Updated DirectX dependency in the Win installer script

parent f61a1edb
......@@ -98,15 +98,16 @@ Section "!OpenViBE" Section1
SetOutPath "$INSTDIR\dependencies"
IfFileExists "$SYSDIR\d3dx9_42.dll" no_need_to_install_directx
NSISdl::download "" "arch\openvibe-directx.exe"
IfFileExists "$SYSDIR\d3dx9_43.dll" no_need_to_install_directx
NSISdl::download "" "arch\directx-jun2010.exe"
Pop $R0 ; Get the return value
StrCmp $R0 "success" +4
MessageBox MB_OK "Download failed: $R0$\nCheck your Internet connection and your firewall settings.$\nDirect X won't be installed and 3D functionalities won't be available...$\nYou can install DirectX later to enable 3D functionalities !" /SD IDOK
Goto no_need_to_install_directx ; Quit
ExecWait '"arch\openvibe-directx.exe" /T:"$INSTDIR\tmp" /Q'
ExecWait '"arch\directx-jun2010.exe" /T:"$INSTDIR\tmp" /Q'
ExecWait '"$INSTDIR\tmp\DXSETUP.exe" /silent'
RMDir /r "$INSTDIR\tmp"
SetOutPath "$INSTDIR\dependencies\arch"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment