aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorWiSo <wiso@xbmc.org>2011-08-27 20:41:35 +0200
committerWiSo <wiso@xbmc.org>2011-08-27 20:41:35 +0200
commit65dbfea85f9cbf45c382f913b1d424232611b8be (patch)
treef643c226b8172e29f458235e35935abb62c3b73b /project
parentca83a623826dbb27d1e61c36545acbcd54f5a18a (diff)
[WIN32] fixed: installing a nightly over dharma might cause problems with python. Maybe we should deinstall XBMC completely (keep userdata) before installing? (fixes #11860)
Diffstat (limited to 'project')
-rw-r--r--project/Win32BuildSetup/XBMC for Windows.nsi5
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