home *** CD-ROM | disk | FTP | other *** search
Wrap
;/*++ ; ; Copyright (c) 2006 Microsoft Corporation All rights Reserved ; ; Module Name: ; ; vmic.inf ; ; Abstract: ; INF file for installing the integration components ; ; Author: ; Aaron Giles (aarongi) 09/28/2006 ; ;--*/ [Version] Signature="$WINDOWS NT$" Class=System Devices ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318} Provider=%MSFT% DriverVer=06/21/2006,6.0.6001.18000 ; ; Comment CatalogFile for CBB, the ';' will be removed when makefile.inc ; creates the INF file locally. ; ;CatalogFile=vmic.cat [DestinationDirs] DefaultDestDir = 11 [SourceDisksNames] 1 = %DiskId1% [SourceDisksFiles] vmicsvc.exe = 1 vmictimeprovider.dll = 1 IcCoinstall.dll = 1 ;-------------- Service files [System_Dir] vmicsvc.exe ;-------------- Coinstaller defs [DestinationDirs] CoInstaller_CopyFiles = 11 [CoInstaller_CopyFiles] IcCoinstall.dll [CoInstaller_AddReg] HKR,,CoInstallers32,0x00010000, "IcCoinstall.dll,IcCoinstaller" ;***************************************** ; Models Sections ;***************************************** [Manufacturer] %StdMfg%=Standard,NTamd64,NT.6,NTamd64.6 ;-------------- Windows 2000, Windows XP, Windows Server 2003 (x86 and amd64) [Standard] %Heartbeat.DeviceDesc% = VmIcHeartbeat_NT5, vmbus\{57164f39-9115-4e78-ab55-382f3bd5422d} %KvpExchange.DeviceDesc% = VmIcKvpExchange_NT5, vmbus\{242ff919-07db-4180-9c2e-b86cb68c8c55} %Shutdown.DeviceDesc% = VmIcShutdown_NT5, vmbus\{b6650ff7-33bc-4840-8048-e0676786f393} %TimeSync.DeviceDesc% = VmIcTimeSync_NT5, vmbus\{2dd1ce17-079e-403c-b352-a1921ee207ee} %VSS.DeviceDesc% = VmIcVss_NT5, vmbus\{2450ee40-33bf-4fbd-892e-9fb06e9214cf} [Standard.NTamd64] %Heartbeat.DeviceDesc% = VmIcHeartbeat_NT5, vmbus\{57164f39-9115-4e78-ab55-382f3bd5422d} %KvpExchange.DeviceDesc% = VmIcKvpExchange_NT5, vmbus\{242ff919-07db-4180-9c2e-b86cb68c8c55} %Shutdown.DeviceDesc% = VmIcShutdown_NT5, vmbus\{b6650ff7-33bc-4840-8048-e0676786f393} %TimeSync.DeviceDesc% = VmIcTimeSync_NT5, vmbus\{2dd1ce17-079e-403c-b352-a1921ee207ee} %VSS.DeviceDesc% = VmIcVss_NT5, vmbus\{2450ee40-33bf-4fbd-892e-9fb06e9214cf} ;-------------- Windows Vista and up (x86 and amd64) [Standard.NT.6] %Heartbeat.DeviceDesc% = VmIcHeartbeat_NT6, vmbus\{57164f39-9115-4e78-ab55-382f3bd5422d} %KvpExchange.DeviceDesc% = VmIcKvpExchange_NT6, vmbus\{242ff919-07db-4180-9c2e-b86cb68c8c55} %Shutdown.DeviceDesc% = VmIcShutdown_NT6, vmbus\{b6650ff7-33bc-4840-8048-e0676786f393} %TimeSync.DeviceDesc% = VmIcTimeSync_NT6, vmbus\{2dd1ce17-079e-403c-b352-a1921ee207ee} %VSS.DeviceDesc% = VmIcVss_NT6, vmbus\{2450ee40-33bf-4fbd-892e-9fb06e9214cf} [Standard.NTamd64.6] %Heartbeat.DeviceDesc% = VmIcHeartbeat_NT6, vmbus\{57164f39-9115-4e78-ab55-382f3bd5422d} %KvpExchange.DeviceDesc% = VmIcKvpExchange_NT6, vmbus\{242ff919-07db-4180-9c2e-b86cb68c8c55} %Shutdown.DeviceDesc% = VmIcShutdown_NT6, vmbus\{b6650ff7-33bc-4840-8048-e0676786f393} %TimeSync.DeviceDesc% = VmIcTimeSync_NT6, vmbus\{2dd1ce17-079e-403c-b352-a1921ee207ee} %VSS.DeviceDesc% = VmIcVss_NT6, vmbus\{2450ee40-33bf-4fbd-892e-9fb06e9214cf} ;***************************************** ; Install Sections ;***************************************** ;-------------- Windows 2000, Windows XP, Windows Server 2003 (x86 and amd64) [VmIcHeartbeat_NT5.NT] CopyFiles=System_Dir [VmIcKvpExchange_NT5.NT] CopyFiles=System_Dir AddReg=KvpExchange_NT5_AddReg [VmIcShutdown_NT5.NT] CopyFiles=System_Dir [VmIcTimeSync_NT5.NT] CopyFiles=System_Dir,TimeSync_CopyFiles AddReg=TimeSync_AddReg [VmIcVss_NT5.NT] CopyFiles=System_Dir ;-------------- Windows Vista and up [VmIcHeartbeat_NT6.NT] CopyFiles=System_Dir [VmIcKvpExchange_NT6.NT] CopyFiles=System_Dir AddReg=KvpExchange_NT6_AddReg [VmIcShutdown_NT6.NT] CopyFiles=System_Dir [VmIcTimeSync_NT6.NT] CopyFiles=System_Dir,TimeSync_CopyFiles AddReg=TimeSync_AddReg [VmIcVss_NT6.NT] CopyFiles=System_Dir ;***************************************** ; HW Sections ;***************************************** ;-------------- Windows 2000, Windows XP, Windows Server 2003 [VmIcHeartbeat_NT5.HW] AddReg=VmIc_NT5.HW.AddReg [VmIcKvpExchange_NT5.HW] AddReg=VmIc_NT5.HW.AddReg [VmIcShutdown_NT5.HW] AddReg=VmIc_NT5.HW.AddReg [VmIcTimeSync_NT5.HW] AddReg=VmIc_NT5.HW.AddReg [VmIcVss_NT5.HW] AddReg=VmIc_NT5.HW.AddReg ;-------------- Windows Vista and up [VmIcHeartbeat_NT6.NT.HW] AddReg=VmIcHeartbeat_NT6.HW.AddReg [VmIcKvpExchange_NT6.NT.HW] AddReg=VmIcKvpExchange_NT6.HW.AddReg [VmIcShutdown_NT6.NT.HW] AddReg=VmIcShutdown_NT6.HW.AddReg [VmIcTimeSync_NT6.NT.HW] AddReg=VmIcTimeSync_NT6.HW.AddReg [VmIcVss_NT6.NT.HW] AddReg=VmIcVss_NT6.HW.AddReg ;***************************************** ; Services Sections ;***************************************** ;-------------- Windows 2000, Windows XP, Windows Server 2003 [VmIcHeartbeat_NT5.NT.Services] AddService = ,%SPSVCINST_ASSOCSERVICE% ; null service install AddService = vmicheartbeat, %SPSVCSINST_STARTSERVICE%, Heartbeat_Service_Inst_NT5 [VmIcKvpExchange_NT5.NT.Services] AddService = ,%SPSVCINST_ASSOCSERVICE% ; null service install AddService = vmickvpexchange, %SPSVCSINST_STARTSERVICE%, KvpExchange_Service_Inst_NT5 [VmIcShutdown_NT5.NT.Services] AddService = ,%SPSVCINST_ASSOCSERVICE% ; null service install AddService = vmicshutdown, %SPSVCSINST_STARTSERVICE%, Shutdown_Service_Inst_NT5 [VmIcTimeSync_NT5.NT.Services] AddService = ,%SPSVCINST_ASSOCSERVICE% ; null service install AddService = vmictimesync, %SPSVCSINST_STARTSERVICE%, TimeSync_Service_Inst_NT5 [VmIcVss_NT5.NT.Services] AddService = ,%SPSVCINST_ASSOCSERVICE% ; null service install AddService = vmicvss, %SPSVCSINST_STARTSERVICE%, VSS_Service_Inst_NT5 ;-------------- Windows Vista an up [VmIcHeartbeat_NT6.NT.Services] AddService = ,%SPSVCINST_ASSOCSERVICE% ; null service install AddService = vmicheartbeat, %SPSVCSINST_STARTSERVICE%, Heartbeat_Service_Inst_NT6 [VmIcKvpExchange_NT6.NT.Services] AddService = ,%SPSVCINST_ASSOCSERVICE% ; null service install AddService = vmickvpexchange, %SPSVCSINST_STARTSERVICE%, KvpExchange_Service_Inst_NT6 [VmIcShutdown_NT6.NT.Services] AddService = ,%SPSVCINST_ASSOCSERVICE% ; null service install AddService = vmicshutdown, %SPSVCSINST_STARTSERVICE%, Shutdown_Service_Inst_NT6 [VmIcTimeSync_NT6.NT.Services] AddService = ,%SPSVCINST_ASSOCSERVICE% ; null service install AddService = vmictimesync, %SPSVCSINST_STARTSERVICE%, TimeSync_Service_Inst_NT6 [VmIcVss_NT6.NT.Services] AddService = ,%SPSVCINST_ASSOCSERVICE% ; null service install AddService = vmicvss, %SPSVCSINST_STARTSERVICE%, VSS_Service_Inst_NT6 ;***************************************** ; CoInstallers Sections ;***************************************** ;-------------- Windows 2000, Windows XP, Windows Server 2003 [VmIcHeartbeat_NT5.NT.CoInstallers] AddReg = CoInstaller_AddReg CopyFiles = CoInstaller_CopyFiles [VmIcKvpExchange_NT5.NT.CoInstallers] AddReg = CoInstaller_AddReg CopyFiles = CoInstaller_CopyFiles [VmIcShutdown_NT5.NT.CoInstallers] AddReg = CoInstaller_AddReg CopyFiles = CoInstaller_CopyFiles [VmIcTimeSync_NT5.NT.CoInstallers] AddReg = CoInstaller_AddReg CopyFiles = CoInstaller_CopyFiles [VmIcVss_NT5.NT.CoInstallers] AddReg = CoInstaller_AddReg CopyFiles = CoInstaller_CopyFiles ;-------------- Windows Vista and up [VmIcHeartbeat_NT6.NT.CoInstallers] AddReg = CoInstaller_AddReg CopyFiles = CoInstaller_CopyFiles [VmIcKvpExchange_NT6.NT.CoInstallers] AddReg = CoInstaller_AddReg CopyFiles = CoInstaller_CopyFiles [VmIcShutdown_NT6.NT.CoInstallers] AddReg = CoInstaller_AddReg CopyFiles = CoInstaller_CopyFiles [VmIcTimeSync_NT6.NT.CoInstallers] AddReg = CoInstaller_AddReg CopyFiles = CoInstaller_CopyFiles [VmIcVss_NT6.NT.CoInstallers] AddReg = CoInstaller_AddReg CopyFiles = CoInstaller_CopyFiles ;***************************************** ; VMBUS channel security settings ;***************************************** ;-------------- Windows 2000, Windows XP, Windows Server 2003 ; Generic-all access to Built-in Administrators and Local System [VmIc_NT5.HW.AddReg] HKR,,DeviceCharacteristics,0x10001,0x0100 ;FILE_DEVICE_SECURE_OPEN HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)" ;-------------- Windows Vista and up ; Generic-all access to Built-in Administrators, Local System and "NT SERVICE\<IC service name>" [VmIcHeartbeat_NT6.HW.AddReg] HKR,,DeviceCharacteristics,0x10001,0x0100 ;FILE_DEVICE_SECURE_OPEN HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;S-1-5-80-534935901-3437432317-481271085-1710633381-983106267)" [VmIcKvpExchange_NT6.HW.AddReg] HKR,,DeviceCharacteristics,0x10001,0x0100 ;FILE_DEVICE_SECURE_OPEN HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;S-1-5-80-1877308096-3090306141-3032871208-3115266146-1400827410)" [VmIcShutdown_NT6.HW.AddReg] HKR,,DeviceCharacteristics,0x10001,0x0100 ;FILE_DEVICE_SECURE_OPEN HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;S-1-5-80-3110303136-3426481729-3186938678-1087894076-2178433439)" [VmIcTimeSync_NT6.HW.AddReg] HKR,,DeviceCharacteristics,0x10001,0x0100 ;FILE_DEVICE_SECURE_OPEN HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;S-1-5-80-3098585136-2538892366-1097114017-2832417424-2016953023)" [VmIcVss_NT6.HW.AddReg] HKR,,DeviceCharacteristics,0x10001,0x0100 ;FILE_DEVICE_SECURE_OPEN HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;S-1-5-80-1752088424-1054500994-3489791022-3310831482-3926524968)" ;***************************************** ; Service driver install sections ;***************************************** ;-------------- Windows 2000, Windows XP, Windows Server 2003 [Heartbeat_Service_Inst_NT5] DisplayName = %Heartbeat.ServiceName% Description = %Heartbeat.Description% ServiceType = 16 ; SERVICE_WIN32_OWN_PROCESS StartType = 2 ; SERVICE_AUTO_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = "%11%\vmicsvc.exe -feature Heartbeat" LoadOrderGroup = Extended Base [KvpExchange_Service_Inst_NT5] DisplayName = %KvpExchange.ServiceName% Description = %KvpExchange.Description% ServiceType = 16 ; SERVICE_WIN32_OWN_PROCESS StartType = 2 ; SERVICE_AUTO_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = "%11%\vmicsvc.exe -feature KvpExchange" LoadOrderGroup = Extended Base [Shutdown_Service_Inst_NT5] DisplayName = %Shutdown.ServiceName% Description = %Shutdown.Description% ServiceType = 16 ; SERVICE_WIN32_OWN_PROCESS StartType = 2 ; SERVICE_AUTO_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = "%11%\vmicsvc.exe -feature Shutdown" LoadOrderGroup = Extended Base [TimeSync_Service_Inst_NT5] DisplayName = %TimeSync.ServiceName% Description = %TimeSync.Description% ServiceType = 16 ; SERVICE_WIN32_OWN_PROCESS StartType = 2 ; SERVICE_AUTO_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = "%11%\vmicsvc.exe -feature TimeSync" LoadOrderGroup = Extended Base [VSS_Service_Inst_NT5] DisplayName = %VSS.ServiceName% Description = %VSS.Description% ServiceType = 16 ; SERVICE_WIN32_OWN_PROCESS StartType = 2 ; SERVICE_AUTO_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = "%11%\vmicsvc.exe -feature VSS" LoadOrderGroup = Extended Base ;-------------- Windows Vista and up [Heartbeat_Service_Inst_NT6] DisplayName = %Heartbeat.ServiceName% Description = %Heartbeat.Description% ServiceType = 16 ; SERVICE_WIN32_OWN_PROCESS StartType = 2 ; SERVICE_AUTO_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = "%11%\vmicsvc.exe -feature Heartbeat" LoadOrderGroup = Extended Base StartName = "NT AUTHORITY\NetworkService" AddReg = Service_Sid_Type_Restricted,Heartbeat_Required_Privileges [KvpExchange_Service_Inst_NT6] DisplayName = %KvpExchange.ServiceName% Description = %KvpExchange.Description% ServiceType = 16 ; SERVICE_WIN32_OWN_PROCESS StartType = 2 ; SERVICE_AUTO_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = "%11%\vmicsvc.exe -feature KvpExchange" LoadOrderGroup = Extended Base StartName = "NT AUTHORITY\LocalService" AddReg = Service_Sid_Type_Restricted,KvpExchange_Required_Privileges [Shutdown_Service_Inst_NT6] DisplayName = %Shutdown.ServiceName% Description = %Shutdown.Description% ServiceType = 16 ; SERVICE_WIN32_OWN_PROCESS StartType = 2 ; SERVICE_AUTO_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = "%11%\vmicsvc.exe -feature Shutdown" LoadOrderGroup = Extended Base StartName = LocalSystem AddReg = Service_Sid_Type_Restricted,Shutdown_Required_Privileges [TimeSync_Service_Inst_NT6] DisplayName = %TimeSync.ServiceName% Description = %TimeSync.Description% ServiceType = 16 ; SERVICE_WIN32_OWN_PROCESS StartType = 2 ; SERVICE_AUTO_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = "%11%\vmicsvc.exe -feature TimeSync" LoadOrderGroup = Extended Base StartName = "NT AUTHORITY\LocalService" AddReg = Service_Sid_Type_Restricted,TimeSync_Required_Privileges [VSS_Service_Inst_NT6] DisplayName = %VSS.ServiceName% Description = %VSS.Description% ServiceType = 16 ; SERVICE_WIN32_OWN_PROCESS StartType = 2 ; SERVICE_AUTO_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = "%11%\vmicsvc.exe -feature VSS" LoadOrderGroup = Extended Base StartName = LocalSystem AddReg = Service_Sid_Type_Unrestricted,Vss_Required_Privileges [Service_Sid_Type_Unrestricted] HKR,,ServiceSidType,0x00010001,0x1 [Service_Sid_Type_Restricted] HKR,,ServiceSidType,0x00010001,0x3 [Heartbeat_Required_Privileges] HKR,,RequiredPrivileges,0x00010000,"SeChangeNotifyPrivilege" [KvpExchange_Required_Privileges] HKR,,RequiredPrivileges,0x00010000,"SeChangeNotifyPrivilege" [Shutdown_Required_Privileges] HKR,,RequiredPrivileges,0x00010000,"SeChangeNotifyPrivilege","SeShutdownPrivilege","SeTcbPrivilege","SeImpersonatePrivilege" [TimeSync_Required_Privileges] HKR,,RequiredPrivileges,0x00010000,"SeChangeNotifyPrivilege","SeSystemtimePrivilege","SeCreateGlobalPrivilege" [Vss_Required_Privileges] HKR,,RequiredPrivileges,0x00010000,"SeChangeNotifyPrivilege","SeBackupPrivilege" ;***************************************** ; Additional component-specific sections ;***************************************** ;-------------- TimeSync time provider installation (all platforms) [TimeSync_AddReg] HKLM,SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider,DllName,0x00000000,"%11%\vmictimeprovider.dll" HKLM,SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider,Enabled,0x00010001,1 HKLM,SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider,InputProvider,0x00010001,1 [TimeSync_CopyFiles] vmictimeprovider.dll [TimeSync_DelReg] HKLM,SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider,,0x00002000 ;-------------- KvpExchange regitry keys (Windows 2000, Windows XP/Windows Server 2003) [KvpExchange_NT5_AddReg] HKLM,Software\Microsoft\Virtual Machine,,0x00000010 ;FLG_ADDREG_KEYONLY [KvpExchange_NT5_AddReg.security] ;Generic all access to Local System and Administrators ;Generic read access to Authenticated Users "D:P(A;OICI;GA;;;SY)(A;OICI;GA;;;BA)(A;OICI;GR;;;AU)" ;-------------- KvpExchange regitry keys (Windows Vista and up) [KvpExchange_NT6_AddReg] HKLM,Software\Microsoft\Virtual Machine,,0x00000010 ;FLG_ADDREG_KEYONLY [KvpExchange_NT6_AddReg.security] ;Generic all access to Local System, Administrators and "NT SERVICE\vmickvpexchange" ;Generic read access to Authenticated Users "D:P(A;OICI;GA;;;SY)(A;OICI;GA;;;BA)(A;OICI;GA;;;S-1-5-80-1877308096-3090306141-3032871208-3115266146-1400827410)(A;OICI;GR;;;AU)" ;***************************************** ; Uninstall sections ;***************************************** [DefaultUninstall.Services] DelService = vmicheartbeat,0x00000200 DelService = vmickvpexchange,0x00000200 DelService = vmicshutdown,0x00000200 DelService = vmictimesync,0x00000200 DelService = vmicvss,0x00000200 [DefaultUninstall] DelFiles = System_Dir DelFiles = TimeSync_CopyFiles DelReg = TimeSync_DelReg [Strings] SPSVCINST_ASSOCSERVICE = 0x00000002 SPSVCSINST_STARTSERVICE = 0x00000800 MSFT = "Microsoft" StdMfg = "Microsoft" DiskId1 = "Microsoft Hyper-V Integration Components" Heartbeat.DeviceDesc = "Hyper-V Heartbeat" Heartbeat.ServiceName = "Hyper-V Heartbeat Service" Heartbeat.Description = "Monitors the state of this virtual machine by reporting a heartbeat at regular intervals. This service helps you identify running virtual machines that have stopped responding." KvpExchange.DeviceDesc = "Hyper-V Data Exchange" KvpExchange.ServiceName = "Hyper-V Data Exchange Service" KvpExchange.Description = "Provides a mechanism to exchange data between the virtual machine and the operating system running on the physical computer." Shutdown.DeviceDesc = "Hyper-V Guest Shutdown" Shutdown.ServiceName = "Hyper-V Guest Shutdown Service" Shutdown.Description = "Provides a mechanism to shut down the operating system of this virtual machine from the management interfaces on the physical computer." TimeSync.DeviceDesc = "Hyper-V Time Synchronization" TimeSync.ServiceName = "Hyper-V Time Synchronization Service" TimeSync.Description = "Synchronizes the system time of this virtual machine with the system time of the physical computer." VSS.DeviceDesc = "Hyper-V Volume Shadow Copy" VSS.ServiceName = "Hyper-V Volume Shadow Copy Requestor" VSS.Description = "Coordinates the communications that are required to use Volume Shadow Copy Service to back up applications and data on this virtual machine from the operating system on the physical computer."