0

Am on work experience placement and my boss is having trouble with this, Was hoping someone could help (And make me look clever :P). Have spent the last couple hours looking through stuff, without getting anywhere... much.

Basically: We have a program which currently requires the "2010 c++ redistributable" to run. The latest version of this program (.msi installer) includes the .dlls required to run the program, however the .dlls are not registered after running the installer. The program will not run (Until you install the "2010 c++ redistributable").

I think the problem could be something to do with administrator privileges. Not really sure. Any point in the right direction would be much appreciated. Thanks

4

1 回答 1

2

您需要使用Merge Modules重新分发这些 DLL - 因此,您可以将安装程序打包到您自己的安装程序中,而不是仅打包 DLL 本身;或者通过在安装程序中包含 redist exe,将其解压缩到临时文件夹,然后启动它。

您可以在此处从 Microsoft下载 VS2010 的 redist 安装程序(x86 版本)。

这里有一个相关的 SO 问题,描述了这些替代方案的优缺点。

于 2013-06-10T14:55:07.217 回答