[wpkg-users] how delete a file

Yanni y.goudetsidis at mail.cryst.bbk.ac.uk
Thu Jan 21 17:01:01 CET 2016


Hello everyone

I am trying to delete a single file using WPKG but it fails to do so.
Here is the package:

-------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>

<packages>
                            <package id="bbwin" name="Xymon" 
revision="%version%" priority="1" reboot="false">

                                <variable name="version" value="0.13"/>
                                <variable name="source" 
value="\\IP\wpkg\soft"/>

<install cmd='msiexec /qn /norestart /i "%source%\BBWin_0.13.msi"'> 
<exit code="1223" /> </install>
<install cmd='%COMSPEC% /c del "C:\Program Files 
(x86)\BBWin\etc\BBWin.cfg" ' ><exit code="any" /> </install>

                           </package>
</packages>
-----------------------------------------------------

I want to delete the file "BBWin.cfg" after "Big Brother" is installed. 
When I type the "del" command in CMD it works but not through WPKG. I 
can't understand why is not working.
Any suggestions please?

Thank you


More information about the wpkg-users mailing list