[Version]
Signature=$CHICAGO$
Class=CAN-Hardware
ClassGuid={C114EDBC-EA0A-11d3-A4E1-00104B47F2AB}
Provider=%MFGNAME%

[Manufacturer]
%MFGNAME%=DeviceList


;------------------------------------------------------------------------------
;  Supported Devices
;------------------------------------------------------------------------------

[DeviceList]
%DESCRIPTION%=DriverInstall,Root\CAN-Hardware


;------------------------------------------------------------------------------
;  Class Install Section
;------------------------------------------------------------------------------

[ClassInstall32]
Addreg=CanClassReg     

[ClassInstall]
Addreg=CanClassReg     

[CanClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,"-5"


;------------------------------------------------------------------------------
;  Installation Disk Information
;------------------------------------------------------------------------------

[SourceDisksFiles]
vcanv.sys=1
vcanconf.exe=1
vcancpa.cpl=1
vcanconf.hlp=1
vcndrvms.dll=1

[SourceDisksNames]
1="CANcardX-Driver",,,


;------------------------------------------------------------------------------
;  Windows 2000 Sections
;------------------------------------------------------------------------------

[DriverInstall.NT]
CopyFiles=sys_file_copy,tool_file_copy
AddReg=vcanv.registry,options.registry

[DriverInstall.NT.Services]
AddService=vcanv,2,vcanv.Service

; commented out to prevent installation of virtual channels only by using the 
; "Add New Hardware" wizard 
;[vcanv.Service]
;ServiceType=1
;StartType=2
;ErrorControl=1
;ServiceBinary=%10%\system32\drivers\vcanv.sys


;------------------------------------------------------------------------------
;  Windows 98 Sections
;------------------------------------------------------------------------------

[DriverInstall]
CopyFiles=tool_file_copy,sys_file_copy
AddReg=DriverAddReg,vcanv.registry,vcanv_win98.registry,options.registry

[DriverAddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,vcanv.sys


;------------------------------------------------------------------------------
;  Copy Files 
;------------------------------------------------------------------------------

[DestinationDirs]
sys_file_copy=10,System32\Drivers
tool_file_copy=11

[tool_file_copy]
vcanconf.exe,,,2
vcancpa.cpl,,,2
vcanconf.hlp,,,2
vcndrvms.dll,,,2

[sys_file_copy]
vcanv.sys,,,2


;------------------------------------------------------------------------------
;  Add Registry Entrys 
;------------------------------------------------------------------------------

[vcanv.registry]
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Drivers\vcanv",MaxCards,0x10001,1
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Drivers\vcanv",TimerEligibility,0x10001,0x100
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Drivers\vcanv",ChannelsPerCard,0x10001,2
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Drivers\vcanv",HwType,0x10001,1
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Drivers\vcanv",HwName,,"Virtual"
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Drivers\vcanv",DriverName,,vcanv

HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANalyzer0",hwType,0x10003,2
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANalyzer0",hwIndex,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANalyzer0",hwChannel,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANalyzer1",hwType,0x10003,2
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANalyzer1",hwIndex,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANalyzer1",hwChannel,0x10003,1
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANoe0",hwType,0x10003,2
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANoe0",hwIndex,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANoe0",hwChannel,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANoe1",hwType,0x10003,2
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANoe1",hwIndex,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANoe1",hwChannel,0x10003,1
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANape0",hwType,0x10003,2
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANape0",hwIndex,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANape0",hwChannel,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANape1",hwType,0x10003,2
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANape1",hwIndex,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\CANape1",hwChannel,0x10003,1
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\Default0",hwType,0x10003,2,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\Default0",hwIndex,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\Default0",hwChannel,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\Default1",hwType,0x10003,2
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\Default1",hwIndex,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Software\Default1",hwChannel,0x10003,1


[vcanv_win98.registry]
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Drivers\vcanv",UseDeviceInterface,0x10001,1

[options.registry]
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Options",AutoEnableSWCHighSpeed,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Options",DebugFlags,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Options",EnableTimeSync,0x10003,0
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Options",TxQueueSize,0x10003,256
HKLM,"SOFTWARE\VECTOR\CANDriver 1.0\Options",VirtualBus,0x10003,1


;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------

[Strings]
MFGNAME="Vector Informatik GmbH"
INSTDISK="CANcardX-WDM-Driver"
DESCRIPTION="Vector Virtual CAN Bus"
ClassName="CAN-Hardware"

