This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Package Boot post execution deleting files

using packageboot and postexecution to delete two files.  xml:


<postexecution>

<programs>

<program type="exe"operation="runandwait"name="cmd.exe"pathtype="simplepath"path="%windir%\system32"successcode="0"failureaction="stop"enabled="true">del "C:\Users\Public\Desktop\Newforma Project Center Ninth Edition.lnk" /Q</program>

<program type="exe"operation="runandwait"name="cmd.exe"pathtype="simplepath"path="%windir%\system32"successcode="0"failureaction="stop"enabled="true">del "C:\windows\temp\Newforma Project Center 9.2.msi" /Q</program>

</programs>

<services>

</services>

</postexecution>

i enabled packageboot logging using this KB: SolarWinds Knowledge Base :: How to enable logging for PackageBoot issues

The packageboot log shows this (after execution):

2012/07/06 15:54:15:469 PID: 5164 TID: 2008 programobject::wassuccessexitcode() indicates the program exitcode: 0x0 is considered a success code

2012/07/06 15:54:15:484 PID: 5164 TID: 2008 executionengine::executeitem() total filesinuse objects: 0

2012/07/06 15:54:15:500 PID: 5164 TID: 2008 executionengine::executeitem() total service objects: 0

2012/07/06 15:54:15:500 PID: 5164 TID: 2008 executionengine::executeitem() total process objects: 0

2012/07/06 15:54:15:500 PID: 5164 TID: 2008 executionengine::executeitem() total program objects: 0

2012/07/06 15:54:15:500 PID: 5164 TID: 2008 executionengine::executeitem() total filesinuse objects: 0

Why would it show 'total program objects: 0"?

my preexecute and execute worked just fine.

Is there a KB or something with details and examples for packageboot?  i find the instructions in the xml file to be lacking.

thanks!

-mark