From 3bd2fe889ab5dad0ca1ff92f1c818ad4a345dd10 Mon Sep 17 00:00:00 2001 From: Dimitrij Date: Tue, 7 Oct 2025 23:56:48 +0100 Subject: [PATCH] upd to for check x64 vc++ --- mRemoteNG/App/Checks/VCppRuntimeCheck.cs | 2 +- mRemoteNG/App/ProgramRoot.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mRemoteNG/App/Checks/VCppRuntimeCheck.cs b/mRemoteNG/App/Checks/VCppRuntimeCheck.cs index 02cc207f1..eefb05675 100644 --- a/mRemoteNG/App/Checks/VCppRuntimeCheck.cs +++ b/mRemoteNG/App/Checks/VCppRuntimeCheck.cs @@ -24,7 +24,7 @@ namespace mRemoteNG.App.Update string version = $"{major}.{minor}"; foreach (var baseKey in baseKeys) { - string path = $@"{baseKey}\{version}\VC\Runtimes\x86"; + string path = $@"{baseKey}\{version}\VC\Runtimes\x64"; using (RegistryKey? key = Registry.LocalMachine.OpenSubKey(path)) { if (key?.GetValue("Installed") is int installed && installed == 1) diff --git a/mRemoteNG/App/ProgramRoot.cs b/mRemoteNG/App/ProgramRoot.cs index 58be94a2c..12a6b8087 100644 --- a/mRemoteNG/App/ProgramRoot.cs +++ b/mRemoteNG/App/ProgramRoot.cs @@ -79,7 +79,7 @@ namespace mRemoteNG.App // Checking Visual C++ Redistributable version if (VCppRuntimeCheck.GetInstalledVcRedistVersions() == null || VCppRuntimeCheck.GetInstalledVcRedistVersions().Count == 0) { - var downloadUrl2 = "https://aka.ms/vs/17/release/vc_redist.x86.exe"; + var downloadUrl2 = "https://aka.ms/vs/17/release/vc_redist.x64.exe"; try { var result = MessageBox.Show(