[wpkg-users] xml error please advise ..
Adam Williams
awilliam at mdah.state.ms.us
Sat Apr 21 09:31:21 CEST 2007
try changing:
<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' />
to
<install cmd='z:\software\mozilla\firefox.exe -ms -ira'>
</install>
<remove cmd='"%PROGRAMFILES%\Mozilla Firefox\uninstall\uninstall.exe" -ms'>
</remove>
<upgrade cmd='z:\software\mozilla\firefox.exe -ms -ira'>
</upgrade>
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
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