;
; INF file for installing the Nuvoton SPB Driver
;
;
; Copyright (c) 2013 Nuvoton Technology Corporation
; 
;
;
[Version]
Signature	= "$Windows NT$"
Class		= System
ClassGuid	= {4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider	= %ManufacturerName%
CatalogFile	= NuvotonSpb.cat
DriverVer=12/25/2013,8.1.111.5012


[Manufacturer]
%ManufacturerName%=Standard,NTx86,NTamd64

[Standard.NTx86]
%DeviceName%=Spb_Install,NTN1050
%DeviceName%=Spb_Install,NTN1051

[Standard.NTamd64]
%DeviceName%=Spb_Install,NTN1050
%DeviceName%=Spb_Install,NTN1051

[SourceDisksFiles]
NuvotonSpb.dll=1
WudfUpdate_01011.dll=1

[SourceDisksNames.x86]
1 = %MediaDescription%,,,\i386

[SourceDisksNames.amd64]
1 = %MediaDescription%,,,\amd64

; =================== UMDF Spb Driver ==================================

[Spb_Install.NT]
CopyFiles=UMDriverCopy

[Spb_Install.NT.hw]

[Spb_Install.NT.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[Spb_Install.NT.CoInstallers]
CopyFiles=CoInstallers_CopyFiles
AddReg=CoInstallers_AddReg

[Spb_Install.NT.Wdf]
UmdfService=NuvotonSpb,NuvotonSpb_Install
UmdfServiceOrder=NuvotonSpb
UmdfImpersonationLevel   = Impersonation

UmdfDirectHardwareAccess = AllowDirectHardwareAccess

[NuvotonSpb_Install]
UmdfLibraryVersion=1.11.0 
ServiceBinary=%12%\UMDF\NuvotonSpb.dll
DriverCLSID={bdb42fa2-1ae1-43f2-93b8-ebc0b4bad61d}

[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys
LoadOrderGroup = Base

[CoInstallers_CopyFiles]
WudfUpdate_01011.dll

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WudfUpdate_01011.dll"

[DestinationDirs]
UMDriverCopy=12,UMDF ; copy to drivers\umdf
CoInstallers_CopyFiles=11

[UMDriverCopy]
NuvotonSpb.dll

; =================== Generic ==================================

[Strings]
ManufacturerName="Nuvoton Technology Corporation"
ClassName="Nuvoton SPB Device"
MediaDescription="Nuvoton UMDF SPB Driver Installation Media"
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
DeviceName="Nuvoton SPB Driver"
