If the tool cannot be acquired then it throws an exception.
protected override void EnsureToolAvailable() { if (!File.Exists(Path.Combine(bariInstallLocation, executableName)) && !File.Exists(Path.Combine(defaultInstallLocation, executableName))) { DownloadTool(); } }