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
Wrap
Windows Setup INFormation
|
2008-01-19
|
3KB
|
71 lines
[Version]
Signature="$CHICAGO$"
[RegDll]
AddReg=DllGoo
DelReg=DllCleanup
RequiredEngine=SETUPAPI,%ERR_NOSETUPAPI%
[UnregDll]
DelReg=DllGoo
RequiredEngine=SETUPAPI,%ERR_NOSETUPAPI%
; stuff from where everything was under one clsid
[DllCleanup]
[DllGoo]
; register ourselves to the be WIC policy component
HKCR,CLSID\%CLSID_PolicyComponent%\InProcServer32,,%REGEXSZ%,%_SYS_MOD_PATH%
HKCR,CLSID\%CLSID_PolicyComponent%\InProcServer32,ThreadingModel,,Apartment
; Setup the PhotoMetadataHandler COM registration
HKCR,CLSID\%CLSID_PhotoPropertyStore%,ManualSafeSave,REGDW,1
HKCR,CLSID\%CLSID_PhotoPropertyStore%\InProcServer32,,%REGEXSZ%,%_SYS_MOD_PATH%
HKCR,CLSID\%CLSID_PhotoPropertyStore%\InProcServer32,ThreadingModel,,Apartment
; Be the property handler for .jpg
HKLM,Software\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.jpg,,,%CLSID_PhotoPropertyStore%
HKLM,Software\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.jpeg,,,%CLSID_PhotoPropertyStore%
HKLM,Software\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.jpe,,,%CLSID_PhotoPropertyStore%
HKLM,Software\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.jfif,,,%CLSID_PhotoPropertyStore%
; Be the property handler for .tiff
HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.tif,,,%CLSID_PhotoPropertyStore%
HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.tiff,,,%CLSID_PhotoPropertyStore%
; Be the property handler for .png
HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.png,,,%CLSID_PhotoPropertyStore%
; Be the property handler for .bmp
HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.bmp,,,%CLSID_PhotoPropertyStore%
HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.rle,,,%CLSID_PhotoPropertyStore%
HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.dib,,,%CLSID_PhotoPropertyStore%
; Be the property handler for .gif
HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.gif,,,%CLSID_PhotoPropertyStore%
; Be the property handler for .ico
HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\PropertyHandlers\.ico,,,%CLSID_PhotoPropertyStore%
; Register Windows Media Photo as having a tiff-like metadata container
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\PhotoPropertyHandler\ContainerAssociations,%CLSID_WMP%,,%CLSID_TIFF%
; register our MSFT namespace in XMP
HKCR,CLSID\%CLSID_WIC%\Schemas\%CLSID_WIC_Prefix%,%MSFT_Prefix%,,%MSFT_Namespace%
HKCR,CLSID\%CLSID_WIC%\Schemas\%CLSID_WIC_Namespace%,%MSFT_Prefix%,,%MSFT_Namespace%
[Strings]
REGDW=0x00010001
REGEXSZ=0x00020000
REGBINARY=0x00000001
CLSID_PhotoPropertyStore="{a38b883c-1682-497e-97b0-0a3a9e801682}"
CLSID_PolicyComponent="{6f13dd2e-ebee-4dd5-a72e-850b2087f5dd}"
CLSID_WMP="{57a37caa-367a-4540-916b-f183c5093a4b}"
CLSID_TIFF="{163bcc30-e2e9-4f0b-961d-a3e9fdb788a3}"
CLSID_WIC="{FAE3D380-FEA4-4623-8C75-C6B61110B681}"
CLSID_WIC_Prefix="{BB5ACC38-F216-4CEC-A6C5-5F6E739763A9}"
CLSID_WIC_Namespace="{22383CF1-ED17-4E2E-AF17-D85B8F6B30D0}"
MSFT_Prefix="MicrosoftPhoto"
MSFT_Namespace="http://ns.microsoft.com/photo/1.0"
ERR_NOSETUPAPI="Can not register PhotoMetadataHandler.DLL because SETUPAPI.DLL is missing."