home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 August / CHIP_CD_2005-08.iso / bonus / srew / files / WMBonusXP.exe / RCDATA / CABINET / mpxptray.inf < prev    next >
Windows Setup INFormation  |  2001-12-11  |  5KB  |  156 lines

  1. [Version]
  2. Signature="$Chicago$"
  3. AdvancedINF=2.5, "Your system is lacking critical setup functionality."
  4.  
  5. [DefaultInstall.NT] 
  6. RequiredEngine=setupapi
  7. CustomDestination=WMP.Destination
  8. UpdateInis=StartupLinks.NT
  9. CopyFiles   =Copy.Toys,Copy.inf
  10. AddReg=MPPowerUninstKey, XPAutoPlay.Reg
  11. RunPostSetupCommands=ntfixup:3
  12.  
  13. [DefaultUnInstall] 
  14. RequiredEngine=setupapi
  15. BeginPrompt=BeginPromptSection
  16. CustomDestination=WMP.Destination
  17. UpdateInis=StartupLinks.del
  18. Delfiles  =RemoveToys,RemoveINF,RemoveStartUp
  19. Delreg=powercleanup
  20. RunPostSetupCommands=ntfixup:1
  21. DelDirs=DelDirs
  22.  
  23. [WMP.Destination]
  24. 49000,49001,49002=ProgramFilesDir,5
  25. 49400,49401,49402=WMBKDir,5
  26. 49500,49501,49502=WMPDirectory,5
  27. 49600,49601,49602=StartUpDir,5
  28. 49701,49702,49703 = StartMenuProgramsDir,5
  29.  
  30. [DestinationDirs]
  31. Copy.Toys = 49400
  32. RemoveToys = 49400
  33. RemoveStartUp=49600
  34. Copy.INF  = 17
  35. RemoveINF = 17
  36.  
  37. [BeginPromptSection]
  38. Prompt="Do you want to remove the Windows Media Player Tray Control?"
  39. ButtonType=YESNO
  40. Title="Windows Media Bonus Pack for Windows XP"
  41.  
  42. [DelDirs]
  43. "%49401%\Player"
  44. "%49401%"
  45.  
  46. [ProgramFilesDir]
  47. HKLM,"Software\Microsoft\Windows\CurrentVersion","ProgramFilesDir","","%24%\%PROGRAMFILES%"
  48.  
  49. [StartMenuProgramsDir]
  50. "HKCU","SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Programs","","%25%\Start Menu\Programs"
  51.  
  52. [ToysDir]
  53. HKLM,"%KEY_WMP%","PowerToys","","%49001%\%TOYDIR%\Player"
  54.  
  55. [WMBKDir]
  56. ,,,,"%49001%\%WMComp%
  57.  
  58. [WMPDirectory]
  59. HKLM,"%KEY_WMP%","Installation DirectoryLFN","","%49001%\%MP2_FOLDER%"
  60.  
  61. [StartUpDir]
  62. HKCU, "Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "Startup","","%49001%\%TOYDIR%\Player"
  63.  
  64. [ntfixup]
  65. %11%\grpconv.exe -o
  66.  
  67. [XPAutoPlay.Reg]
  68. HKCR, WMP.BurnCD\shell\burn\command,,,"""%49500%\wmplayer.exe"" /prefetch:3 /Task:PortableDevice ""%L"""
  69.  
  70.  
  71. HKCR, WMP.RipCD\shell\Rip\command,,,"""%49500%\wmplayer.exe"" /prefetch:3 /Task:CDAudio ""%L"""
  72.  
  73.  
  74.  
  75. HKLM, %KEY_AUTOPLAY%\EventHandlers\HandleCDBurningOnArrival,"MSWMPBurnCDOnArrival",,,
  76.  
  77.  
  78. HKLM, %KEY_AUTOPLAY%\EventHandlers\PlayCDAudioOnArrival,"MSRipCDAudioOnArrival",,,
  79.  
  80.  
  81. HKLM, %KEY_AUTOPLAY%\Handlers\MSRipCDAudioOnArrival,"Action",2,"Copy music from CD"
  82.  
  83. HKLM, %KEY_AUTOPLAY%\Handlers\MSRipCDAudioOnArrival,"Provider",,"@wmploc.dll,-6502"
  84.  
  85. HKLM, %KEY_AUTOPLAY%\Handlers\MSRipCDAudioOnArrival,"InvokeProgID",,"WMP.RipCD"
  86.  
  87. HKLM, %KEY_AUTOPLAY%\Handlers\MSRipCDAudioOnArrival,"InvokeVerb",,"Rip"
  88.  
  89. HKLM, %KEY_AUTOPLAY%\Handlers\MSRipCDAudioOnArrival,"DefaultIcon",,"""%49500%\wmplayer.exe"",0"
  90.  
  91.  
  92.  
  93. HKLM, %KEY_AUTOPLAY%\Handlers\MSWMPBurnCDOnArrival,"Action",2,"Select media to Copy to CD"
  94.  
  95. HKLM, %KEY_AUTOPLAY%\Handlers\MSWMPBurnCDOnArrival,"Provider",,"@wmploc.dll,-6502"
  96.  
  97. HKLM, %KEY_AUTOPLAY%\Handlers\MSWMPBurnCDOnArrival,"InvokeProgid",,"WMP.BurnCD"
  98.  
  99. HKLM, %KEY_AUTOPLAY%\Handlers\MSWMPBurnCDOnArrival,"InvokeVerb",,"Burn"
  100.  
  101. HKLM, %KEY_AUTOPLAY%\Handlers\MSWMPBurnCDOnArrival,"DefaultIcon",,"""%49500%\wmplayer.exe"",0"
  102.  
  103.  
  104.  
  105. [MPPowerUninstKey]
  106. HKLM, "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%THISINF%", "UninstallString",, "RunDll32 advpack.dll,LaunchINFSection %17%\%THISINF%,DefaultUninstall"
  107. HKLM, "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%THISINF%", "DisplayName",, "%WMPTRAY%"
  108.  
  109. [StartupLinks.nt]
  110. setup.ini, progman.groups,,"StartMenuWMFoldertray=%49701%\Windows Media Bonus Pack for Windows XP"
  111. setup.ini, StartMenuWMFoldertray,, """%wmptray%"",""""""%49400%\mpxptray.exe"""""",,,"
  112.  
  113. [StartupLinks.del]
  114. setup.ini, progman.groups,,"StartMenuWMFoldertray=%49701%\Windows Media Bonus Pack for Windows XP"
  115. setup.ini,StartMenuWMFoldertray,, """%wmptray%"",,,,"
  116.  
  117. [powercleanup]
  118. HKLM, "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%THISINF%"
  119.  
  120. [Copy.INF]
  121. mpxptray.inf,,,4
  122.  
  123. [SourceDisksNames]
  124. 1493 = "PowerToys Install",,0
  125.  
  126. [Copy.Toys] 
  127. mpxptray.exe,,,97
  128.  
  129. [RemoveToys]
  130. mpxptray.exe,,,1
  131.  
  132. [RemoveINF]
  133. mpxptray.inf,,,1
  134.  
  135. [RemoveStartUp]
  136. MPXPTray.lnk,,,1
  137.  
  138. [SourceDisksFiles] 
  139. mpxptray.exe=1493
  140. mpxptray.inf=1493
  141.  
  142. [Strings]
  143. KEY_WMP = "SOFTWARE\Microsoft\MediaPlayer"
  144. KEY_AUTOPLAY = "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers"
  145. THISINF=mpxptray.inf
  146. ;;;;;;;--------------------------------------------
  147. ;-- Only localize strings below this line
  148. ;;;;;;--------------------------------------------
  149. LANGUAGE="EN"
  150.  
  151. PROGRAMFILES = "Program Files"
  152. TOYDIR="Windows Media Player Powertoys"
  153. MP2_FOLDER = "Windows Media Player"
  154. WMPTRAY="Windows Media Player Tray Control"
  155. WMComp="Windows Media Bonus Pack for Windows XP\PowerToys"
  156.