win-pvdrivers

view makedist.bat @ 538:e75bb8d68370

Lots more changes...
author James Harper <james.harper@bendigoit.com.au>
date Tue Mar 03 09:51:24 2009 +1100 (2009-03-03)
parents 2a74ac2f43bb
children 7359efee2d6f
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 BUILD_NUMBER=%BUILD_NUMBER%+1
11 ECHO >build_number.bat SET BUILD_NUMBER=%BUILD_NUMBER%
13 ECHO BUILDING %GPLPV_VERSION%
15 CALL set_ddk_path.bat
17 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ fre WXP && CD \Projects\win-pvdrivers.hg && build -cZg && call wix.bat"
18 rem CALL sign_sys.bat winxp i386 XP_X86
19 rem CALL sign_inf.bat winxp XP_X86
21 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ fre WNET && CD \Projects\win-pvdrivers.hg && build -cZg && call wix.bat"
22 rem CALL sign_sys.bat winnet i386 Server2003_X86
23 rem CALL sign_inf.bat winnet Server2003_X64
25 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ fre x64 WNET && CD \Projects\win-pvdrivers.hg && build -cZg && call wix.bat"
26 rem CALL sign_sys.bat winnet amd64 Server2003_X64
27 rem CALL sign_inf.bat winnet Server2003_X64
29 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ fre WLH && CD \Projects\win-pvdrivers.hg && build -cZg && call wix.bat"
30 rem CALL sign_sys.bat winlh i386 Server2008_X86
31 rem CALL sign_inf.bat winlh Server2008_X64
33 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ fre x64 WLH && CD \Projects\win-pvdrivers.hg && build -cZg && call wix.bat"
34 rem CALL sign_sys.bat winlh amd64 Server2008_X64
35 rem CALL sign_inf.bat winlh Server2008_X64
37 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk WXP && CD \Projects\win-pvdrivers.hg && build -cZg && call wix.bat"
38 rem CALL sign_sys.bat winxp i386 XP_X86
39 rem CALL sign_inf.bat winxp XP_X86
41 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk WNET && CD \Projects\win-pvdrivers.hg && build -cZg && call wix.bat"
42 rem CALL sign_sys.bat winnet i386 Server2003_X86
43 rem CALL sign_inf.bat winnet Server2003_X64
45 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk x64 WNET && CD \Projects\win-pvdrivers.hg && build -cZg && call wix.bat"
46 rem CALL sign_sys.bat winnet amd64 Server2003_X64
47 rem CALL sign_inf.bat winnet Server2003_X64
49 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk WLH && CD \Projects\win-pvdrivers.hg && build -cZg && call wix.bat"
50 rem CALL sign_sys.bat winlh i386 Server2008_X86
51 rem CALL sign_inf.bat winlh Server2008_X64
53 cmd /C "%DDK_PATH%\bin\setenv.bat %DDK_PATH%\ chk x64 WLH && CD \Projects\win-pvdrivers.hg && build -cZg && call wix.bat"
54 rem CALL sign_sys.bat winlh amd64 Server2008_X64
55 rem CALL sign_inf.bat winlh Server2008_X64
57 rem IF NOT EXIST SIGN_CONFIG.BAT GOTO DONT_SIGN
58 rem CALL SIGN_CONFIG.BAT
59 rem %DDK_PATH%\bin\selfsign\certmgr -put -r %CA_CERT_LOCATION% -c -s %CA_CERT_STORE% -n %CA_CERT_NAME% ca.cer
60 rem :DONT_SIGN