home *** CD-ROM | disk | FTP | other *** search
/ What the Doctor Required - The Freshest December / December.iso / windows / mem1614 / precopy2.cab / infrared.inf < prev    next >
Encoding:
INI File  |  1997-10-21  |  11.4 KB  |  371 lines

  1.  
  2. ;*************************************************************************
  3. ;*
  4. ;* Infrared.INF
  5. ;*
  6. ;* Installation file for Infrared 3.0
  7. ;*
  8. ;* Note: Irxfer is installed by infrared.dll, but is uninstalled through
  9. ;* this INF
  10. ;*
  11. ;*************************************************************************
  12. [Version]
  13. CatalogFile=infrared.cat
  14. Layoutfile=layout.inf, layout1.inf, layout2.inf
  15. Signature="$CHICAGO$"
  16. Class=Infrared
  17. ClassGUID={6bdd1fc5-810f-11d0-bec7-08002be2092f}
  18. Provider=%StrMicrosoft%
  19. SetupClass=BASE
  20.  
  21. ;*************************************************************************
  22. ;*
  23. ;* Entrypoints for installs/uninstalls
  24. ;*
  25. ;*************************************************************************
  26.  
  27. [BaseWinOptions]
  28. BaseIrInstall
  29.  
  30. [BaseIrInstall]
  31. CopyFiles = Class_Copy, INF_Copy
  32.  
  33. [ClassInstall]
  34. AddReg = ClassAddReg, ComPort_AddReg, LptPort_AddReg, Generic_AddReg
  35.  
  36.  
  37. [Generic_Install]
  38. ;
  39. ;  Note:  This section is processed not only during IR3 installation,
  40. ;         but also during Windows over-install when IR3 is already
  41. ;         present (i.e. the IRDEVICE devnode is already there).
  42. ;         If the infrared device on the machine is not PnP, this is
  43. ;         the only IR-related section (besides the class-install section)
  44. ;         that gets processed.  So this section must refresh ALL the
  45. ;         IR files, including those that are installed by IRXFER.INF
  46. ;         and IRMINI.INF during IR3 installation.
  47. ;
  48. CopyFiles = Driver_Copy, Media_Copy, Help_Copy, Ctrl_Panel_Copy, IrXfer_Win, IrXfer_Sys, IrXfer_Wav, IrXfer_Hlp
  49. AddReg = Generic_AddReg ; this is redundant but probably good to refresh reg when IR installed
  50.  
  51.  
  52.  
  53. [ComPort_Install]
  54. CopyFiles = PortDrv_Copy
  55. AddReg    = ComPort_AddReg
  56.  
  57. [LptPort_Install]
  58. CopyFiles = PortDrv_Copy
  59. AddReg    = LptPort_AddReg
  60.  
  61.  
  62. [CPL_Install]
  63. ;
  64. ;  Do not rename
  65. ;  This section gets installed by a call from infrared.dll 
  66. ;  during infrared _device_ setup (as opposed to infrared class setup).
  67. ;  This way, the control panel applet doesn't arrive until there's
  68. ;  an infrared device installed.
  69. ;
  70. CopyFiles=Ctrl_Panel_Copy
  71.  
  72. [Uninstall_Infrared]
  73. DelFiles  = Driver_Copy, Ctrl_Panel_Copy, Help_Copy, PortDrv_Copy, Media_Copy, IrXfer_Win, IrXfer_Sys, IrXfer_Wav, IrXfer_Hlp
  74. AddReg    = Uninstall_AddReg
  75. DelReg    = Uninstall_DelReg
  76.  
  77.  
  78. ;*************************************************************************
  79. ;*
  80. ;* 
  81. ;*
  82. ;*************************************************************************
  83. [Manufacturer]
  84.  
  85. %StrMicrosoft%=Microsoft_IR
  86.  
  87. %StrVendorNone%=IR2_DONGLE_SUPPORT_SECTION
  88.  
  89.  
  90.  
  91. [Microsoft_IR]
  92.  
  93. ;
  94. ;  Do not remove or rename this 'IRDEVICE' device.
  95. ;  Its definition here is required so that the IR class installer
  96. ;  can add some infrared device, which enables its enumerator, IRENUM,
  97. ;  to start up at boot time.
  98. ;
  99. %StrIRDevice%=Generic_Install, IRDEVICE
  100.  
  101.  
  102. %StrCOM%=ComPort_Install,Infrared\COM
  103. %StrLPT%=LptPort_Install,Infrared\LPT
  104.  
  105.  
  106. [IR2_DONGLE_SUPPORT_SECTION]
  107. ;
  108. ; These dongle devices appear here only to make IR 2.0 work
  109. ; in Memphis.  When a user upgrades OSR2 to Memphis, with an SIR device
  110. ; installed, we leave IR 2.0 running.  We don't want the old device
  111. ; to appear yellow-banged, so we trivially support the dongle devices here.
  112. ;
  113. %StrESIJetEye%=         NULL_INSTALL_SECTION, Infrared\ExtSys
  114. %StrAIRport9320%=       NULL_INSTALL_SECTION, Infrared\Adaptec
  115. %StrTravelMate%=        NULL_INSTALL_SECTION, Infrared\TI5000
  116. %StrACTIR200L%=         NULL_INSTALL_SECTION, Infrared\ACT-IR200L
  117. %StrACTIR220L%=         NULL_INSTALL_SECTION, Infrared\ACT-IR220L
  118. %StrParallax%=          NULL_INSTALL_SECTION, Infrared\Parallax
  119. %StrPHASIR%=            NULL_INSTALL_SECTION, Infrared\PHASIR
  120. %StrAIRport1000%=       NULL_INSTALL_SECTION, Infrared\Adaptec
  121.  
  122. ;
  123. ;  On Memphis-to-Memphis over-install, the name of the registry key
  124. ;  under Enum\Root can become the new HardwareID.
  125. ;  If we're still running IR2 from a previous OSR2 installation,
  126. ;  we don't want this device to become class-Unknown.
  127. ;  So trivially support this id, also.
  128. ;
  129. ""=                     NULL_INSTALL_SECTION, Infrared
  130.  
  131.  
  132. [NULL_INSTALL_SECTION]
  133.  
  134.  
  135.  
  136. [ControlFlags]
  137. ExcludeFromSelect=Infrared\COM
  138. ExcludeFromSelect=Infrared\LPT
  139.  
  140.  
  141. ;*************************************************************************
  142. ;*
  143. ;* Destination directories for each file section
  144. ;*
  145. ;*************************************************************************
  146. [DestinationDirs]
  147. Class_Copy             = 11          ; LDID_SYS
  148. DefaultDestDir         = 11          ; LDID_SYS
  149. INF_Copy               = 17          ; LDID_INF
  150. Help_Copy              = 18          ; LDID_HELP
  151. Media_Copy             = 10,media    ; LDID_MEDIA
  152.  
  153.  
  154. IrXfer_Win             = 25          ; LDID_SHARED
  155. IrXfer_Sys             = 11
  156. IrXfer_Wav             = 10,Media
  157. IrXfer_Hlp             = 18
  158.  
  159.  
  160.  
  161. ;*************************************************************************
  162. ;*
  163. ;* File sections
  164. ;*
  165. ;*************************************************************************
  166.  
  167. [Class_Copy]
  168. infrared.dll,,,1
  169. ir_ndi.dll,,,1
  170.  
  171.  
  172.  
  173. [Driver_Copy]
  174. ircomm.vxd,,,32
  175. irenum.vxd,,,32
  176. irlamp.vxd,,,32
  177. wsirda.vxd,,,32
  178. fastir.vxd,,,32
  179. irdalan.sys,,,32
  180.  
  181. ;
  182. ; This is a NULL irlapfrm.vxd (no code) with updated version info.
  183. ; HP setup for IR printers depends on a binary with this name to detect
  184. ; a Microsoft IR stack.
  185. ;
  186. irlapfrm.vxd,,,32
  187.  
  188. ;
  189. ; Need to refresh irmini.sys here when we do a Memphis over-install
  190. ; on a machine with a non-PnP SIR device which already has IR3 installed.
  191. ;
  192. irmini.sys,,,32
  193.  
  194.  
  195.  
  196.  
  197. [Ctrl_Panel_Copy]
  198.  
  199. ;
  200. ; NOTE:
  201. ;       '0' means no reboot msg
  202. ;       We do not want to put up a reboot msg when copying these files
  203. ;       because setup is not complete at this point.
  204. ;
  205. infrared.cpl,,,0
  206. irmon.exe,,,0
  207.  
  208.  
  209. [Help_Copy]
  210. infrared.hlp,,,32
  211. infrared.cnt,,,32
  212.  
  213. [Media_Copy]
  214. ir_inter.wav,,,32
  215. ir_begin.wav,,,32
  216. ir_end.wav,,,32
  217.  
  218. [PortDrv_Copy]
  219. ircomm.vxd,,,32
  220.  
  221.  
  222. [INF_Copy]
  223. infrared.inf
  224. irxfer.inf
  225. fastir.inf
  226. irdalan.inf 
  227. ibm4mir.inf
  228. irmini.inf
  229. msports.inf
  230. tos4mu.inf
  231. tos4mo.inf
  232. nscirda.inf
  233. wbfirpio.inf
  234. alifir.inf
  235. smcirda.inf
  236.  
  237. [IrXfer_Win] 
  238. IrXfer.exe,,,32
  239.  
  240. [IrXfer_Sys]
  241. IrShell.dll,,,32
  242.  
  243. [IrXfer_Wav]
  244. Ir_New.wav,,,32
  245.  
  246. [IrXfer_Hlp]
  247. IrXfer.hlp,,,32
  248. IrXfer.cnt,,,32
  249.  
  250.  
  251.  
  252. ;*************************************************************************
  253. ;*
  254. ;* Registry change sections
  255. ;*
  256. ;*************************************************************************
  257. [ClassAddReg]
  258. ;HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%Short.Desc%,DisplayName,0,%Infrared.Desc%
  259. ;HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%Short.Desc%\OEM,,,""
  260. ;HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%Short.Desc%,UninstallString,0,"RunDll setupx.dll,InstallHinfSection Uninstall_Infrared 2 infrared.inf"
  261. ;HKLM,Enum\INFRARED,Installed,0,"0"  ;- don't want to clear this on Memphis over-install if IR3 already installed 
  262. HKR,,,0,%Class.Desc%
  263. HKR,,Installer,0,infrared.dll
  264. HKR,,Icon,0,0
  265. HKR,,SilentInstall,0,1
  266.  
  267. [Generic_AddReg]
  268. HKLM,System\CurrentControlSet\Services\VxD\Winsock,IrSockets,0,wsirda.vxd
  269. HKLM,Enum\INFRARED\KnownDevices,*PNP0510,0,"*PNP0510"  
  270. HKLM,Enum\INFRARED\KnownDevices,*PNP0511,0,"*PNP0511"  
  271. HKLM,Enum\INFRARED\KnownDevices,IRMINI,0,"IRMINI"      ;  Microsoft
  272. HKLM,Enum\INFRARED\KnownDevices,IBM4MIR,0,"IBM4MIR"    ;  IBM
  273. HKLM,Enum\INFRARED\KnownDevices,PC87108,0,"PC87108"    ;  NSC
  274. HKLM,Enum\INFRARED\KnownDevices,LZ9AT32,0,"LZ9AT32"    ;  Sharp
  275. HKLM,Enum\INFRARED\KnownDevices,*TOS7009,0,"*TOS7009"  ;  Toshiba TOS4MU
  276. HKLM,Enum\INFRARED\KnownDevices,PCI\VEN_1179&DEV_0701,0,"PCI\VEN_1179&DEV_0701"  ;  Toshiba TOS4MO
  277. HKLM,Enum\INFRARED\KnownDevices,*ALI5123,0,"*ALI5123"  ;  Acer
  278. HKLM,Enum\INFRARED\KnownDevices,*SMCF010,0,"*SMCF010"  ;  SMC
  279. HKLM,Enum\INFRARED\KnownDevices,*WEC0510,0,"*WEC0510"  ;  Winbond
  280. HKR,,DevLoader,0,*configmg
  281. HKR,,Enumerator,0,irenum.vxd
  282.  
  283. [ComPort_AddReg]
  284. HKR,,DevLoader,0,*vcomm
  285. HKR,,Enumerator,0,irenum.vxd
  286. HKR,,PortDriver,0,ircomm.vxd
  287. HKR,,PortSubClass,1,01
  288.  
  289. [LptPort_AddReg]
  290. HKR,,DevLoader,0,*vcomm
  291. HKR,,Enumerator,0,irenum.vxd
  292. HKR,,PortDriver,0,ircomm.vxd
  293. HKR,,PortSubClass,1,00
  294.  
  295. [Uninstall_AddReg]
  296. ; Clean up the Net\000* entries on reboot
  297. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,IR3FinishUninstall,0,"RunDll infrared.dll,Uninstall_CleanNetEntries"
  298.  
  299. [Uninstall_DelReg]
  300. HKLM,Enum\Root\Infrared
  301. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%Short.Desc%
  302. HKLM,System\CurrentControlSet\Services\Class\Infrared\0000
  303. HKLM,System\CurrentControlSet\Services\Class\Infrared\0001
  304. HKLM,System\CurrentControlSet\Services\Class\Infrared\0002
  305. HKLM,System\CurrentControlSet\Services\Class\Infrared\0003
  306. HKLM,System\CurrentControlSet\Services\Class\Infrared\0004
  307. HKLM,System\CurrentControlSet\Services\Class\Infrared\0005
  308. HKLM,System\CurrentControlSet\Services\Class\Infrared\0006
  309. HKLM,System\CurrentControlSet\Services\Class\Infrared\0007
  310. HKLM,System\CurrentControlSet\Services\Class\Infrared\0008
  311. HKLM,System\CurrentControlSet\Services\Class\Infrared\0009
  312. HKLM,System\CurrentControlSet\Services\VxD\Winsock,IrSockets
  313. HKCU,AppEvents\EventLabels\InfraredBeginCommunication
  314. HKCU,AppEvents\EventLabels\InfraredBeginDeviceInRange
  315. HKCU,AppEvents\EventLabels\InfraredEndCommunication
  316. HKCU,AppEvents\EventLabels\InfraredEndDeviceInRange
  317. HKCU,AppEvents\EventLabels\InfraredInterrupted
  318. HKCU,AppEvents\Schemes\Apps\.Default\InfraredBeginCommunication
  319. HKCU,AppEvents\Schemes\Apps\.Default\InfraredBeginDeviceInRange
  320. HKCU,AppEvents\Schemes\Apps\.Default\InfraredEndCommunicaton
  321. HKCU,AppEvents\Schemes\Apps\.Default\InfraredEndDeviceInRange
  322. HKCU,AppEvents\Schemes\Apps\.Default\InfraredInterrupted
  323. ; Uninstall IrXfer
  324. HKCR,CLSID\{00435ae0-bffb-11cf-a9d8-00aa00423596}
  325. HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{00435ae0-bffb-11cf-a9d8-00aa00423596}
  326. HKLM,Software\Microsoft\Windows\CurrentVersion\Run,IrXfer
  327. HKCU,AppEvents\EventLabels\InfraredNewFiles
  328. HKCU,AppEvents\Schemes\Apps\.Default\InfraredNewFiles
  329. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\IrXfer
  330.  
  331. ;*************************************************************************
  332. ;*
  333. ;* Localizable strings
  334. ;*
  335. ;*************************************************************************
  336. [Strings]
  337. StrMicrosoft  = "Microsoft"
  338. StrIBM        = "IBM"
  339. StrNSC        = "National Semiconductor"
  340. StrSharp      = "Sharp"
  341. StrFASTIR.510 = "IrDA Infrared Communication Device"
  342. StrFASTIR.511 = "Infrared Communication Device"
  343. StrCOM        = "Infrared Serial (COM) Port"
  344. StrLPT        = "Infrared Printing (LPT) Port"
  345. Class.Desc    = "Infrared devices"
  346. Short.Desc    = "Infrared Communications"
  347. Infrared.Desc = "Infrared Support for Windows, Version 3.0"
  348.  
  349. StrVendorNone = "(None)"
  350.  
  351.  
  352. ;
  353. ; Names of old IR2.0 devices
  354. ;
  355. StrESIJetEye    = "JetEye PC Infrared PC Interface (ESI-9680)"
  356. StrAIRport9320  = "AIRport APA-9320 External Infrared Adapter"
  357. StrTravelMate   = "TI TravelMate 5000 Laptop"
  358. StrACTIR200L    = "ACT-IR200L Infrared Wireless Interface"
  359. StrACTIR220L    = "ACT-IR220L Infrared Wireless Interface"
  360. StrParallax     = "Parallax LiteLink PRA9500A"
  361. StrPHASIR       = "AMP PHASIR"
  362. StrAIRport1000  = "Adaptec AIRport 1000"
  363.  
  364.  
  365. ;
  366. ;  HESITATE before changing this -- the class installer looks for it.
  367. ;  StrIRDevice must EXACTLY match IDS_IR_DEVICE in INFRARED.DLL's resources
  368. ;  (\\redrum\...\net\vxd\ir\ir3class\infrared.rc).
  369. ;
  370. StrIRDevice   = "Infrared Communication Device"
  371.