diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-08-14 10:54:24 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-08-14 10:54:24 +0300 |
| commit | 9c2939ac72bdb7501ce19236c60ab5f584247fb4 (patch) | |
| tree | f06fdd57627fa79ad4df70b609ec19835289b8b7 /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup | |
| parent | 9493a730360fbcf5afb612bcd7b3bcbe0a2174f9 (diff) | |
| download | Tango-9c2939ac72bdb7501ce19236c60ab5f584247fb4.tar.gz Tango-9c2939ac72bdb7501ce19236c60ab5f584247fb4.zip | |
Improved logging library threading model.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs | 6 |
1 files changed, 6 insertions, 0 deletions
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; |
