2019-03-08 22:33:15 +01:00
|
|
|
; SPDX-License-Identifier: GPL-2.0
|
|
|
|
;
|
2021-01-30 16:45:26 +01:00
|
|
|
; Copyright (C) 2018-2021 WireGuard LLC. All Rights Reserved.
|
2019-03-08 22:33:15 +01:00
|
|
|
|
|
|
|
[Version]
|
|
|
|
Signature = "$Windows NT$"
|
|
|
|
Class = Net
|
|
|
|
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
|
|
|
|
Provider = %Wintun.CompanyName%
|
|
|
|
CatalogFile.NT = wintun.cat
|
2021-06-24 10:37:59 +02:00
|
|
|
PnpLockdown = 1
|
2019-03-08 22:33:15 +01:00
|
|
|
|
|
|
|
[Manufacturer]
|
|
|
|
%Wintun.CompanyName% = %Wintun.Name%, NT$ARCH$
|
|
|
|
|
|
|
|
[SourceDisksNames]
|
|
|
|
1 = %Wintun.DiskDesc%, "", ,
|
|
|
|
|
|
|
|
[SourceDisksFiles]
|
|
|
|
wintun.sys = 1
|
|
|
|
|
|
|
|
[DestinationDirs]
|
|
|
|
DefaultDestDir = 12
|
|
|
|
Wintun.CopyFiles.Sys = 12
|
|
|
|
|
|
|
|
[Wintun.CopyFiles.Sys]
|
|
|
|
wintun.sys, , , 0x00004002 ; COPYFLG_IN_USE_RENAME | COPYFLG_NOSKIP
|
|
|
|
|
|
|
|
[Wintun.NT$ARCH$]
|
|
|
|
%Wintun.DeviceDesc% = Wintun.Install, Wintun
|
|
|
|
|
|
|
|
[Wintun.Install]
|
|
|
|
Characteristics = 0x1 ; NCF_VIRTUAL
|
|
|
|
AddReg = Wintun.Ndi
|
|
|
|
CopyFiles = Wintun.CopyFiles.Sys
|
|
|
|
*IfType = 53 ; IF_TYPE_PROP_VIRTUAL
|
|
|
|
*MediaType = 19 ; NdisMediumIP
|
|
|
|
*PhysicalMediaType = 0 ; NdisPhysicalMediumUnspecified
|
|
|
|
EnableDhcp = 0 ; Disable DHCP
|
|
|
|
|
|
|
|
[Wintun.Install.Services]
|
2019-06-06 14:28:51 +02:00
|
|
|
AddService = wintun, 2, Wintun.Service, Wintun.EventLog ; 2=SPSVCINST_ASSOCSERVICE
|
2019-03-08 22:33:15 +01:00
|
|
|
|
|
|
|
[Wintun.Ndi]
|
|
|
|
HKR, , DeviceVxDs, , wintun.sys
|
2019-03-28 14:30:01 +01:00
|
|
|
HKR, Ndi, Service, 0, wintun
|
2019-03-08 22:33:15 +01:00
|
|
|
HKR, Ndi\Interfaces, UpperRange, , "ndis5"
|
|
|
|
HKR, Ndi\Interfaces, LowerRange, , "nolower"
|
|
|
|
|
|
|
|
[Wintun.Service]
|
|
|
|
DisplayName = %Wintun.Name%
|
|
|
|
Description = %Wintun.DeviceDesc%
|
2019-06-06 14:28:51 +02:00
|
|
|
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
|
|
|
|
StartType = 3 ; SERVICE_DEMAND_START
|
|
|
|
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
|
2019-03-08 22:33:15 +01:00
|
|
|
ServiceBinary = %12%\wintun.sys
|
|
|
|
|
|
|
|
[Wintun.EventLog]
|
|
|
|
HKR, , EventMessageFile, 0x00020000, "%11%\IoLogMsg.dll;%12%\wintun.sys"
|
|
|
|
HKR, , TypesSupported, 0x00010001, 7
|
|
|
|
|
|
|
|
[Strings]
|
|
|
|
Wintun.Name = "Wintun"
|
|
|
|
Wintun.DiskDesc = "Wintun Driver Install Disk"
|
|
|
|
Wintun.DeviceDesc = "Wintun Userspace Tunnel"
|
|
|
|
Wintun.CompanyName = "WireGuard LLC"
|