Heh. Nice. That totally works perfectly. If wget fails, it returns an exit code and doesn't install, and tries again. You could add:
<install cmd="del file.exe" /> to the end of it to clean up only after a successful install. You can combine this with rsync, etc. Perfect. ;0 I bet you can make wget fail if the download speed is too slow, instead of hosing a laptop user's connection. On Mon, 2006-04-10 at 00:06 +0200, Tomasz Chmielewski wrote: > Jérémie wrote: > > (...) > > >> Probably we could use some Cygwin tools like wget, md5sum, unzip etc., > >> installed in \\server\wpkg\tools? > > > > When I think to internet based deployment, a la apt/yum/urpmi..., these > > mandatory tools may be bundled with wpkg in a (silent) installer so that > > "isolated" hosts can be autonomous and pull their updates straight from > > a web server > > Well, WPKG supports that already, sort of: > > <install cmd='wget -O file.exe "http://some.server/file.exe"' /> > <install cmd='file.exe /silent' /> > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ wpkg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wpkg-users
