* http://googlesystem.blogspot.com/2008/10/invisible-googleupdateexe.html
== Picasa 2 ==
Picasa 2 installs to %PROGRAMFILES%\Picasa2. Changing this with installer options causes Picasa to install into repetitive %PROGRAMFILES%\Picasa2\Picasa2\Picasa2\... directories.
Use the following to perform a silent installation of Picasa 2.x:
<source lang="xml">
<?xml version="1.0" encoding="utf-8" ?>
<packages>
<package id='Picasa' name='Picasa' revision='2' priority='3' reboot='false' >
<check type='uninstall' condition='exists' path='Picasa 2' />
<install cmd='"%SOFTWARE%\Picasa\picasa2-setup.exe" /S' >
<install cmd='cmd /C taskkill /F /IM Picasa2.exe' >
<exit code='1' />
<exit code='128' />
</install>
<install cmd='cmd /C taskkill /F /IM PicasaMediaDetector.exe' >
<exit code='1' />
<exit code='128' />
</install>
<upgrade cmd='"%SOFTWARE%\Picasa\picasa2-setup.exe" /S' />
<upgrade cmd='cmd /C taskkill /F /IM Picasa2.exe' >
<exit code='1' />
<exit code='128' />
</upgrade>
<upgrade cmd='cmd /C taskkill /F /IM PicasaMediaDetector.exe' >
<exit code='1' />
<exit code='128' />
</upgrade>
<remove cmd="%PROGRAMFILES%\picasa2\Uninstall.exe /S"/>
</package>
</packages>
</source>
The uninstall option may need testing.
=== Picasa Media Detector ===
Picasa Media Detector is part of Picasa 2. You can disable Picasa Media Detector with the following:
==== Picasa 2.7 Build 37.29(?) and later ====
These versions had the media detector load for each specific user from their HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
<source lang="xml">
<upgrade cmd='cmd /C reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Picasa Media Detector" /f' />
<install cmd='cmd /C reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Picasa Media Detector" /f' />
</source>
==== Picasa 2.7 Build 37.23(?) and Earlier ====
These versions had the media detector load for all users from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
<source lang="xml">
<upgrade cmd='cmd /C reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Picasa Media Detector" /f' />
<install cmd='cmd /C reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Picasa Media Detector" /f' />
</source>
[[Category:Silent Installers]]