aboutsummaryrefslogtreecommitdiff
path: root/project/Win32BuildSetup
diff options
context:
space:
mode:
authorMartijn Kaijser <mcm.kaijser@gmail.com>2014-06-14 15:09:32 +0200
committerMartijn Kaijser <mcm.kaijser@gmail.com>2014-06-14 15:09:32 +0200
commitffd1ad91ec90e1bdb3b1e7b98343c382bd6dc22e (patch)
treea6c375f3cd3ca628dfb41e43852e45d216d31ef5 /project/Win32BuildSetup
parentc638f05cf3f2df71dfe8ea25f4823f2e75df5023 (diff)
[win32] don't hide option to install DirectX if already installed.
Diffstat (limited to 'project/Win32BuildSetup')
-rw-r--r--project/Win32BuildSetup/XBMC for Windows.nsi10
1 files changed, 2 insertions, 8 deletions
diff --git a/project/Win32BuildSetup/XBMC for Windows.nsi b/project/Win32BuildSetup/XBMC for Windows.nsi
index b7dc66a3e4..6c668603a4 100644
--- a/project/Win32BuildSetup/XBMC for Windows.nsi
+++ b/project/Win32BuildSetup/XBMC for Windows.nsi
@@ -307,11 +307,10 @@ SectionEnd
;--------------------------------
;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..."
@@ -344,9 +343,4 @@ Function .onInit
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