[wpkg-users] Clamwin Package ( White Space Missing )

Pendl Stefan stefan.pendl at haidlmair.at
Wed Jun 9 18:57:33 CEST 2010


>
>    <install cmd="cmd /C copy /y "\\xx.xx.xx.xx\WPKG\apps\antivirus\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf""/>
>

The above line includes double double-quotes, which is violating the XML syntax.

You need to replace the outermost quotes with single-quotes, see blow.

In addition use %ComSpec% instead of CMD, since this will expand to CMD.exe or Command.com, depending on the windows version.

Corrected line (you need to change all lines containing the problem):

<install cmd='%ComSpec% /C copy /y "\\xx.xx.xx.xx\WPKG\apps\antivirus\ClamWin.conf" "%PROGRAMFILES%\ClamWin\bin\ClamWin.conf"'/>

---
Stefan



More information about the wpkg-users mailing list