[Version] Signature="$Chicago$" AdvancedINF=2.5, "Your system is lacking critical setup functionality." [DefaultInstall.NT] RequiredEngine=setupapi CustomDestination=WMP.Destination UpdateInis=StartupLinks.NT CopyFiles =Copy.Toys,Copy.inf AddReg=MPPowerUninstKey, XPAutoPlay.Reg RunPostSetupCommands=ntfixup:3 [DefaultUnInstall] RequiredEngine=setupapi BeginPrompt=BeginPromptSection CustomDestination=WMP.Destination UpdateInis=StartupLinks.del Delfiles =RemoveToys,RemoveINF,RemoveStartUp Delreg=powercleanup RunPostSetupCommands=ntfixup:1 DelDirs=DelDirs [WMP.Destination] 49000,49001,49002=ProgramFilesDir,5 49400,49401,49402=WMBKDir,5 49500,49501,49502=WMPDirectory,5 49600,49601,49602=StartUpDir,5 49701,49702,49703 = StartMenuProgramsDir,5 [DestinationDirs] Copy.Toys = 49400 RemoveToys = 49400 RemoveStartUp=49600 Copy.INF = 17 RemoveINF = 17 [BeginPromptSection] Prompt="Do you want to remove the Windows Media Player Tray Control?" ButtonType=YESNO Title="Windows Media Bonus Pack for Windows XP" [DelDirs] "%49401%\Player" "%49401%" [ProgramFilesDir] HKLM,"Software\Microsoft\Windows\CurrentVersion","ProgramFilesDir","","%24%\%PROGRAMFILES%" [StartMenuProgramsDir] "HKCU","SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Programs","","%25%\Start Menu\Programs" [ToysDir] HKLM,"%KEY_WMP%","PowerToys","","%49001%\%TOYDIR%\Player" [WMBKDir] ,,,,"%49001%\%WMComp% [WMPDirectory] HKLM,"%KEY_WMP%","Installation DirectoryLFN","","%49001%\%MP2_FOLDER%" [StartUpDir] HKCU, "Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "Startup","","%49001%\%TOYDIR%\Player" [ntfixup] %11%\grpconv.exe -o [XPAutoPlay.Reg] HKCR, WMP.BurnCD\shell\burn\command,,,"""%49500%\wmplayer.exe"" /prefetch:3 /Task:PortableDevice ""%L""" HKCR, WMP.RipCD\shell\Rip\command,,,"""%49500%\wmplayer.exe"" /prefetch:3 /Task:CDAudio ""%L""" HKLM, %KEY_AUTOPLAY%\EventHandlers\HandleCDBurningOnArrival,"MSWMPBurnCDOnArrival",,, HKLM, %KEY_AUTOPLAY%\EventHandlers\PlayCDAudioOnArrival,"MSRipCDAudioOnArrival",,, HKLM, %KEY_AUTOPLAY%\Handlers\MSRipCDAudioOnArrival,"Action",2,"Copy music from CD" HKLM, %KEY_AUTOPLAY%\Handlers\MSRipCDAudioOnArrival,"Provider",,"@wmploc.dll,-6502" HKLM, %KEY_AUTOPLAY%\Handlers\MSRipCDAudioOnArrival,"InvokeProgID",,"WMP.RipCD" HKLM, %KEY_AUTOPLAY%\Handlers\MSRipCDAudioOnArrival,"InvokeVerb",,"Rip" HKLM, %KEY_AUTOPLAY%\Handlers\MSRipCDAudioOnArrival,"DefaultIcon",,"""%49500%\wmplayer.exe"",0" HKLM, %KEY_AUTOPLAY%\Handlers\MSWMPBurnCDOnArrival,"Action",2,"Select media to Copy to CD" HKLM, %KEY_AUTOPLAY%\Handlers\MSWMPBurnCDOnArrival,"Provider",,"@wmploc.dll,-6502" HKLM, %KEY_AUTOPLAY%\Handlers\MSWMPBurnCDOnArrival,"InvokeProgid",,"WMP.BurnCD" HKLM, %KEY_AUTOPLAY%\Handlers\MSWMPBurnCDOnArrival,"InvokeVerb",,"Burn" HKLM, %KEY_AUTOPLAY%\Handlers\MSWMPBurnCDOnArrival,"DefaultIcon",,"""%49500%\wmplayer.exe"",0" [MPPowerUninstKey] HKLM, "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%THISINF%", "UninstallString",, "RunDll32 advpack.dll,LaunchINFSection %17%\%THISINF%,DefaultUninstall" HKLM, "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%THISINF%", "DisplayName",, "%WMPTRAY%" [StartupLinks.nt] setup.ini, progman.groups,,"StartMenuWMFoldertray=%49701%\Windows Media Bonus Pack for Windows XP" setup.ini, StartMenuWMFoldertray,, """%wmptray%"",""""""%49400%\mpxptray.exe"""""",,," [StartupLinks.del] setup.ini, progman.groups,,"StartMenuWMFoldertray=%49701%\Windows Media Bonus Pack for Windows XP" setup.ini,StartMenuWMFoldertray,, """%wmptray%"",,,," [powercleanup] HKLM, "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%THISINF%" [Copy.INF] mpxptray.inf,,,4 [SourceDisksNames] 1493 = "PowerToys Install",,0 [Copy.Toys] mpxptray.exe,,,97 [RemoveToys] mpxptray.exe,,,1 [RemoveINF] mpxptray.inf,,,1 [RemoveStartUp] MPXPTray.lnk,,,1 [SourceDisksFiles] mpxptray.exe=1493 mpxptray.inf=1493 [Strings] KEY_WMP = "SOFTWARE\Microsoft\MediaPlayer" KEY_AUTOPLAY = "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers" THISINF=mpxptray.inf ;;;;;;;-------------------------------------------- ;-- Only localize strings below this line ;;;;;;-------------------------------------------- LANGUAGE="EN" PROGRAMFILES = "Program Files" TOYDIR="Windows Media Player Powertoys" MP2_FOLDER = "Windows Media Player" WMPTRAY="Windows Media Player Tray Control" WMComp="Windows Media Bonus Pack for Windows XP\PowerToys"