X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=support%2Fcreate-driver-installer.cmd;h=153d9535caa2ca054cb2b2666f9ee78439c2cb3f;hb=b1bd94283cef75676b987f30d61f26fad09c19c3;hp=6b6b5d39efee967af316de852fa68b60300729e9;hpb=8dfe215b79c4d6e000b6ae61c1e20f3500da1104;p=deb_libcec.git diff --git a/support/create-driver-installer.cmd b/support/create-driver-installer.cmd index 6b6b5d3..153d953 100644 --- a/support/create-driver-installer.cmd +++ b/support/create-driver-installer.cmd @@ -11,25 +11,30 @@ rem Check for the Windows DDK IF NOT EXIST "C:\WinDDK\7600.16385.1" GOTO NODDK set DDK="C:\WinDDK\7600.16385.1" -cd ..\project - -del /s /f /q ..\build mkdir ..\build echo. Copying driver installer copy "%DDK%\redist\DIFx\dpinst\MultiLin\amd64\dpinst.exe" ..\build\dpinst-amd64.exe copy "%DDK%\redist\DIFx\dpinst\MultiLin\x86\dpinst.exe" ..\build\dpinst-x86.exe +:CREATECAT +cd ..\driver +IF EXIST "..\support\private\create-cat.cmd" ( + echo. Updating the catalogue + CALL ..\support\private\create-cat.cmd p8usb-cec.cat +) + :CREATEINSTALLER echo. Creating the installer +cd ..\project %NSIS% /V1 /X"SetCompressor /FINAL lzma" "p8-usbcec-driver.nsi" IF NOT EXIST "..\build\p8-usbcec-driver-installer.exe" GOTO :ERRORCREATINGINSTALLER rem Sign the installer if sign-binary.cmd exists -IF EXIST "..\support\sign-binary.cmd" ( +IF EXIST "..\support\private\sign-binary.cmd" ( echo. Signing the installer binaries - CALL ..\support\sign-binary.cmd ..\build\p8-usbcec-driver-installer.exe + CALL ..\support\private\sign-binary.cmd ..\build\p8-usbcec-driver-installer.exe ) echo. The installer can be found here: ..\build\p8-usbcec-driver-installer.exe