135 lines
4.2 KiB
Plaintext
135 lines
4.2 KiB
Plaintext
|
; NETIP6.INF -- TCP/IP version 6 Protocol
|
||
|
;
|
||
|
; IPv6 Installation file for Windows 2000
|
||
|
;
|
||
|
; Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
|
||
|
[Version]
|
||
|
Signature = "$Windows NT$"
|
||
|
Class = NetTrans
|
||
|
ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318}
|
||
|
Provider = %Msft%
|
||
|
|
||
|
[Manufacturer]
|
||
|
%Msft% = Msft
|
||
|
|
||
|
[Msft]
|
||
|
%MS_TCPIP6.DisplayName% = MS_TCPIP6.Install, MS_TCPIP6
|
||
|
|
||
|
[MS_TCPIP6.Install]
|
||
|
Characteristics = 0
|
||
|
AddReg = Registry.MS_TCPIP6.Install
|
||
|
|
||
|
[Registry.MS_TCPIP6.Install]
|
||
|
; Class Information
|
||
|
HKR, Ndi, HelpText, 0, %MS_TCPIP6.HelpText%
|
||
|
HKR, Ndi, Service, 0, "Tcpip6"
|
||
|
HKR, Ndi, CoServices, 0x10000, "Tcpip6", "6to4"
|
||
|
;
|
||
|
; Note: The following line is required for Teredo to work.
|
||
|
; HKR, Ndi, RequiredAll,0, "*TUNMP"
|
||
|
;
|
||
|
|
||
|
|
||
|
; Interfaces
|
||
|
HKR, Ndi\Interfaces, UpperRange, 0, "tdi"
|
||
|
HKR, Ndi\Interfaces, LowerRange, 0, "ndis5,ndis5_ip6"
|
||
|
|
||
|
;=====================================
|
||
|
; Microsoft IPv6 Interface and Service Install
|
||
|
;=====================================
|
||
|
|
||
|
; Service install
|
||
|
[MS_TCPIP6.Install.Services]
|
||
|
AddService = Tcpip6, 0, Install.AddService.TCPIP6, NetEventLog
|
||
|
AddService = 6to4, 0, Svc-6to4
|
||
|
|
||
|
; Install Tcpip6 service
|
||
|
;
|
||
|
; The Tcpip6 driver can be loaded without the Tcpip (IPv4) driver.
|
||
|
; But we don't test that configuration.
|
||
|
; Also there's a race - the Tcpip6 driver might start before
|
||
|
; the Tcpip driver has initialized, in which case
|
||
|
; the v6-v4 tunnel code will fail to initialize properly.
|
||
|
; So we create a dependency on Tcpip.
|
||
|
[Install.AddService.TCPIP6]
|
||
|
DisplayName = %MS_TCPIP6.TCPIP6.ServiceDescription%
|
||
|
ServiceType = 1 ;SERVICE_KERNEL_DRIVER
|
||
|
StartType = 1 ;SERVICE_SYSTEM_START
|
||
|
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
|
||
|
ServiceBinary = %12%\tcpip6.sys
|
||
|
LoadOrderGroup = PNP_TDI
|
||
|
Dependencies = Tcpip
|
||
|
AddReg = Registry.Service.TCPIP6
|
||
|
Description = %MS_TCPIP6.TCPIP6.ServiceDescription%
|
||
|
|
||
|
[Svc-6to4]
|
||
|
DisplayName = %MS_TCPIP6.6to4.DisplayName%
|
||
|
ServiceType = 0x120 ;SERVICE_INTERACTIVE_PROCESS | SERVICE_WIN32_SHARE_PROCESS
|
||
|
StartType = 2 ;SERVICE_AUTO_START
|
||
|
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
|
||
|
ServiceBinary = %11%\svchost.exe -k netsvcs
|
||
|
;
|
||
|
; The dependency on RpcSs is because this service may be set to auto-start
|
||
|
; and it runs in an instance of Svchost that needs to call
|
||
|
; CoInitailizeSecurity on behalf of the entire process.
|
||
|
; This call (made by svchost) will not succeed unless RpcSs is running.
|
||
|
;
|
||
|
; The dependency on WinMgmt is because the 6to4 service needs to query ICS
|
||
|
; configuration information, and the API for this information requires
|
||
|
; WinMgmt to be running.
|
||
|
;
|
||
|
Dependencies = RpcSS,tcpip6,winmgmt
|
||
|
AddReg = Registry.Service.6to4.AddReg
|
||
|
Description = %MS_TCPIP6.6to4.ServiceDescription%
|
||
|
|
||
|
; Install Winsock dependency
|
||
|
[MS_TCPIP6.Install.Winsock]
|
||
|
AddSock = Install.Tcpip6Winsock
|
||
|
|
||
|
[Install.Tcpip6Winsock]
|
||
|
TransportService = Tcpip6
|
||
|
HelperDllName = "%SystemRoot%\System32\wship6.dll"
|
||
|
MaxSockAddrLength = 0x1c
|
||
|
MinSockAddrLength = 0x1c
|
||
|
|
||
|
[Registry.Service.TCPIP6]
|
||
|
HKR, , "TextModeFlags", 0x10001, 0x0001
|
||
|
HKR, Parameters\Winsock,"UseDelayedAcceptance",0x10001,0x0000
|
||
|
|
||
|
[Registry.Service.6to4.AddReg]
|
||
|
HKLM,"SOFTWARE\Microsoft\NetSh", ipv6mon,, "ipv6mon.dll"
|
||
|
HKR, Parameters, ServiceDll, 0x00020000, "%%SystemRoot%%\System32\6to4svc.dll"
|
||
|
|
||
|
[Registry.Service.6to4.DelReg]
|
||
|
HKLM,"SOFTWARE\Microsoft\NetSh", ipv6mon
|
||
|
HKR, Parameters, ServiceDll
|
||
|
|
||
|
;====================================
|
||
|
; TCP/IP6 Interface and Service Remove
|
||
|
;====================================
|
||
|
|
||
|
[MS_TCPIP6.Install.Remove]
|
||
|
DelReg = Registry.Service.6to4.DelReg
|
||
|
;nothing
|
||
|
|
||
|
[MS_TCPIP6.Install.Remove.Services]
|
||
|
DelService = Tcpip6
|
||
|
DelService = 6to4
|
||
|
|
||
|
[MS_TCPIP6.Install.Remove.Winsock]
|
||
|
DelSock = Remove.Tcpip6Winsock
|
||
|
|
||
|
[Remove.Tcpip6Winsock]
|
||
|
TransportService=Tcpip6
|
||
|
|
||
|
;****************************************************************************
|
||
|
; [Event Log] sections.
|
||
|
;****************************************************************************
|
||
|
[NetEventLog]
|
||
|
AddReg = NetEventLog.AddReg
|
||
|
|
||
|
[NetEventLog.AddReg]
|
||
|
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\netevent.dll"
|
||
|
HKR,,TypesSupported,0x00010001,7
|