Difference between revisions of "Picasa"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(general tidyup + added Picasa 3 (work in progress))
(added uninstall option)
Line 29: Line 29:
 
     <exit code='128' />
 
     <exit code='128' />
 
   </upgrade>
 
   </upgrade>
 +
  <remove cmd="%PROGRAMFILES%\picasa2\Uninstall.exe /S"/>
 
</package>
 
</package>
  
Line 36: Line 37:
 
Please note that this package 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.
 
Please note that this package 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.
  
An uninstall string is not yet provided. As far as I recall I did not manage to get a fully unattended uninstallation from Picasa.
+
The uninstall option may need testing.
  
 
You can disable Picasa Media Detector with the following:
 
You can disable Picasa Media Detector with the following:
Line 72: Line 73:
 
     <exit code='128' />
 
     <exit code='128' />
 
   </upgrade>
 
   </upgrade>
 +
  <remove cmd="%PROGRAMFILES%\picasa3\Uninstall.exe /S"/>
 
</package>
 
</package>
  

Revision as of 14:29, 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).

Picasa 2

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>

Please note that this package 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.

The uninstall option may need testing.

You can disable Picasa Media Detector with the following:

 <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' />


Picasa 3 (Work In Progress)

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>