[wpkg-users] Can WPKG install packages while user is at desktop

Adam Williams awilliam at mdah.state.ms.us
Wed Mar 26 21:11:13 CET 2008



Rainer Meier wrote:
>
> When I look at the XML definition there is one single check:
> <check type="file" condition="exists" 
> path="%programfiles%\mozilla.org\SeaMonkey\seamonkey.exe" />
>
> So if seamonkey.exe does not exist, then the package is re-installed. 
> Or I should write "it _would_ be reinstalled". It is not because the 
> execute="once" flag is set. This means that WPKG just installs it ONCE 
> and never checks again if it is still installed. Just remove the 
> "execute='once'" attribute completely and you will see that WPKG is 
> going to re-install the package in case the check fails (ie if 
> seamonkey.exe is deleted).
>
> I don't know who inserted that execute=once flag but if I find some 
> time I will check the definitions on wpkg.org.
>
> br,
> Rainer

My understanding is that even with execute="once", when the revision is 
incremented, it will rerun the check/install/upgrade.  am I mistaken?




More information about the wpkg-users mailing list