/// <summary> /// Opens notepad to view log file. /// </summary> public static void ShowLogFile() { try { string path = AppConfig.GetSettingStringValue("Log.FileName"); if (string.IsNullOrEmpty(path)) { path = "WebsitePanel.Installer.log"; } path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, path); Process.Start("notepad.exe", path); } catch { } }