; Installation INF for the Cypress Generic USB Driver for Windows 2K/XP/2003
; including support for x86, x64, and IA64 platforms
;
; (c) Copyright 2005 Cypress Semiconductor Corporation
;

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
provider=%CYPRESS%
;---Uncomment and complete below to support WHQL submission---;
CatalogFile=cyusb.cat
DriverVer=01/22/2009,18.25.00.000
;-------------------------------------------------------------;

[SourceDisksNames]
1=%CYUSB_INSTALL%,,,

[SourceDisksFiles]
CYUSB.sys = 1
CYUSBI64.sys = 1
CYUSBX64.sys = 1
;-----Uncomment below to support script file processing-----;
;CYUSB.spt = 1
;------------------------------------------------------------;

[DestinationDirs]
CYUSB.Files.Ext = 10,System32\Drivers
CYUSBI64.Files.Ext = 10,System32\Drivers
CYUSBX64.Files.Ext = 10,System32\Drivers
;-----Uncomment below to support script file processing-----;
;CYUSB.Files.Spt = 10,System32\CYUSB
;------------------------------------------------------------;

[ControlFlags]
ExcludeFromSelect = *

[PreCopySection]
HKR,,NoSetupUI,,1

[Manufacturer]
%MfgName%=Flatmii, ntamd64, ntia64

[Flatmii]
%VID_04B4&PID_8613.DeviceDesc%=CYUSB, USB\VID_04B4&PID_8613
%VID_7148&PID_270F.DeviceDesc%=CYUSB, USB\VID_7148&PID_270F

[Flatmii.ntamd64]
%VID_04B4&PID_8613.DeviceDesc%=CYUSBX64, USB\VID_04B4&PID_8613
%VID_7148&PID_270F.DeviceDesc%=CYUSBX64, USB\VID_7148&PID_270F

[Flatmii.ntia64]
%VID_04B4&PID_8613.DeviceDesc%=CYUSBI64, USB\VID_04B4&PID_8613
%VID_7148&PID_270F.DeviceDesc%=CYUSBI64, USB\VID_7148&PID_270F


; Windows 2K/XP/2003 - X86 platforms
[CYUSB.NT]
CopyFiles=CYUSB.Files.Ext
;-----Uncomment below to support script file processing-----;
;CopyFiles=CYUSB.Files.Spt
;------------------------------------------------------------;
AddReg=CYUSBX86.AddReg

[CYUSB.NT.HW]
AddReg=CYUSB.AddReg.Guid

[CYUSB.NT.Services]
Addservice = CYUSB, 0x00000002, CYUSB.AddService

[CYUSBX86.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,CYUSB.sys

[CYUSB.AddService]
DisplayName    = %CYUSB.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\CYUSB.sys
LoadOrderGroup = Base

[CYUSB.Files.Ext]
CYUSB.sys


; Windows 2K/XP/2003 - X64 platforms
[CYUSBX64]
CopyFiles=CYUSBX64.Files.Ext
;-----Uncomment below to support script file processing-----;
;CopyFiles=CYUSB.Files.Spt
;------------------------------------------------------------;
AddReg=CYUSBX64.AddReg

[CYUSBX64.HW]
AddReg=CYUSB.AddReg.Guid

[CYUSBX64.Services]
Addservice = CYUSB, 0x00000002, CYUSBX64.AddService

[CYUSBX64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,CYUSBX64.sys

[CYUSBX64.AddService]
DisplayName    = %CYUSB.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\CYUSBX64.sys
LoadOrderGroup = Base

[CYUSBX64.Files.Ext]
CYUSBX64.sys


; Windows 2K/XP/2003 - IA64 platforms
[CYUSBI64]
CopyFiles=CYUSBI64.Files.Ext
;-----Uncomment below to support script file processing-----;
;CopyFiles=CYUSB.Files.Spt
;------------------------------------------------------------;
AddReg=CYUSBI64.AddReg

[CYUSBI64.HW]
AddReg=CYUSB.AddReg.Guid

[CYUSBI64.Services]
Addservice = CYUSB, 0x00000002, CYUSBI64.AddService

[CYUSBI64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,CYUSBI64.sys

[CYUSBI64.AddService]
DisplayName    = %CYUSB.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\CYUSBI64.sys
LoadOrderGroup = Base

[CYUSBI64.Files.Ext]
CYUSBI64.sys


;-----Uncomment below to support script file processing-----;
;[CYUSB.Files.Spt]
;CYUSB.spt
;------------------------------------------------------------;

[CYUSB.AddReg.Guid]
HKR,,DriverGUID,,%CYUSB.GUID%
;-----Uncomment below to support script file processing-----;
;HKR,,DriverEXECSCRIPT,,%CYUSB.EXECSCRIPT%
;------------------------------------------------------------;


;---------------------------------------------------------------;

[Strings]
CYPRESS="Flatmii"
MfgName="Flatmii"
CYUSB_INSTALL="Flatmii USB Drivers install"
VID_04B4&PID_8613.DeviceDesc="Flatmii - No EEPROM (0x8613)"
VID_7148&PID_270F.DeviceDesc="Flatmii"
CyUsb.SvcDesc="Flatmii USB Driver"
;------------Replace GUID below with custom GUID-------------;
CYUSB.GUID="{AE18AA60-34A3-aa3a-43aa-000102345121}"
;------------------------------------------------------------;
;-----Uncomment below to support script file processing-----;
;CYUSB.EXECSCRIPT="\systemroot\system32\CYUSB\CYUSB.spt"
;------------------------------------------------------------;
