;--------------------------------
;DirectX webinstaller Section
-!if "${xbmc_target}" == "dx"
!define DXVERSIONDLL "$SYSDIR\D3DX9_43.dll"
Section "DirectX Install" SEC_DIRECTX
-
+
SectionIn 1 2 #section is in install type Full/Normal and when not installed
DetailPrint "Running DirectX Setup..."
MessageBox MB_OK|MB_ICONSTOP|MB_TOPMOST|MB_SETFOREGROUND "Windows Vista or above required.$\nThis program can not be run on Windows XP"
Quit
${EndIf}
- # set section 'SEC_DIRECTX' as selected and read-only if required dx version not found
- IfFileExists ${DXVERSIONDLL} +3 0
- IntOp $0 ${SF_SELECTED} | ${SF_RO}
- SectionSetFlags ${SEC_DIRECTX} $0
-FunctionEnd
-!endif
\ No newline at end of file
+FunctionEnd
\ No newline at end of file