
[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %Msft%
DriverVer=03/30/2015,15.28.40.464
PnpLockDown = 1
CatalogFile     = hamdrv.cat


[ControlFlags]
ExcludeFromSelect={b85b7c50-6a01-11d2-b841-00c04fad5171}\hamachi

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

;For Win2k

[Msft]
; Empty section to block legacy operating systems that don't understand TargetOSVersion

[Msft.NTx86.6.0]
%Hamachi.DeviceDesc%    = Hamachi.ndi, hamachi
%Hamachi.DeviceDesc%    = Hamachi.ndi, {b85b7c50-6a01-11d2-b841-00c04fad5171}\Hamachi ; Toaster Bus enumerated 

[Msft.NTia64.6.0]
%Hamachi.DeviceDesc%    = Hamachi.ndi, hamachi
%Hamachi.DeviceDesc%    = Hamachi.ndi, {b85b7c50-6a01-11d2-b841-00c04fad5171}\Hamachi ; Toaster Bus enumerated 

[Msft.NTamd64.6.0]
%Hamachi.DeviceDesc%    = Hamachi.ndi, hamachi
%Hamachi.DeviceDesc%    = Hamachi.ndi, {b85b7c50-6a01-11d2-b841-00c04fad5171}\Hamachi ; Toaster Bus enumerated 


[Hamachi.ndi]
Characteristics    = 0x1 ; NCF_VIRTUAL
*IfType            = 0x6 ; IF_TYPE_ETHERNET_CSMACD
*MediaType         = 0x0 ; NdisMedium802_3
*PhysicalMediaType = 14 ; NdisPhysicalMedium802_3
AddReg             = Hamachi.Reg
CopyFiles          = Hamachi.CopyFiles

[Hamachi.ndi.Services]
AddService         = Hamachi, 2, Hamachi.Service, Hamachi.EventLog

;-----------------------------------------------------------------------------
; Microsoft Virtual Miniport Common
;
[Hamachi.Reg]
HKR,    ,                         BusNumber,           0, "0" 
HKR, Ndi,                         Service,             0, "Hamachi"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"

;-----------------------------------------------------------------------------
; Driver and Service Section
;
[Hamachi.CopyFiles]
Hamdrv.sys,,,2

[Hamachi.Service]
DisplayName        = %Hamachi.Service.DispName%
ServiceType        = 1 ;%SERVICE_KERNEL_DRIVER%
StartType          = 3 ;%SERVICE_DEMAND_START%
ErrorControl       = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary      = %12%\Hamdrv.sys
LoadOrderGroup     = NDIS
AddReg             = TextModeFlags.Reg

[Hamachi.EventLog]
AddReg             = Hamachi.AddEventLog.Reg

[Hamachi.AddEventLog.Reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7

[TextModeFlags.Reg]
HKR, , TextModeFlags,    0x00010001, 0x0001

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
Hamdrv.sys  = 1,,

;-----------------------------------------------------------------------------
; DestinationDirs
;
[DestinationDirs]
Hamachi.CopyFiles = 12

;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
Msft                         = "LogMeIn Inc."                      
Hamachi.DeviceDesc           = "LogMeIn Hamachi Virtual Ethernet Adapter"
Hamachi.Service.DispName     = "LogMeIn Hamachi Virtual Miniport)"
DiskId1                      = "LogMeIn Hamachi Virtual Miniport Device Installation Disk #1"
