Changes

Picasa

1,151 bytes added, 14:25, 21 November 2008
general tidyup + added Picasa 3 (work in progress)
Google Picasa is a handy picture photo album and editing tool. Download it at from [http://picasa.google.com/ Picasa homepagehttp://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:
Use the following XML file to perform a silent installation:
<source lang="xml">
<?xml version="1.0" encoding="utf-8" ?>
<packages>
<package id='Picasa' name='Picasa' revision='272' priority='503' reboot='false' > <!-- Picasa album program -->
<check type='uninstall' condition='exists' path='Picasa 2' />
<install cmd='"%SOFTWARE%\Picasa v.2.7 (Build 36.60, 0)\picasa2-setup.exe" /S' />
<install cmd='cmd /C taskkill /F /IM Picasa2.exe' >
<exit code='1' />
<exit code='128' />
</install>
<upgrade cmd='"%SOFTWARE%\Picasa v.2.7 (Build 36.60, 0)\picasa2-setup.exe" /S' />
<upgrade cmd='cmd /C taskkill /F /IM Picasa2.exe' >
<exit code='1' />
</packages>
</source>
 
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 installation uninstallation from Picasa :-(.
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:
 
<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 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>
</package>
 
</packages>
</source>
[[Category:Silent Installers]]
577
edits