1. I ran install-node-dcom from a UNIX machine to a Windows machine
2. It said that it failed.
I attached a debugger and saw that it actually worked perfectly! It's just that no output was returned from running the remote script.
This is the first time I tried it from UNIX instead of Windows so maybe it is a problem on UNIX?
At any rate the code below is too stringent. In this case the unpacking went fine.
Change the test to look for a particular file that got unpacked instead of looking at the output.
String out = scripter.run(unpackScript);
if (out == null || out.length() < 50)
throw new CommandException(Strings.get("dcom.error.unpacking", unpackScript, out));
logger.fine("Output from Windows Unpacker:\n" + out);