/*++
;
;Copyright: 
;	 Olympus Corporation
;
;Module Name:
;    MALAD.INF
;
;Abstract:
;    INF file for installing the Driver Frameworks MALAD Driver
;
;Author:
;    Olympus Corporation
;
;Installation Notes: 
;    
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=MalAd
ClassGuid={E56607FA-7D30-40CA-8E64-6CBB021386E6}
Provider=%OLY%
DriverVer=05/21/2008,4.1.4.1
CatalogFile = malad.cat

[DestinationDirs]
DefaultDestDir = 12

; ================= Class section =====================

[ClassInstall32]
Addreg=MalAdClassReg     

[MalAdClassReg]
HKR,,,0,%ClassName%
HKR,,IconPath,,"shell32.dll,-316"
HKR,,EnumPropPages32,,"sti_ci.dll,0"

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
MalAd.sys  = 1,,

;*****************************************
; MalAd  Install Section
;*****************************************

[Manufacturer]
%OLY%=Standard,NTx86

; Following section is meant for Windows 2000 as it 
; cannot parse decorated model sections
[Standard]
;
; 
;
%MalAd.DeviceDesc%=MalAd_Device, PCI\VEN_10b5&DEV_9054&SUBSYS_02061270

; Decorated model section take precedence over undecorated 
; ones on XP and later.
[Standard.NTx86]
%MalAd.DeviceDesc%=MalAd_Device, PCI\VEN_10b5&DEV_9054&SUBSYS_02061270

[MalAd_Device]
;CopyFiles=Drivers_Dir

[MalAd_Device.NT]
;CopyFiles=Drivers_Dir

[Drivers_Dir]
MalAd.sys


;-------------- Service installation
[MalAd_Device.NT.Services]
AddService = MalAd,%SPSVCINST_ASSOCSERVICE%, MalAd_Service_Inst

; -------------- MALAD driver install sections
[MalAd_Service_Inst]
DisplayName    = %MalAd.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\MalAd.sys
LoadOrderGroup = Extended Base

;
;--- MALAD_Device Coinstaller installation ------
;

[DestinationDirs]
MalAd_Device_CoInstaller_CopyFiles = 11

[DestinationDirs.NTx86]
MalAd_Device_CoInstaller_CopyFiles = 11

[DestinationDirs.NTamd64]
MalAd_Device_CoInstaller_CopyFiles = 11

[MalAd_Device.CoInstallers]
AddReg=MalAd_Device_CoInstaller_AddReg
;CopyFiles=MalAd_Device_CoInstaller_CopyFiles

[MalAd_Device.NT.CoInstallers]
AddReg=MalAd_Device_CoInstaller_AddReg
;CopyFiles=MalAd_Device_CoInstaller_CopyFiles

[MalAd_Device.NTamd64.CoInstallers]
AddReg=MalAd_Device_CoInstaller_AddReg
;CopyFiles=MalAd_Device_CoInstaller_CopyFiles

[MalAd_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoinstaller01005.dll,WdfCoInstaller"

;[MalAd_Device_CoInstaller_AddReg64]
;HKR,,CoInstallers32,0x00010000, "WdfCoinstaller01000.dll,WdfCoInstaller"

[MalAd_Device_CoInstaller_CopyFiles]
WdfCoinstaller01005.dll

;[MalAd_Device_CoInstaller_CopyFiles64]
;WdfCoinstaller01000.dll

[SourceDisksFiles]
WdfCoinstaller01005.dll=1 ; make sure the number matches with SourceDisksNames

[SourceDisksFiles.NTx86]
WdfCoinstaller01005.dll=1 ; make sure the number matches with SourceDisksNames

[SourceDisksFiles.NTamd64]
WdfCoinstaller01005.dll=1 ; make sure the number matches with SourceDisksNames

[MalAd_Device.NT.Wdf]
KmdfService =  MalAd, MalAd_wdfsect

[MalAd_Device.Wdf]
KmdfService =  MalAd, MalAd_wdfsect

[MalAd_Device.NTamd64.Wdf]
KmdfService =  MalAd, MalAd_wdfsect

[MalAd_wdfsect]
KmdfLibraryVersion = 1.5

;[MalAd_wdfsect64]
;KmdfLibraryVersion = 1.5

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
OLY = "OLYMPUS CORPORATION"
DiskId1 = "WDF MALAD Installation Disk "
MalAd.DeviceDesc = "MalAd Device"
MalAd.SVCDESC = "MALAD Service"
ClassName       = "Malad Device"


