<br><br><div><span class="gmail_quote">On 10/17/07, <b class="gmail_sendername">Tomasz Chmielewski</b> <<a href="mailto:mangoo@wpkg.org">mangoo@wpkg.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Marc Hennes schrieb:<br>> Hi,<br>><br>> I wanted to test wpkg-0.9.12-test1 with WPKG Client 1.0-rc2 to verify that the reboot bug is fixed.<br>> But I get the following error when running wpkg.js on the command line:
<br>><br>> cscript \\ntinstall\wpkg\wpkg-0.9.12-test1.js base:\\ntinstall\wpkg\1031 /debug /synchronize<br>><br>> Microsoft (R) Windows Script Host, Version 5.6<br>> Copyright (C) Microsoft Corporation 1996-2001. Alle Rechte vorbehalten.
<br>><br>> Error: 'quiet' ist undefiniert ('quiet' is undefined)<br>> \\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)
<br><br>With wpkg-0.9.12-test2, the 'exportRunningState' error should be gone.<br><br>The 'quiet' one will be gone if you use the config.xml file (you'll find<br>it in the zip package).<br><br><br>Perhaps it is wise to hardcode some values in 
wpkg.js, for those who<br>don't use config.xml, are upgrading from earlier versions and don't want<br>to use config.xml etc?<br></blockquote></div><br><br>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.xml configuration script.<br><br>- Twanfox<br>