We have a windows service that is deployed on various customer machines that are running Windows XP, Windows Server 2003, and Windows Server 2008. The service uses wyUpdate to update itself when we publish updates. This has been working fine for about six months. Recently, we added for the first time a .bat file to the Temporary Folder, to be executed after the update is applied and rollback if any non-zero error is returned due to execution of the batch file.
This was tested successfully on two of our own Windows Server 03 and 08 machines, by logging in to the server, stopping the service manually, and then clicking on wyUpdate.exe. The update is applied and the batch file runs successfully.
However, whenever a runnning service calls the updater backend, the update fails on Windows Server 03 and 08 machines. Based on several tests that I conducted, it does not seem to have anything to do with the batch file content. For example, in my most recent tests, the batch file consists of a single line: "@echo off". The error being reported by the updater backend is: 'Failed to execute the file "C:\Users\fictitioususer\wc\9\temp\temp.bat": No such interface supported'.
This problem does not occur on machines running Windows XP.
Any thoughts?