;
; VMUSB Setup Information file
; Copyright (c) VMware, Inc. 1998-2007
;

;******************************************************************************
; Version section
;------------------------------------------------------------------------------
[Version]
Signature="$Windows NT$"
Provider=%S_Provider%
DriverVer=07/28/2008,4.0.3.0
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
CatalogFile=vmusb.cat

;******************************************************************************
; Manufacturer section
;------------------------------------------------------------------------------
[Manufacturer]
%S_Mfg%=_Devices, NTx86, NTamd64


;******************************************************************************
; Device section
;------------------------------------------------------------------------------

; Windows 2000
[_Devices]
%S_DeviceDesc1%=_Install1, USB\Vid_0e0f&Pid_0001

; Windows XP and later
[_Devices.NTx86]
%S_DeviceDesc1%=_Install1, USB\Vid_0e0f&Pid_0001

; 64-bit Windows
[_Devices.NTamd64]
%S_DeviceDesc1%=_Install1, USB\Vid_0e0f&Pid_0001

;******************************************************************************
; Install section ( Device1 )
;------------------------------------------------------------------------------

; driver-specific, Win2000
[_Install1.NT]
CopyFiles=_CopyFiles_sys
AddReg=_AddReg_SW1, _Parameters1_NT

; service-install, Win2000
[_Install1.NT.Services]
AddService = %S_DriverName%, 0x00000002, _NT_AddService, _NT_EventLog

; device-specific, Win2000
[_Install1.NT.HW]
AddReg=_AddReg_HW1


;******************************************************************************
; NT Service sections (Win2000 only)
;------------------------------------------------------------------------------
[_NT_AddService]
DisplayName    = %S_ServiceDisplayName%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; demand
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\%S_DriverName%.sys

[_NT_EventLog]
AddReg=_NT_EventLog_AddReg

[_NT_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\%S_DriverName%.sys"
HKR,,TypesSupported,  0x00010001,7


;******************************************************************************
; Registry sections ( Device1 )
;------------------------------------------------------------------------------

[_AddReg_SW1]
; create registry key used to store configuration parameters
HKLM,"%S_ConfigPath%",,,
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",,,

[_AddReg_HW1]
; Create a link to the configuration key. This is absolute required!
HKR,,USBIO_ConfigurationPath,,\Registry\Machine\%S_ConfigPath%\%S_DeviceConfigPath1%

;
; Enable the next line to create an additional private user interface for your device.
; This is strongly recommended if you ship the driver together with a product.
HKR,,USBIO_UserInterfaceGuid,,"{2DA1FE75-AAB3-4d2c-ACDF-39088CADA665}"

; parameters used on Windows 2000
[_Parameters1_NT]
; Set the default behaviour of the driver for Windows 2000
; For a description of the parameters, refer to the VMUSB Reference Manual.
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",PowerStateOnOpen,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",PowerStateOnClose,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",EnableRemoteWakeup,0x00010001, 1
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MinPowerStateUsed,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MinPowerStateUnused,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",AbortPipesOnPowerDown,0x00010001, 1
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",SuppressPnPRemoveDlg,0x00010001, 1


;******************************************************************************
; Copy Files section
;------------------------------------------------------------------------------
[_CopyFiles_sys]
vmusb.sys


;******************************************************************************
; Options
;------------------------------------------------------------------------------
[ControlFlags]
; Advanced options can be specified here.
; For details, refer to the Windows 2000 DDK.


;******************************************************************************
; Destination Directories
;------------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir  = 11    ; SYSTEM directory
_CopyFiles_sys = 10,System32\Drivers


;******************************************************************************
; Disk Layout
;------------------------------------------------------------------------------
[SourceDisksNames]
1=%S_DiskName%,,

[SourceDisksFiles]
vmusb.sys=1


;******************************************************************************
; Text Strings
;------------------------------------------------------------------------------
[Strings]

; provider name
S_Provider="VMware, Inc."

; manufacturer name
S_Mfg="VMware, Inc."

; device description
S_DeviceDesc1="VMware USB Device"

; disk name
S_DiskName="VMware USB Driver Disk"

; file name of driver executable 
; If the name is modified, the _CopyFiles_sys section must also be modified !
S_DriverName="vmusb"

; service display name 
S_ServiceDisplayName="VMware USB Client Driver"

; configuration registry path (where the registry parameters will be located)
S_ConfigPath="SYSTEM\CurrentControlSet\Services\vmusb"

; device-specific configuration registry path
S_DeviceConfigPath1="Parameters"

; device-specific base names
; Only needed if static device names are used, otherwise unused.
; See comments on the value USBIO_DeviceBaseName above.
S_DeviceBaseName1="USBIO_Device"


