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 >
Windows Setup INFormation  |  1999-05-07  |  8KB  |  178 lines

  1. ;**********************************************************
  2. ;
  3. ;  HCF PCI/WINNT4  DRV_ROC File
  4. ;
  5. ;**********************************************************
  6.  
  7. ;-------------------------------------------------------------------------------
  8. ; Required Entry
  9. ;-------------------------------------------------------------------------------
  10.  
  11. [Version]
  12. Signature="$WINDOWS NT$"    ; exactly this for Windows NT
  13. SetupNTDriverInfFile=drv_roc.inf
  14.  
  15. ;-------------------------------------------------------------------------------
  16. ; DriverName - the exact name of the device driver file, without extension
  17. ; ModemName - name of the modem, must exactly match the name in the modem INF
  18. ; UninstallRegistryKey - registry holding key for uninstallation, exactly
  19. ; EventLogRegistryValue - into the event log key, must match DriverName.Sys
  20. ;-------------------------------------------------------------------------------
  21.  
  22. [Strings]
  23. DriverName="WinAcPci"
  24. ModemName="AOpen FM56-PM 56K PCI Modem"
  25. UninstallRegistryKey="Software\Microsoft\Windows\CurrentVersion\Uninstall"
  26. EventLogRegistryValue="%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\winacpci.sys"
  27.  
  28. ;-------------------------------------------------------------------------------
  29. ; Required Entry
  30. ; The installer uses this section to install and start the modem driver
  31. ;     [Models]                - must be exactly this
  32. ;     NAME = SECTION
  33. ;-------------------------------------------------------------------------------
  34.  
  35. [Models]
  36. %ModemName%=DataFax
  37.  
  38. [DataFax]
  39. AddReg=DriverRegistry, UninstallRegistry
  40. CopyFiles=InstallFiles, CsaAppletFiles, UninstallFiles, DriverFiles, InfFiles
  41.  
  42. ;-------------------------------------------------------------------------------
  43. ; Required Entry, but change these lines to match your configuration
  44. ; PciVendorID - must match the board, defaults to 0x14F1, for Conexant
  45. ; PciDeviceID - must match the board, 0x1000-0x1FFF is for Conexant HCF boards
  46. ; PciSubsystemVendorID - must match the board, 0 for "any", defaults to 0
  47. ; PciSubsystemID - must match the board, 0 for "any", defaults to 0
  48. ; SymbolicLink - the COM port for your installation
  49. ;-------------------------------------------------------------------------------
  50.  
  51. [DriverRegistry]
  52. HKR, Parameters\%DriverName%0, SymbolicLink,,"COM3"
  53. HKR, Parameters\%DriverName%0, PciVendorID,          0x40001, 0x14F1
  54. HKR, Parameters\%DriverName%0, PciDeviceID,          0x40001, 0x1000
  55. HKR, Parameters\%DriverName%0, PciSubsystemVendorID, 0x40001, 0x0000
  56. HKR, Parameters\%DriverName%0, PciSubsystemID,       0x40001, 0x0000
  57.  
  58. ;-------------------------------------------------------------------------------
  59. ; Required Entry
  60. ; DisplayName shows up in the control panel add/remove programs applet
  61. ; UninstallString is the command line invoked by that applet to do the uninstall
  62. ;-------------------------------------------------------------------------------
  63.  
  64. [UninstallRegistry]
  65. HKLM,%UninstallRegistryKey%\%DriverName%
  66. HKLM,%UninstallRegistryKey%\%DriverName%, DisplayName,,"%ModemName% (Uninstall)"
  67. HKLM,%UninstallRegistryKey%\%DriverName%, UninstallString,,%10%\%DriverName%\setup -u"
  68.  
  69. ;-------------------------------------------------------------------------------
  70. ; Required Entry
  71. ; Files to be copied - where they are copied is specified in [DestinationDirs]
  72. ;-------------------------------------------------------------------------------
  73. [InstallFiles]
  74. drv_roc.inf
  75. setup.exe
  76.  
  77. [CsaAppletFiles]
  78. csacpl.cpl
  79.  
  80. [UninstallFiles]
  81. isdel.exe
  82.  
  83. [DriverFiles]
  84. winacpci.sys
  85.  
  86. [InfFiles]
  87. aop1036.inf
  88.  
  89. ;-------------------------------------------------------------------------------
  90. ; Required Entry - the installer reads these to add the driver to the system
  91. ;    [SECTION.Services]    (SECTION is the link from the [Models] entry)
  92. ;    AddService = service-name, flag, service-install-section, eventlog-section
  93. ;-------------------------------------------------------------------------------
  94.  
  95. [DataFax.Services]
  96. AddService=%DriverName%,0,DriverService,DriverEventLog
  97.  
  98. [DriverService]
  99. ServiceType   = 1                         ; must be 1, kernel mode driver
  100. StartType     = 2                         ; 0=boot,1=system,2=automatic,3=manual
  101. ErrorControl  = 0                         ; 0=ignore,1=normal,2=severe,3=critical
  102. ServiceBinary = %12%\%DriverName%.sys     ; winnt\system32\drivers\driver.sys, exactly
  103.  
  104. ;-------------------------------------------------------------------------------
  105. ; How the driver reports system event log entries
  106. ; This section is linked to the services section by the driver name
  107. ;    AddReg defines how to expose the error messages to the system
  108. ;    DelReg tells the un-installer how to remove them
  109. ;-------------------------------------------------------------------------------
  110.  
  111. [DriverEventLog]
  112. AddReg=DriverEventLogRegistry
  113. DelReg=DriverEventLogRegistry
  114.  
  115. [DriverEventLogRegistry]
  116. HKR,,EventMessageFile, 0x00020000, %EventLogRegistryValue%
  117. HKR,,TypesSupported, 0x00010001,7
  118.  
  119. ;-------------------------------------------------------------------------------
  120. ; Required Entry - the un-installer reads this to remove the modem later,
  121. ;    [SECTION.Uninstall] (SECTION is the link from the [Models] entry)
  122. ;     these must correspond exactly to each file and registry entry made
  123. ;     during installation
  124. ;    DelFiles = file-section, file-section,...
  125. ;    DelReg    = reg-section, reg-section,...
  126. ;-------------------------------------------------------------------------------
  127.  
  128. [DataFax.Uninstall]
  129. DelFiles=CsaAppletFiles, DriverFiles, InfFiles, PnfFiles
  130. DelReg=UninstallRegistry
  131.  
  132. [PnfFiles]
  133. aop1036.pnf
  134.  
  135. ;-------------------------------------------------------------------------------
  136. ; Required Entry - the un-installer reads these to remove the driver
  137. ;    [SECTION.Uninstall.Services] (SECTION is the link from the [Models] entry)
  138. ;    DelService = driver-service-name (must be the same as in AddService)
  139. ;-------------------------------------------------------------------------------
  140.  
  141. [DataFax.Uninstall.Services]
  142. DelService=%DriverName%
  143.  
  144. ;-------------------------------------------------------------------------------
  145. ; Required Entry - one entry for each file that **must** be copied
  146. ;    filename = disk-number[,subdir][,size]
  147. ;-------------------------------------------------------------------------------
  148.  
  149. [SourceDiskFiles]
  150. csacpl.cpl   = 1    ; country selection applet
  151. drv_roc.inf  = 1    ; instructions for install and un-install (this file)
  152. setup.exe    = 1    ; installer                                          
  153. isdel.exe    = 1    ; removes all traces of the un-installer, including itself
  154. winacpci.sys = 1    ; modem driver
  155. aop1036.inf = 1         ; instructions for the modem class installer
  156.  
  157. ;-------------------------------------------------------------------------------
  158. ; Required Entry - matched to the [sections] listed above
  159. ;    file-list-section = drid[,subdir]
  160. ;-------------------------------------------------------------------------------
  161.  
  162. [DestinationDirs]
  163. InstallFiles   = 10,%DriverName%   ; winnt\<driver-name>
  164. CsaAppletFiles = 11                ; winnt\system32
  165. UninstallFiles = 11                ; winnt\system32
  166. DriverFiles    = 12                ; winnt\system32\drivers
  167. InfFiles       = 17                ; winnt\inf
  168. PnfFiles       = 17                ; winnt\inf
  169.  
  170. ;-------------------------------------------------------------------------------
  171. ; Required Entry
  172. ;    ordinal = "disk-description", tag-file, unused, [absolute-path]
  173. ;-------------------------------------------------------------------------------
  174.  
  175. [SourceDisksNames]
  176. 1="%ModemName% Drivers Disk","drv_roc.inf",1
  177.  
  178.