Sherwood Botsford wrote: > > I'm missing something about the use of settings folders. > Wpkg doesn't seem to find them. > > I'm using wpkg 0.9.10 stable. > > I have created a hosts, profiles, and packages folders, and for now, > have just moved the appropriate xml files into those folders. > > I run wpkg from the following script: > > set PROGARAMFILES="C:\Program Files"
Normally, you don't need to set your "Program Files" variable. Besides, you wrote "progAramfiles=" (look at the A). > set INST=\\conan\Installers > set WPKGROOT=\\conan\Installers\wpkg > set PACKAGES=%WPKGROOT%\packages you don't need to set this variable (PACKAGES). > set PROFILES=%WPKGROOT%\profiles this one either (PROFILES)... > set HOSTS=%WPKGROOT%\hosts and this one either (HOSTS)... > set LOG=\\conan\wpkglog > set DLL=C:\winnt\system32 > set HDWRINSP=\\conan\installers\Hardware\Inspiron1300 > net use L: %LOG% > > #Line below is actually a single line -- folded by mailer. > cscript %WPKGROOT%\wpkg.js /synchronize /debug /nonotify > > L:\%COMPUTERNAME%.log > > net use L: /delete > > When I run this script, I get the following message logged: > > > > Microsoft (R) Windows Script Host Version 5.6 > Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. > > Reboot-Cmd is standard. > base directory \\conan\Installers\wpkg. > Error parsing xml: System error: -2146697210. > > File \\conan\Installers\wpkg\hosts.xml > Line 0 > Linepos 0 > Filepos 0 > srcText Where did you read that you can set these profiles with variables? Perhaps the documentation should be corrected. > So it's still looking for hosts.xml in the base directory. > Is there a flag I need to include to tell it to use folders? Yes, you still need hosts.xml, packages.xml and profiles.xml files in the directory where wpkg.js is. Check this thread for more info: http://sourceforge.net/mailarchive/forum.php?thread_id=30198301&forum_id=42940 "You need to also have profiles.xml, packages.xml and hosts.xml files, in the same directory in which you have wpkg.js. They can't be totally empty, they must have at least: * <profiles></profiles> for profiles.xml * <packages></packages> for packages.xml * <wpkg></wpkg> for hosts.xml" It will be commented better in the next release with something like: DO NOT remove this file, even if all your packages are in "packages" directory. This file needs to contain at least the line: <profiles></profiles> Perhaps it should be added to the wiki, too. -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ wpkg-users mailing list wpkg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wpkg-users