<br><br><div class="gmail_quote">On Mon, Jan 9, 2012 at 3:15 PM, Rainer Meier <span dir="ltr"><<a href="mailto:r.meier@wpkg.org" target="_blank">r.meier@wpkg.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hi Stefan/Michael,<div><br>
<br>
On 09.01.2012 19:39, Stefan Pendl wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am 09.01.2012 17:30, schrieb Michael MacKay:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a frustrating little issue. I have a program that needs to<br>
register a plugin after it is installed. Very easy to do: DtMaxSdk.exe<br>
/register.<br>
<br>
My problem is, it has a little popup saying successful. I can't find any<br>
silent switches, and waiting to hear back from the developer if there is<br>
or could be one. The popup comes after it is installed, but if I<br>
include it in WPKG it hangs waiting for someone to acknowledge. Is<br>
there a way to put a timeout on this in the package.xml and have it just<br>
ignore and continue?<br>
<br>
Thanks,<br>
Mike<br>
<br>
</blockquote>
<br>
Commands can have a timeout specified, see <a href="http://wpkg.org/Timeouts" target="_blank">http://wpkg.org/Timeouts</a><br>
</blockquote>
<br></div>
If there is no need to wait for the program to finish it's job (or if a delay does it) then using "start" might be an option:<br>
<br>
@echo off<br>
start dtmaxsdk.exe /register<br>
:: optional, wait 10 seconds, then continue<br>
ping -n 10 localhost<br>
<br>
<br>
This will leave the process running and just continue.<br>
<br>
You might even juggle with "taskkill" after some wait timeout to terminate the hanging process, but in many cases this is not really an issue, just leave it running until next reboot.<br>
<br>
br,<br>
Rainer<div><div><br>
------------------------------<u></u>------------------------------<u></u>-------------<br>
wpkg-users mailing list archives >> <a href="http://lists.wpkg.org/pipermail/wpkg-users/" target="_blank">http://lists.wpkg.org/<u></u>pipermail/wpkg-users/</a><br>
______________________________<u></u>_________________<br>
wpkg-users mailing list<br>
<a href="mailto:wpkg-users@lists.wpkg.org" target="_blank">wpkg-users@lists.wpkg.org</a><br>
<a href="http://lists.wpkg.org/mailman/listinfo/wpkg-users" target="_blank">http://lists.wpkg.org/mailman/<u></u>listinfo/wpkg-users</a><br>
</div></div></blockquote></div><br><div><br></div><div>Perfect, thanks for the suggestions.  Tried them both and they work perfect. I think I will put that timeout on more of my packages, and the batch file one works for some other scripting I am doing as alternative/backup to wpkg.</div>


<div><br></div><div>Thanks</div><div>Mike</div>