; NETIP6.INF -- TCP/IP version 6 Protocol
;
; IPv6 Installation file for Windows 2000, XP and Windows Server 2003
;
; Copyright (c) Microsoft Corporation.  All rights reserved.

[Version]
    Signature   = "$Windows NT$"
    Class       = NetTrans
    ClassGUID   = {4d36e975-e325-11ce-bfc1-08002be10318}
    Provider    = %Msft%
DriverVer=06/21/2006,6.1.7600.16385

[Manufacturer]
    %Msft% = Msft,NTx86,NTia64,NTamd64

[Msft.NTx86]
; DisplayName = Section, DeviceID
    %MS_TCPIP6.DisplayName% = MS_TCPIP6.Install, MS_TCPIP6
    %MS_TCPIP6.Tunnel.DisplayName% = MS_TCPIP6.Tunnel.Install, MS_TCPIP6_TUNNEL

[Msft.NTia64]
; DisplayName = Section, DeviceID
    %MS_TCPIP6.DisplayName% = MS_TCPIP6.Install, MS_TCPIP6
    %MS_TCPIP6.Tunnel.DisplayName% = MS_TCPIP6.Tunnel.Install, MS_TCPIP6_TUNNEL

[Msft.NTamd64]
; DisplayName = Section, DeviceID
    %MS_TCPIP6.DisplayName% = MS_TCPIP6.Install, MS_TCPIP6
    %MS_TCPIP6.Tunnel.DisplayName% = MS_TCPIP6.Tunnel.Install, MS_TCPIP6_TUNNEL

[MS_TCPIP6.Install]
    Characteristics = 0xA0 ; NCF_HAS_UI | NCF_NOT_USER_REMOVABLE
    AddReg = Registry.MS_TCPIP6.Install

[MS_TCPIP6.Tunnel.Install]
    Characteristics = 0x28 ; NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
    AddReg = Registry.MS_TCPIP6.Tunnel.Install

[Registry.MS_TCPIP6.Install]
; Class Information
    HKR, Ndi, BindForm, 0, "Tcpip6"
    HKR, Ndi, ClsId, , "{0C41D1E6-9D16-41ED-9CDD-D0665039857B}"
    HKR, Ndi, ComponentDll, , tcpipcfg.dll
    HKR, Ndi, HelpText, 0, "@tcpipcfg.dll,-50002"
    HKR, Ndi, Service, 0, "Tcpip6"
    HKR, Ndi\Interfaces, UpperRange, 0, "tdi"
    HKR, Ndi\Interfaces, LowerRange, 0, "ndis5,ndis5_tunnel,ndis5_ip6_tunnel,flpp6"

[Registry.MS_TCPIP6.Tunnel.Install]
; Class Information
    HKR, Ndi, BindForm, 0, "TCPIP6TUNNEL"
    HKR, Ndi\Interfaces, UpperRange, 0, noupper
    HKR, Ndi\Interfaces, LowerRange, 0, "ndis5_tunnel,ndis5_ip6_tunnel"


;=====================================
; 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.
; So we create a dependency on Tcpip.
[Install.AddService.TCPIP6]
    DisplayName     = %MS_TCPIP6.TCPIP6.ServiceDescription%
    ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
    StartType       = 3 ;SERVICE_DEMAND_START
    ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
    ServiceBinary   = %12%\tcpip.sys
    Dependencies    = Tcpip
    AddReg          = Registry.Service.TCPIP6.Secure,Registry.Service.TCPIP6,Registry.Service.TCPIP6.Winsock
    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
    HKLM,System\CurrentControlSet\Services\NetBT\Parameters,UseNewSmb,0x10001,1

[Registry.Service.TCPIP6.Secure]
    HKR,Parameters,,0x10 ;FLG_ADDREG_KEYONLY

[Registry.Service.TCPIP6.Secure.Security]
"D:P(A;CI;GR;;;BU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)(A;CI;GR;;;NS)(A;CI;GR;;;LS)(A;CI;CCDCLCSWRPSDRC;;;NO)(A;CI;CCDCLCSWRPWPSDRC;;;S-1-5-80-2940520708-3855866260-481812779-327648279-1710889582)(A;CIIO;RC;;;OW)"

[Registry.Service.TCPIP6.Winsock]
    HKR,Parameters\Winsock,,0x10 ;FLG_ADDREG_KEYONLY
    HKR,Parameters\Winsock,"UseDelayedAcceptance",0x10001,0x0000

[Registry.Service.TCPIP6.Winsock.Security]
"D:P(A;CI;GR;;;BU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)(A;CI;GR;;;NS)(A;CI;GR;;;LS)(A;CI;GR;;;NO)(A;CI;GR;;;S-1-5-80-2940520708-3855866260-481812779-327648279-1710889582)"

[Registry.Service.TCPIP6.DelReg]
    HKLM,System\CurrentControlSet\Services\NetBT\Parameters,UseNewSmb


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

[MS_TCPIP6.Install.Remove]
    DelReg = Registry.Service.TCPIP6.DelReg
;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]
; localizable
Msft = "Microsoft"

; TCPIP6 Strings.
MS_TCPIP6.DisplayName = "Internet Protocol Version 6 (TCP/IPv6)"
MS_TCPIP6.TCPIP6.ServiceDescription   = "Microsoft IPv6 Protocol Driver"
MS_TCPIP6.IpHlpSvc.DisplayName = "IP Helper Service"
MS_TCPIP6.IpHlpSvc.ServiceDescription = "Provides automatic IPv6 connectivity over an IPv4 network.  If this service is stopped, the machine will only have IPv6 connectivity if it is connected to a native IPv6 network."

; TCPIP6_TUNNEL Strings.
MS_TCPIP6.Tunnel.DisplayName = "Microsoft TCP/IP version 6 - Tunnels"
