home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 1 / Windows / System32 / PhotoMetadataHandler.dll / REGINST / REGINST
Windows Setup INFormation  |  2008-01-19  |  3KB  |  71 lines

  1. [Version]
  2. Signature="$CHICAGO$"
  3.  
  4. [RegDll]
  5. AddReg=DllGoo
  6. DelReg=DllCleanup
  7. RequiredEngine=SETUPAPI,%ERR_NOSETUPAPI%
  8.  
  9. [UnregDll]
  10. DelReg=DllGoo
  11. RequiredEngine=SETUPAPI,%ERR_NOSETUPAPI%
  12.  
  13. ; stuff from where everything was under one clsid
  14. [DllCleanup]
  15.  
  16. [DllGoo]
  17. ; register ourselves to the be WIC policy component
  18. HKCR,CLSID\%CLSID_PolicyComponent%\InProcServer32,,%REGEXSZ%,%_SYS_MOD_PATH%
  19. HKCR,CLSID\%CLSID_PolicyComponent%\InProcServer32,ThreadingModel,,Apartment
  20.  
  21. ; Setup the PhotoMetadataHandler COM registration
  22. HKCR,CLSID\%CLSID_PhotoPropertyStore%,ManualSafeSave,REGDW,1
  23. HKCR,CLSID\%CLSID_PhotoPropertyStore%\InProcServer32,,%REGEXSZ%,%_SYS_MOD_PATH%
  24. HKCR,CLSID\%CLSID_PhotoPropertyStore%\InProcServer32,ThreadingModel,,Apartment
  25.  
  26. ; Be the property handler for .jpg
  27. HKLM,Software\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.jpg,,,%CLSID_PhotoPropertyStore%
  28. HKLM,Software\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.jpeg,,,%CLSID_PhotoPropertyStore%
  29. HKLM,Software\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.jpe,,,%CLSID_PhotoPropertyStore%
  30. HKLM,Software\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.jfif,,,%CLSID_PhotoPropertyStore%
  31.  
  32. ; Be the property handler for .tiff
  33. HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.tif,,,%CLSID_PhotoPropertyStore%
  34. HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.tiff,,,%CLSID_PhotoPropertyStore%
  35.  
  36. ; Be the property handler for .png
  37. HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.png,,,%CLSID_PhotoPropertyStore%
  38.  
  39. ; Be the property handler for .bmp
  40. HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.bmp,,,%CLSID_PhotoPropertyStore%
  41. HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.rle,,,%CLSID_PhotoPropertyStore%
  42. HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.dib,,,%CLSID_PhotoPropertyStore%
  43.  
  44. ; Be the property handler for .gif
  45. HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.gif,,,%CLSID_PhotoPropertyStore%
  46.  
  47. ; Be the property handler for .ico
  48. HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.ico,,,%CLSID_PhotoPropertyStore%
  49.  
  50. ; Register Windows Media Photo as having a tiff-like metadata container
  51. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\PhotoPropertyHandler\ContainerAssociations,%CLSID_WMP%,,%CLSID_TIFF%
  52.  
  53. ; register our MSFT namespace in XMP
  54. HKCR,CLSID\%CLSID_WIC%\Schemas\%CLSID_WIC_Prefix%,%MSFT_Prefix%,,%MSFT_Namespace%
  55. HKCR,CLSID\%CLSID_WIC%\Schemas\%CLSID_WIC_Namespace%,%MSFT_Prefix%,,%MSFT_Namespace%
  56.  
  57. [Strings]
  58. REGDW=0x00010001
  59. REGEXSZ=0x00020000
  60. REGBINARY=0x00000001
  61. CLSID_PhotoPropertyStore="{a38b883c-1682-497e-97b0-0a3a9e801682}"
  62. CLSID_PolicyComponent="{6f13dd2e-ebee-4dd5-a72e-850b2087f5dd}"
  63. CLSID_WMP="{57a37caa-367a-4540-916b-f183c5093a4b}"
  64. CLSID_TIFF="{163bcc30-e2e9-4f0b-961d-a3e9fdb788a3}"
  65. CLSID_WIC="{FAE3D380-FEA4-4623-8C75-C6B61110B681}"
  66. CLSID_WIC_Prefix="{BB5ACC38-F216-4CEC-A6C5-5F6E739763A9}"
  67. CLSID_WIC_Namespace="{22383CF1-ED17-4E2E-AF17-D85B8F6B30D0}"
  68. MSFT_Prefix="MicrosoftPhoto"
  69. MSFT_Namespace="http://ns.microsoft.com/photo/1.0"
  70. ERR_NOSETUPAPI="Can not register PhotoMetadataHandler.DLL because SETUPAPI.DLL is missing."
  71.