[wpkg-users] Feature request

Kristofer Kiik kristofer.kiik at gmail.com
Sat Jan 7 06:32:30 CET 2006


> 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



wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users




More information about the wpkg-users mailing list