-
Notifications
You must be signed in to change notification settings - Fork 1
/
makeinf.bat
85 lines (83 loc) · 2.98 KB
/
makeinf.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
@echo off
mkdir bin 2>nul
echo [Version] > bin/aoe.inf
echo Signature="$Windows NT$" >> bin/aoe.inf
echo Class=SCSIAdapter >> bin/aoe.inf
echo ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318} >> bin/aoe.inf
echo Provider=AoE >> bin/aoe.inf
echo CatalogFile=aoe.cat >> bin/aoe.inf
echo DriverVer=01/01/2006,1.0 >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [Manufacturer] >> bin/aoe.inf
echo AoE=AoEDriver,,NTamd64 >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [AoEDriver] >> bin/aoe.inf
echo "AoE Driver"=AoE,AoE >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [AoEDriver.NTamd64] >> bin/aoe.inf
echo "AoE Driver"=AoE.NTamd64,AoE >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [SourceDisksNames] >> bin/aoe.inf
echo 0="Install Disk" >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [SourceDisksFiles] >> bin/aoe.inf
echo aoe.exe=0 >> bin/aoe.inf
echo aoe32.sys=0 >> bin/aoe.inf
echo aoe64.sys=0 >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [DestinationDirs] >> bin/aoe.inf
echo Files.Driver=12 >> bin/aoe.inf
echo Files.Driver.NTamd64=12 >> bin/aoe.inf
echo Files.Tools=11 >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [Files.Driver] >> bin/aoe.inf
echo aoe32.sys >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [Files.Driver.NTamd64] >> bin/aoe.inf
echo aoe64.sys >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [Files.Tools] >> bin/aoe.inf
echo aoe.exe >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [AoE] >> bin/aoe.inf
echo CopyFiles=Files.Driver,Files.Tools >> bin/aoe.inf
#echo DelReg=DelReg >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [AoE.NTamd64] >> bin/aoe.inf
echo CopyFiles=Files.Driver.NTamd64,Files.Tools >> bin/aoe.inf
#echo DelReg=DelReg >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [AoE.Services] >> bin/aoe.inf
echo AddService=AoE,0x00000002,Service >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [AoE.NTamd64.Services] >> bin/aoe.inf
echo AddService=AoE,0x00000002,Service.NTamd64 >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [Service] >> bin/aoe.inf
echo ServiceType=0x00000001 >> bin/aoe.inf
echo StartType=0x00000000 >> bin/aoe.inf
echo ErrorControl=0x00000001 >> bin/aoe.inf
echo ServiceBinary=%%12%%\aoe32.sys >> bin/aoe.inf
#echo LoadOrderGroup=NDIS >> bin/aoe.inf
echo. >> bin/aoe.inf
echo [Service.NTamd64] >> bin/aoe.inf
echo ServiceType=0x00000001 >> bin/aoe.inf
echo StartType=0x00000000 >> bin/aoe.inf
echo ErrorControl=0x00000001 >> bin/aoe.inf
echo ServiceBinary=%%12%%\aoe64.sys >> bin/aoe.inf
#echo LoadOrderGroup=NDIS >> bin/aoe.inf
#echo. >> bin/aoe.inf
#echo [DelReg] >> bin/aoe.inf
#echo HKLM,SYSTEM\CurrentControlSet\Services\atapi,Group >> bin/aoe.inf
echo [Disks] > bin/txtsetup.oem
echo disk = "AOE DISK",\aoe.inf,\ >> bin/txtsetup.oem
echo. >> bin/txtsetup.oem
echo [Defaults] >> bin/txtsetup.oem
echo scsi = AOE >> bin/txtsetup.oem
echo. >> bin/txtsetup.oem
echo [scsi] >> bin/txtsetup.oem
echo AOE = "AoE Driver" >> bin/txtsetup.oem
echo. >> bin/txtsetup.oem
echo [Files.scsi.AOE] >> bin/txtsetup.oem
echo driver = disk,aoe32.sys,AoE >> bin/txtsetup.oem
echo inf = disk,aoe.inf >> bin/txtsetup.oem