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 _______________________________________________ wpkg-users mailing list wpkg-users at lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users |