X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=support%2Fcreate-installer.bat;h=954b92077ec3495b3d9cb32cd3f7b4527cad1621;hb=eb7d0f1ea23f80dbb3e667e78923003541d5598f;hp=e0a28a05f75d330e547bb8877f3f5cb716bb8a85;hpb=58f3d0a97838820bb4d2b787cb717f6d8a8f55b8;p=deb_libcec.git diff --git a/support/create-installer.bat b/support/create-installer.bat index e0a28a0..954b920 100644 --- a/support/create-installer.bat +++ b/support/create-installer.bat @@ -16,7 +16,7 @@ IF "%VS110COMNTOOLS%"=="" ( set COMPILER11="%VS110COMNTOOLS%\..\IDE\VCExpress.exe" ) ELSE IF EXIST "%VS110COMNTOOLS%\..\IDE\devenv.exe" ( set COMPILER11="%VS110COMNTOOLS%\..\IDE\devenv.exe" -) ELSE GOTO NOSDK10 +) ELSE GOTO NOSDK11 del /s /f /q ..\build mkdir ..\build @@ -80,6 +80,10 @@ CALL ..\support\private\sign-binary.cmd ..\build\x64\cec-tray.exe :CREATEINSTALLER echo. Creating the installer +cd ..\build\x64 +copy libcec.dll libcec.x64.dll +copy cec-client.exe cec-client.x64.exe +cd ..\..\project %NSIS% /V1 /X"SetCompressor /FINAL lzma" "libCEC.nsi" IF NOT EXIST "..\build\libCEC-installer.exe" GOTO :ERRORCREATINGINSTALLER @@ -100,8 +104,8 @@ IF "%1%"=="" ( set EXITCODE=0 GOTO EXIT -:NOSDK10 -echo. Both Visual Studio 2010 and Visual C++ Express 2010 were not found on your system. +:NOSDK11 +echo. Visual Studio 2012 was not found on your system. GOTO EXIT :NOSIS @@ -123,6 +127,7 @@ del /q /f ..\build\*.dll del /q /f ..\build\*.lib del /q /f ..\build\*.exp del /q /f ..\build\*.xml +del /q /f ..\build\*.metagen del /s /f /q ..\build\x64 rmdir ..\build\x64 cd ..\support