cec: fixed - don't request the vendor id from devices that are handled by libcec
[deb_libcec.git] / project / create-installer.cmd
... / ...
CommitLineData
1@echo off
2
3set NSIS="C:\Program Files (x86)\NSIS\makensis.exe"
4set DDK=C:\WinDDK\7600.16385.1
5
6IF "%VS100COMNTOOLS%"=="" (
7 set COMPILER="%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\VCExpress.exe"
8) ELSE IF EXIST "%VS100COMNTOOLS%\..\IDE\VCExpress.exe" (
9 set COMPILER="%VS100COMNTOOLS%\..\IDE\VCExpress.exe"
10) ELSE IF EXIST "%VS100COMNTOOLS%\..\IDE\devenv.exe" (
11 set COMPILER="%VS100COMNTOOLS%\..\IDE\devenv.exe"
12)
13
14rem Compile libCEC
15echo Cleaning libCEC
16%COMPILER% libcec.sln /clean Release
17
18echo Compiling libCEC
19%COMPILER% libcec.sln /build Release /project libcec
20echo Compiling cec-client
21%COMPILER% libcec.sln /build Release /project testclient
22echo Compiling LibCecSharp
23%COMPILER% libcec.sln /build Release /project LibCecSharp
24
25rem Copy driver installer
26echo Copying driver installer
27copy "%DDK%\redist\DIFx\dpinst\MultiLin\amd64\dpinst.exe" ..\dpinst-amd64.exe
28copy "%DDK%\redist\DIFx\dpinst\MultiLin\x86\dpinst.exe" ..\dpinst-x86.exe
29
30rem Run the NSIS installer
31echo Creating the installer
32%NSIS% /V1 /X"SetCompressor /FINAL lzma" "libCEC.nsi"
33
34echo The installer can be found here: libCEC-installer.exe