> I'm guessing that this has been asked before, but I figured that I'd ask
> again - is there any way to add a "skip on error" feature to a future build
> of WPKG? It would be nice if the synch would jump to the next package if the
> package that it was trying to install failed for some reason, rather than
> simply terminating.

That should be easy to do.

in wpkg.js there are lines:
=============
// call the main function with arguments.
try {
    main(WScript.Arguments);
} catch (e) {
    error(e.description);
    notifyUserFail();
    exit(2);
}
=============

Commenting out the exit(2) line should do the trick. I actually
modified this function to email errors to sysadmin in my deployment,
as i have yet to meet someone who looks into windows event log for
errors on a regular basis.

cheers,
kristofer


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to