;/*++ ; ;Copyright (c) 1990-2010 Microsoft Corporation All rights Reserved ; ;Module Name: ; ; Vpci.INF ; ;Abstract: ; INF file for installing the virtual PCI driver in a VM ; ;--*/ [Version] Signature="$WINDOWS NT$" Class=SYSTEM ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318} Provider=%MSFT% DriverVer=06/21/2006,6.3.9600.16384 ; ; Comment CatalogFile for CBB, the ';' will be removed when makefile.inc ; creates the INF file locally. ; ;CatalogFile=vpci.cat [DestinationDirs] DefaultDestDir = 12 [SourceDisksNames] 1 = %DiskId1%,,,"" [SourceDisksFiles] vpci.sys = 1,, ;***************************************** ; Vpci Install Section ;***************************************** [Manufacturer] %StdMfg%=Standard,NTamd64.6.2 [Standard.NTamd64.6.2] ; ; These are the Vpci pnp ids for Windows 8 and later (64-bit) ; %Vpci.DeviceDesc%=Vpci_Device_Child, vmbus\{44C4F61D-4444-4400-9D52-802E27EDE19F} [Vpci_Device_Child.NT] CopyFiles=Drivers_Dir [Vpci_Device_Child.NT.HW] AddReg=Vpci_Device.NT.AddReg [Vpci_Device.NT.AddReg] HKR,,DeviceCharacteristics,0x10001,0x0100 ; Use same security checks on relative opens HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;NS)" ; Allow generic-all access to Built-in administrators, Local system, and network service [Drivers_Dir] vpci.sys ;-------------- Service installation for Windows Vista and later child partitions [Vpci_Device_Child.NT.Services] AddService = vpci,%SPSVCINST_ASSOCSERVICE%, vpci_Service_Inst_Child, vpci_EventLog_Inst ; -------------- vpci driver install sections [vpci_Service_Inst_Child] DisplayName = %vpci.SVCDESC% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ;StartType = 0 ; SERVICE_BOOT_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %12%\vpci.sys LoadOrderGroup = System Bus Extender ; -------------- vpci eventlog setup sections [vpci_EventLog_Inst] AddReg = vpci_EventLog_AddReg [vpci_EventLog_AddReg] HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\vpci.sys" HKR,,TypesSupported,0x00010001,7 ; -------------- vpci driver uninstall sections [DefaultUninstall.Services] DelService = vpci,0x00000200 [DefaultUninstall] DelFiles = Drivers_Dir [Strings] ; ;Non-Localizable ; SPSVCINST_ASSOCSERVICE= 0x00000002 MSFT = "Microsoft" StdMfg = "Microsoft" DiskId1 = "Microsoft Hyper-V Virtual PCI Bus Installation Disk #1" ; ;Localizable ; Vpci.DeviceDesc = "Microsoft Hyper-V Virtual PCI Bus" vpci.SVCDESC = "Microsoft Hyper-V Virtual PCI Bus"