home *** CD-ROM | disk | FTP | other *** search
/ The Affordable Life / Image.iso / MPIE4STD.EXE / pnghost.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1998-09-02  |  10.4 KB  |  223 lines

  1. [Version]
  2. Signature="$Chicago$"
  3. AdvancedINF=2.5, "%ERROR_WRONG_ADVPACK_VERSION%"
  4.  
  5. [DefaultInstall] 
  6. CustomDestination=DSPN.Destination
  7. CopyFiles   =DSPNCopy.INF
  8. AddReg      =DSPNUninstallKey.95, DSPN.Reg
  9. RunPostSetupCommands=DSPN.Register
  10.  
  11. [DefaultInstall.NT]
  12. CustomDestination=DSPN.Destination
  13. CopyFiles   =DSPNCopy.INF
  14. AddReg      =DSPNUninstallKey.NT, DSPN.Reg
  15. RunPostSetupCommands=DSPN.Register
  16.  
  17. [Uninstall]
  18. CustomDestination=DSPN.Destination.Remove
  19. BeginPrompt   =DSPNPrompt.ConfirmUninstall
  20. DelReg        =DSPN.Reg.Delete
  21. DelFiles      =DSPNCopy.INF
  22. EndPrompt     =DSPNPrompt.UninstallComplete
  23. CleanUp=1
  24.  
  25. [Uninstall.NT]
  26. CustomDestination=DSPN.Destination.Remove
  27. BeginPrompt   =DSPNPrompt.ConfirmUninstall
  28. DelReg        =DSPN.Reg.Delete
  29. DelFiles      =DSPNCopy.INF
  30. EndPrompt     =DSPNPrompt.UninstallComplete
  31. CleanUp=1
  32.  
  33. [DSPN.Destination]
  34. 49300,49301,49302=DSPNDirectory,7
  35.  
  36. [DSPN.Destination.Remove]
  37. 49400,49401,49402=DSPNDirectory.Save,5
  38.  
  39. [DestinationDirs]
  40. ;LDID_INF
  41. DSPNCopy.INF  =17
  42.  
  43. [DSPNDirectory]
  44. HKLM,"%KEY_MEDIA_PLAYER%","Installation DirectoryLFN","",""
  45. ,,,"%CONFIRM_ERROR%",""
  46.  
  47. [DSPNDirectory.Save]
  48. HKLM,"%KEY_MEDIA_PLAYER%","PNDir","","%49301%"
  49.  
  50. [DSPNPrompt.UninstallComplete]
  51. Prompt="%PROMPT_UNINSTALL_COMPLETE%"
  52.  
  53. [DSPNPrompt.ConfirmUninstall]
  54. Title="%TITLE_UNINSTALL%"
  55. ButtonType=YESNO
  56. Prompt="%CONFIRM_UNINSTALL%"
  57.  
  58. [DSPNUninstallKey.95] 
  59. HKLM,"Software\Microsoft\MediaPlayer\FilterUninstalls","PN",2,"RunDll32  advpack.dll,LaunchINFSection %17%\%NS_INF_NAME%,Uninstall,1,N"
  60.  
  61. [DSPNUninstallKey.NT] 
  62. HKLM,"Software\Microsoft\MediaPlayer\FilterUninstalls","PN",2,"RunDll32 advpack.dll,LaunchINFSection %17%\%NS_INF_NAME%,Uninstall.NT,1"
  63.  
  64. [DSPN.Register]
  65. ;;This adds the support for RA files, set up by the reg keys above
  66. "%17%\unregmp2.exe" /AddNewExtensions /V6.0
  67.  
  68. [DSPN.Reg]
  69. ;;; Take over the "pnm:" protocol, so people can play progressive content
  70. HKCR,"PNM","Source Filter",2,"{6B6D0803-9ADA-11d0-A520-00A0D10129C0}"
  71. HKCR,"PNM","Animation",,"dxmasf.dll,150"
  72.  
  73. HKCR,"HTTP\Extensions",".RA",2,"{6B6D0803-9ADA-11d0-A520-00A0D10129C0}"
  74. HKCR,"HTTP\Extensions",".RM",2,"{6B6D0803-9ADA-11d0-A520-00A0D10129C0}"
  75.  
  76. HKCR,"HTTP\AnimExtensions",".RA",,"dxmasf.dll,150"
  77. HKCR,"HTTP\AnimExtensions",".RMM",,"dxmasf.dll,150"
  78. HKCR,"HTTP\AnimExtensions",".RM",,"dxmasf.dll,150"
  79. HKCR,"HTTP\AnimExtensions",".RAM",,"dxmasf.dll,150"
  80.  
  81. HKLM,"%KEY_MEDIA_PLAYER%","PNDir","","%49301%"
  82.  
  83. ; .ram: look for pnm:
  84. HKCR,"Media Type\{E436EB83-524F-11CE-9F53-0020AF0BA770}\{A98C8400-4181-11d1-A520-00A0D10129C0}","0",,"0,4,,706e6d3a"
  85. HKCR,"Media Type\{E436EB83-524F-11CE-9F53-0020AF0BA770}\{A98C8400-4181-11d1-A520-00A0D10129C0}","Source Filter",,"{e436ebb5-524f-11ce-9f53-0020af0ba770}"
  86.  
  87. HKCR,"Media Type\Extensions\.ram","Source Filter",,"{e436ebb5-524f-11ce-9f53-0020af0ba770}"
  88. HKCR,"Media Type\Extensions\.ram","Media Type",,"{E436EB83-524F-11CE-9F53-0020AF0BA770}"
  89. HKCR,"Media Type\Extensions\.ram","Subtype",,"{A98C8400-4181-11d1-A520-00A0D10129C0}"
  90.  
  91. HKCR,"Media Type\Extensions\.ra","Animation",,"dxmasf.dll,150"
  92. HKCR,"Media Type\Extensions\.rm","Animation",,"dxmasf.dll,150"
  93. HKCR,"Media Type\Extensions\.ram","Animation",,"dxmasf.dll,150"
  94. HKCR,"Media Type\Extensions\.rmm","Animation",,"dxmasf.dll,150"
  95.  
  96. ;look for PNM?
  97.  
  98. HKCR,"Media Type\{E436EB83-524F-11CE-9F53-0020AF0BA770}\{32CB4536-2EB2-11d1-BD46-00C04FB6B4CA}","0",,"0,4,,2e524d46"
  99. HKCR,"Media Type\{E436EB83-524F-11CE-9F53-0020AF0BA770}\{32CB4536-2EB2-11d1-BD46-00C04FB6B4CA}","1",,"0,4,,2e7261fd"
  100. HKCR,"Media Type\{E436EB83-524F-11CE-9F53-0020AF0BA770}\{32CB4536-2EB2-11d1-BD46-00C04FB6B4CA}","Source Filter",2,"{6B6D0803-9ADA-11d0-A520-00A0D10129C0}"
  101.  
  102. HKLM,"%KEY_MEDIA_PLAYER%\Control\Advanced Options\Streaming Media with RealVideo","Page1",,"{5E544444-764E-11d1-BD5E-00C04FB6B4CA}"
  103. HKLM,"%KEY_MEDIA_PLAYER%\Control\Advanced Options\Streaming Media with RealVideo","Page2",,"{7AEDD30C-7682-11d1-BD5E-00C04FB6B4CA}"
  104. HKLM,"%KEY_MEDIA_PLAYER%\Control\Advanced Options\Streaming Media with RealVideo","Page3",,"{7AEDD30D-7682-11d1-BD5E-00C04FB6B4CA}"
  105. HKLM,"%KEY_MEDIA_PLAYER%\Control\Advanced Options\Streaming Media with RealVideo","Page4",,"{7AEDD30E-7682-11d1-BD5E-00C04FB6B4CA}"
  106.  
  107. HKLM,"%KEY_MEDIA_PLAYER%\Player\Extensions","%FILE_RM% (%TYPE_RM%)",,"%TYPE_RM%"
  108.  
  109. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ra", "AlreadyRegistered",, "no"
  110. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ra", "MediaType.Icon",,"%11%\quartz.dll,-201"
  111. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ra", "MediaType.Description",,"%FILE_RM%"
  112. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ra", "Extension.MIME",,"audio/x-pn-realaudio"
  113. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ra", "Extension.Handler",,"ramFile"
  114. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ra", "MCISupport",,"no"
  115. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ra", "ReplaceApps",,"mplayer2.exe|rvplayer.exe|raplayer.exe|pnclient.exe|iexplore.exe"
  116. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ra", "open=play",,"yes"
  117. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ra", "ReuseExtHandler",,"yes"
  118.  
  119. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ram", "AlreadyRegistered",, "no"
  120. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ram", "MediaType.Icon",,"%11%\quartz.dll,-201"
  121. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ram", "MediaType.Description",,"%FILE_RM%"
  122. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ram", "Extension.MIME",,"audio/x-pn-realaudio"
  123. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ram", "Extension.Handler",,"ramFile"
  124. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ram", "MCISupport",,"no"
  125. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ram", "ReplaceApps",,"mplayer2.exe|rvplayer.exe|raplayer.exe|pnclient.exe|iexplore.exe"
  126. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ram", "open=play",,"yes"
  127. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.ram", "ReuseExtHandler",,"yes"
  128.  
  129. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rm", "AlreadyRegistered",, "no"
  130. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rm", "MediaType.Icon",,"%11%\quartz.dll,-201"
  131. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rm", "MediaType.Description",,"%FILE_RM%"
  132. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rm", "Extension.MIME",,"audio/x-pn-realaudio"
  133. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rm", "Extension.Handler",,"ramFile"
  134. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rm", "MCISupport",,"no"
  135. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rm", "ReplaceApps",,"mplayer2.exe|rvplayer.exe|raplayer.exe|pnclient.exe|iexplore.exe"
  136. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rm", "open=play",,"yes"
  137. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rm", "ReuseExtHandler",,"yes"
  138.  
  139.  
  140. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rmm", "AlreadyRegistered",, "no"
  141. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rmm", "MediaType.Icon",,"%11%\quartz.dll,-201"
  142. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rmm", "MediaType.Description",,"%FILE_RM%"
  143. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rmm", "Extension.MIME",,"audio/x-pn-realaudio"
  144. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rmm", "Extension.Handler",,"ramFile"
  145. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rmm", "MCISupport",,"no"
  146. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rmm", "ReplaceApps",,"mplayer2.exe|rvplayer.exe|raplayer.exe|pnclient.exe|iexplore.exe"
  147. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rmm", "open=play",,"yes"
  148. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Extensions\.rmm", "ReuseExtHandler",,"yes"
  149.  
  150. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\MIME Types\audio/x-pn-realaudio", "AlreadyRegistered",, "no"
  151. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\MIME Types\audio/x-pn-realaudio", ,,"%FILE_RM%"
  152. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\MIME Types\audio/x-pn-realaudio", "Extensions.CommaSep",,"ra,ram,rm,rmm"
  153. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\MIME Types\audio/x-pn-realaudio", "Extensions.SpaceSep",,".ra .ram .rm .rmm"
  154. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\MIME Types\audio/x-pn-realaudio", "Extension.Key",,".ra"
  155. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\MIME Types\audio/x-pn-realaudio", "ReplaceApps",,"mplayer2.exe|rvplayer.exe|raplayer.exe|pnclient.exe|iexplore.exe"
  156.  
  157. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Protocols\pnm", "AlreadyRegistered",, "no"
  158. HKLM,"SOFTWARE\Microsoft\Multimedia\MPlayer2\Protocols\pnm", "MIMEType",, "audio/x-pn-realaudio"
  159.  
  160. [DSPN.Reg.Delete]
  161. HKCR,"PNM", "Source Filter"
  162. HKCR,"PNM", "Animation"
  163.  
  164. HKLM,"%KEY_MEDIA_PLAYER%","PNDir"
  165.  
  166. HKCR,"HTTP\Extensions",".RA"
  167. HKCR,"HTTP\Extensions",".RM"
  168.  
  169. HKLM,"%KEY_MEDIA_PLAYER%\Control\Advanced Options\Streaming Media with RealVideo"
  170.  
  171. HKLM,"Software\Microsoft\Active Setup\Installed Components\%GUID%"
  172. HKLM,"Software\Microsoft\Active Setup\Installed Components\{23064720-c4f8-11d1-994d-00c04f98bbc9}"
  173.  
  174. HKLM,"%KEY_MEDIA_PLAYER%\Player\Extensions","%FILE_RM% (%TYPE_RM%)"
  175.  
  176. HKCR,"HTTP\AnimExtensions",".RA"
  177. HKCR,"HTTP\AnimExtensions",".RMM"
  178. HKCR,"HTTP\AnimExtensions",".RM"
  179. HKCR,"HTTP\AnimExtensions",".RAM"
  180.  
  181. HKCR,"Media Type\Extensions\.ra"
  182. HKCR,"Media Type\Extensions\.rm"
  183. HKCR,"Media Type\Extensions\.ram"
  184. HKCR,"Media Type\Extensions\.rmm"
  185.  
  186. [SourceDisksNames]
  187. 4445 = "Microsoft Windows Media Player with RealVideo(R) Install",,0
  188.  
  189. [SourceDisksFiles]
  190. pnghost.inf=4445
  191.  
  192. [DSPNCopy.INF]
  193. pnghost.inf
  194.  
  195. [Strings]
  196. NS_INF_NAME = "pnghost.inf"
  197. KEY_MEDIA_PLAYER = "Software\Microsoft\MediaPlayer"
  198.  
  199. GUID="{32CB4536-2EB2-11d1-BD46-00C04FB6B4CA}"
  200.  
  201. TYPE_RM ="*.ra;*.rm;*.ram;*.rmm"
  202.  
  203. ;////////////////////////////////////////////////////////
  204. ;// Only localize strings below this line
  205. ;////////////////////////////////////////////////////////
  206. LANGUAGE="EN"
  207.  
  208. FILE_RM ="RealMedia files"
  209.  
  210. PROMPT_UNINSTALL_COMPLETE = "Microsoft Windows Media Player with RealVideo(R) Uninstall is now complete."
  211.  
  212. TITLE_UNINSTALL="Microsoft Windows Media Player with RealVideo(R) Install"
  213.  
  214. ;Error Messages
  215. ERROR_WRONG_ADVPACK_VERSION = "You need a newer version of Advpack.dll."
  216.  
  217. CONFIRM_ERROR = "You must have Media Player 5.2 or greater installed before you can install this software."
  218.  
  219. CONFIRM_UNINSTALL="Are you sure you wish to uninstall the Microsoft Windows Media Player with RealVideo(R) Install?"
  220.  
  221.  
  222. VERSION="3,0,0,2701"
  223.