diff options
-rw-r--r-- | project/Win32BuildSetup/XBMC for Windows.nsi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/project/Win32BuildSetup/XBMC for Windows.nsi b/project/Win32BuildSetup/XBMC for Windows.nsi index 7c66bdd367..9edd98c6ab 100644 --- a/project/Win32BuildSetup/XBMC for Windows.nsi +++ b/project/Win32BuildSetup/XBMC for Windows.nsi @@ -102,6 +102,11 @@ Section "XBMC" SecXBMC SetOutPath "$INSTDIR\sounds" File /r /x *.so "${xbmc_root}\Xbmc\sounds\*.*" SetOutPath "$INSTDIR\system" + + ; delete system/python if its there + IfFileExists $INSTDIR\system\python 0 +2 + RMDir /r $INSTDIR\system\python + File /r /x *.so /x mplayer /x *_d.* /x tcl85g.dll /x tclpip85g.dll /x tk85g.dll "${xbmc_root}\Xbmc\system\*.*" ; delete msvc?90.dll's in INSTDIR, we use the vcredist installer later |