;
; Windows CE USB Host Setup File
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
; WCEUSBSH.INF  -- This is the inf installation script for the stand-alone
;                  release of serial-over-USB host driver for WCE USB Function devices.
;



;;++ Added by AddSDisk.cmd
[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
winusb.sys 		= 3426
;;--

[Version]
;; Commented by AddSDisk.cmd
;; LayoutFile=layout.inf
Signature           = "$Windows NT$"
Class               = WCEUSBS
ClassGuid           = {25dbce51-6c8f-4a72-8a6d-b54c2b4fc835}
Provider            = %MICROSOFT%
DriverVer=06/21/2006,6.0.6000.16387
pnplockdown         = 1

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir = 12
NTCopyFiles = 12
Win9xWDMFiles = 10,system32\drivers ; %windir%\SYSTEM32\DRIVERS

[NTCopyFiles]
winusb.sys

[Win9xWDMFiles]
;winusb.sys

;
; Class Install section
;
[ClassInstall]
Addreg=Interface_ClassReg

[ClassInstall32]
Addreg=Interface_ClassReg32

[Interface_ClassReg]
HKR,,,,%Interface.ClassName%
;HKR,,NoInstallClass,,1
HKR,,SilentInstall,,1
HKR,,Icon,,-20

[Interface_ClassReg32]
HKR,,,,%Interface.ClassName%
;HKR,,NoInstallClass,,1
HKR,,SilentInstall,,1
HKR,,Icon,,-20


;
;
;  <VENDOR SECTION>
;
;  1 of 3.
;  Add your manufacturer name here (and a string definition under [strings] below)
;
;  e.g.
;  %ACME%=ACME
;
[Manufacturer]
%Leica% = Leica,NTamd64


;
;  <VENDOR SECTION>
;
;  2 of 3.
;  Add your manufacturer section and device entry here.
;  Use the hardware PnP ID of your device.
;
;  e.g.
;  [ACME]
;  %USB\VID_xxxx&PID_yyyy.DeviceDesc% = Host_Inst, USB\VID_xxxx&PID_yyyy
;

[Leica.NTamd64]
%USB\Vid_16bd&Pid_0012.DeviceDesc% = Host_inst, USB\Vid_16bd&Pid_0012
%USB\Vid_16bd&Pid_0014.DeviceDesc% = Host_inst, USB\Vid_16bd&Pid_0014
%USB\Vid_16bd&Pid_00CE.DeviceDesc% = Host_inst, USB\Vid_16bd&Pid_00CE


;
; Win 9x DDInstall section
;
[Host_Inst]
Copyfiles = Win9xWDMFiles
AddReg = Host_Win9x_AddReg

[Host_Win9x_AddReg]
HKR,,DevLoader,0,*NTKERN
HKR,,NTMPDriver,,"winusb.sys"


;
; Windows 2000 and XP DDInstall section
;
[Host_Inst.NTx86]
include = winmobil.inf
needs = WINMOBIL.NTx86
CopyFiles=NTCopyFiles
AddProperty=Host_Inst_AddProp

[Host_Inst.NTx86.HW]
AddReg=Host_Inst.HW.AddReg

[Host_Inst.NTx86.Services]
include = winmobil.inf
needs = WINMOBIL.NTx86.Services
AddService = winusb,0x00000002,Host_Service_Inst

[Host_Inst.NTx86.CoInstallers]
include     = winmobil.inf
needs       = WINMOBIL.NTx86.CoInstallers

[Host_Inst.NTamd64]
include     = winmobil.inf
needs       = WINMOBIL.NTamd64
CopyFiles   = NTCopyFiles
AddProperty = Host_Inst_AddProp

[Host_Inst.NTamd64.HW]
AddReg=Host_Inst.HW.AddReg

[Host_Inst.NTamd64.Services]
include = winmobil.inf
needs = WINMOBIL.NTamd64.Services
AddService = winusb,0x00000002,Host_Service_Inst

[Host_Inst.NTamd64.CoInstallers]
include     = winmobil.inf
needs       = WINMOBIL.NTamd64.CoInstallers

[Host_Service_Inst]
DisplayName   = %Host_Inst.SVCDESC%
ServiceType   = 1  ; SERVICE_KERNEL_DRIVER
StartType     = 3  ; SERVICE_DEMAND_START
ErrorControl  = 1  ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\winusb.sys
LoadOrderGroup = Base

[Host_Inst.HW.AddReg]
HKR,,DeviceInterfaceGUID,,"{25dbce51-6c8f-4a72-8a6d-b54c2b4fc835}"
HKR,,"Icons",0x00010000,"%%SystemRoot%%\system32\shell32.dll,-314"

[Host_Inst_AddProp]
GenericDriverInstalled,,,,1



[Strings]
;---- non-localizable ------------------
REG_DWORD = 0x00010001


;---- localizable ------------------
MICROSOFT = "Microsoft"

Host_Inst.SVCDESC   = "WinUSB Service"
Interface.ClassName = "Windows CE USB Devices"


MediaDescription	= "Windows CE ActiveSync Media"

;
;  <VENDOR SECTION>
;
; 3 of 3.
; Define your strings here
;
;  e.g.
;  ACME = "ACME"
;  USB\VID_xxxx&PID_yyyy.DeviceDesc = "ACME USB Sync"
;

Leica = "Leica Geosystems AG"
USB\Vid_16bd&Pid_0012.DeviceDesc = "Rx Controller"
USB\Vid_16bd&Pid_0014.DeviceDesc = "Leica TS02/TS06/TS09"