Hi,

I'm having some serious problems with WPKG here :(

It seems like WPKG is destroying the packages.xml when it copies it to the 
local machine...

While it looks like this on my server:

<package id="test" name="test" revision="4" priority="100" reboot="false" 
notify="false" execute="always">
  <Install cmd='cmd /c echo foo >> c:\test.txt' />
  <Install cmd='cmd /c del /q /s "c:\test.txt"' />
</package>

It becomes this in wpkg.xml in %windir%\system32\wpkg.xml:

<package id="test" name="test" revision="4" priority="100" reboot="false" 
notify="false" execute="always">
  <Install cmd="cmd /c echo foo &gt;&gt; c:\test.txt"/>
  <Install cmd="cmd /c del /q /s &quot;c:\test.txt&quot;"/>
</package>

As you can see the >> becomes &gt;&gt; and the " become &quot; which of course 
totally fucks up the execution of those install commands.
I'm using WPKG 0.9.11-test1 and WPKG-Installer 0.91...

Since this is pretty urgent I'd appreciate a fast answer with a solution or if 
needed, a patch to fix this problem.

Thanks in advance,

-
jens

-------------------------------------------------------------------------
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
wpkg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to