forked from desowin/usbpcap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_release.bat
More file actions
43 lines (30 loc) · 1.19 KB
/
build_release.bat
File metadata and controls
43 lines (30 loc) · 1.19 KB
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
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
::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