From: Buildserver Date: Wed, 21 Dec 2011 10:16:31 +0000 (+0100) Subject: cec: copy libcec.dll to the XBMC installation dir when XBMC is found X-Git-Tag: upstream/2.2.0~1^2~43^2~28 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f6562fae263da46cf04649b871bcdf7c73242ec1;p=deb_libcec.git cec: copy libcec.dll to the XBMC installation dir when XBMC is found --- diff --git a/project/libCEC.nsi b/project/libCEC.nsi index 591cc1d..36cd65b 100644 --- a/project/libCEC.nsi +++ b/project/libCEC.nsi @@ -56,6 +56,13 @@ Section "libCEC" SecLibCEC File "..\pthreadVC2.dll" File "..\README" + ; Copy to XBMC\system + ReadRegStr $1 HKCU "Software\XBMC" "" + ${If} $1 != "" + SetOutPath "$1\system" + File "..\libcec.dll" + ${EndIf} + SetOutPath "$INSTDIR\driver" File "..\dpinst-amd64.exe" File "..\dpinst-x86.exe"