[wpkg-users] wpkg-0.9.12-test1 released

Twan Fox twanfox at gmail.com
Wed Oct 17 22:14:34 CEST 2007


On 10/17/07, Tomasz Chmielewski <mangoo at wpkg.org> wrote:
>
> Marc Hennes schrieb:
> > Hi,
> >
> > I wanted to test wpkg-0.9.12-test1 with WPKG Client 1.0-rc2 to verify
> that the reboot bug is fixed.
> > But I get the following error when running wpkg.js on the command line:
> >
> > cscript \\ntinstall\wpkg\wpkg-0.9.12-test1.js base:\\ntinstall\wpkg\1031
> /debug /synchronize
> >
> > Microsoft (R) Windows Script Host, Version 5.6
> > Copyright (C) Microsoft Corporation 1996-2001. Alle Rechte vorbehalten.
> >
> > Error: 'quiet' ist undefiniert ('quiet' is undefined)
> > \\ntinstall\wpkg\wpkg-0.9.12-test1.js(2647, 5) Laufzeitfehler in
> Microsoft JScript: 'exportRunningState' ist undefiniert (runtime error in
> Microsoft JScript: 'exportRunningState' is undefined)
>
> With wpkg-0.9.12-test2, the 'exportRunningState' error should be gone.
>
> The 'quiet' one will be gone if you use the config.xml file (you'll find
> it in the zip package).
>
>
> Perhaps it is wise to hardcode some values in wpkg.js, for those who
> don't use config.xml, are upgrading from earlier versions and don't want
> to use config.xml etc?
>


For any variables you know you're going to use, I would make it standard
practice to define them and set defaults in the script. That gives the users
of the script to run with the defaults OR modify them via the
config.xmlconfiguration script.

- Twanfox
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20071017/f0cec438/attachment-0002.html>


More information about the wpkg-users mailing list