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

----- Original Message ----- From: "Kristofer Kiik" <[EMAIL PROTECTED]>
To: "Ed Wallig" <[EMAIL PROTECTED]>
Cc: "WKPG Users Group" <[email protected]>
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


-------------------------------------------------------
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
-----------------------------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------------------------


-------------------------------------------------------
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