;/*++
;
;Copyright (c) 1990-1999 Microsoft Corporation All rights Reserved
;
;Module Name:
;
;    VMBus.INF
;
;Abstract:
;    INF file for installing VMBus driver
;
;Installation Notes:
;    Using Devcon: Type "devcon install VMBus.inf root\vmbus" to install
;
;--*/
[Version]
Signature="$WINDOWS NT$"
Class=SYSTEM
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%MSFT%
DriverVer=06/21/2006,6.1.7601.17514
;
; Comment CatalogFile for CBB, the ';' will be removed when makefile.inc 
; creates the INF file locally.
;
;CatalogFile=vmbus.cat


[DestinationDirs]
DefaultDestDir = 12
System_Dir = 11

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

[SourceDisksFiles]
vmbus.sys  = 1,,
vmbuspipe.dll = 1,,
vmbusres.dll = 1,,
winhv.sys = 1,,
vmbuscoinstaller.dll = 1,,

;*****************************************
; VMBus Install Section
;*****************************************

[Manufacturer]
%StdMfg%=Standard,NTamd64,NTx86.5.1,NT.6,NTamd64.6

[Standard]
;
; These are the VMbus pnp ids for Windows 2000
;

%VMBus.DeviceDesc%=VMBus_Device_Win2K,      ACPI\VMBus
%VMBus.DeviceDesc%=VMBus_Device_Win2K,      root\VMBus

[Standard.NTx86.5.1]
;
; These are the VMbus pnp ids for Windows XP and Windows Server 2003 (32-bit)
;

%VMBus.DeviceDesc%=VMBus_Device_XP_Child,   ACPI\VMBus
%VMBus.DeviceDesc%=VMBus_Device_Root,       root\VMBus

[Standard.NTamd64]
;
; These are the VMbus pnp ids for Windows XP and Windows Server 2003 (64-bit)
;

%VMBus.DeviceDesc%=VMBus_Device_XP_Child,   ACPI\VMBus
%VMBus.DeviceDesc%=VMBus_Device_Root,       root\VMBus

[Standard.NT.6]
;
; These are the VMbus pnp ids for Windows Vista and later (32-bit)
;

%VMBus.DeviceDesc%=VMBus_Device_Child,      ACPI\VMBus
%VMBus.DeviceDesc%=VMBus_Device_Root,       root\VMBus

[Standard.NTamd64.6]
;
; These are the VMbus pnp ids for Windows Vista and later (64-bit)
; The child device must come first for manifest conversion to pick the
; correct start type for new Windows installations.
;

%VMBus.DeviceDesc%=VMBus_Device_Child,      ACPI\VMBus
%VMBus.DeviceDesc%=VMBus_Device_Root,       root\VMBus

[VMBus_Device_Win2K.NT]
CopyFiles=Drivers_Dir
CopyFiles=System_Dir

[VMBus_Device_Win2K.NT.HW]
AddReg=VMBus_Device_Child.NT.AddReg

[VMBus_Device_Root.NT]
CopyFiles=Drivers_Dir
CopyFiles=System_Dir

[VMBus_Device_Root.NT.HW]
AddReg=VMBus_Device_Root.NT.AddReg

[VMBus_Device_XP_Child.NT]
CopyFiles=Drivers_Dir
CopyFiles=System_Dir

[VMBus_Device_XP_Child.NT.HW]
AddReg=VMBus_Device_Child.NT.AddReg

[VMBus_Device_Child.NT]
CopyFiles=Drivers_Dir
CopyFiles=System_Dir

[VMBus_Device_Child.NT.HW]
AddReg=VMBus_Device_Child.NT.AddReg

