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
>
>
>
>
>
>
>
>
>
>
>
>
>   



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to