简体   繁体   English

无法访问System32 dll时复制MSVCR120.dll

[英]Copying MSVCR120.dll when there is no access to System32 dll

I installed mosquitto in my machine. 我在机器上安装了mosquitto。 I need to use the following command to start the exe. 我需要使用以下命令来启动exe。

mosquitto -v

When I type that, it says msvcr120.dll is missing. 当我键入时,它说缺少msvcr120.dll。 I'm installing this mosquitto through my application's setup. 我正在通过应用程序的安装程序安装此mosquitto。 I've given dot net 4.5 as a pre-requisite. 我已经将dot net 4.5作为先决条件。 But I cannot manually copy the dll to the System32 folder in the machine being installed as I don't have access to that folder. 但是我无法将dll手动复制到正在安装的计算机中的System32文件夹中,因为我无权访问该文件夹。 I tried copying the dll to the mosquitto installation folder and running but it throws the below error. 我尝试将dll复制到mosquitto安装文件夹并运行,但是会引发以下错误。

在此处输入图片说明

What can I do to handle this situation? 我该如何处理这种情况? Whats the best way to put this dll through my WIX installer? 通过我的WIX安装程序将此dll放入的最佳方法是什么? The machine I'm trying to install is a newly installed Windows 8 machine that has dot net 4.5 installed. 我要安装的计算机是新安装的Windows 8计算机,安装了dot net 4.5。 Please advice. 请指教。

You can either include the C++ runtime merge-module in your WiX package. 您可以在WiX软件包中包含C ++运行时合并模块。 Or you can install the .DLL in the application folder. 或者,您可以在应用程序文件夹中安装.DLL。 More information can be found here: https://msdn.microsoft.com/en-us/library/dd293574.aspx 可以在这里找到更多信息: https : //msdn.microsoft.com/en-us/library/dd293574.aspx

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

相关问题 Microsoft.SqlServer.Types:加载msvcr120.dll时出错(ErrorCode:5) - Microsoft.SqlServer.Types: Error loading msvcr120.dll (ErrorCode: 5) Windows 8 Embedded中缺少MSVCR120_CLR0400.dll - Missing MSVCR120_CLR0400.dll in Windows 8 Embedded .Net Windows服务因MSVCR120_CLR0400.dll异常而崩溃 - .Net Windows Service Crashes with MSVCR120_CLR0400.dll exception .Net MVC 4 项目失败并显示事件日志错误“模块 DLL C:\\WINDOWS\\system32\\inetsrv\\aspnetcore.dll 无法加载。 数据就是错误。” - .Net MVC 4 Project fails with Event Log Error “The Module DLL C:\WINDOWS\system32\inetsrv\aspnetcore.dll failed to load. The data is the error.” 使用Google.Api OAuth 2时,拒绝访问路径“C:\ Windows \ system32 \ config \ systemprofile” - Access to the path 'C:\Windows\system32\config\systemprofile' is denied when using Google.Api OAuth 2 在 delphi 中使用 COM DLL - MSVCR80D.Z06416233FE2EC48AFE1Z3 中的访问错误1 - Using a COM DLL in delphi - Access violation in MSVCR80D.dll error Msvcr71.dll Msvcp71.dll丢失 - Msvcr71.dll Msvcp71.dll missing MSI设置自动复制Shell32.dll,导致问题 - MSI setup auto copying Shell32.dll, causing problems 尝试运行我的Java Swing应用程序时Win Vista上缺少msvcr71.dll文件 - msvcr71.dll file missing on Win Vista when trying to run my java swing application Dll不要复制到bin文件夹 - Dll not copying to bin folder
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM