Hi Marc, Marc Hennes wrote: > I downloaded the latest version but I get the same behavior. Debug output is attached. Maybe it helps... I just tried on my system using your XML file and your CMD script and the result was: 2009-06-22 21:46:17, DEBUG : Variable taskname = WPKGServiceRestart 2009-06-22 21:46:17, DEBUG : Executing command: \\skynet\reminst\software\software.free\test\CheckTask.cmd 2009-06-22 21:46:18, DEBUG : No execute condition specified, assuming exit code of 0 to be successful, everything else to be unsuccessful 2009-06-22 21:46:18, DEBUG : Execute check for program '\\skynet\reminst\software\software.free\test\CheckTask.cmd' returned '2'. Evaluating condition 'null' revealed false when comparing to expected value of '0' 2009-06-22 21:46:18, INFO : Package 'Add Task to restart WPKG service' (wpkgservicerestarttest): Not installed (checks failed). Preparing installation. (the only thing I adapted was the path to CheckTask.cmd, and I called it .cmd, the .bat extension should not be used any more). >From your log I see that you seem to have used the correct WPKG version. But I am quite sure your script exits with code 0. Maybe some encoding problem (of the command script) or something similar. Did you try once to do the following: start => run... cmd.exe then use your command: \\OB1NWS801\WPKG\Software\scripts\CheckTask.bat then type echo %ERRORLEVEL% if ERRORLEVEL is 0 then there is something wrong on your side with the script. br, Rainer |