[wpkg-users] uninstall wpkg?

Marco Gaiarin gaio at sv.lnf.it
Fri Mar 2 15:35:59 CET 2007

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

[resuming from an old post..]

> > Looose related question: if the 'execute before' script in
> > WPKG Installer fail (eg, because i check explicitly a condition and i do
> > an exit 1 ;), all the subsequent actions (wpkg.js, execute after, ...)
> > are executed or not?
> I guess they are not executed in such case.

I've added to wpkg-before.bat an 'exit 1', but subsequent actions
(cscript wpkg.js, wpkg-after.bat, ...) are executed.

I've also added a 'pause', and the script got effectively executed, but
the non-zero exit status seems are not taken into account for
subsequent actions.

Could be this considered as a feature request?
Speaking clearly: if wpkg-before.bat return a non-zero exist status,
stop executing the rest of the stuff.

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

wpkg-users mailing list
wpkg-users at lists.wpkg.org

More information about the wpkg-users mailing list