3 set NSIS="C:\Program Files (x86)\NSIS\makensis.exe"
4 set DDK=C:\WinDDK\7600.16385.1
6 IF "%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"
16 %COMPILER% libcec.sln /clean Debug
19 %COMPILER% libcec.sln /clean Debug
20 %COMPILER% libcec.sln /build Debug
22 rem Copy driver installer
23 echo Copying driver installer
24 copy "%DDK%\redist\DIFx\dpinst\MultiLin\amd64\dpinst.exe" ..\dpinst-amd64.exe
25 copy "%DDK%\redist\DIFx\dpinst\MultiLin\x86\dpinst.exe" ..\dpinst-x86.exe
27 rem Run the NSIS installer
28 echo Creating the installer
29 %NSIS% /V1 /X"SetCompressor /FINAL lzma" "libCEC.nsi"
31 echo The installer can be found here: libCEC-installer.exe