[wpkg-users] firefox and acrobat

Brian May brian at vpac.org
Fri Apr 11 07:33:11 CEST 2008


Hello,

I have found that the initial install of Firefox didn't work, the 
installation returned a status of 1. Subsequent attempts (without 
changing anything) worked fine.

Also acrobat reader repeatedly didn't work when installed from the 
wpkg-client service, the install script returned error 1619. However, 
when I run wpkg manually, it worked fine.

Any ideas?

Thanks

Brian May

hq:/var/lib/wpkg/cur# cat packages/firefox.xml
<packages>
<package
     id="firefox"
     name="Mozilla Firefox 2.0"
     revision="2"
     reboot="false"
     priority="10">

     <check type="logical" condition="or">
       <check type="uninstall" condition="exists" path="Mozilla Firefox 
(2.0)" />
       <check type="uninstall" condition="exists" path="Mozilla Firefox 
(2.0.0.13)" />
     </check>

     <check type="file" condition="exists" path="%PROGRAMFILES%\Mozilla 
Firefox\firefox.exe"/>

     <install cmd='"%SOFTWARE%\mozilla\firefox-20013-enu.exe" -ms' />

     <upgrade cmd='"%SOFTWARE%\mozilla\firefox-20013-enu.exe" -ms' />

     <remove cmd='"%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" 
/s' />
</package>

<package id="flashplayerfirefox" name="Adobe Flash Player for Firefox" 
revision="1" reboot="false" priority="0">
   <depends package-id="firefox"/>
   <check type="file" condition="versiongreaterorequal" 
path="%WINDIR%\system32\Macromed\Flash\NPSWF32.dll" value="9.0.115.0"/>
   <install cmd='%SOFTWARE%\macromedia\install_flash_player_9_0_115.exe 
/S' />
   <upgrade cmd='%SOFTWARE%\macromedia\install_flash_player_9_0_115.exe 
/S' />
   <remove cmd='%WINDIR%\system32\Macromed\Flash\uninstall_plugin.exe /S'/>
</package>
</packages>
hq:/var/lib/wpkg/cur# cat packages/reader.xml
<!--
Download from http://www.adobe.com/products/acrobat/readstep2.html
Start installer and copy "%temp%\Adobe Reader 8.0\" folder to 
"%SOFTWARE%\adobereader\" folder
-->
<packages>
	<package
		id="adobereader8"
		name="Acrobat Reader8"
		revision="1"
		reboot="false"
		priority="10">
		<check type="uninstall" condition="exists" path="Adobe Reader 8.1.1" />
		<install cmd='msiexec /q /i "%SOFTWARE%\adobereader\AcroRead.msi" 
allusers=1'>
			<exit code="0" />
			<exit code="0" reboot="true" />
		</install>
		<remove cmd='MsiExec.exe /q /x{AC76BA86-7AD7-1033-7B44-A80000000002}' />
		<upgrade cmd='msiexec /q /i "%SOFTWARE%\adobereader\AcroRead.msi" 
allusers=1'>
			<exit code="0" />
			<exit code="0" reboot="true" />
		</upgrade>
	</package>
</packages>




More information about the wpkg-users mailing list