<div class="gmail_quote">On Mon, Jan 9, 2012 at 11:19 AM, Michael MacKay <span dir="ltr"><<a href="mailto:dmmackay@gmail.com">dmmackay@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><div>On Sun, Jan 8, 2012 at 8:28 AM, Stefan Pendl <span dir="ltr"><<a href="mailto:stefan.pendl.71@gmail.com" target="_blank">stefan.pendl.71@gmail.com</a>></span> wrote:</div><div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 08.01.2012 13:14, schrieb Rainer Meier:<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
If WPKG executes all desired upgrade and remove commands correctly, then<br>
it's usually an issue which has to be solved by fixing up the packages.<br>
As you indicate that sometimes some commands seem to continue "after the<br>
client progress bar goes away" (I guess you're referring to logon delay<br>
of WPKG-client on Windows XP) this indicates that some of your commands<br>
might fork and continue to run in background while returning to WPKG too<br>
quickly. So you might have to add additional waits (e.g. insert commands<br>
like 'ping -n 10 localhost") or do more intelligent checking to wait for<br>
the command to complete before letting WPKG continue.<br>
<br>
The VLC uninstaller is a very good example of bad practice, here I need<br>
to use such a similar loop to wait for the uninstaller to complete its job:<br>
<br>
</blockquote>
<br></div>
The NSIS installers are known to fork a second process, which runs a copy of the installer from the TEMP folder.<br>
<br>
The template for the NSIS installer shipping with WPKG includes the solution to this problem.<br>
<br>
As Rainer says, if you need detailed help we need detailed information and the debug logs are a good place to start with.<br>
<br>
A brief description of your problem will only result in a guessing game ;-)<br>
<br>
BTW, I have never encountered such a strange behavior with any of the WPKG releases I have used.<br>
<br>
<br>
--<br>
Stefan P.<br>
<br>
Top-posting:<br>
A: Because it messes up the order in which people normally read text.<br>
Q: Why is top-posting such a bad thing?<br>
A: Top-posting.<br>
Q: What is the most annoying thing in e-mail?<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>
</blockquote></div><br></div><div><br></div></div></div><div>I think I have this figured out based on your responses. These packages are actually all part of one piece of software and I had them all ranked as the same priority. I assumed that they would still run one after the other but they would all run before moving onto the next piece of software, I think they would all start, and one one of them finished, it would move on. I have since change them to have individual priority numbers and all seems to be working as expected. It makes sense now that I think it through. </div>
<div><br></div><div>Thanks for the help, and I will ensure to attach logs next time.</div><div>Mike</div>
</blockquote></div><br><div>Ok. so I am still having a problem here...</div><div><br></div><div>It runs ok now when I run wpkg.js via cmd. But when running with either WPKG client or wpkg-gp, it will install my apps, but not remove the three. I have turned logging on in WPKG but this gives minimal information. I have set the execute=always flag just to make sure it wasn't thinking it was successful but still no luck. </div>
<div><br></div><div>I am attaching one of the packages that won't 'install' (remove the software), as well as the log from the client.</div><div>If there is some other way to log more details from the client let me know. As mentioned, when running without the client it works so debug isn't very helpful.</div>
<div><br></div><div>Thanks again,</div><div>Mike</div><div><div><br></div></div><div><br></div><div><br></div><div><br></div><div><br></div>