win-pvdrivers

view makedist.bat @ 661:3163b141fda5

Added XenUSB to the installer.
Don't sign WdfCoInstaller - not required
Add RC files to better identify the binaries
author James Harper <james.harper@bendigoit.com.au>
date Tue Sep 15 20:16:08 2009 +1000 (2009-09-15)
parents cf237bbbee82
children 5bdb7251370c
line source
1 @echo off
2 IF NOT EXIST set_ddk_path.bat ECHO >set_ddk_path.bat SET DDK_PATH=C:\WinDDK\6001.18002
4 SET VERSION=0.10.0
5 SET BUILD_NUMBER=0
6 IF EXIST build_number.bat CALL build_number.bat
8 SET GPLPV_VERSION=%VERSION%.%BUILD_NUMBER%
10 SET /A NEW_BUILD_NUMBER=%BUILD_NUMBER%+1
11 ECHO >build_number.bat SET BUILD_NUMBER=%NEW_BUILD_NUMBER%
13 ECHO BUILDING %GPLPV_VERSION%
15 CALL set_ddk_path.bat
17 SET PV_DIR=%CD%
19 ECHO PV_DIR=%PV_DIR%
21 IF NOT EXIST gplpv.cer "%DDK_PATH%"\bin\selfsign\makecert -r -pe -ss PrivateCertStore -n "CN=GPLPV_Test_Cert" gplpv.cer
23 mkdir symbols\%GPLPV_VERSION%
25 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ fre WXP && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call wix.bat"
27 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ fre WNET && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call wix.bat"
29 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ fre x64 WNET && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call wix.bat"
31 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ fre WLH && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call wix.bat"
33 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ fre x64 WLH && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call wix.bat"
35 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk WXP && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
37 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk WNET && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
39 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk x64 WNET && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
41 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk WLH && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
43 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk x64 WLH && CD /D "%PV_DIR%" && build -cZg && call sign.bat && call archive.bat && call wix.bat"
45 IF NOT EXIST TAG_HG GOTO DONT_TAG
46 IF EXIST BUILD*.WRN GOTO DONT_TAG
47 IF EXIST BUILD*.ERR GOTO DONT_TAG
49 hg tag %GPLPV_VERSION%
51 :DONT_TAG