Marco Gaiarin schrieb: > 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.
Well, add a wish to bugzilla. Some may expect quite the opposite behaviour, though. -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------------------------- 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
