/// <summary> /// Writes this processes output to a file. /// </summary> private void WriteToFile() { try { Installer.WriteLogToFile(_workingPath, _process.Configuration, _log.ToString()); } catch (Exception ex) { Installer.WriteLogToFile(_workingPath, _process.Label, ex.ToString()); } }
/// <summary> /// Writes this log to a file. /// </summary> private void WriteToFile() { try { Installer.WriteLogToFile(_workingPath, _process.Configuration, logTextBox.Text); } catch (Exception ex) { MessageBox.Show(ex.ToString(), "Write Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } }