[wpkg-users] Installer upgrade trouble...

Marco Gaiarin gaio at sv.lnf.it
Wed Apr 30 11:36:15 CEST 2008


Mandi! Tomasz Chmielewski
  In chel di` si favelave...

> As a discussion here on the list.

Ok, as a 'non-developer' i say:

1) The 'connectivity trouble' will be finally solved, i think, only if
 we move from 'install on startup' to 'install on shutdown', i think
as:
 a) WPKGClient starts, check network availability, and if no network are
  available reschedule it afer some amount of time.
  'Network available' mean: 'a network interface different from
  127.0.0.1', eg the check of the quality of the connectivity available
  is a next pass.
 b) If WPKGClient found network up, execute pre-script (that can
  'identify' the network available, like now), download the package and
   execute post-script. Then, rescedule itself after some amount of
   time (different from a, possibly infinite ;).
   Here we can discuss about: if pre-script exit nonzero, we have to
   reschedule or not?
 c) on shutdown, the queue of pending and downloaded package are
   processed.

2) upgrading WPKG: for me seems a simple 'installer bug': googling i've
found:

	http://www.powerprogrammer.co.uk/helpfile/script_examples.htm#ex6
	http://boinc.berkeley.edu/trac/wiki/ClientSetupLogicWinSix

i don't know how simple the implementation is. ;)


-- 
dott. Marco Gaiarin				    GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it	  tel +39-0434-842711  fax +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the wpkg-users mailing list