Ejemplo n.º 1
0
        private void installButton_Click(object sender, EventArgs e)
        {
            Process p = new Process();

            p.StartInfo.FileName  = "msiexec";
            p.StartInfo.Arguments = "/i \"MySQLInstaller.msi\"";

            p.Start();
            p.WaitForExit();

            this.Hide();
            mySQLPathWarning pathForm = new mySQLPathWarning();

            pathForm.Show();

            /*
             * if (programVariables.getInstall())
             * {
             *  this.Hide();
             *  jcmsInstallForm theInstallForm = new jcmsInstallForm();
             *  theInstallForm.Show();
             * }
             * else
             * {
             *  this.Hide();
             *  jcmsUpgradeForm theUpgradeForm = new jcmsUpgradeForm();
             *  theUpgradeForm.Show();
             * }*/
        }
Ejemplo n.º 2
0
        private void installButton_Click(object sender, EventArgs e)
        {
            Process p = new Process();

            p.StartInfo.FileName = "msiexec";
            p.StartInfo.Arguments = "/i \"MySQLInstaller.msi\"";

            p.Start();
            p.WaitForExit();

            this.Hide();
            mySQLPathWarning pathForm = new mySQLPathWarning();
            pathForm.Show();
            /*
            if (programVariables.getInstall())
            {
                this.Hide();
                jcmsInstallForm theInstallForm = new jcmsInstallForm();
                theInstallForm.Show();
            }
            else
            {
                this.Hide();
                jcmsUpgradeForm theUpgradeForm = new jcmsUpgradeForm();
                theUpgradeForm.Show();
            }*/
        }