Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
2.4 KiB

  1. [Version]
  2. Signature="$CHICAGO$"
  3. [RegDllCommon]
  4. AddReg=AddReg.Common,AddReg.ScannerPropPage,AddReg.CameraPropPage
  5. [UnregDllCommon]
  6. DelReg=DelReg.Common,DelReg.ScannerPropPage,DelReg.CameraPropPage
  7. [AddReg.Common]
  8. HKCR,"CLSID\%CLSID_WiaDefaultUi%",,,"%WIADefaultUi%"
  9. HKCR,"CLSID\%CLSID_WiaDefaultUi%\InProcServer32",,0x00020000,"%SystemRoot%\System32\wiadefui.dll"
  10. HKCR,"CLSID\%CLSID_WiaDefaultUi%\InProcServer32","ThreadingModel",,"apartment"
  11. ; Drop handler CLSID for shell autoplay
  12. HKCR,"CLSID\%CLSID_WiaAutoPlayDropTarget%",,,"%WIAAutoPlayDropTarget%"
  13. HKCR,"CLSID\%CLSID_WiaAutoPlayDropTarget%\InProcServer32",,0x00020000,"%SystemRoot%\System32\wiadefui.dll"
  14. HKCR,"CLSID\%CLSID_WiaAutoPlayDropTarget%\InProcServer32","ThreadingModel",,"apartment"
  15. ; Register for drop handler
  16. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\MSWiaEventHandler","InvokeProgID",,"%DropHandlerProgID%.1"
  17. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\MSWiaEventHandler","InvokeVerb",,"open"
  18. ; Register handler's prog ID
  19. HKCR,"%DropHandlerProgID%",,,"%WIAAutoPlayDropTarget%"
  20. HKCR,"%DropHandlerProgID%\CLSID",,,"%CLSID_WiaAutoPlayDropTarget%"
  21. HKCR,"%DropHandlerProgID%\CurVer",,,"%DropHandlerProgID%.1"
  22. HKCR,"%DropHandlerProgID%.1",,,"%WIAAutoPlayDropTarget%"
  23. HKCR,"%DropHandlerProgID%.1\CLSID",,,"%CLSID_WiaAutoPlayDropTarget%"
  24. HKCR,"%DropHandlerProgID%.1\shell\open\DropTarget","Clsid",,"%CLSID_WiaAutoPlayDropTarget%"
  25. [AddReg.ScannerPropPage]
  26. HKCR,"CLSID\%CLSID_WiaShellExtension%\Scanner\shellex\PropertySheetHandlers\%CLSID_WiaDefaultUi%",,,
  27. [DelReg.ScannerPropPage]
  28. HKCR,"CLSID\%CLSID_WiaShellExtension%\Scanner\shellex\PropertySheetHandlers\%CLSID_WiaDefaultUi%"
  29. [AddReg.CameraPropPage]
  30. HKCR,"CLSID\%CLSID_WiaShellExtension%\Camera\shellex\PropertySheetHandlers\%CLSID_WiaDefaultUi%",,,
  31. [DelReg.CameraPropPage]
  32. HKCR,"CLSID\%CLSID_WiaShellExtension%\Camera\shellex\PropertySheetHandlers\%CLSID_WiaDefaultUi%"
  33. [DelReg.Common]
  34. HKCR,"CLSID\%CLSID_WiaDefaultUi%\InProcServer32"
  35. HKCR,"CLSID\%CLSID_WiaDefaultUi%"
  36. [Strings]
  37. ; Don't localize
  38. CLSID_WiaDefaultUi="{D1621129-45C4-41AD-A1D1-AF7EAFABEEDC}"
  39. CLSID_WiaShellExtension={E211B736-43FD-11D1-9EFB-0000F8757FCD}
  40. CLSID_WiaAutoPlayDropTarget="{F1ABE2B5-C073-4dba-B6EB-FD7A5111DD8F}"
  41. DropHandlerProgID="WIA.AutoplayDropHandler"
  42. ; Do localize
  43. WIADefaultUi="WIA Default UI"
  44. WIAAutoPlayDropTarget="WIA Auto Play Drop Target"