winston 发表于 2010-4-15 23:59:19

解决安装visual studio 2010(VS 2010)的错误

今天下载了微软的visual studio 2010试用版,没想几台机器,接二连三均安装失败。
查看安装日志,是什么vc runtime xxxx。就是卡在VC Runtime library上面。

开始查了一下资料,说是可能跟以前的版本有冲突,结果卸载后无效。索性恢复了全新的系统,
测试机器是windows 2003。
没想到居然还是失败!怀疑下载的文件有问题,做了一下crc和SHA-1校验,完全正常。

后来终于在微软网站查到,下载后,必须刻录成DVD,不能用虚拟光驱mount后安装,因为可能会
导致访问竞争冲突,造成失败。而我恰好就是用daemon-tools虚拟光驱安装的。马上找出刻录机,
刻录了一份光盘,安装,一切OK!shit,这种问题,也出得来,谁想得到啊!!!

解释贴:
http://social.msdn.microsoft.com/Forums/en/setupprerelease/thread/c3f627d1-bd30-425b-b69d-005f5853b9c8


http://blogs.msdn.com/heaths/archive/2010/02/10/verify-iso-before-burning-or-mounting-visual-studio-2010-rc.aspx
Verify ISO before burning or mounting Visual Studio 2010 RCIf you have downloaded the Visual Studio 2010 Release Candidate (RC) from MSDN or the Download Center as an ISO and are having problems installing it, it could be that either the ISO wasn’t downloaded correctly or that it wasn’t burnt to DVD correctly.
On the installation error dialog, you will find a link to the installation log. You may find text like in the following example,
VC 9.0 Runtime (x86): CMsiComponent::Install() expects the setup file for VC 9.0 Runtime (x86), but the file failed verification.
setup.exe: ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147467259.
VS70pgui: DepCheck indicates VC 9.0 Runtime (x86) is not installed.
VS70pgui: DepCheck indicates VC 10.0 Runtime (x86) was not attempted to be installed.
The error -2147467259 (0x80004005) is a generic error that occurs when installation fails. The first log line may indicate that a package could not be verified because the file was missing, or the file was corrupt and digital signature or checksum verification failed.
How to work around this issueYou can attempt to re-download the ISO file or burn it to DVD again.
After you download the ISO, please visit KB841290 to download and install the File Checksum Integrity Verifier utility (fciv.exe). Run the following command on the ISO and compare to the SHA1 hash documented on the MSDN subscribers download site for VS2010 RC.
fciv.exe –sha1 VS2010Ult_RC.iso
The MSDN subscribers download site is accessible to the public, but requires a subscription to download the files. The SHA-1 hashes are also included on the Download Center pages for releases like Visual Studio 2010 Ultimate. Whether you download the self-extracting RAR files or the ISO directly, the checksum should match exactly.
Even if the ISO is downloaded correctly, burning it to DVD may not complete correctly. If your burning software offers any verification step, please make sure to enable it. This will require additional time to burn the ISO, but could save you the trouble and expense of burning another DVD.
Mounting the ISO also requires that the ISO was downloaded completely and correctly, but it’s important to note that mounting an ISO requires that the software mounts it before you login; otherwise, a race condition occurs. Most software will mount an ISO when a startup program begins, but if Visual Studio attempts to restart after a reboot first the ISO will not be mounted and the installation will fail. If this happens, you can always attempt to manually restart the VS2010 installation.
Published Wednesday, February 10, 2010 4:43 PM by Heath Stewart Filed under: Installation, Visual Studio, Mailbag, VS 2010, Troubleshooting



Comment NotificationIf you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using RSS

Comments No Comments

modern 发表于 2010-4-17 20:41:39

我公司的操作系统也是2003,
直接解压点setup安装的VS2010,没遇到什么问题。

用起来感觉挺好的,用户体验有较大提升,
问了几个人都说感觉响应速度上有提高。
另analyze和test的工具感觉比2008的好用多了。
页: [1]
查看完整版本: 解决安装visual studio 2010(VS 2010)的错误