question

95504669 avatar image
0 Votes"
95504669 asked RobertMawston-2005 published

Azure SDK installation Fatal error

I use Azure Starter kit Revision 2.
when I was working on the azure board using Commands I had "The device may be unresponsive if it is applying an Azure Sphere operating system update; Wait a few minutes and then retry" error. So I uninstalled the Azure SDK and tried to install it again. But I have this error now.
77607-image.png



The log File has these details...

[4780:4FD8][2021-03-15T09:16:16]i001: Burn v3.11.2.4909, Windows v10.0 (Build 18363: Service Pack 0), path: C:\windows\Temp{8D40CCC9-06A0-41B3-880C-3DFECE63FB40}.cr\Azure_Sphere_SDK.exe
[4780:4FD8][2021-03-15T09:16:16]i000: Initializing string variable 'MbaNetfxPackageId' to value 'netfxfullredist_43'
[4780:4FD8][2021-03-15T09:16:16]i009: Command Line: '-burn.clean.room=C:\Users\nishith\Downloads\Azure_Sphere_SDK.exe -burn.filehandle.attached=636 -burn.filehandle.self=684'
[4780:4FD8][2021-03-15T09:16:16]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\nishith\Downloads\Azure_Sphere_SDK.exe'
[4780:4FD8][2021-03-15T09:16:16]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\nishith\Downloads\'
[4780:4FD8][2021-03-15T09:16:16]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616.log'
[4780:4FD8][2021-03-15T09:16:16]i052: Condition '(VersionNT >= v6.1)' evaluates to true.
[4780:4FD8][2021-03-15T09:16:16]i000: Setting string variable 'WixBundleName' to value 'Azure Sphere SDK'
[4780:4FD8][2021-03-15T09:16:16]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[4780:1A88][2021-03-15T09:16:16]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[4780:1A88][2021-03-15T09:16:16]i000: Setting version variable 'WixBundleFileVersion' to value '21.2.1.28749'
[4780:1A88][2021-03-15T09:16:16]i000: Visual Studio Instance: Microsoft.VisualStudio.Product.Community, Version 16.8.31019.35
[4780:1A88][2021-03-15T09:16:16]i000: Setting numeric variable 'VS2019_16_0_P2_Available' to value 1
[4780:1A88][2021-03-15T09:16:16]i000: Setting numeric variable 'VS2019_16_0_4_Available' to value 1
[4780:4FD8][2021-03-15T09:16:16]i100: Detect begin, 8 packages
[4780:4FD8][2021-03-15T09:16:16]i000: Setting string variable 'WindowsBuildNumber' to value '18363'
[4780:4FD8][2021-03-15T09:16:16]i101: Detected package: AzureSphereCore, state: Absent, cached: None
[4780:4FD8][2021-03-15T09:16:16]i101: Detected package: TapDriverInstaller, state: Absent, cached: None
[4780:4FD8][2021-03-15T09:16:16]i101: Detected package: SlipService, state: Absent, cached: Complete
[4780:4FD8][2021-03-15T09:16:16]i101: Detected package: Sysroot_index0, state: Absent, cached: Complete
[4780:4FD8][2021-03-15T09:16:16]i101: Detected package: Sysroot_index1, state: Absent, cached: Complete
[4780:4FD8][2021-03-15T09:16:16]i101: Detected package: Sysroot_index2, state: Absent, cached: Complete
[4780:4FD8][2021-03-15T09:16:16]i101: Detected package: Sysroot_index3, state: Absent, cached: Complete
[4780:4FD8][2021-03-15T09:16:16]i101: Detected package: NewCliInstaller, state: Absent, cached: Complete
[4780:4FD8][2021-03-15T09:16:16]i052: Condition 'WindowsBuildNumber >= 14393' evaluates to true.
[4780:4FD8][2021-03-15T09:16:16]i199: Detect complete, result: 0x0
[4780:1A88][2021-03-15T09:16:19]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[4780:1A88][2021-03-15T09:16:21]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[4780:4FD8][2021-03-15T09:16:21]i200: Plan begin, 8 packages, action: Install
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleRollbackLog_AzureSphereCore' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_000_AzureSphereCore_rollback.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleLog_AzureSphereCore' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_000_AzureSphereCore.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleRollbackLog_TapDriverInstaller' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_001_TapDriverInstaller_rollback.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleLog_TapDriverInstaller' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_001_TapDriverInstaller.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleRollbackLog_SlipService' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_002_SlipService_rollback.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleLog_SlipService' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_002_SlipService.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleRollbackLog_Sysroot_index0' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_003_Sysroot_index0_rollback.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleLog_Sysroot_index0' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_003_Sysroot_index0.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleRollbackLog_Sysroot_index1' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_004_Sysroot_index1_rollback.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleLog_Sysroot_index1' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_004_Sysroot_index1.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleRollbackLog_Sysroot_index2' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_005_Sysroot_index2_rollback.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleLog_Sysroot_index2' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_005_Sysroot_index2.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleRollbackLog_Sysroot_index3' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_006_Sysroot_index3_rollback.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleLog_Sysroot_index3' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_006_Sysroot_index3.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleRollbackLog_NewCliInstaller' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_007_NewCliInstaller_rollback.log'
[4780:4FD8][2021-03-15T09:16:21]i000: Setting string variable 'WixBundleLog_NewCliInstaller' to value 'C:\Users\nishith\AppData\Local\Temp\dd_VC_AzureSphere_20210315091616_007_NewCliInstaller.log'
[4780:4FD8][2021-03-15T09:16:21]i201: Planned package: AzureSphereCore, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[4780:4FD8][2021-03-15T09:16:21]i201: Planned package: TapDriverInstaller, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[4780:4FD8][2021-03-15T09:16:21]i201: Planned package: SlipService, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[4780:4FD8][2021-03-15T09:16:21]i201: Planned package: Sysroot_index0, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[4780:4FD8][2021-03-15T09:16:21]i201: Planned package: Sysroot_index1, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[4780:4FD8][2021-03-15T09:16:21]i201: Planned package: Sysroot_index2, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[4780:4FD8][2021-03-15T09:16:21]i201: Planned package: Sysroot_index3, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[4780:4FD8][2021-03-15T09:16:21]i201: Planned package: NewCliInstaller, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[4780:4FD8][2021-03-15T09:16:21]i299: Plan complete, result: 0x0
[4780:4FD8][2021-03-15T09:16:21]i300: Apply begin
[4780:4FD8][2021-03-15T09:16:21]i010: Launching elevated engine process.
[4780:4FD8][2021-03-15T09:16:22]i011: Launched elevated engine process.
[4780:4FD8][2021-03-15T09:16:22]i012: Connected to elevated engine.
[483C:36F0][2021-03-15T09:16:22]i358: Pausing automatic updates.
[483C:36F0][2021-03-15T09:16:22]i359: Paused automatic updates.
[483C:36F0][2021-03-15T09:16:22]i360: Creating a system restore point.
[483C:36F0][2021-03-15T09:16:39]i361: Created a system restore point.
[483C:36F0][2021-03-15T09:16:39]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{2b3f0841-5675-42ca-a653-3f08a3a8dac4}, options: 0x7, disable resume: No
[483C:36F0][2021-03-15T09:16:39]i000: Caching bundle from: 'C:\windows\Temp{6930B69E-97C7-44FB-8231-228E81CDEEC0}.be\Azure_Sphere_SDK.exe' to: 'C:\ProgramData\Package Cache{2b3f0841-5675-42ca-a653-3f08a3a8dac4}\Azure_Sphere_SDK.exe'
[483C:36F0][2021-03-15T09:16:39]i320: Registering bundle dependency provider: {2b3f0841-5675-42ca-a653-3f08a3a8dac4}, version: 21.2.1.28749
[483C:36F0][2021-03-15T09:16:39]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{2b3f0841-5675-42ca-a653-3f08a3a8dac4}, resume: Active, restart initiated: No, disable resume: No
[483C:4C58][2021-03-15T09:16:39]i305: Verified acquired payload: AzureSphereCore at path: C:\ProgramData\Package Cache.unverified\AzureSphereCore, moving to: C:\ProgramData\Package Cache{C4DAC220-959F-40BA-9CF5-82E5AD0C274B}v21.02.1.28749\packages\AzureSphereCore\AzureSphereCore.msi.
[483C:36F0][2021-03-15T09:16:39]i323: Registering package dependency provider: {C4DAC220-959F-40BA-9CF5-82E5AD0C274B}, version: 21.02.1.28749, package: AzureSphereCore
[483C:36F0][2021-03-15T09:16:39]i301: Applying execute package: AzureSphereCore, action: Install, path: C:\ProgramData\Package Cache{C4DAC220-959F-40BA-9CF5-82E5AD0C274B}v21.02.1.28749\packages\AzureSphereCore\AzureSphereCore.msi, arguments: ' MSIFASTINSTALL="7" VSEXTUI="1" INSTALLFOLDER=""'
[483C:4C58][2021-03-15T09:16:39]i305: Verified acquired payload: TapDriverInstaller at path: C:\ProgramData\Package Cache.unverified\TapDriverInstaller, moving to: C:\ProgramData\Package Cache{013103CE-5DF8-4A9A-A502-2464FC4ACD3F}v2.5\packages\TapDriverInstaller\TapDriverInstaller.msi.
[483C:4C58][2021-03-15T09:16:40]i304: Verified existing payload: SlipService at path: C:\ProgramData\Package Cache{429E39CF-BEA4-4283-BF4F-8BB6B0424BBF}v21.2.1.28749\packages\DeviceComms_Windows\Azure Sphere Device Communication Service.msi.
[483C:4C58][2021-03-15T09:16:40]i304: Verified existing payload: Sysroot_index0 at path: C:\ProgramData\Package Cache{23083461-3C25-4BAB-BC22-CE7536785746}v20.07.0.31430\Sysroot6.msi.
[483C:4C58][2021-03-15T09:16:41]i304: Verified existing payload: Sysroot_index1 at path: C:\ProgramData\Package Cache{C8F9A90E-CE35-450F-A84F-22BF5902777F}v20.10.0.41916\Sysroot7.msi.
[483C:4C58][2021-03-15T09:16:42]i304: Verified existing payload: Sysroot_index2 at path: C:\ProgramData\Package Cache{1E220028-B120-4A94-B763-B98173601E75}v20.11.1.9373\Sysroot8.msi.
[483C:4C58][2021-03-15T09:16:43]i304: Verified existing payload: Sysroot_index3 at path: C:\ProgramData\Package Cache{E97AC9BB-1163-4CF0-AE16-B7038D2B6CE4}v20.11.1.9374\Sysroot8Beta2101.msi.
[483C:4C58][2021-03-15T09:16:43]i304: Verified existing payload: NewCliInstaller at path: C:\ProgramData\Package Cache{6EDD765A-6509-4302-AA42-F2A435DAD311}v0.2\NewCliInstaller.msi.
[4780:4FD8][2021-03-15T09:16:50]i319: Applied execute package: AzureSphereCore, result: 0x0, restart: None
[483C:36F0][2021-03-15T09:16:50]i325: Registering dependency: {2b3f0841-5675-42ca-a653-3f08a3a8dac4} on package provider: {C4DAC220-959F-40BA-9CF5-82E5AD0C274B}, package: AzureSphereCore
[483C:36F0][2021-03-15T09:16:50]i323: Registering package dependency provider: {013103CE-5DF8-4A9A-A502-2464FC4ACD3F}, version: 2.5, package: TapDriverInstaller
[483C:36F0][2021-03-15T09:16:50]i301: Applying execute package: TapDriverInstaller, action: Install, path: C:\ProgramData\Package Cache{013103CE-5DF8-4A9A-A502-2464FC4ACD3F}v2.5\packages\TapDriverInstaller\TapDriverInstaller.msi, arguments: ' MSIFASTINSTALL="7" VSEXTUI="1" VSFOLDER=""'
[483C:36F0][2021-03-15T09:17:04]e000: Error 0x80070643: Failed to install MSI package.
[483C:36F0][2021-03-15T09:17:04]e000: Error 0x80070643: Failed to execute MSI package.
[4780:4FD8][2021-03-15T09:17:04]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[4780:4FD8][2021-03-15T09:17:04]i319: Applied execute package: TapDriverInstaller, result: 0x80070643, restart: None
[4780:4FD8][2021-03-15T09:17:04]e000: Error 0x80070643: Failed to execute MSI package.
[483C:36F0][2021-03-15T09:17:04]i318: Skipped rollback of package: TapDriverInstaller, action: Uninstall, already: Absent
[4780:4FD8][2021-03-15T09:17:04]i319: Applied rollback package: TapDriverInstaller, result: 0x0, restart: None
[483C:36F0][2021-03-15T09:17:04]i329: Removed package dependency provider: {013103CE-5DF8-4A9A-A502-2464FC4ACD3F}, package: TapDriverInstaller
[483C:36F0][2021-03-15T09:17:04]i351: Removing cached package: TapDriverInstaller, from path: C:\ProgramData\Package Cache{013103CE-5DF8-4A9A-A502-2464FC4ACD3F}v2.5\
[483C:36F0][2021-03-15T09:17:04]i326: Removed dependency: {2b3f0841-5675-42ca-a653-3f08a3a8dac4} on package provider: {C4DAC220-959F-40BA-9CF5-82E5AD0C274B}, package AzureSphereCore
[483C:36F0][2021-03-15T09:17:04]i301: Applying rollback package: AzureSphereCore, action: Uninstall, path: (null), arguments: ' MSIFASTINSTALL="7" VSEXTUI="1" INSTALLFOLDER=""'
[4780:4FD8][2021-03-15T09:17:10]i319: Applied rollback package: AzureSphereCore, result: 0x0, restart: None
[483C:36F0][2021-03-15T09:17:10]i329: Removed package dependency provider: {C4DAC220-959F-40BA-9CF5-82E5AD0C274B}, package: AzureSphereCore
[483C:36F0][2021-03-15T09:17:10]i351: Removing cached package: AzureSphereCore, from path: C:\ProgramData\Package Cache{C4DAC220-959F-40BA-9CF5-82E5AD0C274B}v21.02.1.28749\
[483C:36F0][2021-03-15T09:17:10]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{2b3f0841-5675-42ca-a653-3f08a3a8dac4}, resume: None, restart: None, disable resume: No
[483C:36F0][2021-03-15T09:17:10]i330: Removed bundle dependency provider: {2b3f0841-5675-42ca-a653-3f08a3a8dac4}
[483C:36F0][2021-03-15T09:17:10]i352: Removing cached bundle: {2b3f0841-5675-42ca-a653-3f08a3a8dac4}, from path: C:\ProgramData\Package Cache{2b3f0841-5675-42ca-a653-3f08a3a8dac4}\
[483C:36F0][2021-03-15T09:17:10]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{2b3f0841-5675-42ca-a653-3f08a3a8dac4}, resume: None, restart initiated: No, disable resume: No
[4780:4FD8][2021-03-15T09:17:10]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart: No

