[wpkg-users] xml error please advise ..
Torsten Geile
geile at oekonet-bremen.de
Sat Apr 21 10:25:59 CEST 2007
Hi,
Gregory Machin schrieb:
>
>
> packages.xml
>
> <packages>
>
> <package id='firefox' name='Mozilla FireFox ' revision='2'
> priority='10' reboot='false' execute='once' >
> <!-- notes -->
> <check type='file' condition='exists' path='C:\Program Files\Mozilla
> Firefox\firefox.exe' />
> <install cmd='z:\software\mozilla\firefox.exe -ms -ira' />
> <remove cmd='"%PROGRAMFILES%\Mozilla Firefox\uninstall\uninstall.exe" -ms' />
> <upgrade cmd='z:\software\mozilla\firefox.exe -ms -ira' />
> </package>
>
> </packages>
>
>
<package
id="firefox"
name="Mozilla Firefox"
revision="2"
reboot="false"
priority="10">
<check type="uninstall" type="exists" path="Mozilla
Firefox(here you have to state the exact way it appears under Software
Add/Remove)" />
<install cmd='z:\software\mozilla\firefox.exe -ms' />
<exit code="0" />
</install>
</package>
This is the way I deploy firefox. dont have any trouble with it. Remove
and Upgrade is not needed, also the execute="once" you will not need
because once it is installed succesfully, wpkg will write to
%systemroot%system32/wpkg.xml that it is installed and will skip
installation after next reboot.
Hth, Torsten
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list