[wpkg-users] Feature request

Antonio Calvo Rodriguez a.calvo at alcampo.es
Sat Jan 7 08:02:12 CET 2006


¿Can post the modified exit procedure? Will be very useful
--
Antonio Calvo
RIH Alcampo Vigo 1
986201010 ext 699

----- Original Message ----- 
From: "Kristofer Kiik" <kristofer.kiik at gmail.com>
To: "Ed Wallig" <ilinktech at yahoo.com>
Cc: "WKPG Users Group" <wpkg-users at lists.wpkg.org>
Sent: Saturday, January 07, 2006 6:32 AM
Subject: Re: [wpkg-users] Feature request


> 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

----------------------
Este correo electronico y, en su caso, cualquier fichero anexo al mismo, contiene 
informacion de caracter confidencial exclusivamente dirigida a su destinatario o 
destinatarios. Queda prohibida su divulgacion, copia o distribucion a terceros sin la 
previa autorizacion escrita de Alcampo S.A.. En el caso de haber recibido este correo 
electronico por error, se ruega notificar inmediatamente esta circunstancia mediante 
reenvio a la direccion electronica del remitente.

----------------------
Se han omitido los acentos a proposito debido a incompatibilidades de visualizacion
de los mismos con algunos clientes de correo.

----------------------
The information in this e-mail and in any attachments is confidential and solely for the 
attention and use of the named addressee( s). You are hereby notified that any 
dissemination, distribution or copy of this communication is prohibited without the prior 
written consent of Alcampo S.A.. If you have received this communication in error, 
please, notify the sender by reply e-mail.

----------------------



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