[VMBus_Device_Child.NT.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators, Local system

[VMBus_Device_Root.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;;;S-1-5-83-0)" ; Allow generic-all access to Built-in administrators, Local system, and vmgroup SID

[Drivers_Dir]
vmbus.sys
winhv.sys

[System_Dir]
vmbuspipe.dll
vmbusres.dll

;-------------- Service installation for Win2K child partitions
[VMBus_Device_Win2K.NT.Services]
AddService = vmbus,%SPSVCINST_ASSOCSERVICE%, vmbus_Service_Inst_Child, vmbus_EventLog_Inst_NT5

;-------------- Service installation for WinXP and Windows Server 2003 child partitions
[VMBus_Device_XP_Child.NT.Services]
AddService = vmbus,%SPSVCINST_ASSOCSERVICE%, vmbus_Service_Inst_Child, vmbus_EventLog_Inst_NT5

;-------------- Service installation for Windows Vista and later child partitions
[VMBus_Device_Child.NT.Services]
AddService = vmbus,%SPSVCINST_ASSOCSERVICE%, vmbus_Service_Inst_Child, vmbus_EventLog_Inst

;-------------- Service installation for Longhorn Server parent partitions or standalone loopback installations
[VMBus_Device_Root.NT.Services]
AddService = vmbus,%SPSVCINST_ASSOCSERVICE%, vmbus_Service_Inst_Parent, vmbus_EventLog_Inst

; -------------- vmbus driver install sections
[vmbus_Service_Inst_Parent]
DisplayName    = %vmbus.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\vmbus.sys
LoadOrderGroup = Extended Base

; -------------- vmbus driver install sections
[vmbus_Service_Inst_Child]
DisplayName    = %vmbus.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 0               ; SERVICE_BOOT_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\vmbus.sys
LoadOrderGroup = System Bus Extender

; -------------- vmbus eventlog setup sections
[vmbus_EventLog_Inst_NT5]
AddReg         = vmbus_EventLog_AddReg_NT5

[vmbus_EventLog_Inst]
AddReg         = vmbus_EventLog_AddReg

[vmbus_EventLog_AddReg_NT5]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\vmbusres.dll"
HKR,,TypesSupported,0x00010001,7

[vmbus_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\vmbusres.dll"
HKR,,TypesSupported,0x00010001,7

; -------------- Coinstaller section
[DestinationDirs]
CoInstaller_CopyFiles = 11

[CoInstaller_CopyFiles]
VmbusCoinstaller.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "VmbusCoinstaller.dll,VmbusCoinstaller"

[VMBus_Device_Child.NT.Coinstallers]
AddReg = CoInstaller_AddReg
CopyFiles = CoInstaller_CopyFiles

[VMBus_Device_XP_Child.NT.Coinstallers]
AddReg = CoInstaller_AddReg
CopyFiles = CoInstaller_CopyFiles

[VMBus_Device_Win2K.NT.Coinstallers]
AddReg = CoInstaller_AddReg
CopyFiles = CoInstaller_CopyFiles

; -------------- vmbus driver uninstall sections
[DefaultUninstall.Services]
DelService = vmbus,0x00000200

[DefaultUninstall]
DelFiles = Drivers_Dir
DelFiles = System_Dir

[Strings]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Virtual Machine Bus"


[Strings.0405]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Sběrnice virtuálního počítače"


[Strings.0407]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Bus des virtuellen Computers"


[Strings.0C0A]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Bus de máquina virtual"


[Strings.040C]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Bus VMBus"


[Strings.040E]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Virtuálisgép-busz"


[Strings.0410]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Bus macchina virtuale"


[Strings.0411]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "仮想マシン バス"


[Strings.0412]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "가상 컴퓨터 버스"


[Strings.0413]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Virtual Machine-bus"


[Strings.0415]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Magistrala maszyny wirtualnej"


[Strings.0416]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Barramento da Máquina Virtual"


[Strings.0816]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Barramento de Máquina Virtual"


[Strings.0419]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Шина VMBus"


[Strings.041D]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Buss för virtuell dator"


[Strings.041F]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Sanal Makine Veri Yolu"


[Strings.0804]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "虚拟机总线"


[Strings.0404]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "虛擬機器匯流排"


[Strings.0409]
;
;Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Virtual Machine Bus Installation Disk #1"
vmbus.SVCDESC = "@%SystemRoot%\system32\vmbusres.dll,-1000"    ;"Virtual Machine Bus"
;
;Localizable
;
VMBus.DeviceDesc = "Virtual Machine Bus"
