简体   繁体   English

在 Windows 7 嵌入式标准上安装 MSVC 可再发行组件

[英]Installing MSVC redistributables on Windows 7 embedded standard

I have built a DLL that will be used on a machine running windows 7 embedded standard.我已经构建了一个 DLL,它将在运行 windows 7 嵌入式标准的机器上使用。 Now that I'm trying to integrate it, it complains about missing MSVCP140.dll .现在我正在尝试集成它,它抱怨缺少MSVCP140.dll

No big deal, I just have to install the redistributables.没什么大不了的,我只需要安装可再发行组件。 However, to install the vcredist_x86 package you need to have the universal CRT ( update 2999226 )但是,要安装 vcredist_x86 package,您需要拥有通用 CRT( 更新 2999226

For some reason, the windows 7 embedded version will not allow the update to be installed.由于某种原因,windows 7 嵌入式版本不允许安装更新。 Without this update, I can't install the redistributables, without which I can't run my project.如果没有此更新,我将无法安装可再发行组件,否则我将无法运行我的项目。

Does anyone know how to get the redistributables (2015 or higher) running on windows 7 embedded standard (x86)?有谁知道如何在 windows 7 嵌入式标准 (x86) 上运行可再发行组件(2015 或更高版本)?

I notice that some programs like OpenJDK come with those DLLs bundled so I came up with this solution that is quite risky but may work: try downloading those missing DLLs and try again.我注意到像 OpenJDK 这样的一些程序捆绑了这些 DLL,所以我想出了这个风险很大但可能有效的解决方案:尝试下载那些丢失的 DLL,然后再试一次。 Remember not to mix 32 and 64 bit.记住不要混合 32 位和 64 位。

You may also try to manually download the new universal CRT's DLLs before installing MSVC 2015 instead.您也可以尝试在安装 MSVC 2015 之前手动下载新的通用 CRT 的 DLL。

According to this , MSVCP140.dll is provided by Visual Studio C++ 2012 Redistributable Update 4 or later versions . 据此MSVCP140.dll是由Visual Studio C++ 2012 Redistributable Update 4 或更高版本提供的。 So for MSVCP140.dll only you might not need (2015 or higher).因此,对于MSVCP140.dll ,只有您可能不需要(2015 或更高版本)。 Try with that earlier version.尝试使用该早期版本。

As I understand, VCRedist 2012 is associated with MSVCR120.dll , and there is even another version in between (VCredist 2013 with MSVCR130.dll ), so the linked manual would be in error, even being Cisco... but it is worth checking.据我了解,VCRedist 2012 与MSVCR120.dll相关联,并且两者之间还有另一个版本(VCredist 2013 与MSVCR130.dll ),因此链接的手册有误,即使是思科... .

Note: Technically, I am not answering "Does anyone know how to get the redistributables (2015 or higher) running on windows 7 embedded standard (x86)?", but it may give a solution to your problem, and a rephrasing of the question that you really mean to answer.注意:从技术上讲,我不是在回答“有人知道如何在 windows 7 嵌入式标准 (x86) 上运行可再发行组件(2015 或更高版本)吗?”,但它可能会为您的问题提供解决方案,并改写问题你真的要回答。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM