// 170507 EDS #892 Only lookup setup files in CreateNewProject private void CreateNewProject() { try { String scriptLocation = FileLocator.FindFile(m_dbSetupFileName, Path.GetDirectoryName(Application.ExecutablePath), false); m_dbScriptPath = Path.GetDirectoryName(scriptLocation); if (CreateSQLDatabase()) { if (CreateSDEDatabase()) { String finishedString = String.Format(Strings.Value((m_task == NavServerSetupTask.Create) ? "strDBCreationComplete" : "strDBUpgradeComplete"), m_databaseName, m_serverName); MessageBox.Show(Strings.Value(finishedString, Assembly.GetExecutingAssembly())); } } } catch (Exception exc) { InstallUtility.ExceptionHandler(exc, System.Reflection.MethodInfo.GetCurrentMethod().Name); } DialogResult = DialogResult.OK; this.Close(); }