diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-08-14 14:29:46 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-08-14 14:29:46 +0300 |
| commit | 82aed02d112afaebcdf23987c9604c9162c425af (patch) | |
| tree | f7036ebcf3588c3e3e7a2967fc2575fc21216222 /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs | |
| parent | d45929579ab6165172908328affb90c5a6f4fa47 (diff) | |
| parent | d47216027fb8eb28142b1c18841c1e05bb38e955 (diff) | |
| download | Tango-82aed02d112afaebcdf23987c9604c9162c425af.tar.gz Tango-82aed02d112afaebcdf23987c9604c9162c425af.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs')
| -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; |
