public void Install() { if (!AlwaysInstall) { if (Installer.IsInstalled()) { ; } } var log = Execute(); Logs.Add(log); Installer.AddToPath(); OnInstalled(); if (!Installer.IsInstalled()) { throw new Exception($"Failed to install {Name}. Install it manually."); } }