Tomasz thanks again.  That seemed to sort out the issues.  Would you recommend using batch files over the cmd /c approach when dealing with situations like this?  I have read on the Irfanview silent installer page in the wiki that '"copy" is not awailable in wpkg and "xcopy" will not always work in silent mode'.
<br>--<br>David Miller<br><br><div><span class="gmail_quote">On 8/19/06, <b class="gmail_sendername">Tomasz Chmielewski</b> <<a href="mailto:tch@syneticon.net">tch@syneticon.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> I have a couple of packages that are using cmd /c <command> to install and<br>> remove software and sometimes the cmd window seems to hang and I have to<br>> kill it.  The cmd runs fine if I cut and paste it into a cmd prompt on the
<br>> machine.  Any ideas what would cause such on issue?<br>><br>> Here's one package that's giving me the problem.  The 2nd command copies 2<br>> files and the 3rd copies 45 files.  It's the 3rd command that it tends to
<br>> hang on.  When I run this manually it takes less than 2 seconds to copy the<br>> 45 files.<br><br>Yes, probably you run WPKG with /quiet flag.<br>This means it logs all what WPKG says to Windows event log.<br>
<br>By default, Windows event log is 512 + 128 + 64 kB large, for various event groups (rotated).<br>Isn't it a joke? 720 kB maximum logs? So that they could fit on a single side floppy, anyone still remember those? :)<br>
<br>You use "copy" command, and I believe your "copy" is running in verbose mode, so it produces a lot of text, which gets appended to the event log.<br><br>So you have at least three solutions:<br><br>
1) increase the size of event log on all your Windows workstations<br><br>2) don't use /quiet with wpkg.js<br><br>3) run "copy" (and all other commands that produce output) in a quiet/silent mode.<br>If the quiet/silent mode is not available, you can make the command quiet by appending >nil at the very end of the command.
<br><br><br>So, point 3 is the easiest and recommended.<br><br><br>--<br>Tomasz Chmielewski<br><a href="http://wpkg.org">http://wpkg.org</a><br><br><br></blockquote></div><br>