;; .INF script for the Picasa installation
;;

[version]
signature="$CHICAGO$"

[DefaultInstall]
AddReg=System,Autoplay,Uninstall,User,Classes

[UpdateFixedFont]
AddReg=PicasaUpdateFixedFont

[UpdateTahomaFont]
AddReg=PicasaUpdateTahomaFont

[UpdateTahomaFontLGC]
AddReg=PicasaUpdateTahomaFontLGC

[Strings]
AutoplayHandlers="Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers"

[System]
HKCR,picasa2.autoplay,"DefaultIcon",,"%16422%\Picasa2\Picasa2.exe,1"
HKCR,picasa2.autoplay\shell\import\command,,,"%16422%\Picasa2\Picasa2.exe ""%1"""
HKLM,Software\Clients\Mail,,,"native Linux client"
HKLM,Software\Google\Picasa\Picasa2,,,"%16422%\Picasa2"
HKLM,Software\Google\Picasa\Picasa2,"Directory",,"%16422%\Picasa2"
HKLM,Software\Google\Picasa\Picasa2\Preferences,"pxhpinst",0x10001,0x00000001
HKLM,System\CurrentControlSet\Services\PxHelp20,"DisplayName",,"PxHelp20"
HKLM,System\CurrentControlSet\Services\PxHelp20,"ErrorControl",0x10001,0x00000001
HKLM,System\CurrentControlSet\Services\PxHelp20,"Group",,"Filter"
HKLM,System\CurrentControlSet\Services\PxHelp20,"ImagePath",,"System32\Drivers\PxHelp20.sys"
HKLM,System\CurrentControlSet\Services\PxHelp20,"Start",0x10001,0x00000000
HKLM,System\CurrentControlSet\Services\PxHelp20,"Type",0x10001,0x00000001
HKLM,Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes,"MS Shell Dlg",,"Tahoma"
HKLM,Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink,"Tahoma",0x00010002,"MSGOTHIC.TTC,MS UI Gothic","kochi-gothic-subst.ttf","sazanami-gothic.ttf","sgothic.ttf","uming.ttf","bsmi00lp.ttf","gbsn00lp.ttf","dotum.ttf","Purisa.ttf","ae_Arab.ttf","KacstBook.ttf"
HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"PATH",,"c:\windows\system32;c:\windows;c:\program files\picasa2"

[Autoplay]
HKLM,%AutoplayHandlers%\EventHandlers\MixedContentOnArrival,"Picasa2ImportPicturesOnArrival",,""
HKLM,%AutoplayHandlers%\EventHandlers\PlayVideoFilesOnArrival,"Picasa2ImportPicturesOnArrival",,""
HKLM,%AutoplayHandlers%\EventHandlers\ShowPicturesOnArrival,"Picasa2ImportPicturesOnArrival",,""
HKLM,%AutoplayHandlers%\Handlers\Picasa2ImportPicturesOnArrival,"Action",,"Copy pictures to your computer and view them"
HKLM,%AutoplayHandlers%\Handlers\Picasa2ImportPicturesOnArrival,"DefaultIcon",,"%16422%\Picasa2\Picasa2.exe"
HKLM,%AutoplayHandlers%\Handlers\Picasa2ImportPicturesOnArrival,"InvokeProgID",,"picasa2.autoplay"
HKLM,%AutoplayHandlers%\Handlers\Picasa2ImportPicturesOnArrival,"InvokeVerb",,"import"
HKLM,%AutoplayHandlers%\Handlers\Picasa2ImportPicturesOnArrival,"Provider",,"Picasa2"
HKCU,%AutoplayHandlers%\EventHandlersDefaultSelection,"ShowPicturesOnArrival",,"Picasa2ImportPicturesOnArrival"

[Uninstall]
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\Picasa2,"DisplayName",,"Picasa 2"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\Picasa2,"DisplayVersion",,"2.0"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\Picasa2,"HelpLink",,"http://www.picasa.com/"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\Picasa2,"Publisher",,"Google, Inc."
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\Picasa2,"UninstallString",,"""%16422%\Picasa2\Uninstall.exe"""
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\Picasa2,"URLInfoAbout",,"http://www.picasa.com/support/"

