VS2017安裝警告。未能安裝包“Microsoft.VisualCpp.Redist.14,version=14.16.27033.4,chip=x86”

搜索 URL
        https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.Redist.14;PackageAction=Install;ReturnCode=3
    詳細信息
        已執行的命令: "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.16.27033.4,chip=x86\VC_redist.x86.exe" /q /norestart /log "C:\Users\lab704\AppData\Local\Temp\dd_setup_20200531171757_118_Microsoft.VisualCpp.Redist.14.log"
        返回代碼: 3
返回代碼詳細信息: 系統找不到指定的路徑。

返回代碼是3,提示的是找不到安裝路徑。於是循着後邊的log 去查找日誌。

[537C:46B8][2020-05-31T17:29:04]i001: Burn v3.10.4.4718, Windows v10.0 (Build 17763: Service Pack 0), path: C:\WINDOWS\Temp\{8E5EE441-51DA-46B7-ABD5-AE3C6D99D426}\.cr\VC_redist.x86.exe
[537C:46B8][2020-05-31T17:29:04]i009: Command Line: '-burn.clean.room=C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.16.27033.4,chip=x86\VC_redist.x86.exe -burn.filehandle.attached=284 -burn.filehandle.self=660 /q /norestart /log C:\Users\lab704\AppData\Local\Temp\dd_setup_20200531171757_118_Microsoft.VisualCpp.Redist.14.log'
[537C:46B8][2020-05-31T17:29:04]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.16.27033.4,chip=x86\VC_redist.x86.exe'
[537C:46B8][2020-05-31T17:29:04]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.16.27033.4,chip=x86\'
[537C:46B8][2020-05-31T17:29:04]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\lab704\AppData\Local\Temp\dd_setup_20200531171757_118_Microsoft.VisualCpp.Redist.14.log'
[537C:46B8][2020-05-31T17:29:05]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2017 Redistributable (x86) - 14.16.27033'
[537C:46B8][2020-05-31T17:29:05]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[537C:4954][2020-05-31T17:29:05]i000: Setting version variable 'WixBundleFileVersion' to value '14.16.27033.0'
[537C:46B8][2020-05-31T17:29:05]i100: Detect begin, 10 packages
[537C:46B8][2020-05-31T17:29:05]i000: Setting version variable 'windows_uCRT_DetectKey' to value '10.0.17763.719'
[537C:46B8][2020-05-31T17:29:05]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 1
[537C:46B8][2020-05-31T17:29:05]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]i103: Detected related package: {BBF2AC74-720C-3CB3-8291-5E34039232FA}, scope: PerMachine, version: 14.0.24215.0, language: 0 operation: MajorUpgrade
[537C:46B8][2020-05-31T17:29:05]i103: Detected related package: {69BCE4AC-9572-3271-A2FB-9423BDA36A43}, scope: PerMachine, version: 14.0.24215.0, language: 0 operation: MajorUpgrade
[537C:46B8][2020-05-31T17:29:05]i101: Detected package: Windows81_x86, state: Absent, cached: None
[537C:46B8][2020-05-31T17:29:05]i101: Detected package: Windows81_x64, state: Absent, cached: None
[537C:46B8][2020-05-31T17:29:05]i101: Detected package: Windows8_x86, state: Absent, cached: None
[537C:46B8][2020-05-31T17:29:05]i101: Detected package: Windows8_x64, state: Absent, cached: None
[537C:46B8][2020-05-31T17:29:05]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[537C:46B8][2020-05-31T17:29:05]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None
[537C:46B8][2020-05-31T17:29:05]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[537C:46B8][2020-05-31T17:29:05]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[537C:46B8][2020-05-31T17:29:05]i101: Detected package: vcRuntimeMinimum_x86, state: Absent, cached: None
[537C:46B8][2020-05-31T17:29:05]i101: Detected package: vcRuntimeAdditional_x86, state: Absent, cached: None
[537C:46B8][2020-05-31T17:29:05]i052: Condition 'VersionNT >= v6.0 OR (VersionNT = v5.1 AND ServicePackLevel >= 2) OR (VersionNT = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[537C:46B8][2020-05-31T17:29:05]i199: Detect complete, result: 0x0
[537C:46B8][2020-05-31T17:29:05]i200: Plan begin, 10 packages, action: Install
[537C:46B8][2020-05-31T17:29:05]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86
[537C:46B8][2020-05-31T17:29:05]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64
[537C:46B8][2020-05-31T17:29:05]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86
[537C:46B8][2020-05-31T17:29:05]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64
[537C:46B8][2020-05-31T17:29:05]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86
[537C:46B8][2020-05-31T17:29:05]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64
[537C:46B8][2020-05-31T17:29:05]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86
[537C:46B8][2020-05-31T17:29:05]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.
[537C:46B8][2020-05-31T17:29:05]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64
[537C:46B8][2020-05-31T17:29:05]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x86' to value 'C:\Users\lab704\AppData\Local\Temp\dd_setup_20200531171757_118_Microsoft.VisualCpp.Redist.14_000_vcRuntimeMinimum_x86_rollback.log'
[537C:46B8][2020-05-31T17:29:05]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x86' to value 'C:\Users\lab704\AppData\Local\Temp\dd_setup_20200531171757_118_Microsoft.VisualCpp.Redist.14_000_vcRuntimeMinimum_x86.log'
[537C:46B8][2020-05-31T17:29:05]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x86' to value 'C:\Users\lab704\AppData\Local\Temp\dd_setup_20200531171757_118_Microsoft.VisualCpp.Redist.14_001_vcRuntimeAdditional_x86_rollback.log'
[537C:46B8][2020-05-31T17:29:05]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x86' to value 'C:\Users\lab704\AppData\Local\Temp\dd_setup_20200531171757_118_Microsoft.VisualCpp.Redist.14_001_vcRuntimeAdditional_x86.log'
[537C:46B8][2020-05-31T17:29:05]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[537C:46B8][2020-05-31T17:29:05]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[537C:46B8][2020-05-31T17:29:05]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[537C:46B8][2020-05-31T17:29:05]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[537C:46B8][2020-05-31T17:29:05]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[537C:46B8][2020-05-31T17:29:05]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[537C:46B8][2020-05-31T17:29:05]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[537C:46B8][2020-05-31T17:29:05]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[537C:46B8][2020-05-31T17:29:05]i201: Planned package: vcRuntimeMinimum_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[537C:46B8][2020-05-31T17:29:05]i201: Planned package: vcRuntimeAdditional_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[537C:46B8][2020-05-31T17:29:05]i299: Plan complete, result: 0x0
[537C:46B8][2020-05-31T17:29:05]i300: Apply begin
[537C:46B8][2020-05-31T17:29:05]i010: Launching elevated engine process.
[537C:46B8][2020-05-31T17:29:05]i011: Launched elevated engine process.
[537C:46B8][2020-05-31T17:29:06]i012: Connected to elevated engine.
[3308:5268][2020-05-31T17:29:06]i358: Pausing automatic updates.
[3308:5268][2020-05-31T17:29:06]i359: Paused automatic updates.
[3308:5268][2020-05-31T17:29:06]i360: Creating a system restore point.
[3308:5268][2020-05-31T17:29:06]w363: Could not create system restore point, error: 0x80070422. Continuing...
[3308:5268][2020-05-31T17:29:06]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{624ba875-fdfc-4efa-9c66-b170dfebc3ec}, options: 0x7, disable resume: No
[3308:5268][2020-05-31T17:29:06]e000: Error 0x80070003: Failed to create cache directory: C:\ProgramData\Package Cache\{624ba875-fdfc-4efa-9c66-b170dfebc3ec}\
[3308:5268][2020-05-31T17:29:06]e000: Error 0x80070003: Failed to create completed cache path for bundle.
[3308:5268][2020-05-31T17:29:06]e000: Error 0x80070003: Failed to cache bundle from path: C:\WINDOWS\Temp\{3B4DCE55-E245-4249-9375-B3B3D4824FF2}\.be\VC_redist.x86.exe
[3308:5268][2020-05-31T17:29:06]e000: Error 0x80070003: Failed to begin registration session.
[537C:46B8][2020-05-31T17:29:06]e000: Error 0x80070003: Failed to begin registration session in per-machine process.
[537C:46B8][2020-05-31T17:29:06]e000: Error 0x80070003: Failed to register bundle.
[537C:46B8][2020-05-31T17:29:06]i399: Apply complete, result: 0x80070003, restart: None, ba requested restart:  No
[537C:46B8][2020-05-31T17:29:06]i500: Shutting down, exit code: 0x3
[537C:46B8][2020-05-31T17:29:06]i410: Variable: SystemFolder = C:\WINDOWS\system32\
[537C:46B8][2020-05-31T17:29:06]i410: Variable: VersionNT = 10.0.0.0
[537C:46B8][2020-05-31T17:29:06]i410: Variable: VersionNT64 = 10.0.0.0
[537C:46B8][2020-05-31T17:29:06]i410: Variable: windows_uCRT_DetectKey = 10.0.17763.719
[537C:46B8][2020-05-31T17:29:06]i410: Variable: windows_uCRT_DetectKeyExists = 1
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleAction = 5
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleElevated = 1
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleFileVersion = 14.16.27033.0
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleInstalled = 0
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleLog = C:\Users\lab704\AppData\Local\Temp\dd_setup_20200531171757_118_Microsoft.VisualCpp.Redist.14.log
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleLog_vcRuntimeAdditional_x86 = C:\Users\lab704\AppData\Local\Temp\dd_setup_20200531171757_118_Microsoft.VisualCpp.Redist.14_001_vcRuntimeAdditional_x86.log
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleLog_vcRuntimeMinimum_x86 = C:\Users\lab704\AppData\Local\Temp\dd_setup_20200531171757_118_Microsoft.VisualCpp.Redist.14_000_vcRuntimeMinimum_x86.log
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleManufacturer = Microsoft Corporation
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleName = Microsoft Visual C++ 2017 Redistributable (x86) - 14.16.27033
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleOriginalSource = C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.16.27033.4,chip=x86\VC_redist.x86.exe
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleOriginalSourceFolder = C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.16.27033.4,chip=x86\
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleProviderKey = VC,redist.x86,x86,14.16,bundle
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleRollbackLog_vcRuntimeAdditional_x86 = C:\Users\lab704\AppData\Local\Temp\dd_setup_20200531171757_118_Microsoft.VisualCpp.Redist.14_001_vcRuntimeAdditional_x86_rollback.log
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleRollbackLog_vcRuntimeMinimum_x86 = C:\Users\lab704\AppData\Local\Temp\dd_setup_20200531171757_118_Microsoft.VisualCpp.Redist.14_000_vcRuntimeMinimum_x86_rollback.log
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleSourceProcessFolder = C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.16.27033.4,chip=x86\
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleSourceProcessPath = C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.16.27033.4,chip=x86\VC_redist.x86.exe
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleTag = 
[537C:46B8][2020-05-31T17:29:06]i410: Variable: WixBundleVersion = 14.16.27033.0
[537C:46B8][2020-05-31T17:29:10]i007: Exit code: 0x3, restarting: No

日誌如上,查找到第一個Fail。發現有個Package Cache 中的文件創建失敗。就去找這個文件。

發現文件是個快捷方式。那這就有點意思了。估計是之前這個電腦的主人嫌佔用C盤空間太大,然後在別的盤映射過來的一個快捷方式。然後走的時候清空那個盤了。那就簡單了,創建文件夾,然後在

C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.16.27033.4,chip=x86\VC_redist.x86.exe  重新點擊安裝。成功!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章