diff options
| author | Eric Reed <ebr@mediabrowser3.com> | 2013-02-26 10:18:27 -0500 |
|---|---|---|
| committer | Eric Reed <ebr@mediabrowser3.com> | 2013-02-26 10:18:27 -0500 |
| commit | 7118f3b091b2d7d388e1985c48c41894da4cbd4e (patch) | |
| tree | 70db75fe988a77086e4866fdb789869fd0ae531d | |
| parent | 9fa9c580b0ddf926faa55442539dff5749ff914f (diff) | |
Remove startup shortcut and other paths
| -rw-r--r-- | MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs b/MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs index fb6ff6c89..428af7b62 100644 --- a/MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs +++ b/MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs @@ -72,6 +72,7 @@ namespace MediaBrowser.Uninstaller.Execute var startMenu = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.StartMenu), "Media Browser 3"); var linkName = "Media Browser " + Product + ".lnk"; RemoveShortcut(Path.Combine(startMenu, linkName)); + RemoveShortcut(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Startup),linkName)); linkName = "Uninstall " + linkName; RemoveShortcut(Path.Combine(startMenu, linkName)); if (Product == "Server") @@ -108,6 +109,7 @@ namespace MediaBrowser.Uninstaller.Execute // First remove the system lblHeading.Content = "Removing System Files..."; RemovePath(Path.Combine(rootPath, "System")); + RemovePath(Path.Combine(rootPath, "MediaTools")); // And then the others specified if (cbxRemoveCache.IsChecked == true) @@ -120,6 +122,7 @@ namespace MediaBrowser.Uninstaller.Execute { lblHeading.Content = "Removing Config Files..."; RemovePath(Path.Combine(rootPath, "config")); + RemovePath(Path.Combine(rootPath, "logs")); } if (cbxRemovePlugins.IsChecked == true) { |