[User]
HKCU,Software\Microsoft\Internet Explorer\Main,"Search Bar",,"http://www.google.com/ie"
HKCU,Software\Microsoft\Internet Explorer\Main,"Search Page",,"http://www.google.com"
HKCU,Software\Microsoft\Internet Explorer\Main,"Use Search Asst",,"no"
HKCU,Software\Microsoft\Internet Explorer\Search,"SearchAssistant",,"http://www.google.com/ie"
HKCU,Software\Microsoft\Internet Explorer\SearchUrl,"provider",,"gogl"
HKCU,Software\Wine\Printing\PPD Files,"generic",0x00020000,"%WINEPREFIX%/generic.ppd"
HKCU,Software\Wine\Fonts\Replacements,"Arial",2,"Bitstream Vera Sans"
HKCU,Software\Wine\Fonts\Replacements,"Tahoma",2,"Bitstream Vera Sans"
HKCU,Software\Wine\Fonts\Replacements,"Georgia",2,"Bitstream Vera Serif"
HKCU,Software\Wine\Gphoto2,"SkipUI",0x10003,"0x00000001"
HKCU,Software\Wine\X11 Driver,"InputStyle",,"offthespot"
HKCU,Software\Google\Picasa\Picasa2\Preferences,"FeatureWindowDone",0x10003,0x00000001
HKCU,Software\Google\Picasa\Picasa2\Preferences,"DisableMediaDetector",0x10003,0x00000000
HKCU,Software\Google\Picasa\Picasa2\Preferences,"dbVersion",0x10003,0x0000000f
HKCU,Software\Google\Picasa\Picasa2\Preferences,"SupportMovies",0x10003,0x00000000
HKCU,Software\Google\Picasa\Picasa2\Preferences,"SupportAudio",0x10003,0x00000000
HKCU,Software\Google\Picasa\Picasa2\Preferences,"SupportQuicktime",0x10003,0x00000000
HKCU,Software\Google\Picasa\Picasa2\Preferences,"SupportGIF",0x10003,0x00000000
HKCU,Software\Google\Picasa\Picasa2\Preferences,"SupportPNG",0x10003,0x00000001
HKCU,Software\Google\Picasa\Picasa2\Preferences,"SupportTIF",0x10003,0x00000001
HKCU,Software\Google\Picasa\Picasa2\Preferences,"SupportBMP",0x10003,0x00000001
HKCU,Software\Google\Picasa\Picasa2\Preferences,"SupportPSD",0x10003,0x00000001
HKCU,Software\Google\Picasa\Picasa2\Preferences,"SupportRAW",0x10003,0x00000001
HKCU,Software\Google\Picasa\Picasa2\Preferences,"PlayMP3Tracks",0x10003,0x00000000
HKCU,Software\Google\Picasa\Picasa2\Preferences,"PrinterQuality",0x10003,0x00000001
HKCU,Software\Google\Picasa\Picasa2\Preferences,"skipinitialscan",0x10003,0x00000001
HKCU,Software\Microsoft\Windows\CurrentVersion\run,"Picasa Media Detector",2,"C:\Program Files\Picasa2\PicasaMediaDetector.exe"

[Classes]
HKCR,.bmp,,0x00000002,"WDI.File"
HKCR,.dib,,0x00000002,"WDI.File"
HKCR,.dib,,0x00000002,"WDI.File"
HKCR,.tif,,0x00000002,"WDI.File"
HKCR,.tiff,,0x00000002,"WDI.File"
HKCR,.htm,,0x00000002,"htmlfile"
HKCR,.html,,0x00000002,"htmlfile"
HKCR,giffile\shell\open\command,,0x00000002,"wdi.exe MIMEHANDLE ""%1"""
HKCR,pjpegfile\shell\open\command,,0x00000002,"wdi.exe MIMEHANDLE ""%1"""
HKCR,jpegfile\shell\open\command,,0x00000002,"wdi.exe MIMEHANDLE ""%1"""
HKCR,pngfile\shell\open\command,,0x00000002,"wdi.exe MIMEHANDLE ""%1"""
HKCR,WDI.File,,,"WDI handled File"
HKCR,WDI.File\shell\open\command,,,"wdi.exe MIMEHANDLE ""%1"""
HKCR,htmlfile\shell\open\command,,,"wdi.exe URLHANDLE ""%1"""

[PicasaUpdateFixedFont]
HKCU,Software\Wine\Fonts,"Locale",4,""
HKLM,System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts,"FIXED.FON",4,""

[PicasaUpdateTahomaFont]
HKCU,Software\Wine\Fonts\Replacements,"Tahoma",,"DejaVu Sans"

[PicasaUpdateTahomaFontLGC]
HKCU,Software\Wine\Fonts\Replacements,"Tahoma",,"DejaVu LGC Sans"
