Esempio n. 1
0
        public static void Install(this InstallerWindow ins)
        {
            ins.ChangeRobot(ins.RobotImageInstalling);
#if DEBUG
            ins.Install_();
#else
            try {
                ins.Install_();
            } catch (Exception e) {
                ins.ChangeRobot(ins.RobotImageError);
                ins.Invoke(() => ins.ViewLogButton.Text = "ERROR! Click here to get the log!");
                ins.LogLine(e.ToString());
                return;
            }
#endif
            ins.ChangeRobot(ins.RobotImageFinished);
        }