积极答复者
win7 安装vs2008失败 求助 谢谢!

问题
-
错误日志
[10/14/11,16:31:05] 运行时系统必备: [2] Error: Installation failed for component 运行时系统必备. MSI returned error code 1603 [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates 运行时系统必备 is not installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2008 64 位系统必备(x64) was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Document Explorer 2008 was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Document Explorer 2008 语言包 was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Web 创作组件 was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft .NET Compact Framework 2.0 SP2 was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft .NET Compact Framework 3.5 was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Tools for the Microsoft Office system (3.0 版运行库) was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime 语言包 was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Tools for the Microsoft Office system (3.0 版运行库)语言包 - CHS was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 设计工具 was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 For Devices was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Pocket PC was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Smartphone was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Device Emulator version 3.0 (x64) was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2008 远程调试器(x64) was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Tools (x64) was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 标头和库(x64) was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Win32 Tools (x64) was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 .NET Framework Tools (x64) was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 SDK 引用程序集和 IntelliSense (x64) was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2008 性能收集工具(x64) was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Crystal Reports Basic for Visual Studio 2008 was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Crystal Reports Basic for Visual Studio 2008 64 位运行库 was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Crystal Reports Basic for Visual Studio 2008 语言包 was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Crystal Reports Basic for Visual Studio 2008 64 位语言包 was not attempted to be installed. [10/14/11,16:31:07] VS70pgui: [2] DepCheck indicates Microsoft SQL 发布向导 was not attempted to be installed.
感谢啊
- 已编辑 diaoai 2011年10月14日 8:53
答案
-
你好,
从上面的cbs.log来看,发生错误应该和这篇KB里面说的情况一样,可以尝试下KB里面提到的解决方法:
检查注册表键值HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TrustedInstaller\Start是什么,并尝试修改这个注册表值。或者直接运行services.msc,在服务列表中查找并更改服务“Windows Modules Installer”的启动方式。
注意:在修改注册表前,最好先把计划修改的注册表值导出,或者备份整个注册表。这样如果有任何错误发生,可以按照这篇文章的如何恢复注册表部分将注册表恢复到之前状态。
希望上面的信息对你有所帮助。
Andrew Wu [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 diaoai 2011年10月21日 7:57
全部回复
-
你好
或者可以嘗試以一的方法
错误码1603 的意思是“fatal error during installation”,这是一个非常一般性的错误码。为了能够找到引起错误的原因,请尝试以下步骤:
1. 打开并清空%temp%文件夹(开始菜单 –> 运行–> 输入%temp%,回车)。
2. 再次安装Visual Studio 2008
3. 如果安装再次失败,可以使用这个工具收集安装日志
Collect tool: http://www.microsoft.com/downloads/details.aspx?FamilyID=e0da314f-6216-4a18-bc6b-7d29cf83af20&displaylang=en
4. 打开vslogs.cab文件,使用记事本打开dd_install*.txt/dd_error*.txt/dd_depcheck*.txt/VSMsiLog*.txt,并搜索“return value 3”。这将会把您带到安装动作最初失败并回滚的地方。
5. 检查“return value 3”之上的几行来检查是什么引起了安装失败。
参阅:http://blogs.msdn.com/b/astebner/archive/2005/08/01/446328.aspx
下面列出了一些常用的Visual Studio安装技巧:
· 确保之前安装过的beta或RTM版的组件被全部卸载
· 将Windows更新到最新(Windows Update 网站:http://windowsupdate.microsoft.com)。
· 禁用所有的反病毒或反间谍软件
· 注意使用管理员权限运行安装(右键点击setup.exe –> 以管理员身份运行)
希望以上的信息能够帮助您解决问题
From:
Please correct me if my concept is wrong
Chi- 已建议为答案 Andrew.WuModerator 2011年10月17日 7:51
-
MSI (s) (E0:68) [10:45:22:135]: Entering MsiProvideAssembly. AssemblyName: Microsoft.VC90.ATL,version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32", AppContext: , InstallMode: -4
MSI (s) (E0:68) [10:45:22:135]: Pathbuf: 0, pcchPathBuf: 0
MSI (s) (E0:68) [10:45:22:138]: MsiProvideAssembly is returning: 1607
MSI (s) (E0:68) [10:45:22:138]: Entering MsiProvideAssembly. AssemblyName: Microsoft.VC90.ATL,version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32", AppContext: , InstallMode: -4
MSI (s) (E0:68) [10:45:22:138]: Pathbuf: 0, pcchPathBuf: 0
MSI (s) (E0:68) [10:45:22:140]: MsiProvideAssembly is returning: 1607
MSI (s) (E0:68) [10:45:22:170]: Assembly Error:出现了内部错误。MSI (s) (E0:68) [10:45:22:171]: Note: 1: 1935 2: {76C3F0F6-9B9D-35DA-81C6-CA8A88CC93CA} 3: 0x8007054F 4: IAssemblyCache 5: UninstallAssembly 6: Microsoft.VC90.ATL,version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"
MSI (s) (E0:68) [10:45:22:171]: Assembly Error (sxs): Please look into Component Based Servicing Log located at -145759112ndir\logs\cbs\cbs.log to get more diagnostic information.
Info 1935.An error occurred during the installation of assembly 'policy.9.0.Microsoft.VC90.ATL,version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32-policy"'. Please refer to Help and Support for more information. HRESULT: 0x8007054F. assembly interface: IAssemblyCache, function: UninstallAssembly, component: {A62CCE52-C380-3111-BA7D-3D0EDFA31213}
Info 1935.An error occurred during the installation of assembly 'Microsoft.VC90.ATL,version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"'. Please refer to Help and Support for more information. HRESULT: 0x8007054F. assembly interface: IAssemblyCache, function: UninstallAssembly, component: {76C3F0F6-9B9D-35DA-81C6-CA8A88CC93CA}
MSI (s) (E0:68) [10:45:22:208]: Note: 1: 2318 2:
MSI (s) (E0:68) [10:45:22:209]: No System Restore sequence number for this installation.
MSI (s) (E0:68) [10:45:22:209]: Unlocking Server
MSI (s) (E0:68) [10:45:22:214]: PROPERTY CHANGE: Deleting UpdateStarted property. Its current value is '1'.
Action ended 10:45:22: INSTALL. Return value 3.额 看看吧 感谢 了!
-
你好,
从上面的log来看,Visual Studio的安装失败是由于安装VC Runtime 9.0发生错误导致的。错误代码是1935,HRESULT: 0x8007054F:
MSI (s) (E0:68) [10:45:22:171]: Assembly Error (sxs): Please look into Component Based Servicing Log located at -145759112ndir\logs\cbs\cbs.log to get more diagnostic information.
Info 1935.An error occurred during the installation of assembly
'Microsoft.VC90.ATL,version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"'. Please refer to Help and Support for more information. HRESULT: 0x8007054F. assembly interface: IAssemblyCache, function: UninstallAssembly, component: {76C3F0F6-9B9D-35DA-81C6-CA8A88CC93CA}因为0x8007054F是指“An internal error occurred”,按照日志的指示,我们需要在另一个日志文件:%windir%\logs\cbs\cbs.log 中查找更加详细的错误信息。
同时,还可以在命令行运行sfc /scannow来检查和修复系统文件的损坏: http://support.microsoft.com/kb/929833
希望上面的信息对你有所帮助.
Andrew Wu [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
-
真是 感谢啊
2011-10-18 10:45:11, Info CBS Starting TrustedInstaller initialization.
2011-10-18 10:45:11, Info CBS Loaded Servicing Stack v6.1.7601.17514 with Core: C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17514_none_678566b7ddea04a5\cbscore.dll
2011-10-18 10:45:13, Info CSI 00000001@2011/10/18:02:45:13.420 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7feeb3be94d @0x7feeb679839 @0x7feeb6434d3 @0xff0de97c @0xff0dd799 @0xff0ddb2f)
2011-10-18 10:45:14, Info CSI 00000002@2011/10/18:02:45:14.06 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7feeb3be94d @0x7feeb6c6806 @0x7feeb692a9c @0x7feeb6435a9 @0xff0de97c @0xff0dd799)
2011-10-18 10:45:14, Info CSI 00000003@2011/10/18:02:45:14.020 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7feeb3be94d @0x7fef6df8728 @0x7fef6df8856 @0xff0de474 @0xff0dd7de @0xff0ddb2f)
2011-10-18 10:45:14, Info CBS Ending TrustedInstaller initialization.
2011-10-18 10:45:14, Info CBS Starting the TrustedInstaller main loop.
2011-10-18 10:45:14, Info CBS TrustedInstaller service starts successfully.
2011-10-18 10:45:14, Info CBS SQM: Initializing online with Windows opt-in: False
2011-10-18 10:45:14, Info CBS SQM: Cleaning up report files older than 10 days.
2011-10-18 10:45:14, Info CBS SQM: Requesting upload of all unsent reports.
2011-10-18 10:45:14, Info CBS SQM: Failed to start upload with file pattern: C:\windows\servicing\sqm\*_std.sqm, flags: 0x2 [HRESULT = 0x80004005 - E_FAIL]
2011-10-18 10:45:14, Info CBS SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 - E_FAIL]
2011-10-18 10:45:14, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\windows\servicing\sqm\*_all.sqm, flags: 0x6
2011-10-18 10:45:14, Info CBS SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 - E_FAIL]
2011-10-18 10:45:14, Info CBS No startup processing required, TrustedInstaller service was not set as autostart, or else a reboot is still pending.
2011-10-18 10:45:14, Info CBS NonStart: Checking to ensure startup processing was not required.
2011-10-18 10:45:14, Info CSI 00000004 IAdvancedInstallerAwareStore_ResolvePendingTransactions (call 1) (flags = 00000004, progress = NULL, phase = 0, pdwDisposition = @0xf1f770
2011-10-18 10:45:14, Info CBS NonStart: Startup processing is required unexpectedly, scheduled Trusted Installer for auto-start again. [HRESULT = 0x00000000 - S_OK]
2011-10-18 10:45:14, Info CBS Reboot mark refs incremented to: 1
2011-10-18 10:45:14, Info CBS Startup processing thread terminated normally
2011-10-18 10:45:14, Info SXS Install Assembly from C:\windows\WinSxS\InstallTemp\20111018104510389.0\x86_Microsoft.VC90.ATL_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_312cf0e9.manifest
2011-10-18 10:45:15, Info SXS Submitting stage transaction with 3 operations
2011-10-18 10:45:16, Info CSI 00000005 Performing 3 operations; 3 are not lock/unlock and follow:
Stage (1): flags: 8 app: [Microsoft.VC90.ATL, Version = 9.0.21022.8, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope neutral, PublicKeyToken = {l:8 b:1fc8b3b9a1e18e3b}, Type = [l:10{5}]"win32", TypeName neutral, PublicKey neutral]) comp: Microsoft.VC90.ATL, Version = 9.0.21022.8, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope neutral, PublicKeyToken = {l:8 b:1fc8b3b9a1e18e3b}, Type = [l:10{5}]"win32", TypeName neutral, PublicKey neutral man: @0x15b488
StageFile (2): flags: 8 app: [Microsoft.VC90.ATL, Version = 9.0.21022.8, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope neutral, PublicKeyToken = {l:8 b:1fc8b3b9a1e18e3b}, Type = [l:10{5}]"win32", TypeName neutral, PublicKey neutral]) comp: Microsoft.VC90.ATL, Version = 9.0.21022.8, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope neutral, PublicKeyToken = {l:8 b:1fc8b3b9a1e18e3b}, Type = [l:10{5}]"win32", TypeName neutral, PublicKey neutral file: [ml:20{10},l:18{9}]"ATL90.dll" srcfile: @0x15b5a8
AddCat (14): flags: 0 catfile: @0x15b6c8
2011-10-18 10:45:16, Info CSI 00000006 Creating NT transaction (seq 1), objectname [6]"(null)"
2011-10-18 10:45:16, Info CSI 00000007 Created NT transaction (seq 1) result 0x00000000, handle @0x2a0
2011-10-18 10:45:16, Info CSI 00000008@2011/10/18:02:45:16.649 CSI perf trace:
CSIPERF:TXCOMMIT;151258
2011-10-18 10:45:16, Info SXS Submitting install transaction
2011-10-18 10:45:16, Info CSI 00000009 Transaction merge required, do-not-merge flag passed.
2011-10-18 10:45:16, Info CSI 0000000a Pending transaction content must be resolved, cannot begin another transaction yet
2011-10-18 10:45:16, Error CSI 0000000b (F) E_UNEXPECTED #874# from Windows::COM::CComponentStore::InternalTransact(...)[gle=0x8000ffff]
2011-10-18 10:45:16, Error CSI 0000000c@2011/10/18:02:45:16.664 (F) d:\w7rtm\base\wcp\componentstore\com\store.cpp(4389): Error E_UNEXPECTED originated in function Windows::COM::CComponentStore::InternalTransact expression: ((HRESULT)0x8000FFFFL)
[gle=0x80004005]
2011-10-18 10:45:21, Error SXS Transact2 failed with 0x8000ffff
2011-10-18 10:45:21, Info SXS Uninstall Assembly: policy.9.0.Microsoft.VC90.CRT,version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32-policy"
2011-10-18 10:45:21, Info SXS Submitting uninstall transaction
2011-10-18 10:45:21, Info CSI 0000000d Transaction merge required, do-not-merge flag passed.
2011-10-18 10:45:21, Info CSI 0000000e Pending transaction content must be resolved, cannot begin another transaction yet
2011-10-18 10:45:21, Error CSI 0000000f (F) E_UNEXPECTED #902# from Windows::COM::CComponentStore::InternalTransact(...)[gle=0x8000ffff]
2011-10-18 10:45:21, Error CSI 00000010@2011/10/18:02:45:21.289 (F) d:\w7rtm\base\wcp\componentstore\com\store.cpp(4389): Error E_UNEXPECTED originated in function Windows::COM::CComponentStore::InternalTransact expression: ((HRESULT)0x8000FFFFL)
[gle=0x80004005]
2011-10-18 10:45:22, Error SXS Transact2 failed with 0x8000ffff
2011-10-18 10:45:22, Info SXS Uninstall Assembly: Microsoft.VC90.CRT,version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"
2011-10-18 10:45:22, Info SXS Submitting uninstall transaction
2011-10-18 10:45:22, Info CSI 00000011 Transaction merge required, do-not-merge flag passed.
2011-10-18 10:45:22, Info CSI 00000012 Pending transaction content must be resolved, cannot begin another transaction yet
2011-10-18 10:45:22, Error CSI 00000013 (F) E_UNEXPECTED #930# from Windows::COM::CComponentStore::InternalTransact(...)[gle=0x8000ffff]
2011-10-18 10:45:22, Error CSI 00000014@2011/10/18:02:45:22.024 (F) d:\w7rtm\base\wcp\componentstore\com\store.cpp(4389): Error E_UNEXPECTED originated in function Windows::COM::CComponentStore::InternalTransact expression: ((HRESULT)0x8000FFFFL)
[gle=0x80004005]
2011-10-18 10:45:22, Error SXS Transact2 failed with 0x8000ffff
2011-10-18 10:45:22, Info SXS Uninstall Assembly: policy.9.0.Microsoft.VC90.ATL,version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32-policy"
2011-10-18 10:45:22, Info SXS Submitting uninstall transaction
2011-10-18 10:45:22, Info CSI 00000015 Transaction merge required, do-not-merge flag passed.
2011-10-18 10:45:22, Info CSI 00000016 Pending transaction content must be resolved, cannot begin another transaction yet
2011-10-18 10:45:22, Error CSI 00000017 (F) E_UNEXPECTED #958# from Windows::COM::CComponentStore::InternalTransact(...)[gle=0x8000ffff]
2011-10-18 10:45:22, Error CSI 00000018@2011/10/18:02:45:22.105 (F) d:\w7rtm\base\wcp\componentstore\com\store.cpp(4389): Error E_UNEXPECTED originated in function Windows::COM::CComponentStore::InternalTransact expression: ((HRESULT)0x8000FFFFL)
[gle=0x80004005]
2011-10-18 10:45:22, Error SXS Transact2 failed with 0x8000ffff
2011-10-18 10:45:22, Info SXS Uninstall Assembly: Microsoft.VC90.ATL,version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"
2011-10-18 10:45:22, Info SXS Submitting uninstall transaction
2011-10-18 10:45:22, Info CSI 00000019 Transaction merge required, do-not-merge flag passed.
2011-10-18 10:45:22, Info CSI 0000001a Pending transaction content must be resolved, cannot begin another transaction yet
2011-10-18 10:45:22, Error CSI 0000001b (F) E_UNEXPECTED #986# from Windows::COM::CComponentStore::InternalTransact(...)[gle=0x8000ffff]
2011-10-18 10:45:22, Error CSI 0000001c@2011/10/18:02:45:22.142 (F) d:\w7rtm\base\wcp\componentstore\com\store.cpp(4389): Error E_UNEXPECTED originated in function Windows::COM::CComponentStore::InternalTransact expression: ((HRESULT)0x8000FFFFL)
[gle=0x80004005]
2011-10-18 10:45:22, Error SXS Transact2 failed with 0x8000ffff额 又要 麻烦你了
-
你好,
从上面的cbs.log来看,发生错误应该和这篇KB里面说的情况一样,可以尝试下KB里面提到的解决方法:
检查注册表键值HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TrustedInstaller\Start是什么,并尝试修改这个注册表值。或者直接运行services.msc,在服务列表中查找并更改服务“Windows Modules Installer”的启动方式。
注意:在修改注册表前,最好先把计划修改的注册表值导出,或者备份整个注册表。这样如果有任何错误发生,可以按照这篇文章的如何恢复注册表部分将注册表恢复到之前状态。
希望上面的信息对你有所帮助。
Andrew Wu [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 diaoai 2011年10月21日 7:57
-
你好,
如果这个键值是0x2的话,说明现在的启动状态是”自动“,可以把他修改成0x3(手动)模式,也可以直接在 “服务” 那边直接修改。
Andrew Wu [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.