upd to for check x64 vc++

This commit is contained in:
Dimitrij
2025-10-07 23:56:48 +01:00
parent 492a2629c2
commit 3bd2fe889a
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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(