home *** CD-ROM | disk | FTP | other *** search
INI File | 1997-10-21 | 11.4 KB | 371 lines |
-
- ;*************************************************************************
- ;*
- ;* Infrared.INF
- ;*
- ;* Installation file for Infrared 3.0
- ;*
- ;* Note: Irxfer is installed by infrared.dll, but is uninstalled through
- ;* this INF
- ;*
- ;*************************************************************************
- [Version]
- CatalogFile=infrared.cat
- Layoutfile=layout.inf, layout1.inf, layout2.inf
- Signature="$CHICAGO$"
- Class=Infrared
- ClassGUID={6bdd1fc5-810f-11d0-bec7-08002be2092f}
- Provider=%StrMicrosoft%
- SetupClass=BASE
-
- ;*************************************************************************
- ;*
- ;* Entrypoints for installs/uninstalls
- ;*
- ;*************************************************************************
-
- [BaseWinOptions]
- BaseIrInstall
-
- [BaseIrInstall]
- CopyFiles = Class_Copy, INF_Copy
-
- [ClassInstall]
- AddReg = ClassAddReg, ComPort_AddReg, LptPort_AddReg, Generic_AddReg
-
-
- [Generic_Install]
- ;
- ; Note: This section is processed not only during IR3 installation,
- ; but also during Windows over-install when IR3 is already
- ; present (i.e. the IRDEVICE devnode is already there).
- ; If the infrared device on the machine is not PnP, this is
- ; the only IR-related section (besides the class-install section)
- ; that gets processed. So this section must refresh ALL the
- ; IR files, including those that are installed by IRXFER.INF
- ; and IRMINI.INF during IR3 installation.
- ;
- CopyFiles = Driver_Copy, Media_Copy, Help_Copy, Ctrl_Panel_Copy, IrXfer_Win, IrXfer_Sys, IrXfer_Wav, IrXfer_Hlp
- AddReg = Generic_AddReg ; this is redundant but probably good to refresh reg when IR installed
-
-
-
- [ComPort_Install]
- CopyFiles = PortDrv_Copy
- AddReg = ComPort_AddReg
-
- [LptPort_Install]
- CopyFiles = PortDrv_Copy
- AddReg = LptPort_AddReg
-
-
- [CPL_Install]
- ;
- ; Do not rename
- ; This section gets installed by a call from infrared.dll
- ; during infrared _device_ setup (as opposed to infrared class setup).
- ; This way, the control panel applet doesn't arrive until there's
- ; an infrared device installed.
- ;
- CopyFiles=Ctrl_Panel_Copy
-
- [Uninstall_Infrared]
- DelFiles = Driver_Copy, Ctrl_Panel_Copy, Help_Copy, PortDrv_Copy, Media_Copy, IrXfer_Win, IrXfer_Sys, IrXfer_Wav, IrXfer_Hlp
- AddReg = Uninstall_AddReg
- DelReg = Uninstall_DelReg
-
-
- ;*************************************************************************
- ;*
- ;*
- ;*
- ;*************************************************************************
- [Manufacturer]
-
- %StrMicrosoft%=Microsoft_IR
-
- %StrVendorNone%=IR2_DONGLE_SUPPORT_SECTION
-
-
-
- [Microsoft_IR]
-
- ;
- ; Do not remove or rename this 'IRDEVICE' device.
- ; Its definition here is required so that the IR class installer
- ; can add some infrared device, which enables its enumerator, IRENUM,
- ; to start up at boot time.
- ;
- %StrIRDevice%=Generic_Install, IRDEVICE
-
-
- %StrCOM%=ComPort_Install,Infrared\COM
- %StrLPT%=LptPort_Install,Infrared\LPT
-
-
- [IR2_DONGLE_SUPPORT_SECTION]
- ;
- ; These dongle devices appear here only to make IR 2.0 work
- ; in Memphis. When a user upgrades OSR2 to Memphis, with an SIR device
- ; installed, we leave IR 2.0 running. We don't want the old device
- ; to appear yellow-banged, so we trivially support the dongle devices here.
- ;
- %StrESIJetEye%= NULL_INSTALL_SECTION, Infrared\ExtSys
- %StrAIRport9320%= NULL_INSTALL_SECTION, Infrared\Adaptec
- %StrTravelMate%= NULL_INSTALL_SECTION, Infrared\TI5000
- %StrACTIR200L%= NULL_INSTALL_SECTION, Infrared\ACT-IR200L
- %StrACTIR220L%= NULL_INSTALL_SECTION, Infrared\ACT-IR220L
- %StrParallax%= NULL_INSTALL_SECTION, Infrared\Parallax
- %StrPHASIR%= NULL_INSTALL_SECTION, Infrared\PHASIR
- %StrAIRport1000%= NULL_INSTALL_SECTION, Infrared\Adaptec
-
- ;
- ; On Memphis-to-Memphis over-install, the name of the registry key
- ; under Enum\Root can become the new HardwareID.
- ; If we're still running IR2 from a previous OSR2 installation,
- ; we don't want this device to become class-Unknown.
- ; So trivially support this id, also.
- ;
- ""= NULL_INSTALL_SECTION, Infrared
-
-
- [NULL_INSTALL_SECTION]
-
-
-
- [ControlFlags]
- ExcludeFromSelect=Infrared\COM
- ExcludeFromSelect=Infrared\LPT
-
-
- ;*************************************************************************
- ;*
- ;* Destination directories for each file section
- ;*
- ;*************************************************************************
- [DestinationDirs]
- Class_Copy = 11 ; LDID_SYS
- DefaultDestDir = 11 ; LDID_SYS
- INF_Copy = 17 ; LDID_INF
- Help_Copy = 18 ; LDID_HELP
- Media_Copy = 10,media ; LDID_MEDIA
-
-
- IrXfer_Win = 25 ; LDID_SHARED
- IrXfer_Sys = 11
- IrXfer_Wav = 10,Media
- IrXfer_Hlp = 18
-
-
-
- ;*************************************************************************
- ;*
- ;* File sections
- ;*
- ;*************************************************************************
-
- [Class_Copy]
- infrared.dll,,,1
- ir_ndi.dll,,,1
-
-
-
- [Driver_Copy]
- ircomm.vxd,,,32
- irenum.vxd,,,32
- irlamp.vxd,,,32
- wsirda.vxd,,,32
- fastir.vxd,,,32
- irdalan.sys,,,32
-
- ;
- ; This is a NULL irlapfrm.vxd (no code) with updated version info.
- ; HP setup for IR printers depends on a binary with this name to detect
- ; a Microsoft IR stack.
- ;
- irlapfrm.vxd,,,32
-
- ;
- ; Need to refresh irmini.sys here when we do a Memphis over-install
- ; on a machine with a non-PnP SIR device which already has IR3 installed.
- ;
- irmini.sys,,,32
-
-
-
-
- [Ctrl_Panel_Copy]
-
- ;
- ; NOTE:
- ; '0' means no reboot msg
- ; We do not want to put up a reboot msg when copying these files
- ; because setup is not complete at this point.
- ;
- infrared.cpl,,,0
- irmon.exe,,,0
-
-
- [Help_Copy]
- infrared.hlp,,,32
- infrared.cnt,,,32
-
- [Media_Copy]
- ir_inter.wav,,,32
- ir_begin.wav,,,32
- ir_end.wav,,,32
-
- [PortDrv_Copy]
- ircomm.vxd,,,32
-
-
- [INF_Copy]
- infrared.inf
- irxfer.inf
- fastir.inf
- irdalan.inf
- ibm4mir.inf
- irmini.inf
- msports.inf
- tos4mu.inf
- tos4mo.inf
- nscirda.inf
- wbfirpio.inf
- alifir.inf
- smcirda.inf
-
- [IrXfer_Win]
- IrXfer.exe,,,32
-
- [IrXfer_Sys]
- IrShell.dll,,,32
-
- [IrXfer_Wav]
- Ir_New.wav,,,32
-
- [IrXfer_Hlp]
- IrXfer.hlp,,,32
- IrXfer.cnt,,,32
-
-
-
- ;*************************************************************************
- ;*
- ;* Registry change sections
- ;*
- ;*************************************************************************
- [ClassAddReg]
- ;HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%Short.Desc%,DisplayName,0,%Infrared.Desc%
- ;HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%Short.Desc%\OEM,,,""
- ;HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%Short.Desc%,UninstallString,0,"RunDll setupx.dll,InstallHinfSection Uninstall_Infrared 2 infrared.inf"
- ;HKLM,Enum\INFRARED,Installed,0,"0" ;- don't want to clear this on Memphis over-install if IR3 already installed
- HKR,,,0,%Class.Desc%
- HKR,,Installer,0,infrared.dll
- HKR,,Icon,0,0
- HKR,,SilentInstall,0,1
-
- [Generic_AddReg]
- HKLM,System\CurrentControlSet\Services\VxD\Winsock,IrSockets,0,wsirda.vxd
- HKLM,Enum\INFRARED\KnownDevices,*PNP0510,0,"*PNP0510"
- HKLM,Enum\INFRARED\KnownDevices,*PNP0511,0,"*PNP0511"
- HKLM,Enum\INFRARED\KnownDevices,IRMINI,0,"IRMINI" ; Microsoft
- HKLM,Enum\INFRARED\KnownDevices,IBM4MIR,0,"IBM4MIR" ; IBM
- HKLM,Enum\INFRARED\KnownDevices,PC87108,0,"PC87108" ; NSC
- HKLM,Enum\INFRARED\KnownDevices,LZ9AT32,0,"LZ9AT32" ; Sharp
- HKLM,Enum\INFRARED\KnownDevices,*TOS7009,0,"*TOS7009" ; Toshiba TOS4MU
- HKLM,Enum\INFRARED\KnownDevices,PCI\VEN_1179&DEV_0701,0,"PCI\VEN_1179&DEV_0701" ; Toshiba TOS4MO
- HKLM,Enum\INFRARED\KnownDevices,*ALI5123,0,"*ALI5123" ; Acer
- HKLM,Enum\INFRARED\KnownDevices,*SMCF010,0,"*SMCF010" ; SMC
- HKLM,Enum\INFRARED\KnownDevices,*WEC0510,0,"*WEC0510" ; Winbond
- HKR,,DevLoader,0,*configmg
- HKR,,Enumerator,0,irenum.vxd
-
- [ComPort_AddReg]
- HKR,,DevLoader,0,*vcomm
- HKR,,Enumerator,0,irenum.vxd
- HKR,,PortDriver,0,ircomm.vxd
- HKR,,PortSubClass,1,01
-
- [LptPort_AddReg]
- HKR,,DevLoader,0,*vcomm
- HKR,,Enumerator,0,irenum.vxd
- HKR,,PortDriver,0,ircomm.vxd
- HKR,,PortSubClass,1,00
-
- [Uninstall_AddReg]
- ; Clean up the Net\000* entries on reboot
- HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,IR3FinishUninstall,0,"RunDll infrared.dll,Uninstall_CleanNetEntries"
-
- [Uninstall_DelReg]
- HKLM,Enum\Root\Infrared
- HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%Short.Desc%
- HKLM,System\CurrentControlSet\Services\Class\Infrared\0000
- HKLM,System\CurrentControlSet\Services\Class\Infrared\0001
- HKLM,System\CurrentControlSet\Services\Class\Infrared\0002
- HKLM,System\CurrentControlSet\Services\Class\Infrared\0003
- HKLM,System\CurrentControlSet\Services\Class\Infrared\0004
- HKLM,System\CurrentControlSet\Services\Class\Infrared\0005
- HKLM,System\CurrentControlSet\Services\Class\Infrared\0006
- HKLM,System\CurrentControlSet\Services\Class\Infrared\0007
- HKLM,System\CurrentControlSet\Services\Class\Infrared\0008
- HKLM,System\CurrentControlSet\Services\Class\Infrared\0009
- HKLM,System\CurrentControlSet\Services\VxD\Winsock,IrSockets
- HKCU,AppEvents\EventLabels\InfraredBeginCommunication
- HKCU,AppEvents\EventLabels\InfraredBeginDeviceInRange
- HKCU,AppEvents\EventLabels\InfraredEndCommunication
- HKCU,AppEvents\EventLabels\InfraredEndDeviceInRange
- HKCU,AppEvents\EventLabels\InfraredInterrupted
- HKCU,AppEvents\Schemes\Apps\.Default\InfraredBeginCommunication
- HKCU,AppEvents\Schemes\Apps\.Default\InfraredBeginDeviceInRange
- HKCU,AppEvents\Schemes\Apps\.Default\InfraredEndCommunicaton
- HKCU,AppEvents\Schemes\Apps\.Default\InfraredEndDeviceInRange
- HKCU,AppEvents\Schemes\Apps\.Default\InfraredInterrupted
- ; Uninstall IrXfer
- HKCR,CLSID\{00435ae0-bffb-11cf-a9d8-00aa00423596}
- HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{00435ae0-bffb-11cf-a9d8-00aa00423596}
- HKLM,Software\Microsoft\Windows\CurrentVersion\Run,IrXfer
- HKCU,AppEvents\EventLabels\InfraredNewFiles
- HKCU,AppEvents\Schemes\Apps\.Default\InfraredNewFiles
- HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\IrXfer
-
- ;*************************************************************************
- ;*
- ;* Localizable strings
- ;*
- ;*************************************************************************
- [Strings]
- StrMicrosoft = "Microsoft"
- StrIBM = "IBM"
- StrNSC = "National Semiconductor"
- StrSharp = "Sharp"
- StrFASTIR.510 = "IrDA Infrared Communication Device"
- StrFASTIR.511 = "Infrared Communication Device"
- StrCOM = "Infrared Serial (COM) Port"
- StrLPT = "Infrared Printing (LPT) Port"
- Class.Desc = "Infrared devices"
- Short.Desc = "Infrared Communications"
- Infrared.Desc = "Infrared Support for Windows, Version 3.0"
-
- StrVendorNone = "(None)"
-
-
- ;
- ; Names of old IR2.0 devices
- ;
- StrESIJetEye = "JetEye PC Infrared PC Interface (ESI-9680)"
- StrAIRport9320 = "AIRport APA-9320 External Infrared Adapter"
- StrTravelMate = "TI TravelMate 5000 Laptop"
- StrACTIR200L = "ACT-IR200L Infrared Wireless Interface"
- StrACTIR220L = "ACT-IR220L Infrared Wireless Interface"
- StrParallax = "Parallax LiteLink PRA9500A"
- StrPHASIR = "AMP PHASIR"
- StrAIRport1000 = "Adaptec AIRport 1000"
-
-
- ;
- ; HESITATE before changing this -- the class installer looks for it.
- ; StrIRDevice must EXACTLY match IDS_IR_DEVICE in INFRARED.DLL's resources
- ; (\\redrum\...\net\vxd\ir\ir3class\infrared.rc).
- ;
- StrIRDevice = "Infrared Communication Device"
-