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.

245 lines
6.9 KiB

  1. ; This is the Setup information file to install optional components
  2. ; Copyright (c) 1996 Microsoft Corporation
  3. [version]
  4. signature="$Windows NT$"
  5. ClassGUID={00000000-0000-0000-0000-000000000000}
  6. LayoutFile=layout.inf
  7. [DestinationDirs]
  8. ChatCopyFilesSys = 11 ;LDID_SYSTEM
  9. ChatCopyFilesHelp = 18 ;LDID_HELP
  10. DialerCopyFilesProg = 16422 ,%Dialer_DIR% ; DIRID_PROGRAM_FILES
  11. DialerCopyFilesHelp = 18 ;LDID_HELP
  12. DialerCopyFilesSys = 11 ;LDID_SYSTEM
  13. HypertrmCopyFilesProg = 16422,%Hypertrm_DIR% ; DIRID_PROGRAM_FILES
  14. HypertrmCopyFilesSys = 11
  15. HypertrmCopyFilesHelp = 18 ;LDID_HELP
  16. HypertrmCopyFilesConfig = 53,%HypertrmProfile_DIR%
  17. HypertrmDelFilesProg = 16422,%Hypertrm_DIR% ; DIRID_PROGRAM_FILES
  18. [Optional Components]
  19. CommApps ;Top level option
  20. Chat
  21. Dialer
  22. Hypertrm
  23. [CommApps]
  24. OptionDesc = %CommApps_DESC%
  25. Tip = %CommApps_TIP%
  26. IconIndex = 7 ;Telephone mini-icon for dialogs
  27. Parent = AccessUtil
  28. [Chat]
  29. OptionDesc = %Chat_DESC%
  30. Tip = %Chat_TIP%
  31. IconIndex = 16 ;Net Client mini-icon for dialogs
  32. Parent = CommApps
  33. CopyFiles = ChatCopyFilesSys, ChatCopyFilesHelp
  34. ProfileItems = ChatUninstallItems, ChatUninstallCommonItems
  35. Uninstall = ChatUninstall
  36. Modes = 0,1,2,3
  37. @i:@@:SizeApproximation = 229376
  38. [ChatUninstall]
  39. DelFiles = ChatCopyFilesSys, ChatCopyFilesHelp
  40. ProfileItems = ChatUninstallItems, ChatUninstallCommonItems
  41. [ChatInstallItems]
  42. Name = %Chat_DESC%
  43. CmdLine = 11,, winchat.exe
  44. SubDir = %Access_GROUP%
  45. WorkingDir = 11
  46. InfoTip = "@%SystemRoot%\system32\shell32.dll,-22583"
  47. DisplayResource="%SystemRoot%\system32\shell32.dll",22071
  48. [ChatUninstallItems]
  49. Name = %Chat_DESC%,0x00000003
  50. Subdir = %Access_GROUPOLD%
  51. [ChatUninstallCommonItems]
  52. Name = %Chat_DESC%,0x00000002
  53. Subdir = %Access_GROUP%
  54. [Dialer]
  55. OptionDesc = %Dialer_DESC%
  56. Tip = %Dialer_TIP%
  57. IconIndex = 47 ;Phone mini-icon for dialogs
  58. Parent = CommApps
  59. CopyFiles = DialerCopyFilesProg, DialerCopyFilesHelp, DialerCopyFilesSys
  60. AddReg = DialerAddReg
  61. ProfileItems = DialerUninstallItems, CommunicationInstallItems
  62. Uninstall = DialerUninstall
  63. Upgrade = DialerUpgrade
  64. Modes = 0,1,2,3
  65. RegisterDlls = DialerRegSvr
  66. @i:@@:SizeApproximation = 880128
  67. [DialerUninstall]
  68. DelFiles = DialerCopyFilesProg, DialerCopyFilesHelp, DialerCopyFilesSys
  69. DelReg = DialerDelReg
  70. ProfileItems = DialerUninstallItems, DialerUninstallCommonItems
  71. UnregisterDlls = DialerRegSvr
  72. [DialerUninstallItems]
  73. Name = %Dialer_DESC%,0x00000003
  74. Subdir = %Access_GROUPOLD%
  75. [DialerUninstallCommonItems]
  76. Name = %Dialer_DESC%,0x00000002
  77. Subdir = %Access_GROUP%
  78. [DialerRegSvr]
  79. 11,,avtapi.dll, 1
  80. [Hypertrm]
  81. OptionDesc = %Hypertrm_DESC%
  82. Tip = %Hypertrm_TIP%
  83. IconIndex = 35 ;Phone mini-icon for dialogs
  84. Parent = CommApps
  85. CopyFiles = HypertrmCopyFilesProg, HypertrmCopyFilesSys, HypertrmCopyFilesHelp
  86. DelFiles = HypertrmDelFilesProg,HypertrmCopyFilesConfig
  87. AddReg = HypertrmAddReg
  88. ProfileItems = HypertrmUninstallItems, HypertrmUninstallItemsGroup, HypertrmInstallItems, CommunicationInstallItems
  89. Uninstall = HypertrmUninstall
  90. Modes = 0,1,2,3
  91. @i:SizeApproximation = 650240
  92. [HypertrmUninstall]
  93. DelFiles = HypertrmCopyFilesProg, HypertrmCopyFilesSys, HypertrmCopyFilesHelp, HypertrmCopyFilesConfig
  94. DelReg = HypertrmDelReg
  95. ProfileItems = HypertrmUninstallItems, HypertrmUninstallCommonItems
  96. [HypertrmInstallItems]
  97. Name = %Hypertrm_DESC%
  98. CmdLine = 16422, %Hypertrm_DIR%, hypertrm.exe
  99. SubDir = %Access_GROUP%
  100. WorkingDir = ,%Hypertrm_DIR%
  101. InfoTip = "@%SystemRoot%\system32\shell32.dll,-22543"
  102. DisplayResource="%SystemRoot%\system32\shell32.dll",22031
  103. [HypertrmUninstallItems]
  104. Name = %Hypertrm_DESC%,0x00000003
  105. Subdir = %Hypertrm_GROUPOLD%
  106. [HypertrmUninstallItemsGroup]
  107. Name = %Hypertrm_GROUPOLD%,0x00000007
  108. [HypertrmUninstallCommonItems]
  109. Name = %Hypertrm_DESC%,0x00000002
  110. Subdir = %Access_GROUP%
  111. [ChatCopyFilesSys]
  112. winchat.exe
  113. [ChatCopyFilesSys.Security]
  114. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  115. [ChatCopyFilesHelp]
  116. winchat.chm
  117. winchat.hlp
  118. [ChatCopyFilesHelp.Security]
  119. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)"
  120. [DialerCopyFilesProg]
  121. dialer.exe
  122. [DialerCopyFilesProg.Security]
  123. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)"
  124. [DialerCopyFilesSys]
  125. avtapi.dll
  126. avmeter.dll
  127. avwav.dll
  128. [DialerCopyFilesSys.Security]
  129. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  130. [DialerCopyFilesHelp]
  131. dialer.chm
  132. dialer.hlp
  133. [DialerCopyFilesHelp.Security]
  134. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)"
  135. [DialerAddReg]
  136. HKLM,"%KEY_APP_PATH%\dialer.exe",,,"%16422%\%Dialer_DIR%\dialer.exe"
  137. [DialerDelReg]
  138. HKLM,"%KEY_APP_PATH%\dialer.exe"
  139. [HypertrmCopyFilesProg]
  140. hypertrm.exe
  141. htrn_jis.dll
  142. [HypertrmCopyFilesProg.Security]
  143. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)"
  144. [HypertrmCopyFilesSys]
  145. hticons.dll
  146. hypertrm.dll
  147. [HypertrmCopyFilesSys.Security]
  148. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  149. [HypertrmCopyFilesHelp]
  150. [HypertrmCopyFilesHelp.Security]
  151. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)"
  152. [HypertrmDelFilesProg]
  153. hypertrm.dll
  154. [HypertrmAddReg]
  155. @*:;begin_sld_ShellHyperterminal
  156. HKLM,"%KEY_APP_PATH%\hypertrm.exe",,,"""%16422%\%Hypertrm_DIR%\hypertrm.exe"""
  157. HKCR,.ht,,,htfile
  158. HKCR,htfile,,,"%HypTrm_File%"
  159. HKCR,htfile\DefaultIcon,,,%%1
  160. HKCR,htfile\shell\open\command,,,"""%16422%\%Hypertrm_DIR%\HYPERTRM.EXE"" %%1"
  161. HKCR,htfile\shellex\PropertySheetHandlers,,,TermPage
  162. HKCR,htfile\shellex\PropertySheetHandlers\TermPage,,,{1B53F360-9A1B-1069-930C-00AA0030EBC8}
  163. HKCR,htfile\shellex\IconHandler,,,{88895560-9AA2-1069-930E-00AA0030EBC8}
  164. HKCR,CLSID\{1B53F360-9A1B-1069-930C-00AA0030EBC8},,,"HyperTerminal Connection Page Ext"
  165. HKCR,CLSID\{1B53F360-9A1B-1069-930C-00AA0030EBC8}\InProcServer32,,,"%11%\hypertrm.dll"
  166. HKCR,CLSID\{1B53F360-9A1B-1069-930C-00AA0030EBC8}\InProcServer32,ThreadingModel,,"Apartment"
  167. HKCR,CLSID\{88895560-9AA2-1069-930E-00AA0030EBC8},,,"HyperTerminal Icon Ext"
  168. HKCR,CLSID\{88895560-9AA2-1069-930E-00AA0030EBC8}\InProcServer32,,,"%11%\hticons.dll"
  169. HKCR,CLSID\{88895560-9AA2-1069-930E-00AA0030EBC8}\InProcServer32,ThreadingModel,,"Apartment"
  170. @*:;end_sld_ShellHyperterminal
  171. [HypertrmDelReg]
  172. HKLM,"%KEY_APP_PATH%\hypertrm.exe"
  173. @*: This creates the Communications Group so it's MUI enabled
  174. [CommunicationInstallItems]
  175. Name = %Access_GROUP%,0x00000004
  176. DisplayResource="%SystemRoot%\system32\shell32.dll",21768