home *** CD-ROM | disk | FTP | other *** search
- ;-------------------------------------------------------------------------
- ; PACKET.INF -- Sample Protocol Driver
- ;
- ; Copyright (c) 1993-1999, Microsoft Corporation
- ;-------------------------------------------------------------------------
- [version]
- Signature = "$Windows NT$"
- Class = NetTrans
- ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318}
- Provider = %Msft%
- DriverVer = 06/16/1999,5.00.2064
-
- [Manufacturer]
- %Msft%=MSFT
-
- [MSFT]
- %PACKET_Desc%=Install, MS_PACKET
-
- ;-------------------------------------------------------------------------
- ; Installation Section
- ;-------------------------------------------------------------------------
- [Install]
- AddReg=Inst_Ndi
- Characteristics=0 ; Has no characterstic
- CopyFiles=CpyFiles_Sys,CpyFiles_dll
-
- ;-------------------------------------------------------------------------
- ; Ndi installation support
- ;-------------------------------------------------------------------------
- [Inst_Ndi]
- HKR,Ndi,Service,,"Packet"
- HKR,Ndi,HelpText,,%PACKET_HelpText%
- HKR, Ndi\Interfaces, UpperRange,, noupper
- HKR,"Ndi\Interfaces","LowerRange",,"ndis5,ndis4"
-
- ;-------------------------------------------------------------------------
- ; Service installation support
- ;-------------------------------------------------------------------------
- [Install.Services]
- AddService=Packet,,PACKET_Service_Inst
-
- [Packet_Service_Inst]
- DisplayName = %PACKET_Desc%
- ServiceType = 1 ;SERVICE_KERNEL_DRIVER
- StartType = 2 ;SERVICE_AUTO_START
- ErrorControl = 1 ;SERVICE_ERROR_NORMAL
- ServiceBinary = %12%\packet.sys
- LoadOrderGroup = "PNP_TDI"
- AddReg = AddReg_PACKET_Service_Inst
- Description = %PACKET_Desc%
-
- [AddReg_PACKET_Service_Inst]
- HKLM,"System\CurrentControlSet\Services\Packet","TextModeFlags",%REG_DWORD%,0x0001
- HKR,"Parameters","Test",,"Hello"
-
- ;-------------------------------------------------------------------------
- ; Support for removal of static registry settings
- ;-------------------------------------------------------------------------
- [Install.Remove]
- DelReg=Del_Static_Reg
-
- [Install.Remove.Services]
- DelService=Packet
-
- [Del_Static_Reg]
- HKLM,"System\CurrentControlSet\Services\Packet","TextModeFlags"
-
- ;-------------------------------------------------------------------------
- ; Declare Destination Directories for file copy/deletion
- ;-------------------------------------------------------------------------
- [DestinationDirs]
- CpyFiles_Sys = 12 ; DIRID_DRIVERS
- CpyFiles_dll = 11 ; system32
-
- ;-------------------------------------------------------------------------
- ; Files to Copy/Delete - Referenced by Install and Remove sections above
- ;-------------------------------------------------------------------------
- [CpyFiles_Sys]
- packet.sys,,,2
-
- [CpyFiles_dll]
- packet.dll,,,2
-
- [Strings]
- Msft = "Politecnico di torino"
- PACKET_Desc = "Packet capture driver v2.02"
- PACKET_HelpText = "Packet capture driver by Netgroup of Politecnico di Torino. Version v2.02."
- REG_DWORD = 0x10001
-
-
-
-