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.

200 lines
6.8 KiB

  1. ;
  2. ; Registry entries for cdfview.dll
  3. ;
  4. [Version]
  5. Signature="$CHICAGO$"
  6. [Reg]
  7. AddReg=CdfView.Reg
  8. [Unreg]
  9. DelReg=CdfView.Unreg
  10. [CdfView.Reg]
  11. ;
  12. ; Class id registration for the cdf files COM object.
  13. ;
  14. HKCR,CLSID\%CLSID_CDFVIEW%,,,"Channel"
  15. HKCR,CLSID\%CLSID_CDFVIEW%\InProcServer32,,131072,%_SYS_MOD_PATH%
  16. HKCR,CLSID\%CLSID_CDFVIEW%\InProcServer32,"ThreadingModel",,"Apartment"
  17. HKCR,CLSID\%CLSID_CDFVIEW%\ProgID,,,"ChannelFile"
  18. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","%CLSID_CDFVIEW%",,"%CHANNEL_FILE%"
  19. ;
  20. ; Class id registration for the ChannelMgr COM object.
  21. ;
  22. HKCR,CLSID\%CLSID_ChannelMgr%,,,"Channel Mgr"
  23. HKCR,CLSID\%CLSID_ChannelMgr%\InProcServer32,,131072,%_SYS_MOD_PATH%
  24. HKCR,CLSID\%CLSID_ChannelMgr%\InProcServer32,"ThreadingModel",,"Apartment"
  25. ;
  26. ; Class id registration for the cdf shortcuts COM object.
  27. ;
  28. HKCR,CLSID\%CLSID_CDFINI%,,,"%CHANNEL_SHORTCUT%"
  29. HKCR,CLSID\%CLSID_CDFINI%\InProcServer32,,131072,%_SYS_MOD_PATH%
  30. HKCR,CLSID\%CLSID_CDFINI%\InProcServer32,"ThreadingModel",,"Apartment"
  31. HKCR,CLSID\%CLSID_CDFINI%\ProgID,,,"ChannelShortcut"
  32. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","%CLSID_CDFINI%",,"%CHANNEL_SHORTCUT%"
  33. ;
  34. ; Class id registration for the cdf handler COM object.
  35. ;
  36. HKCR,CLSID\%CLSID_CDFICONHANDLER%,,,"%DESC_CDFICONHANDLER%"
  37. HKCR,CLSID\%CLSID_CDFICONHANDLER%\InProcServer32,,131072,%_SYS_MOD_PATH%
  38. HKCR,CLSID\%CLSID_CDFICONHANDLER%\InProcServer32,"ThreadingModel",,"Apartment"
  39. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","%CLSID_CDFICONHANDLER%",,"%DESC_CDFICONHANDLER%"
  40. ;
  41. ; Class id registration for the cdf menu handler COM object.
  42. ;
  43. HKCR,CLSID\%CLSID_CDFMENUHANDLER%,,,"Channel Menu Handler Object"
  44. HKCR,CLSID\%CLSID_CDFMENUHANDLER%\InProcServer32,,131072,%_SYS_MOD_PATH%
  45. HKCR,CLSID\%CLSID_CDFMENUHANDLER%\InProcServer32,"ThreadingModel",,"Apartment"
  46. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","%CLSID_CDFMENUHANDLER%",,"Channel Menu"
  47. ;
  48. ; Class id registration for the cdf property page COM object.
  49. ;
  50. HKCR,CLSID\%CLSID_CDFPROPPAGES%,,,"Channel Shortcut Property Pages"
  51. HKCR,CLSID\%CLSID_CDFPROPPAGES%\InProcServer32,,131072,%_SYS_MOD_PATH%
  52. HKCR,CLSID\%CLSID_CDFPROPPAGES%\InProcServer32,"ThreadingModel",,"Apartment"
  53. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","%CLSID_CDFPROPPAGES%",,"Channel Properties"
  54. ;
  55. ; ".cdf" file extension registration.
  56. ;
  57. HKCR,.cdf,,,"ChannelFile"
  58. HKCR,.cdf,%CONTENT_TYPE%,,"application/x-cdf"
  59. ;
  60. ; Channel file
  61. ;
  62. ;
  63. ; Do NOT change the "ChannelFile" reg entry name. Shdocvw has an 'App Hack'
  64. ; that depends on this name!
  65. ;
  66. HKCR,ChannelFile,,,%CHANNEL_FILE%
  67. HKCR,ChannelFile,"EditFlags",1,00,00,01,00
  68. HKCR,ChannelFile,"FriendlyTypeName",0x00020002,"@%SystemRoot%\System32\cdfview.dll,-4610"
  69. HKCR,ChannelFile\CLSID,,,%CLSID_CDFVIEW%
  70. HKCR,ChannelFile\DefaultIcon,,,"%%1"
  71. HKCR,ChannelFile\Shell,,,Subscribe
  72. HKCR,ChannelFile\Shell\Subscribe,,,"%SUBSCRIBE%"
  73. HKCR,ChannelFile\Shell\Subscribe\Command,,,"rundll32 %CDFVIEW_DLL%,Subscribe %%L"
  74. HKCR,ChannelFile\Shell\Edit,,,"%EDIT%"
  75. HKCR,ChannelFile\Shell\Edit\Command,,,"notepad.exe %%1"
  76. HKCR,ChannelFile\Shell\Open\Command,,,"explorer /root,%CLSID_CDFVIEW%,%%L"
  77. HKCR,ChannelFile\Shell\Explore\Command,,,"explorer /e,/root,%CLSID_CDFVIEW%,%%L"
  78. HKCR,ChannelFile\Shell\OpenChannel,,,"%OPEN_CHANNEL%"
  79. HKCR,ChannelFile\Shell\OpenChannel\Command,,,"rundll32 %CDFVIEW_DLL%,OpenChannel %%L"
  80. HKCR,ChannelFile\ShellEx\IconHandler,,,"%CLSID_CDFICONHANDLER%"
  81. HKCR,ChannelFile\ShellEx\%IID_IExtractImage%,,,%CLSID_CDFICONHANDLER%
  82. HKCR,ChannelFile\ShellEx\%IID_IShellLink%,,,%CLSID_CDFICONHANDLER%
  83. HKCR,ChannelFile\ShellEx\%IID_IQueryInfo%,,,%CLSID_CDFICONHANDLER%
  84. HKCR,ChannelFile\ShellFolder,"Attributes",1,a0,01,00,A0
  85. ;
  86. ; Channel shortcut
  87. ;
  88. HKCR,ChannelShortcut,,,%CHANNEL_SHORTCUT%
  89. HKCR,ChannelShortcut\CLSID,,,%CLSID_CDFINI%
  90. HKCR,ChannelShortcut\DefaultIcon,,,"%%1"
  91. HKCR,ChannelShortcut\Shell,,,"%OPEN_CHANNEL%"
  92. HKCR,ChannelShortcut\Shell\OpenChannel,,,"%OPEN_CHANNEL%"
  93. HKCR,ChannelShortcut\Shell\OpenChannel\Command,,,"rundll32 %CDFVIEW_DLL%,OpenChannel %%L"
  94. HKCR,ChannelShortcut\ShellEx\IconHandler,,,"%CLSID_CDFICONHANDLER%"
  95. HKCR,ChannelShortcut\ShellEx\ContextMenuHandlers\%CLSID_CDFMENUHANDLER%
  96. HKCR,ChannelShortcut\ShellEx\PropertySheetHandlers\%CLSID_CDFPROPPAGES%
  97. HKCR,ChannelShortcut\ShellEx\%IID_IExtractImage%,,,%CLSID_CDFICONHANDLER%
  98. HKCR,ChannelShortcut\ShellEx\%IID_IExtractLogo%,,,%CLSID_CDFICONHANDLER%
  99. HKCR,ChannelShortcut\ShellEx\%IID_IShellLink%,,,%CLSID_CDFICONHANDLER%
  100. HKCR,ChannelShortcut\ShellEx\%IID_IQueryInfo%,,,%CLSID_CDFICONHANDLER%
  101. HKCR,ChannelShortcut\ShellFolder,"Attributes",1,a0,01,00,A0
  102. ;
  103. ; MIME type registration.
  104. ;
  105. HKCR,MIME\Database\%CONTENT_TYPE%\application/x-cdf,"Extension",,".cdf"
  106. HKCR,MIME\Database\%CONTENT_TYPE%\application/cdf,"Extension",,".cdf"
  107. ;
  108. ; Unregistration entries.
  109. ;
  110. [CdfView.Unreg]
  111. HKCR,CLSID\%CLSID_CDFVIEW%
  112. HKCR,CLSID\%CLSID_ChannelMgr%
  113. HKCR,CLSID\%CLSID_CDFINI%
  114. HKCR,CLSID\%CLSID_CDFICONHANDLER%
  115. HKCR,CLSID\%CLSID_CDFMENUHANDLER%
  116. HKCR,CLSID\%CLSID_CDFPROPPAGES%
  117. HKCR,.cdf
  118. HKCR,ChannelFile
  119. HKCR,ChannelShortcut
  120. HKCR,MIME\Database\%CONTENT_TYPE%\application/x-cdf
  121. HKCR,MIME\Database\%CONTENT_TYPE%\application/cdf
  122. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","%CLSID_CDFVIEW%"
  123. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","%CLSID_CDFINI%"
  124. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","%CLSID_CDFICONHANDLER%"
  125. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","%CLSID_CDFMENUHANDLER%"
  126. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","%CLSID_CDFPROPPAGES%"
  127. ;
  128. ; No longer used entries that should be cleaned up. After a sufficient ammount
  129. ; of time these entries can be removed.
  130. ;
  131. ;From ~build 0802 to build 0813
  132. ;HKCR,MIME\Database\ContentType
  133. ;From build 0810 to build 0813
  134. ;HKCR,MIME\Database\%CONTENT_TYPE%\text/x-cdf
  135. ;From build 0617 to build 0813
  136. ;HKCR,CDFFolder
  137. ;
  138. ; Strings used in registration.
  139. ;
  140. [Strings]
  141. CLSID_CDFVIEW={f39a0dc0-9cc8-11d0-a599-00c04fd64433}
  142. CLSID_CDFINI={f3aa0dc0-9cc8-11d0-a599-00c04fd64434}
  143. CLSID_CDFICONHANDLER={f3ba0dc0-9cc8-11d0-a599-00c04fd64435}
  144. CLSID_ChannelMgr={b3cdae90-d170-11d0-802b-00c04fd75d13}
  145. CLSID_CDFMENUHANDLER={f3da0dc0-9cc8-11d0-a599-00c04fd64437}
  146. CLSID_CDFPROPPAGES={f3ea0dc0-9cc8-11d0-a599-00c04fd64438}
  147. IID_IExtractImage={BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}
  148. IID_IExtractLogo={D4029EC0-0920-11d1-9A0B-00C04FC2D6C1}
  149. IID_IShellLink={000214EE-0000-0000-C000-000000000046}
  150. IID_IQueryInfo={00021500-0000-0000-C000-000000000046}
  151. CONTENT_TYPE="Content Type"
  152. CDFVIEW_DLL="cdfview.dll"
  153. ;
  154. ; Localizable strings.
  155. ;
  156. CHANNEL_FILE="Channel File"
  157. CHANNEL_SHORTCUT="Channel Shortcut"
  158. DESC_CDFICONHANDLER="Channel Handler Object"
  159. OPEN_CHANNEL="Open Channel"
  160. SUBSCRIBE="Make Available Offline"
  161. EDIT="Edit"
  162. [End]