1 of 1 people found this helpful
You need an EXE to call the CMD file. There are also a few other typos your XML. Here's a corrected example using CMD.EXE to call the CMD file:
<program type="exe" operation (typeaction)="runandwait" name="DoThis.cmd (cmd.exe)" successcode="0" failureaction="stop" enabled="true">dothis.cmd</program>
Also, here's a video that might prove helpful: https://www.eminentware.com/cs2008/media/p/972.aspx
Let us know if this does the trick.
Ahh - I see it now. The default packageboot.xml file has that 'operation="runandwait" ' line and that's what I was using as the base.
Here is the line verbatim that did the trick:
<program type="exe" typeaction="runandwait" name="DoThis.cmd" successcode="0" failureaction="stop" enabled="true"> </program>
Thanks for the help!