On 10/17/07, Tomasz Chmielewski <[EMAIL PROTECTED]> 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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to