Please help me with this.

windows-server-powershellazure-sphere
image.png (18.3 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

95504669 avatar image
1 Vote"
95504669 answered

Thank you for your response RichMatheisen-8856.
I first removed all necessary files from PC and did a PC Reset. Then the Azure SDK installation was successful.
But still I had the error "The device is not responding. The device may be unresponsive if it is applying an Azure Sphere operating system update; please retry in a few minutes" in Command Prompt.
So I used the " azsphere device recover " command from this page "https://docs.microsoft.com/en-us/azure-sphere/deployment/recover".
Now I don't have the error. The board is working properly.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RichMatheisen-8856 avatar image
1 Vote"
RichMatheisen-8856 answered RobertMawston-2005 published

Try downloading the install again. Might be an AV problem? This doesn't look like a PowerShell problem, though.

 [483C:36F0][2021-03-15T09:16:50]i301: Applying execute package: TapDriverInstaller, action: Install, path: C:\ProgramData\Package Cache{013103CE-5DF8-4A9A-A502-2464FC4ACD3F}v2.5\packages\TapDriverInstaller\TapDriverInstaller.msi, arguments: ' MSIFASTINSTALL="7" VSEXTUI="1" VSFOLDER=""'
 [483C:36F0][2021-03-15T09:17:04]e000: Error 0x80070643: Failed to install MSI package.
 [483C:36F0][2021-03-15T09:17:04]e000: Error 0x80070643: Failed to execute MSI package.
 [4780:4FD8][2021-03-15T09:17:04]e000: Error 0x80070643: Failed to configure per-machine MSI package.
 [4780:4FD8][2021-03-15T09:17:04]i319: Applied execute package: TapDriverInstaller, result: 0x80070643, restart: None
 [4780:4FD8][2021-03-15T09:17:04]e000: Error 0x80070643: Failed to execute MSI package.
 [483C:36F0][2021-03-15T09:17:04]i318: Skipped rollback of package: TapDriverInstaller, action: Uninstall, already: Absent
 [4780:4FD8][2021-03-15T09:17:04]i319: Applied rollback package: TapDriverInstaller, result: 0x0, restart: None
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TLDR; TapDriverInstaller.msi appears to use WMIC, which has been deprecated since Windows 10, version 21H1I

've been having the same issues with Error 0x80070643
Found the following in one of the log files ..._TapDriverInstaller_messages.log
Exception: The term 'C:\WINDOWS\system32\wbem\wmic.exe' is not recognized as the name...

which led me to this microsoft-removed-the-wmic-tool-from-windows-11-dev-builds
and then to this https://docs.microsoft.com/en-us/windows/win32/wmisdk/wmic





0 Votes 0 ·