home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1999 October
/
VPR9910B.BIN
/
DRIVER
/
AOPEN
/
PM62NT
/
pm62nt.exe
/
DRV_ROC.INF
< prev
next >
Wrap
Windows Setup INFormation
|
1999-05-07
|
8KB
|
178 lines
;**********************************************************
;
; HCF PCI/WINNT4 DRV_ROC File
;
;**********************************************************
;-------------------------------------------------------------------------------
; Required Entry
;-------------------------------------------------------------------------------
[Version]
Signature="$WINDOWS NT$" ; exactly this for Windows NT
SetupNTDriverInfFile=drv_roc.inf
;-------------------------------------------------------------------------------
; DriverName - the exact name of the device driver file, without extension
; ModemName - name of the modem, must exactly match the name in the modem INF
; UninstallRegistryKey - registry holding key for uninstallation, exactly
; EventLogRegistryValue - into the event log key, must match DriverName.Sys
;-------------------------------------------------------------------------------
[Strings]
DriverName="WinAcPci"
ModemName="AOpen FM56-PM 56K PCI Modem"
UninstallRegistryKey="Software\Microsoft\Windows\CurrentVersion\Uninstall"
EventLogRegistryValue="%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\winacpci.sys"
;-------------------------------------------------------------------------------
; Required Entry
; The installer uses this section to install and start the modem driver
; [Models] - must be exactly this
; NAME = SECTION
;-------------------------------------------------------------------------------
[Models]
%ModemName%=DataFax
[DataFax]
AddReg=DriverRegistry, UninstallRegistry
CopyFiles=InstallFiles, CsaAppletFiles, UninstallFiles, DriverFiles, InfFiles
;-------------------------------------------------------------------------------
; Required Entry, but change these lines to match your configuration
; PciVendorID - must match the board, defaults to 0x14F1, for Conexant
; PciDeviceID - must match the board, 0x1000-0x1FFF is for Conexant HCF boards
; PciSubsystemVendorID - must match the board, 0 for "any", defaults to 0
; PciSubsystemID - must match the board, 0 for "any", defaults to 0
; SymbolicLink - the COM port for your installation
;-------------------------------------------------------------------------------
[DriverRegistry]
HKR, Parameters\%DriverName%0, SymbolicLink,,"COM3"
HKR, Parameters\%DriverName%0, PciVendorID, 0x40001, 0x14F1
HKR, Parameters\%DriverName%0, PciDeviceID, 0x40001, 0x1000
HKR, Parameters\%DriverName%0, PciSubsystemVendorID, 0x40001, 0x0000
HKR, Parameters\%DriverName%0, PciSubsystemID, 0x40001, 0x0000
;-------------------------------------------------------------------------------
; Required Entry
; DisplayName shows up in the control panel add/remove programs applet
; UninstallString is the command line invoked by that applet to do the uninstall
;-------------------------------------------------------------------------------
[UninstallRegistry]
HKLM,%UninstallRegistryKey%\%DriverName%
HKLM,%UninstallRegistryKey%\%DriverName%, DisplayName,,"%ModemName% (Uninstall)"
HKLM,%UninstallRegistryKey%\%DriverName%, UninstallString,,%10%\%DriverName%\setup -u"
;-------------------------------------------------------------------------------
; Required Entry
; Files to be copied - where they are copied is specified in [DestinationDirs]
;-------------------------------------------------------------------------------
[InstallFiles]
drv_roc.inf
setup.exe
[CsaAppletFiles]
csacpl.cpl
[UninstallFiles]
isdel.exe
[DriverFiles]
winacpci.sys
[InfFiles]
aop1036.inf
;-------------------------------------------------------------------------------
; Required Entry - the installer reads these to add the driver to the system
; [SECTION.Services] (SECTION is the link from the [Models] entry)
; AddService = service-name, flag, service-install-section, eventlog-section
;-------------------------------------------------------------------------------
[DataFax.Services]
AddService=%DriverName%,0,DriverService,DriverEventLog
[DriverService]
ServiceType = 1 ; must be 1, kernel mode driver
StartType = 2 ; 0=boot,1=system,2=automatic,3=manual
ErrorControl = 0 ; 0=ignore,1=normal,2=severe,3=critical
ServiceBinary = %12%\%DriverName%.sys ; winnt\system32\drivers\driver.sys, exactly
;-------------------------------------------------------------------------------
; How the driver reports system event log entries
; This section is linked to the services section by the driver name
; AddReg defines how to expose the error messages to the system
; DelReg tells the un-installer how to remove them
;-------------------------------------------------------------------------------
[DriverEventLog]
AddReg=DriverEventLogRegistry
DelReg=DriverEventLogRegistry
[DriverEventLogRegistry]
HKR,,EventMessageFile, 0x00020000, %EventLogRegistryValue%
HKR,,TypesSupported, 0x00010001,7
;-------------------------------------------------------------------------------
; Required Entry - the un-installer reads this to remove the modem later,
; [SECTION.Uninstall] (SECTION is the link from the [Models] entry)
; these must correspond exactly to each file and registry entry made
; during installation
; DelFiles = file-section, file-section,...
; DelReg = reg-section, reg-section,...
;-------------------------------------------------------------------------------
[DataFax.Uninstall]
DelFiles=CsaAppletFiles, DriverFiles, InfFiles, PnfFiles
DelReg=UninstallRegistry
[PnfFiles]
aop1036.pnf
;-------------------------------------------------------------------------------
; Required Entry - the un-installer reads these to remove the driver
; [SECTION.Uninstall.Services] (SECTION is the link from the [Models] entry)
; DelService = driver-service-name (must be the same as in AddService)
;-------------------------------------------------------------------------------
[DataFax.Uninstall.Services]
DelService=%DriverName%
;-------------------------------------------------------------------------------
; Required Entry - one entry for each file that **must** be copied
; filename = disk-number[,subdir][,size]
;-------------------------------------------------------------------------------
[SourceDiskFiles]
csacpl.cpl = 1 ; country selection applet
drv_roc.inf = 1 ; instructions for install and un-install (this file)
setup.exe = 1 ; installer
isdel.exe = 1 ; removes all traces of the un-installer, including itself
winacpci.sys = 1 ; modem driver
aop1036.inf = 1 ; instructions for the modem class installer
;-------------------------------------------------------------------------------
; Required Entry - matched to the [sections] listed above
; file-list-section = drid[,subdir]
;-------------------------------------------------------------------------------
[DestinationDirs]
InstallFiles = 10,%DriverName% ; winnt\<driver-name>
CsaAppletFiles = 11 ; winnt\system32
UninstallFiles = 11 ; winnt\system32
DriverFiles = 12 ; winnt\system32\drivers
InfFiles = 17 ; winnt\inf
PnfFiles = 17 ; winnt\inf
;-------------------------------------------------------------------------------
; Required Entry
; ordinal = "disk-description", tag-file, unused, [absolute-path]
;-------------------------------------------------------------------------------
[SourceDisksNames]
1="%ModemName% Drivers Disk","drv_roc.inf",1