[wpkg-users] wpkg.js hangs if error -1 is returned

Pendl Stefan stefan.pendl at haidlmair.at
Mon Apr 20 14:24:33 CEST 2009


Rainer Meier wrote:
Hi Stefan,

> On one machine VLC player was installed not to the default location, so removing it did not work.
>
> The installer displayed the dialog to remove the previous installer.
>
> The install command has a timeout attribute attached, so the installer was killed after 5 minutes and returned error -1.
>
> The wpkg.xml file was successfully written to disk about one minute after the VLC installer was killed.

So the timeout of wpkg.js seems to work properly in this case.



> I am installing at shutdown to avoid any problems and to avoid annoying the users.

Well, there might be multiple reasons for it...


> The shutdown was happening exactly one hour afterwards.

This is indeed quite strange. Writing wpkg.xml is one of the last thing wpkg.js
does before it exits. So I really assume it exits properly. Any hint what could
have happened? Event log entries? Do you get a full debug log of wpkg.js output
for reference?


> I expected the machine to shutdown directly after the wpkg.xml file was written to disk, as it usually does.

Absolutely right, that should be expected behavior.

Is anybody else able to reproduce the problem?

br,
Rainer

________________________________



Rainer,

I will set up a test case to reproduce this at will and create a full debug log.



BTW, this is not the first time it happened, but the other time I decided this to be related to being a newbie ;-)



---

Stefan





More information about the wpkg-users mailing list