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

Rainer Meier r.meier at wpkg.org
Mon Apr 20 14:04:12 CEST 2009


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



More information about the wpkg-users mailing list