Difference between revisions of "Picasa"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (silent install removes Picasa 2)
(removed Picasa Media Detector section)
Line 80: Line 80:
 
</packages>
 
</packages>
 
</source>
 
</source>
 
== Picasa Media Detector ==
 
 
You can disable Picasa Media Detector with the following:
 
 
=== Some versions of Picasa 2 ===
 
 
  <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' />
 
 
=== Later versions of Picasa 2.7 and 3 ===
 
 
  <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' />
 
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 15:01, 21 November 2008

Google Picasa is a photo album and editing tool. Download it from http://picasa.google.com/. When new versions are released they're available from picasa.google.com (where the filename is picasa<version>-setup.exe) before they are from the likes of picasa.google.co.uk (where the filename is picasaweb-current-setup.exe).

Readme: picasa-readme.blogspot.com/

Picasa is not that easy to silently install. Mainly because it forks processes after installation which have to be terminated. Therefore you need the Microsoft Taskkill command installed for it to work.

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:

<?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>

The uninstall option may need testing.

Picasa 3 (Work In Progress)

Picasa 3 by default installs to %PROGRAMFILES%\Google\Picasa3.

Silently installing Picasa 3 when Picasa 2 is installed will automatically remove Picasa 2.

Use the following to perform a silent installation of Picasa 3.x:

<?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 3' />
  <install cmd='"%SOFTWARE%\Picasa\picasa3-setup.exe" /S' />
  <install cmd='cmd /C taskkill /F /IM Picasa3.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\picasa3-setup.exe" /S' />
  <upgrade cmd='cmd /C taskkill /F /IM Picasa3.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%\picasa3\Uninstall.exe /S"/>
</package>

</packages>