The Free Software Media System - Server Backend & API
Overwrite on uninstaller copy
Eric Reedd4690904fbd2
diff --git a/MediaBrowser.Uninstaller/Program.cs b/MediaBrowser.Uninstaller/Program.csindex bbbdba14b6..8ea1a950aa 100644--- a/MediaBrowser.Uninstaller/Program.cs+++ b/MediaBrowser.Uninstaller/Program.cs@@ -23,7 +23,7 @@ namespace MediaBrowser.Uninstaller//copy the real uninstaller to temp locationvar sourceDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) ?? "";File.WriteAllBytes(tempExe, File.ReadAllBytes(Path.Combine(sourceDir, "MediaBrowser.Uninstaller.Execute.exe")));- File.Copy(Path.Combine(sourceDir, "MediaBrowser.Uninstaller.Execute.exe.config"), tempConfig);+ File.Copy(Path.Combine(sourceDir, "MediaBrowser.Uninstaller.Execute.exe.config"), tempConfig, true);//kick off the copyProcess.Start(tempExe, product);//and shut down