问题描述
我正在尝试在 Windows 7 X64 上安装 Visual Studio 2005 Professional,但在安装 Microsoft Visual Studio 2005 64 位先决条件 (x64) 时它很快失败.安装错误日志包括以下内容:
I am trying to install Visual Studio 2005 Professional on Windows 7 X64 and it fails quickly while installing Microsoft Visual Studio 2005 64bit Prerequisites (x64). The install error logs includes the following:
[08/25/09,14:46:14] Microsoft Visual Studio 2005 64 位先决条件 (x64):[2] 组件 Microsoft Visual Studio 2005 64 位先决条件 (x64) 返回了意外值.
[08/25/09,14:46:17] setup.exe: [2] ISetupComponent::Pre/Post/Install() 在 ISetupManager::InstallManagerHelper() 中失败,HRESULT -2147023293.
[08/25/09,14:46:17] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper() with HRESULT -2147023293.
[08/25/09,14:46:17] setup.exe: [2] ISetupManager::AddToActionResultCollection() 中未指定组件错误字符串
[08/25/09,14:46:17] setup.exe: [2] Component error string not specified in ISetupManager::AddToActionResultCollection()
Windows 7 提供了以下附加信息:
Windows 7 provides this additional information:
Problem signature:
Problem Event Name: InPageError
Error Status Code: c000000d
Faulting Media Type: 00000000
OS Version: 6.1.7600.2.0.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
努力在互联网上搜索这个问题,到目前为止还没有产生任何有用的东西,所以我想我会在这里问.是我个人还是其他人遇到了这个问题?
Efforts to search for this problem on the Internet have not produced anything useful so far so I thought I would ask here. Is it just me or have others experienced this issue?
推荐答案
借助托管 MSDN 论坛的一些帮助和运气,我安装了它.我采取的一些步骤毫无意义,但我认为我应该为其他人记录下来.
With some help from a managed MSDN forum and some luck I got this installed. Some of the steps I took made no sense but I thought I should document this for others.
我通过使用/C 开关运行 \wcu\64bitPrereq\vs_bsln.exe 来提取 Prerequisites 安装程序,然后使用管理员命令提示符中的此命令运行带有日志记录的安装程序:
I extracted the Prerequisites installer by running \wcu\64bitPrereq\vs_bsln.exe using the /C switch then ran the installer with logging using this command from an Administrator Command Prompt:
msiexec /package vs_bsln.msi /log <filename>
这给了我一个不同的错误信息:
This gave me a different error message:
MSI (s) (C4:D4) [09:14:54:489]: Product: Microsoft Visual Studio 2005 64bit
Prerequisites (x64) - ENU -- Error 1945.You do not have sufficient privileges
to complete the re-advertisement of this product. Re-advertisement requires
initiation by a local system account calling the MsiAdvertiseScript API, such
as through Group Policy Software Deployment.
其余的对我来说并没有什么意义,但我重复了上面的命令,以域管理员身份而不是本地管理员身份登录并安装了先决条件!
The rest does not really make sense to me but I repeated that above command logged in as a domain Administrator rather than a local Administrator and the Prerequisites installed!
所以我再次尝试安装 Visual Studio,它没有尝试安装先决条件,但在下一个组件(我记得是文档资源管理器)上失败并显示相同的消息.我尝试以管理员身份启动 \vs\setup.exe 并且成功了.
So I tried installing Visual Studio again and it did not attempt to install the prerequisites but failed with the same message on the next component (Document Explorer, as I recall). I tried launching \vs\setup.exe as Administrator and it worked.
更新 10/21/09:此问题可能与从另一台计算机上的共享 DVD 驱动器运行安装有关.如果您遇到这样的问题并且您正在通过网络运行安装,请尝试在本地复制安装.
UPDATE 10/21/09: This problem may have been related to running the install from a shared DVD drive on another computer. If you encounter a problem like this and you are running the install over a network, trying copying the install locally.
这篇关于在 Windows 7 X64 上安装 Visual Studio 2005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!