From d4690904fbd2733118d5a8d540105d90a202ff7a Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Tue, 26 Feb 2013 07:59:57 -0500 Subject: [PATCH] Overwrite on uninstaller copy --- MediaBrowser.Uninstaller/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Uninstaller/Program.cs b/MediaBrowser.Uninstaller/Program.cs index bbbdba14b..8ea1a950a 100644 --- a/MediaBrowser.Uninstaller/Program.cs +++ b/MediaBrowser.Uninstaller/Program.cs @@ -23,7 +23,7 @@ namespace MediaBrowser.Uninstaller //copy the real uninstaller to temp location var 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 copy Process.Start(tempExe, product); //and shut down