if (NetUtils.isThisHostLocal(host))
throw new CommandValidationException(Strings.get("dcom.yes.local", host));
try {
installRoot = installRoot.replace('/', '\\');
WindowsRemoteFileSystem wrfs = new WindowsRemoteFileSystem(host, username, password);
WindowsRemoteFile wrf = new WindowsRemoteFile(wrfs, installRoot);
WindowsCredentials creds = new WindowsCredentials(host, domain, username, password);
// also looking for side-effect of Exception getting thrown...
if (!wrf.exists()) {