X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=project%2FlibCEC.nsi;h=36cd65bb6a17eb21d4c6764280e372c38fbc9b21;hb=2ffc8cddcb866da58a4a45923823ad9fb1c296eb;hp=eaf10932e36d54215ddbf196183116a5d6561b98;hpb=722869e27e6f6ef9db09fa9114994e167b7e8894;p=deb_libcec.git diff --git a/project/libCEC.nsi b/project/libCEC.nsi index eaf1093..36cd65b 100644 --- a/project/libCEC.nsi +++ b/project/libCEC.nsi @@ -16,7 +16,7 @@ InstallDirRegKey HKCU "Software\libCEC" "" RequestExecutionLevel admin Var StartMenuFolder -!define MUI_FINISHPAGE_LINK "Please visit http://www.pulse-eight.com/ for more information." +!define MUI_FINISHPAGE_LINK "Visit http://www.pulse-eight.com/ for more information." !define MUI_FINISHPAGE_LINK_LOCATION "http://www.pulse-eight.com/" !define MUI_ABORTWARNING @@ -52,9 +52,17 @@ Section "libCEC" SecLibCEC File "..\COPYING" File "..\libcec.dll" File "..\libcec.lib" + File "Release\LibCecSharp.dll" 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" @@ -130,6 +138,7 @@ Section "Uninstall" Delete "$INSTDIR\libcec.dll" Delete "$INSTDIR\libcec.lib" Delete "$INSTDIR\libcec.pdb" + Delete "$INSTDIR\LibCecSharp.dll" Delete "$INSTDIR\pthreadVC2.dll" Delete "$INSTDIR\README" Delete "$INSTDIR\driver\OEM001.inf"