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()) {
throw new CommandValidationException(Strings.get("dcom.no.remote.install",
host, installRoot));
}
if (!WindowsRemotePinger.ping(installRoot, creds))