; NETIP6.INF -- TCP/IP version 6 Protocol
;
; IPv6 Installation file for Windows 2000
;
; Copyright (c) 1985-2000 Microsoft Corporation

[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 = 0x00
    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, %FLG_ADDREG_TYPE_MULTI_SZ%, "Tcpip6"

; Interfaces
    HKR, Ndi\Interfaces, UpperRange, 0, "tdi"
    HKR, Ndi\Interfaces, LowerRange, 0, "ndis5"

;=====================================
; Microsoft IPv6 Interface and Service Install
;=====================================

; Service install
[MS_TCPIP6.Install.Services]
    AddService      = Tcpip6,    0, Install.AddService.TCPIP6,    NetEventLog

; 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%

; 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

;====================================
; TCP/IP6 Interface and Service Remove
;====================================

[MS_TCPIP6.Install.Remove]
;nothing

[MS_TCPIP6.Install.Remove.Services]
    DelService = Tcpip6

[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


[Strings]
Msft = "Microsoft"

MS_TCPIP6.DisplayName = "Microsoft IPv6 Protocol"
MS_TCPIP6.HelpText    = "TCP/IP version 6. The next-generation version of the internet protocol that provides communication across diverse interconnected networks."
MS_TCPIP6.TCPIP6.ServiceDescription   = "Microsoft IPv6 Protocol Driver"

; AddReg flags
FLG_ADDREG_TYPE_EXPAND_SZ   = 0x00020000
FLG_ADDREG_TYPE_MULTI_SZ    = 0x00010000
FLG_ADDREG_TYPE_DWORD       = 0x00010001
FLG_ADDREG_KEYONLY          = 0x00000010
