Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

167 lines
6.4 KiB

  1. ;*********************************************************************************
  2. ;*
  3. ;*
  4. ;* IRXFER.INF
  5. ;*
  6. ;* This is the Setup information file to install the
  7. ;* Microsoft Infrared Transfer application
  8. ;*
  9. ;* Copyright (c) 1993,1995 Microsoft Corporation
  10. ;*
  11. ;*
  12. ;*********************************************************************************
  13. [Version]
  14. Signature=$CHICAGO$
  15. SetupClass=BASE
  16. ;*********************************************************************************
  17. ;*
  18. ;* Destination directories for each file section
  19. ;*
  20. ;*********************************************************************************
  21. [DestinationDirs]
  22. IrXfer_Inf = 17 ; LDID_INF
  23. IrXfer_Win = 25 ; LDID_SHARED
  24. IrXfer_Sys = 11 ; LDID_SYS
  25. IrXfer_Wav = 10,Media ; LDID_MEDIA
  26. IrXfer_Hlp = 18 ; LDID_HELP
  27. Sockets_Sys = 11 ; LDID_SYS
  28. ;*********************************************************************************
  29. ;*
  30. ;* Entrypoint for install
  31. ;*
  32. ;*********************************************************************************
  33. [DefaultInstall]
  34. CopyFiles = IrXfer_Inf, IrXfer_Win, IrXfer_Sys, IrXfer_Wav, IrXfer_Hlp, Sockets_Sys
  35. AddReg = IrXfer_Install_Reg
  36. UpdateInis = IrXfer_Install_Inis
  37. ;*********************************************************************************
  38. ;*
  39. ;* Entrypoint for uninstall
  40. ;*
  41. ;*********************************************************************************
  42. [IrXfer_Remove]
  43. DelFiles = IrXfer_Inf, IrXfer_Win, IrXfer_Sys, IrXfer_Wav, IrXfer_Hlp
  44. DelReg = IrXfer_Remove_Reg
  45. UpdateInis = IrXfer_Remove_Inis
  46. ;*********************************************************************************
  47. ;*
  48. ;* file sections
  49. ;*
  50. ;*********************************************************************************
  51. [IrXfer_Inf]
  52. IrXfer.inf
  53. [IrXfer_Win]
  54. IrXfer.exe
  55. [IrXfer_Sys]
  56. IrShell.dll
  57. [IrXfer_Wav]
  58. Ir_New.wav
  59. [IrXfer_Hlp]
  60. IrXfer.hlp
  61. IrXfer.cnt
  62. [Sockets_Sys]
  63. WsIrda.vxd
  64. ;*********************************************************************************
  65. ;*
  66. ;* INI modifications for install/uninstall
  67. ;*
  68. ;*********************************************************************************
  69. [IrXfer_Install_Inis]
  70. setup.ini, progman.groups,, "group11=""..\..\%SendTo_Folder%""" ;creates folder
  71. setup.ini, group11,,"""%SendTo_IconName%"", IrXfer.exe" ;create Link to EXE
  72. [IrXfer_Remove_Inis]
  73. setup.ini, progman.groups,, "group11=""..\..\%SendTo_Folder%""" ;creates folder
  74. setup.ini, group11,,"""%SendTo_IconName%""" ;delete Link to EXE
  75. ;*********************************************************************************
  76. ;*
  77. ;* Registry modifications for install/uninstall
  78. ;*
  79. ;*********************************************************************************
  80. [IrXfer_Install_Reg]
  81. ; IR Recipient Class
  82. HKCR,CLSID\{00435ae0-bffb-11cf-a9d8-00aa00423596},,,"%Icon_Name%"
  83. HKCR,CLSID\{00435ae0-bffb-11cf-a9d8-00aa00423596}\InProcServer32,,,"%11%\IrShell.dll"
  84. HKCR,CLSID\{00435ae0-bffb-11cf-a9d8-00aa00423596}\InProcServer32,ThreadingModel,,"Apartment"
  85. HKCR,CLSID\{00435ae0-bffb-11cf-a9d8-00aa00423596}\shellex\ContextMenuHandlers\{00435ae0-bffb-11cf-a9d8-00aa00423596}
  86. HKCR,CLSID\{00435ae0-bffb-11cf-a9d8-00aa00423596}\ShellFolder,Attributes,1,00,01,00,40
  87. ;;;;;Properties not grayed out;;;;;HKCR,CLSID\{00435ae0-bffb-11cf-a9d8-00aa00423596}\ShellFolder,Attributes,1,40,01,00,40
  88. HKCR,CLSID\{00435ae0-bffb-11cf-a9d8-00aa00423596}\DefaultIcon,,,"IrXfer.exe,0"
  89. HKCR,CLSID\{00435ae0-bffb-11cf-a9d8-00aa00423596}\Shell\Open\Command,,,"IrXfer.exe /S"
  90. ; Put IR Recipient in MyComputer Folder
  91. HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{00435ae0-bffb-11cf-a9d8-00aa00423596},,,"%Icon_Name%"
  92. ; Run IrXfer on Startup
  93. HKLM,Software\Microsoft\Windows\CurrentVersion\Run,IrXfer,,"IrXfer.exe /Q"
  94. ; Register the IR Sockets Provider
  95. HKLM,System\CurrentControlSet\Services\VxD\Winsock,"IPX/SPX Winsock Provider",,"wsipx.vxd"
  96. HKLM,System\CurrentControlSet\Services\VxD\Winsock,"Ancillary Function Driver for Winsock",,"afvxd.vxd"
  97. HKLM,System\CurrentControlSet\Services\VxD\Winsock,"IrSockets",,"wsirda.vxd"
  98. ; Receive Files Sound
  99. HKCU,AppEvents\EventLabels\InfraredNewFiles,,,"%RecvSound_Desc%"
  100. HKCU,AppEvents\Schemes\Apps\.Default\InfraredNewFiles\.current,,,"%10%\media\ir_new.wav"
  101. HKCU,AppEvents\Schemes\Apps\.Default\InfraredNewFiles\.Default,,,"%10%\media\ir_new.wav"
  102. ; Register with Add/Remove Programs
  103. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\IrXfer,DisplayName,,"%Uninstall%"
  104. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\IrXfer,UninstallString,,"RunDll setupx.dll,InstallHinfSection IrXfer_Remove 2 irxfer.inf"
  105. [IrXfer_Remove_Reg]
  106. ; Remove IR Recipient Class
  107. HKCR,CLSID\{00435ae0-bffb-11cf-a9d8-00aa00423596}
  108. ; Remove IR Recipient from MyComputer Folder
  109. HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{00435ae0-bffb-11cf-a9d8-00aa00423596}
  110. ; Don't Run IrXfer on Startup
  111. HKLM,Software\Microsoft\Windows\CurrentVersion\Run,IrXfer
  112. ; Remove Receive Files Sound
  113. HKCU,AppEvents\EventLabels\InfraredNewFiles
  114. HKCU,AppEvents\Schemes\Apps\.Default\InfraredNewFiles
  115. ; UnRegister with Add/Remove Programs
  116. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\IrXfer
  117. ;*********************************************************************************
  118. ;*
  119. ;* Install disk - list each file to copy and its size for accurate copy progress
  120. ;*
  121. ;*********************************************************************************
  122. [SourceDisksNames]
  123. 72=%InstallDisk%, "", 0001
  124. [SourceDisksFiles]
  125. Ir_New.wav = 72,,74722
  126. IrShell.dll = 72,,29184
  127. IrXfer.cnt = 72,,898
  128. IrXfer.exe = 72,,66048
  129. IrXfer.hlp = 72,,10340
  130. IrXfer.inf = 72,,4984
  131. WsIrda.vxd = 72,,23423
  132. ;*********************************************************************************
  133. ;*
  134. ;* Strings that may need to be localized
  135. ;*
  136. ;*********************************************************************************
  137. [Strings]
  138. InstallDisk = "Microsoft Infrared Transfer Setup"
  139. Uninstall = "Microsoft Infrared Transfer"
  140. Icon_Name = "Infrared Recipient" ; Name of Infrared Recipient icon
  141. RecvSound_Desc = "Infrared: New Files Notification" ; Title of sound played when files are received
  142. SendTo_Folder = "SendTo" ; Name of SendTo folder in the Windows dir
  143. SendTo_IconName = "Infrared Recipient" ; Name for IR transfer app in SendTo menu