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(