;
; Installation inf for the VHD Miniport
; Copyright (c) 1999 - 2007, Microsoft Corp.
;

[Version]
Signature="$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%MSFT%
DriverVer=06/21/2006,6.1.7601.17514

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
vhdmp.sys               = 3426

[DestinationDirs]
DefaultDestDir=12

[ControlFlags]
BasicDriverOk=*

[Manufacturer]
%MSFT%=vhdmp_device,NTx86

[vhdmp_device.NTx86]
%MicrosoftVhd.DeviceDesc%=vhdmp_inst,{8e7bd593-6e6c-4c52-86a6-77175494dd8e}\MsVhdHba

;
; General installation section
;

[vhdmp_inst]
CopyFiles=vhd_copyfiles

[vhd_copyfiles]
vhdmp.sys,,,0x100

;
; Service Installation
;

[vhdmp_inst.Services]
AddService = vhdmp, 0x00000002, vhdmp_Service_Inst

[vhdmp_Service_Inst]
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\vhdmp.sys
LoadOrderGroup = SCSI miniport
AddReg         = vhdmp_service_addreg

[vhdmp_service_addreg]
HKR, "Parameters\PnpInterface", "5", %REG_DWORD%, 0x00000001
HKR, "Parameters", "BusType", 0x00010001, 0x0000000f
HKLM,System\CurrentControlSet\Services\vhdmp,BootFlags,%REG_DWORD_NO_CLOBBER%,2

[Strings]
;Localizable
diskId1 = "VHD Installation Disk"
MicrosoftVhd.DeviceDesc = "Microsoft VHD HBA"
MSFT="Microsoft"

;
; Non-Localizable Strings
;

REG_DWORD      = 0x00010001
REG_DWORD_NO_CLOBBER   = 0x00010003
SERVICE_KERNEL_DRIVER  = 1
SERVICE_DEMAND_START     = 3
SERVICE_ERROR_NORMAL   = 1


