[wpkg-users] xml error please advise ..

Gregory Machin gregory.machin at gmail.com
Sat Apr 21 10:05:53 CEST 2007


no problem ..
I tried you suggetion both with the </remove> and without ..
and have tried adding closing tags to all the other files but no luck ...
any other suggestions ?

Greg

On 4/21/07, Adam Williams <awilliam at mdah.state.ms.us> wrote:
> oops, i goofed in the previous email...don't change your <remove> line
>
> Gregory Machin wrote:
> > Hi
> > I'm having a problem when I run the wpkg.js script ..
> >
> > C:\Documents and Settings\greg>cscript z:\wpkg.js /synchronize /debug
> > Microsoft (R) Windows Script Host Version 5.6
> > Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
> >
> > Reboot-Cmd is standard.
> > base directory z:\.
> > Error parsing xml: XML document must have a top level element.
> >
> > File      C:\WINDOWS\system32\wpkg.xml
> > Line      0
> > Linepos   0
> > Filepos   0
> > srcText
> >
> >
> > note the  >> Error parsing xml: XML document must have a top level element.
> >
> > there are my xml files
> >
> > hosts.xml
> >
> > <wpkg>
> >     <host name="greg-lpt" profile-id="greg" />
> > </wpkg>
> >
> > profiles.xml
> >
> > <profiles>
> >       <profile id="greg">
> >               <package package-id="firefox" />
> >       </profile>
> > </profiles>
> >
> > packages.xml
> >
> > <packages>
> >
> > <package id='firefox' name='Mozilla FireFox ' revision='2'
> > priority='10' reboot='false' execute='once' >
> >   <!-- notes -->
> >   <check type='file' condition='exists' path='C:\Program Files\Mozilla
> > Firefox\firefox.exe' />
> >   <install cmd='z:\software\mozilla\firefox.exe -ms -ira' />
> >   <remove cmd='"%PROGRAMFILES%\Mozilla Firefox\uninstall\uninstall.exe" -ms' />
> >   <upgrade cmd='z:\software\mozilla\firefox.exe -ms -ira' />
> > </package>
> >
> > </packages>
> >
> >
> > What have I missed ??
> >
> > Many Thanks
> > Greg
> >


-- 
Gregory Machin
gregory.machin at gmail.com
www.linuxpro.co.za


wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list