This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf command line tool install visual C++ failed. Error code 0x80070666

Hi, It looks like my computer has more updated visual C++ and nrf command line installation failed. Please see attached log file as well as screen shots.

[727C:5790][2020-12-08T13:25:47]i001: Burn v3.11.1.2318, Windows v10.0 (Build 19041: Service Pack 0), path: C:\Users\lhan\AppData\Local\Temp\{DEABCA64-F7DE-4103-9B33-5502B8E2EFA5}\.cr\nRF-Command-Line-Tools_10_12_1_Installer_64.exe
[727C:5790][2020-12-08T13:25:47]i000: Initializing version variable 'SeggerNewVersion' to value '6.88.1.0'
[727C:5790][2020-12-08T13:25:47]i000: Initializing version variable 'VC2017INSTALLINGVER' to value '14.15.26706'
[727C:5790][2020-12-08T13:25:47]i009: Command Line: '-burn.clean.room=C:\Users\lhan\Downloads\nRF-Command-Line-Tools_10_12_1_Installer_64.exe -burn.filehandle.attached=556 -burn.filehandle.self=552'
[727C:5790][2020-12-08T13:25:47]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\lhan\Downloads\nRF-Command-Line-Tools_10_12_1_Installer_64.exe'
[727C:5790][2020-12-08T13:25:47]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\lhan\Downloads\'
[727C:5790][2020-12-08T13:25:47]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\lhan\AppData\Local\Temp\nRF-Command-Line-Tools_10_12_1_x64_20201208132547.log'
[727C:5790][2020-12-08T13:25:47]i000: Setting string variable 'WixBundleName' to value 'nRF-Command-Line-Tools_10_12_1 x64'
[727C:5790][2020-12-08T13:25:47]i000: Setting string variable 'WixBundleManufacturer' to value 'Nordic Semiconductor'
[727C:1658][2020-12-08T13:25:47]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[727C:1658][2020-12-08T13:25:47]i000: Setting version variable 'WixBundleFileVersion' to value '10.12.1.0'
[727C:5790][2020-12-08T13:25:47]i100: Detect begin, 3 packages
[727C:5790][2020-12-08T13:25:47]i000: Setting numeric variable 'SeggerInHKCU' to value 1
[727C:5790][2020-12-08T13:25:47]i052: Condition 'SeggerInHKCU' evaluates to true.
[727C:5790][2020-12-08T13:25:47]i000: Setting string variable 'SeggerHKCUInstallPath' to value 'C:\Program Files (x86)\SEGGER\JLink_V688a'
[727C:5790][2020-12-08T13:25:47]i000: Setting numeric variable 'SeggerInHKLM' to value 1
[727C:5790][2020-12-08T13:25:47]i052: Condition 'SeggerInHKLM' evaluates to true.
[727C:5790][2020-12-08T13:25:47]i000: Setting string variable 'SeggerHKLMInstallPath' to value 'C:\Program Files (x86)\SEGGER\JLink\'
[727C:5790][2020-12-08T13:25:47]i052: Condition 'SeggerInHKCU' evaluates to true.
[727C:5790][2020-12-08T13:25:47]i000: Setting string variable 'SeggerHKCUDir' to value 'C:\Program Files (x86)\SEGGER\JLink_V688a'
[727C:5790][2020-12-08T13:25:47]i052: Condition 'SeggerInHKCU' evaluates to true.
[727C:5790][2020-12-08T13:25:47]i000: Setting numeric variable 'SeggerHKCUDllExists' to value 1
[727C:5790][2020-12-08T13:25:47]i052: Condition 'SeggerInHKLM' evaluates to true.
[727C:5790][2020-12-08T13:25:47]i000: Setting string variable 'SeggerHKLMDir' to value 'C:\Program Files (x86)\SEGGER\JLink\'
[727C:5790][2020-12-08T13:25:47]i052: Condition 'SeggerInHKLM' evaluates to true.
[727C:5790][2020-12-08T13:25:47]i000: Setting numeric variable 'SeggerHKLMDllExists' to value 1
[727C:5790][2020-12-08T13:25:47]i052: Condition 'SeggerInHKLM' evaluates to true.
[727C:5790][2020-12-08T13:25:47]i000: Setting version variable 'SeggerHKLMDllVersion' to value '6.88.1.0'
[727C:5790][2020-12-08T13:25:47]i052: Condition 'SeggerInHKCU' evaluates to true.
[727C:5790][2020-12-08T13:25:47]i000: Setting version variable 'SeggerHKCUDllVersion' to value '6.88.1.0'
[727C:5790][2020-12-08T13:25:47]i000: Setting string variable 'VC2017CURRENTVER' to value '14.0.24212'
[727C:5790][2020-12-08T13:25:47]w120: Detected partially cached package: VC2017REDIST, invalid payload: VC2017REDIST, reason: 0x80070002
[727C:5790][2020-12-08T13:25:47]i101: Detected package: SeggerJLink, state: Absent, cached: None
[727C:5790][2020-12-08T13:25:47]i101: Detected package: VC2017REDIST, state: Absent, cached: Partial
[727C:5790][2020-12-08T13:25:47]i101: Detected package: Tools, state: Absent, cached: Complete
[727C:5790][2020-12-08T13:25:47]i199: Detect complete, result: 0x0
[727C:1658][2020-12-08T13:25:49]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[727C:5790][2020-12-08T13:25:49]i200: Plan begin, 3 packages, action: Install
[727C:5790][2020-12-08T13:25:49]i052: Condition 'NOT ((SeggerHKCUDllExists AND (SeggerHKCUDllVersion > SeggerNewVersion)) OR (SeggerHKLMDllExists AND (SeggerHKLMDllVersion > SeggerNewVersion)))' evaluates to true.
[727C:5790][2020-12-08T13:25:49]w321: Skipping dependency registration on package with no dependency providers: SeggerJLink
[727C:5790][2020-12-08T13:25:49]i000: Setting string variable 'WixBundleLog_SeggerJLink' to value 'C:\Users\lhan\AppData\Local\Temp\nRF-Command-Line-Tools_10_12_1_x64_20201208132547_000_SeggerJLink.log'
[727C:5790][2020-12-08T13:25:49]i052: Condition 'VC2017INSTALLINGVER > VC2017CURRENTVER OR NOT VC2017CURRENTVER' evaluates to true.
[727C:5790][2020-12-08T13:25:49]w321: Skipping dependency registration on package with no dependency providers: VC2017REDIST
[727C:5790][2020-12-08T13:25:49]i000: Setting string variable 'WixBundleLog_VC2017REDIST' to value 'C:\Users\lhan\AppData\Local\Temp\nRF-Command-Line-Tools_10_12_1_x64_20201208132547_001_VC2017REDIST.log'
[727C:5790][2020-12-08T13:25:49]i000: Setting string variable 'WixBundleRollbackLog_Tools' to value 'C:\Users\lhan\AppData\Local\Temp\nRF-Command-Line-Tools_10_12_1_x64_20201208132547_002_Tools_rollback.log'
[727C:5790][2020-12-08T13:25:49]i000: Setting string variable 'WixBundleLog_Tools' to value 'C:\Users\lhan\AppData\Local\Temp\nRF-Command-Line-Tools_10_12_1_x64_20201208132547_002_Tools.log'
[727C:5790][2020-12-08T13:25:49]i201: Planned package: SeggerJLink, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[727C:5790][2020-12-08T13:25:49]i201: Planned package: VC2017REDIST, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: Yes, dependency: None
[727C:5790][2020-12-08T13:25:49]i201: Planned package: Tools, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[727C:5790][2020-12-08T13:25:49]i299: Plan complete, result: 0x0
[727C:5790][2020-12-08T13:25:49]i300: Apply begin
[727C:5790][2020-12-08T13:25:49]i010: Launching elevated engine process.
[727C:5790][2020-12-08T13:25:50]i011: Launched elevated engine process.
[727C:5790][2020-12-08T13:25:51]i012: Connected to elevated engine.
[5230:2550][2020-12-08T13:25:51]i358: Pausing automatic updates.
[5230:2550][2020-12-08T13:25:51]i359: Paused automatic updates.
[5230:2550][2020-12-08T13:25:51]i360: Creating a system restore point.
[5230:2550][2020-12-08T13:25:51]w363: Could not create system restore point, error: 0x80070422. Continuing...
[5230:2550][2020-12-08T13:25:51]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{b0ed952d-27fc-470e-9ef1-2150af75082e}, options: 0x7, disable resume: No
[5230:2550][2020-12-08T13:25:51]i000: Caching bundle from: 'C:\Users\lhan\AppData\Local\Temp\{3C746882-6788-438C-9508-C7FE9627CB6C}\.be\nRF-Command-Line-Tools_10_12_1_Installer_64.exe' to: 'C:\ProgramData\Package Cache\{b0ed952d-27fc-470e-9ef1-2150af75082e}\nRF-Command-Line-Tools_10_12_1_Installer_64.exe'
[5230:2550][2020-12-08T13:25:51]i320: Registering bundle dependency provider: {b0ed952d-27fc-470e-9ef1-2150af75082e}, version: 10.12.1.0
[5230:2550][2020-12-08T13:25:51]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{b0ed952d-27fc-470e-9ef1-2150af75082e}, resume: Active, restart initiated: No, disable resume: No
[5230:6084][2020-12-08T13:25:52]i305: Verified acquired payload: SeggerJLink at path: C:\ProgramData\Package Cache\.unverified\SeggerJLink, moving to: C:\ProgramData\Package Cache\4C48A7C9D04E50BFF264542FB790B615D37701A2\JLink_Windows_V688a.exe.
[5230:6084][2020-12-08T13:25:52]i305: Verified acquired payload: VC2017REDIST at path: C:\ProgramData\Package Cache\.unverified\VC2017REDIST, moving to: C:\ProgramData\Package Cache\48E3744F33F49113BE971E334754F1E475C5AFAA\vc_redist.x64.exe.
[5230:6084][2020-12-08T13:25:52]i304: Verified existing payload: Tools at path: C:\ProgramData\Package Cache\{538EEF25-A39A-4DBC-B811-B9043AEED409}v10.12.1\nRF-Command-Line-Tools_10_12_1_Installer_64.msi.
[5230:2550][2020-12-08T13:25:52]i052: Condition 'WixBundleUILevel=2' evaluates to false.
[5230:2550][2020-12-08T13:25:52]i301: Applying execute package: SeggerJLink, action: Install, path: C:\ProgramData\Package Cache\4C48A7C9D04E50BFF264542FB790B615D37701A2\JLink_Windows_V688a.exe, arguments: '"C:\ProgramData\Package Cache\4C48A7C9D04E50BFF264542FB790B615D37701A2\JLink_Windows_V688a.exe"'
[727C:5790][2020-12-08T13:26:20]i319: Applied execute package: SeggerJLink, result: 0x0, restart: None
[5230:2550][2020-12-08T13:26:20]i052: Condition 'WixBundleUILevel=2' evaluates to false.
[5230:2550][2020-12-08T13:26:20]i301: Applying execute package: VC2017REDIST, action: Install, path: C:\ProgramData\Package Cache\48E3744F33F49113BE971E334754F1E475C5AFAA\vc_redist.x64.exe, arguments: '"C:\ProgramData\Package Cache\48E3744F33F49113BE971E334754F1E475C5AFAA\vc_redist.x64.exe"'
[5230:2550][2020-12-08T13:26:39]e000: Error 0x80070666: Process returned error: 0x666
[5230:2550][2020-12-08T13:26:39]e000: Error 0x80070666: Failed to execute EXE package.
[727C:5790][2020-12-08T13:26:39]e000: Error 0x80070666: Failed to configure per-machine EXE package.
[727C:5790][2020-12-08T13:26:39]i319: Applied execute package: VC2017REDIST, result: 0x80070666, restart: None
[727C:5790][2020-12-08T13:26:39]e000: Error 0x80070666: Failed to execute EXE package.
[5230:2550][2020-12-08T13:26:39]i351: Removing cached package: VC2017REDIST, from path: C:\ProgramData\Package Cache\48E3744F33F49113BE971E334754F1E475C5AFAA\
[5230:2550][2020-12-08T13:26:39]i351: Removing cached package: SeggerJLink, from path: C:\ProgramData\Package Cache\4C48A7C9D04E50BFF264542FB790B615D37701A2\
[5230:2550][2020-12-08T13:26:39]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{b0ed952d-27fc-470e-9ef1-2150af75082e}, resume: None, restart: None, disable resume: No
[5230:2550][2020-12-08T13:26:39]i330: Removed bundle dependency provider: {b0ed952d-27fc-470e-9ef1-2150af75082e}
[5230:2550][2020-12-08T13:26:39]i352: Removing cached bundle: {b0ed952d-27fc-470e-9ef1-2150af75082e}, from path: C:\ProgramData\Package Cache\{b0ed952d-27fc-470e-9ef1-2150af75082e}\
[5230:2550][2020-12-08T13:26:39]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{b0ed952d-27fc-470e-9ef1-2150af75082e}, resume: None, restart initiated: No, disable resume: No
[727C:5790][2020-12-08T13:26:39]i399: Apply complete, result: 0x80070666, restart: None, ba requested restart:  No

Thanks,

Parents Reply Children
No Data
Related