From f6562fae263da46cf04649b871bcdf7c73242ec1 Mon Sep 17 00:00:00 2001 From: Buildserver Date: Wed, 21 Dec 2011 11:16:31 +0100 Subject: [PATCH] cec: copy libcec.dll to the XBMC installation dir when XBMC is found --- project/libCEC.nsi | 7 +++++++ 1 file changed, 7 insertions(+) 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" -- 2.34.1