Difference between revisions of "Picasa"
From WPKG | Open Source Software Deployment and Distribution
m |
(Broke out 'disable Picasa Media Detector' from main WPKG packaging as it's optional) |
||
Line 18: | Line 18: | ||
<exit code='128' /> | <exit code='128' /> | ||
</install> | </install> | ||
− | |||
<upgrade cmd='"%SOFTWARE%\Picasa v.2.7 (Build 36.60, 0)\setup.exe" /S' /> | <upgrade cmd='"%SOFTWARE%\Picasa v.2.7 (Build 36.60, 0)\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 29: | Line 27: | ||
<exit code='128' /> | <exit code='128' /> | ||
</upgrade> | </upgrade> | ||
− | |||
</package> | </package> | ||
Line 40: | Line 37: | ||
An uninstall string is not yet provided. As far as I recall I did not manage to get a fully unattended installation from Picasa :-(. | An uninstall string is not yet provided. As far as I recall I did not manage to get a fully unattended installation 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' /> | ||
[[Category:Silent Installers]] | [[Category:Silent Installers]] |
Revision as of 14:15, 21 November 2008
Google Picasa is a handy picture album tool. Download it at Picasa homepage.
Use the following XML file to perform a silent installation:
<?xml version="1.0" encoding="utf-8" ?>
<packages>
<package id='Picasa' name='Picasa' revision='27' priority='50' reboot='false' >
<!-- Picasa album program -->
<check type='uninstall' condition='exists' path='Picasa 2' />
<install cmd='"%SOFTWARE%\Picasa v.2.7 (Build 36.60, 0)\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 v.2.7 (Build 36.60, 0)\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 installation 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' />