home *** CD-ROM | disk | FTP | other *** search
/ Total Gamer 2005 January / TG_CD.ISO / Files / Utilities / MP10Setup.exe / audiodev.dll / REGINST / REGINST
Encoding:
Windows Setup INFormation  |  2004-09-22  |  2.9 KB  |  63 lines

  1. [version]
  2. signature="$CHICAGO$"
  3.  
  4. [RegDll]
  5. AddReg=Registry
  6.  
  7. [UnregDll]
  8. DelReg=Registry
  9.  
  10. [Registry]
  11.  
  12. ; CLSID_MediaDeviceFolder (delegate of My Computer)
  13. HKCR,"CLSID\%CLSID_MediaDeviceFolder%"
  14. HKCR,"CLSID\%CLSID_MediaDeviceFolder%",,,"%PMD%"
  15. HKCR,"CLSID\%CLSID_MediaDeviceFolder%","LocalizedString",%REGEXSZ%,"@%_SYS_MOD_PATH%,-510"
  16. HKCR,"CLSID\%CLSID_MediaDeviceFolder%\InProcServer32",,%REGEXSZ%,"%_SYS_MOD_PATH%"
  17. HKCR,"CLSID\%CLSID_MediaDeviceFolder%\InProcServer32","ThreadingModel",,"Apartment"
  18. HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\%CLSID_MediaDeviceFolder%"
  19. HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\%CLSID_MediaDeviceFolder%",,,"%PMD%"
  20. HKLM,"%APPROVED%","%CLSID_MediaDeviceFolder%",,"%PMD%"
  21.  
  22. ; Control Panel entries
  23. HKCR,"CLSID\%CLSID_MediaDeviceFolder%","InfoTip",%REGEXSZ%,"@%_SYS_MOD_PATH%,-51"
  24. HKCR,"CLSID\%CLSID_MediaDeviceFolder%","%PKEY_CONTROLPANELCATEGORY%",%REGDWORD%,0x00000004
  25. HKCR,"CLSID\%CLSID_MediaDeviceFolder%\DefaultIcon",,%REGEXSZ%,"%_SYS_MOD_PATH%,-50"
  26. HKCR,"CLSID\%CLSID_MediaDeviceFolder%\ShellFolder","Attributes",%REGBINARY%,00,00,00,a0
  27. HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\%CLSID_MediaDeviceFolder%"
  28. HKLM,"Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\%CLSID_MediaDeviceFolder%",,,"%PMD%"
  29.  
  30. ; CWMDMContextMenu object
  31. HKCR,"CLSID\%CLSID_WMDMContextMenu%"
  32. HKCR,"CLSID\%CLSID_WMDMContextMenu%",,,"%PMD% Menu"
  33. HKCR,"CLSID\%CLSID_WMDMContextMenu%","LocalizedString",%REGEXSZ%,"@%_SYS_MOD_PATH%,-511"
  34. HKCR,"CLSID\%CLSID_WMDMContextMenu%\InProcServer32",,%REGEXSZ%,"%_SYS_MOD_PATH%"
  35. HKCR,"CLSID\%CLSID_WMDMContextMenu%\InProcServer32","ThreadingModel",,"Apartment"
  36. HKLM,"%APPROVED%","%CLSID_WMDMContextMenu%",,"%PMD% Menu"
  37.  
  38. ; Removable drive context menu
  39. HKCR,"Drive\ShellEx\ContextMenuHandlers\%CLSID_WMDMContextMenu%"
  40. HKCR,"Drive\ShellEx\ContextMenuHandlers\%CLSID_WMDMContextMenu%",,,"%PMD% Menu"
  41.  
  42. ; Autoplay
  43. HKLM,"%AUTOPLAY%"
  44. HKLM,"%AUTOPLAY%","Action",,"@%_SYS_MOD_PATH%,-500"
  45. HKLM,"%AUTOPLAY%","Provider",,"@%_SYS_MOD_PATH%,-501"
  46. HKLM,"%AUTOPLAY%","DefaultIcon",%REGEXSZ%,"%_SYS_MOD_PATH%,-50"
  47. HKLM,"%AUTOPLAY%","ProgID",,"Shell.HWEventHandlerShellExecute"
  48. HKLM,"%AUTOPLAY%","InitCmdLine",,"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::%CLSID_MediaDeviceFolder%"
  49.  
  50. [Strings]
  51. REGEXSZ = 0x00020000
  52. REGBINARY = 0x00000001
  53. REGDWORD = 0x00010001
  54.  
  55. APPROVED = "Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"
  56. AUTOPLAY = "Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\MSSHAudioDevHandler"
  57.  
  58. PMD = "Portable Media Devices"
  59.  
  60. CLSID_MediaDeviceFolder   = "{640167b4-59b0-47a6-b335-a6b3c0695aea}"
  61. CLSID_WMDMContextMenu     = "{cc86590a-b60a-48e6-996b-41d25ed39a1e}"
  62. PKEY_CONTROLPANELCATEGORY = "{305CA226-D286-468e-B848-2B2E8E697B74} 2"
  63.