예제 #1
0
        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.");
            }
        }