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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wpkg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wpkg-users
