If the msiexec is still running when you try to remove that directory?
On 8.8.2013 18:35, Jeff Poling wrote:
I am feeling pretty lame that I cannot get this to work. . . .
I have a batch file I am distributing with ConfigMgr 2007. The purpose
of the batch file is to uninstall some software. It does this using
msiexec commands and then some misc deletion of registry entries. I
also need to remove the empty program directory from c:\program files
(x86). Removing the directory is not working when the program runs on
the client. If I run the script on its own outside of ConfigMgr, the
folder gets removed with no issue. I've tried a number of
renditions. Here is the line from the script I am using to delete the
folder:
CMD.exe /c rmdir /s "C:\Program Files (x86)\Interwoven" /q
Any idea why that line does not work when ConfigMgr runs the program?
Thanks,
Jeff