forked from desowin/usbpcap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_release.bat
53 lines (39 loc) · 1.55 KB
/
build_release.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
cd %~dp0
::Remove the Release directory if it exists
if exist Release RMDIR /S /Q Release
::build for Windows XP, Vista and 7
mkdir Release\XP\x86
mkdir Release\XP\x64
mkdir Release\Vista\x86
mkdir Release\Vista\x64
mkdir Release\Windows7\x86
mkdir Release\Windows7\x64
call cmd.exe /c driver_build.bat x86 WXP Release\XP\x86
call cmd.exe /c driver_build.bat x64 WNET Release\XP\x64
::Copy the USBPcapCMD.exe
copy USBPcapCMD\objfre_wxp_x86\i386\USBPcapCMD.exe Release\USBPcapCMD_x86.exe
copy USBPcapCMD\objfre_wnet_amd64\amd64\USBPcapCMD.exe Release\USBPcapCMD_x64.exe
call cmd.exe /c driver_build.bat x86 WLH Release\Vista\x86
call cmd.exe /c driver_build.bat x64 WLH Release\Vista\x64
call cmd.exe /c driver_build.bat x86 WIN7 Release\Windows7\x86
call cmd.exe /c driver_build.bat x64 WIN7 Release\Windows7\x64
::Build for Windows 8
mkdir Release\Windows8\x86
mkdir Release\Windows8\x64
call cmd.exe /c driver_build_win8.bat x86 Release\Windows8\x86
call cmd.exe /c driver_build_win8.bat x86_amd64 Release\Windows8\x64
::Create Attestation signing cabinet files
call cmd.exe /c driver_attestation_signing.bat
@echo off
echo Attestation signing packages should be available in disk1 directory
echo Sign these files with EV Code Signing certificate and upload them
echo to Hardware Dev Center Dashboard
echo After you are ready, unzip signed files to Release directory
@echo on
pause
::Build finished
@echo off
echo Build finished. Please check if Release directory contains all required
echo files. Now you can build the installer using nsis\USBPcap.nsi
@echo on
pause