From 9c2939ac72bdb7501ce19236c60ab5f584247fb4 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 14 Aug 2018 10:54:24 +0300 Subject: Improved logging library threading model. --- .../PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs index 14cdeb3f2..f40725a35 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs @@ -12,6 +12,7 @@ using System.Threading; using System.Threading.Tasks; using Tango.Core; using Tango.Core.DB; +using Tango.Core.Helpers; using Tango.Core.IO; using Tango.PMR.Synchronization; using Tango.PPC.Common.Application; @@ -163,6 +164,11 @@ namespace Tango.PPC.Common.MachineSetup ZipFile.ExtractToDirectory(tempFile, _newPackageTempFolder); + LogManager.Log("Copying latest updater utility to application path..."); + //Copy new updater utility to app path. + File.Copy(Path.Combine(_newPackageTempFolder, "Tango.PPC.Updater.exe"), Path.Combine(PathHelper.GetStartupPath(), "Tango.PPC.Updater.exe")); + + //Synchronize database CurrentStep = MachineSetupSteps.SynchronizingSchema; -- cgit v1.3.1