X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=support%2Fcreate-driver-installer.cmd;h=153d9535caa2ca054cb2b2666f9ee78439c2cb3f;hb=1f0601e16902dc2a020c027dcfee18d10f5ea2f9;hp=b07bc894e60d33bf380d4b8613d517053d2e6dd9;hpb=3b2bd169c03f74ccca35d9e211bbbc1308c33675;p=deb_libcec.git diff --git a/support/create-driver-installer.cmd b/support/create-driver-installer.cmd index b07bc89..153d953 100644 --- a/support/create-driver-installer.cmd +++ b/support/create-driver-installer.cmd @@ -11,9 +11,6 @@ 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 @@ -21,21 +18,23 @@ copy "%DDK%\redist\DIFx\dpinst\MultiLin\amd64\dpinst.exe" ..\build\dpinst-amd64. copy "%DDK%\redist\DIFx\dpinst\MultiLin\x86\dpinst.exe" ..\build\dpinst-x86.exe :CREATECAT -IF EXIST "..\support\create-cat.cmd" ( +cd ..\driver +IF EXIST "..\support\private\create-cat.cmd" ( echo. Updating the catalogue - CALL ..\support\create-cat.cmd + 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