Difference between revisions of "Picasa"
(Broke out 'disable Picasa Media Detector' from main WPKG packaging as it's optional) |
(general tidyup + added Picasa 3 (work in progress)) |
||
Line 1: | Line 1: | ||
− | Google Picasa is a | + | Google Picasa is a photo album and editing tool. Download it from [http://picasa.google.com/ 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: | ||
− | |||
<source lang="xml"> | <source lang="xml"> | ||
<?xml version="1.0" encoding="utf-8" ?> | <?xml version="1.0" encoding="utf-8" ?> | ||
<packages> | <packages> | ||
− | <package id='Picasa' name='Picasa' revision=' | + | <package id='Picasa' name='Picasa' revision='2' priority='3' reboot='false' > |
− | + | ||
<check type='uninstall' condition='exists' path='Picasa 2' /> | <check type='uninstall' condition='exists' path='Picasa 2' /> | ||
− | <install cmd='"%SOFTWARE%\Picasa | + | <install cmd='"%SOFTWARE%\Picasa\picasa2-setup.exe" /S' /> |
<install cmd='cmd /C taskkill /F /IM Picasa2.exe' > | <install cmd='cmd /C taskkill /F /IM Picasa2.exe' > | ||
<exit code='1' /> | <exit code='1' /> | ||
Line 18: | Line 20: | ||
<exit code='128' /> | <exit code='128' /> | ||
</install> | </install> | ||
− | <upgrade cmd='"%SOFTWARE%\Picasa | + | <upgrade cmd='"%SOFTWARE%\Picasa\picasa2-setup.exe" /S' /> |
<upgrade cmd='cmd /C taskkill /F /IM Picasa2.exe' > | <upgrade cmd='cmd /C taskkill /F /IM Picasa2.exe' > | ||
<exit code='1' /> | <exit code='1' /> | ||
Line 31: | Line 33: | ||
</packages> | </packages> | ||
</source> | </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. | 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 | + | An uninstall string is not yet provided. As far as I recall I did not manage to get a fully unattended uninstallation from Picasa. |
You can disable Picasa Media Detector with the following: | 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' /> | <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' /> | <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]] | [[Category:Silent Installers]] |
Revision as of 14:25, 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>
</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.
An uninstall string is not yet provided. As far as I recall I did not manage to get a fully unattended 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:
<?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>