diff options
author | Martijn Kaijser <mcm.kaijser@gmail.com> | 2013-09-02 18:48:11 +0200 |
---|---|---|
committer | Martijn Kaijser <mcm.kaijser@gmail.com> | 2013-09-02 19:49:22 +0200 |
commit | 0a16a920f8235b9b0adec746a1be472f3cb52767 (patch) | |
tree | 6a56ee79073ad98bd688683a7468c8d3f908b677 /project/Win32BuildSetup/XBMC for Windows.nsi | |
parent | 5c51a4c3ef4195f78aa37259ddbd4b079c415c72 (diff) |
[win32] installer: move addon copy
Diffstat (limited to 'project/Win32BuildSetup/XBMC for Windows.nsi')
-rw-r--r-- | project/Win32BuildSetup/XBMC for Windows.nsi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/project/Win32BuildSetup/XBMC for Windows.nsi b/project/Win32BuildSetup/XBMC for Windows.nsi index ebd76d5adf..bc590a3d1c 100644 --- a/project/Win32BuildSetup/XBMC for Windows.nsi +++ b/project/Win32BuildSetup/XBMC for Windows.nsi @@ -109,7 +109,11 @@ Section "XBMC" SecXBMC SetOutPath "$INSTDIR\sounds" File /r /x *.so "${xbmc_root}\Xbmc\sounds\*.*" SetOutPath "$INSTDIR\system" - + + RMDir /r $INSTDIR\addons + SetOutPath "$INSTDIR\addons" + File /r /x skin.touched ${xbmc_root}\Xbmc\addons\*.* + ; delete system/python if its there IfFileExists $INSTDIR\system\python 0 +2 RMDir /r $INSTDIR\system\python @@ -128,9 +132,6 @@ Section "XBMC" SecXBMC ;Turn on overwrite for rest of install SetOverwrite on - RMDir /r $INSTDIR\addons - SetOutPath "$INSTDIR\addons" - File /r /x skin.touched ${xbmc_root}\Xbmc\addons\*.* ;Store installation folder WriteRegStr HKCU "Software\${APP_NAME}" "" $INSTDIR |