public bool install_JustDownloadFile_into_TargetDir() { if (isInstalled()) { return(true); } if (Executable.valid().isFalse()) { "in install_JustDownloadFile_into_TargetDir for Tool {0} , a valid Executable value must be provided: {1}".error(ToolName, Executable); return(false); } Executable.str().directoryName().createDir(); Install_Uri.str().download(Executable); return(isInstalled()); }
public bool install() { if (this.isInstalled().isFalse()) { "[API_BlindElephant] Starting Blind Elephant installation process".info(); Install_Dir.createDir(); var svnUrl = Install_Uri.str(); var targetFolder = Install_Dir; var svnMappedUrls = SvnApi.HttpMode.getSvnMappedUrls(svnUrl, true); //return svnMappedUrls; foreach (var svnMappedUrl in svnMappedUrls) { " * Downloading: {0}".info(WebEncoding.urlDecode(svnMappedUrl.FullPath.Replace(svnUrl, ""))); SvnApi.HttpMode.download(svnMappedUrl, svnUrl, targetFolder); } //var fiddlerInstaller = this.installerFile(); } return(BlindElephant_Py.fileExists()); }