简体   繁体   English

如何检查 Visual C++ Redistributable for Visual Studio 2015 是否安装在 docker 容器上

[英]How to check if Visual C++ Redistributable for Visual Studio 2015 is installed on a docker container

How can I verify that my docker setup to install the Visual C++ Redistributable for Visual Studio 2015-2019 (link: https://download.visualstudio.microsoft.com/download/pr/9e04d214-5a9d-4515-9960-3d71398d98c3/1e1e62ab57bbb4bf5199e8ce88f040be/vc_redist.x64.exe ) has been successful? How can I verify that my docker setup to install the Visual C++ Redistributable for Visual Studio 2015-2019 (link: https://download.visualstudio.microsoft.com/download/pr/9e04d214-5a9d-4515-9960-3d71398d98c3/1e1e62ab57bbb4bf5199e8ce88f040be /vc_redist.x64.exe ) 成功了吗?

I used this question as the basis for my answer, however, it seems that when the redistributable is installed on a docker image/container the registry path(s) is/are different.我使用这个问题作为我回答的基础,但是,当可再发行组件安装在 docker 映像/容器上时,注册表路径似乎不同。

From Visual Studio, I selected the container from the Containers window/tree, right-clicked and clicked "Open Terminal Window" and pasted the following command:在 Visual Studio 中,我从容器窗口/树中选择容器,右键单击并单击“打开终端窗口”并粘贴以下命令:

reg query HKEY_CLASSES_ROOT\Installer\Dependencies\ /s /f {f4220b74-9edd-4ded-bc8b-0342c1e164d8}

This gave me the following output:这给了我以下 output:

HKEY_CLASSES_ROOT\Installer\Dependencies\Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14\Dependents\{f4220b74-9edd-4ded-bc8b-0342c1e164d8}
(Default)    REG_SZ    {f4220b74-9edd-4ded-bc8b-0342c1e164d8}
HKEY_CLASSES_ROOT\Installer\Dependencies\Microsoft.VS.VC_RuntimeMinimumVSU_amd64
HKEY_CLASSES_ROOT\Installer\Dependencies\VC,redist.x64,amd64,14.21,bundle\Dependents\{f4220b74-9edd-4ded-bc8b-0342c1e164d8}
HKEY_CLASSES_ROOT\Installer\Dependencies\VC,redist.x64,amd64,14.21,bundle
End of search: 4 match(es) found.

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法在POSReady 7上安装Visual Studio 2015的Visual C ++可再发行组件 - Failing to install Visual C++ Redistributable for Visual Studio 2015 on POSReady 7 如何自动安装用于Java代码的Visual Studio 2015的Visual C ++可再发行组件 - how to automatically install Visual C++ Redistributable for Visual Studio 2015 used in a java code microsoft visual c++ 2015 Redistributable 未安装 - microsoft visual c++ 2015 redistributable is not installing vcruntime140.dll的位置(随Visual C ++ Redistributable 2015一起安装) - Location of vcruntime140.dll (installed with Visual C++ Redistributable 2015) 我可以将 Visual Studio 2015 C++ Redistributable DLL 与我的应用程序捆绑在一起吗? - Can I bundle the Visual Studio 2015 C++ Redistributable DLL's with my application? Visual c + +可再分发的再分发 - Visual c++ redistributable redistribution 找不到以编程方式C#的Microsoft Visual C ++ 2015可再发行组件 - Cannot find Microsoft Visual C++ 2015 Redistributable Programmatically C# Visual C++ 2015 Redistributable Setup 失败 [0x80240017]- 未指定的错误 - Visual C++ 2015 Redistributable Setup Failed [0x80240017]- unspecified error 验证是否安装了Visual C ++ 2008 SP1可再发行组件包,而不在Windows注册表中进行搜索? - Verify if Visual C++ 2008 SP1 Redistributable Package is Installed without searching in windows registry? 如何通过注册表确定用户计算机上是否安装了 32 位 Visual Studio 2013 可再发行组件? - How to determine if the 32-bit Visual Studio 2013 redistributable is installed on a user's machine reliably via the Registry?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM