aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Reed <ebr@mediabrowser3.com>2013-02-26 07:59:57 -0500
committerEric Reed <ebr@mediabrowser3.com>2013-02-26 07:59:57 -0500
commitd4690904fbd2733118d5a8d540105d90a202ff7a (patch)
tree3d12cc09e71b807336750a21f030522cfd0dcc80
parent098ba6db0d15bde7edb7a8e96452991744b98262 (diff)
Overwrite on uninstaller copy
-rw-r--r--MediaBrowser.Uninstaller/Program.cs2
1 files changed, 1 insertions, 1 deletions
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