win-pvdrivers

view target/xenhide.inf @ 7:078654ce6a13

Fixed the XenHide inf file so that we don't need to bother with the regedit step anymore on install
author James Harper <james.harper@bendigoit.com.au>
date Mon Nov 12 23:04:56 2007 +1100 (2007-11-12)
parents
children b55f3c61e509
line source
1 [Version]
2 Signature="$WINDOWS NT$"
3 Class=System
4 ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
5 Provider=%JAMESHARPER%
6 DriverVer=11/11/2007,1.0.0.22
8 [ControlFlags]
9 ExcludeFromSelect = *
11 [DestinationDirs]
12 DefaultDestDir = 12
13 ;ClassInstall32_CopyFiles=11
14 CoInstaller_CopyFiles = 11
16 ; ================= Class section =====================
17 ;
18 ;[ClassInstall32]
19 ;Addreg=ClassInstall32_AddReg
20 ;CopyFiles=ClassInstall32_CopyFiles
21 ;
22 ;[ClassInstall32_AddReg]
23 ;HKR,,,0,%ClassName%
24 ;HKR,,Icon,,100
25 ;HKR,,DeviceCharacteristics,0x10001,0x100 ;Use same security checks on relative opens
26 ;HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)" ;Allow generic all access to system and built-in Admin.
28 ;[ClassInstall32_CopyFiles]
30 ; ================= Device Install section =====================
32 [Manufacturer]
33 %JAMESHARPER%=JAMESHARPER,NTx86
35 ; For Win2K
36 [JAMESHARPER]
37 %XenHide.DRVDESC%=XenHide_Inst, *PNP0A03
39 ; For XP and later
40 [JAMESHARPER.NTx86]
41 %XenHide.DRVDESC%=XenHide_Inst, *PNP0A03
43 [XenHide_Inst.NT]
44 Include=machine.inf
45 Needs=PCI_DRV_ROOT.NT
46 CopyFiles=XenHide.CopyFiles
47 ;AddReg=
49 [XenHide_Inst.NT.HW]
50 AddReg = XenHide_Inst_HW_AddReg
51 Include=machine.inf
52 Needs=PCI_DRV_ROOT.HW
54 [XenHide_Inst_HW_AddReg]
55 HKR,,"LowerFilters",0x00010000,"XenHide"
56 HKLM,SYSTEM\CurrentControlSet\Services\Wdf01000,Group,0x00000000,Boot Bus Extender
58 [XenHide.CopyFiles]
59 xenhide.sys
61 [SourceDisksFiles]
62 xenhide.sys=1
63 WdfCoinstaller01005.dll=1,,
65 [SourceDisksNames.x86]
66 1 = %DISK_NAME%,,,\i386
68 [XenHide_Inst.NT.Services]
69 AddService=XenHide,,XenHide_Service_Inst
70 Include=Machine.inf
71 ;Needs=PCI_DRV_ROOT.NT.Services
72 Needs=PCI_DRV_ROOT.Services
74 [XenHide_Service_Inst]
75 DisplayName = %XenHide.SVCDESC%
76 ServiceType = 1
77 StartType = 0
78 ErrorControl = 1
79 ServiceBinary = %12%\xenhide.sys
81 [XenHide_Inst.NT.CoInstallers]
82 AddReg=CoInstaller_AddReg
83 CopyFiles=CoInstaller_CopyFiles
85 [CoInstaller_CopyFiles]
86 WdfCoinstaller01005.dll,,,2
88 [CoInstaller_AddReg]
89 HKR,,CoInstallers32,0x00010000, "WdfCoinstaller01005.dll,WdfCoInstaller"
91 [XenHide_Inst.NT.Wdf]
92 KmdfService = xenhide, XenHide_WDFSect
94 [XenHide_WDFSect]
95 KmdfLibraryVersion = 1.0
97 [Strings]
98 JAMESHARPER = "James Harper"
99 ClassName = "System devices"
100 XenHide.SVCDESC = "Xen PCI Device Hider Driver"
101 XenHide.DRVDESC = "Xen PCI Device Hider Driver"
102 DISK_NAME = "Xen PCI Device Driver Hider Install Disk"