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(); * }*/ }
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(); }*/ }