[英]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.