;------------------------------------------------------------------------- ; netuserif.inf ; ; Copyright (c) 1993-1999, Microsoft Corporation ; Copyright (c) 1999-2017 VMware, Inc. All rights reserved. ;------------------------------------------------------------------------- [Version] Signature = "$Windows NT$" Class = Net ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} Provider = %CompanyName% DriverVer = 08/15/2017,14.0.0.0 CatalogFile = vmnetuserif.cat DriverPackageDisplayName = %loc.VMnetUserif.Service.DispName% DriverPackageType = KernelService ; ------------------------------------------------------------------------ ; File copy ; ------------------------------------------------------------------------ [SourceDisksNames] 1=%loc.DiskDescription%,"",, [SourceDisksFiles] vmnet.sys=1 vmnetuserif.sys=1 vnetinst.dll=1 [DestinationDirs] DefaultDestDir = 12 VMnetUserif.CopyFiles.Sys = 12 ; %windir%\System32\drivers VMnetlib.CopyFiles = 11 ; %windir%\System32 [VMnetUserif.CopyFiles.Sys] vmnet.sys,,,2 vmnetuserif.sys,,,2 [VMnetlib.CopyFiles] vnetinst.dll,,,2 ;------------------------------------------------------------------------- ; Default install sections ;------------------------------------------------------------------------- [DefaultInstall] OptionDesc = %loc.VMnetUserif.Service.Desc% CopyFiles = VMnetUserif.CopyFiles.Sys,VMnetlib.CopyFiles ;------------------------------------------------------------------------- ; Service installation ;------------------------------------------------------------------------- [DefaultInstall.Services] AddService = %VMnetUserif.Service.Name%, 2,VMnetUserif.Service, ;------------------------------------------------------------------------- ; Default uninstall sections ;------------------------------------------------------------------------- [DefaultUninstall] DelReg = VMnetUserif.DelReg [DefaultUninstall.Services] DelService = %VMnetUserif.Service.Name%,0x204 ; stop the service ;------------------------------------------------------------------------- ; Generic service installation ;------------------------------------------------------------------------- [VMnetUserif.Service] DisplayName = %loc.VMnetUserif.Service.DispName% Description = %loc.VMnetUserif.Service.Desc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 2 ; SERVICE_AUTO_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %12%\vmnetuserif.sys LoadOrderGroup = NDIS AddReg = VMnetUserif.AddReg ;------------------------------------------------------------------------- ; Registry Modifications ;------------------------------------------------------------------------- [VMnetUserif.AddReg] [VMnetUserif.DelReg] ;------------------------------------------------------------------------- ; String definitions ;------------------------------------------------------------------------- [Strings] ; Constants VMnetUserif.Service.Name = "VMnetUserif" CompanyName = "VMware, Inc." ; Localization (default locale) loc.DiskDescription = "VMware install disk" loc.VMnetUserif.Service.DispName = "VMware Virtual Ethernet Userif for VMnet" loc.VMnetUserif.Service.Desc = "VMware Virtual Ethernet Userif for VMnet"