简体   繁体   English

Visual Studio 2008 64位部署项目未按预期部署64位VC90合并模块

[英]Visual Studio 2008 64 bit Deployment Project does not deploy 64 bit VC90 merge modules as expected

I am currently working on a 64 bit installer for a 64 bit binary for Microsoft Windows 2008. One of the prerequisites is the microsoft visual c++ 2008 runtime libraries and it cannot be installed using the Microsoft redistributable packages. 我目前正在为Microsoft Windows 2008的64位二进制文​​件开发64位安装程序。先决条件之一是Microsoft visual c ++ 2008运行时库,不能使用Microsoft可再发行组件包进行安装。 I have learned around merge modules used into Microsoft Visual studio and have included these four : 我了解了用于Microsoft Visual Studio的合并模块,并包括了这四个模块:

Microsoft_VC90_ATL_x86_x64.msm Microsoft_VC90_CRT_x86_x86.msm policy_9_0_Microsoft_VC90_ATL_x86_64.msm policy_9_0_Microsoft_VC90_ATL_x86_64.msm Microsoft_VC90_ATL_x86_x64.msm Microsoft_VC90_CRT_x86_x86.msm policy_9_0_Microsoft_VC90_ATL_x86_64.msm policy_9_0_Microsoft_VC90_ATL_x86_64.msm

However when I attempt when I attempt to install the 64 bit installer on a Windows 2008 R2 64 bit box I get this error (using sxstrace.exe) 但是,当我尝试在Windows 2008 R2 64位框中安装64位安装程序时,出现此错误(使用sxstrace.exe)

=================
Begin Activation Context Generation.
Input Parameter:
    Flags = 0
    ProcessorArchitecture = AMD64
    CultureFallBacks = en-US;en
    ManifestPath = C:\Program Files\Nimsoft\Nimsoft Robot x64\bin\nimbus.exe
    AssemblyDirectory = C:\Program Files\Nimsoft\Nimsoft Robot x64\bin\
    Application Config File = 
-----------------
INFO: Parsing Manifest File C:\Program Files\Nimsoft\Nimsoft Robot x64\bin\nimbus.exe.
    INFO: Manifest Definition Identity is (null).
    INFO: Reference: Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
INFO: Resolving reference Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
    INFO: Resolving reference for ProcessorArchitecture amd64.
        INFO: Resolving reference for culture Neutral.
            INFO: Applying Binding Policy.
                INFO: No publisher policy found.
                INFO: No binding policy redirect found.
            INFO: Begin assembly probing.
                INFO: Did not find the assembly in WinSxS.
                INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC90.CRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.CRT.DLL.
                INFO: Attempt to probe manifest at C:\Program Files\Nimsoft\Nimsoft Robot x64\bin\Microsoft.VC90.CRT.DLL.
                INFO: Attempt to probe manifest at C:\Program Files\Nimsoft\Nimsoft Robot x64\bin\Microsoft.VC90.CRT.MANIFEST.
                INFO: Attempt to probe manifest at C:\Program Files\Nimsoft\Nimsoft Robot x64\bin\Microsoft.VC90.CRT\Microsoft.VC90.CRT.DLL.
                INFO: Attempt to probe manifest at C:\Program Files\Nimsoft\Nimsoft Robot x64\bin\Microsoft.VC90.CRT\Microsoft.VC90.CRT.MANIFEST.
                INFO: Did not find manifest for culture Neutral.
            INFO: End assembly probing.
    ERROR: Cannot resolve reference Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
ERROR: Activation Context generation failed.
End Activation Context Generation.

Is there something I'm not including in the package or some setting I'm not using? 包装中是否包含我未包含的东西或未使用的某些设置?

这是因为找不到dll Microsoft.VC90.CRT.DLL ,它属于Microsoft Visual C++ 2008 Redistributable Package ,您可以在此处下载该软件包,然后安装该软件包并进行其他尝试。

you should be able to find the merge modules in 您应该能够在以下位置找到合并模块

C:\\Program Files (x86)\\Common Files\\Merge Modules C:\\ Program Files(x86)\\ Common Files \\ Merge模块

(yes, even the 64 bit merge modules are in there) (是的,即使是64位合并模块也在那里)

if they're not then your install of 2008 is messed up. 如果不是,那么您安装的2008年就搞砸了。

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

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