
;
; Windows Mobile Serial USB Host Setup File
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
; WMSERUSB.INF  -- This is the inf installation script for Windows Mobile 7
;                  Serial USB devices.
;

[Version]
Signature           = "$Windows NT$"
Class               = WMZUNEUSBSER
ClassGUID           = {1169EC26-0CFF-41fb-8D18-1D0EC75D68B0}
Provider            = %Microsoft%
CatalogFile         = WmZuneSerUsb.cat
DriverVer=06/29/2011,4.8.2148.0


[Manufacturer]
%MfgName%=Microsoft,NTx86,NTamd64

[SourceDisksNames]
1 = %InstallDisk%,,,\x86
2 = %InstallDisk%,,,\amd64

[SourceDisksFiles.x86]
winusbcoinstaller2.dll=1
WdfCoInstaller01009.dll=1

[SourceDisksFiles.amd64]
winusbcoinstaller2.dll=2
WdfCoInstaller01009.dll=2

[DestinationDirs]
CoInstallers_CopyFiles=11

[Microsoft.NTx86]
%DeviceDesc% = WINMOBIL, USB\Vid_045E&PID_04EC&MI_01

[Microsoft.NTamd64]
%DeviceDesc% = WINMOBIL, USB\Vid_045E&PID_04EC&MI_01

[WINMOBIL]
Include     = winusb.inf
Needs       = WINUSB.NT

[WINMOBIL.Services]
Include     = winusb.inf
Needs       = WINUSB.NT.Services
AddService  = winusb,0x00000002,winusb_add_service

[WINMOBIL.CoInstallers]
AddReg      = CoInstallers_AddReg
CopyFiles   = CoInstallers_CopyFiles

[WINMOBIL.UMDFServices]
Include     = winusb.inf
Needs       = WINUSB.NT.UMDFServices

[WINMOBIL.Wdf]
KmdfService=WINUSB, WinUsb_Install

[WinUSB_Install]
KmdfLibraryVersion=1.9

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"winusbcoinstaller2.dll","WdfCoInstaller01009.dll,WdfCoInstaller"

[CoInstallers_CopyFiles]
winusbcoinstaller2.dll
WdfCoInstaller01009.dll

[WINMOBIL.HW]
AddReg = Device_Reg

[Device_Reg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{246F9A1F-49EF-472b-892D-E4433F87B003}"
HKR,,"Icons",0x00010000,"%%SystemRoot%%\system32\shell32.dll,-314"

[ClassInstall]
Addreg = Interface_ClassReg

[ClassInstall32]
Addreg = Interface_ClassReg32

[Interface_ClassReg]
HKR,,,,%DeviceClass%
HKR,,SilentInstall,,1
HKR,,Icon,,-20

[Interface_ClassReg32]
HKR,,,,%DeviceClass%
HKR,,SilentInstall,,1
HKR,,Icon,,-20

[winusb_add_service]
DisplayName    = "WinUSB Driver"
ServiceType    = 1 ; SERVICE_KERNEL_DRIVER
StartType      = 3 ; SERVICE_DEMAND_START
ErrorControl   = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\winusb.sys
LoadOrderGroup = Base


[Strings]

; Non-localizable strings
SERVICE_KERNEL_DRIVER = 0x1
SERVICE_DEMAND_START  = 0x3
SERVICE_ERROR_NORMAL  = 0x1

; Localizable strings
Microsoft          = "Microsoft"
MfgName            = "Microsoft"
InstallDisk        = "Zune Driver Disk"
DeviceDesc         = "Windows Phone USB"
DeviceClass        = "Windows Phone USB Devices"
