New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 0x80070570: Failed to extract all files from container, erf: 1:4:0 #5716

Open
jozefizso opened this Issue Nov 2, 2017 · 6 comments

Comments

Projects
None yet
5 participants
@jozefizso

jozefizso commented Nov 2, 2017

  • Which version of WiX are you building with?

3.10.3.3126

  • Which version of Visual Studio are you building with (if any)?

Visual Studio 2015 Update 3

  • Which version of the WiX Toolset Visual Studio Extension are you building with (if any)?

3.10.3

  • Which version of .NET are you building with?

.NET 4.6

  • If the problem occurs when installing your packages built with WiX, what is the version of Windows the package is running on?

Windows v10.0 (Build 15063: Service Pack 0)

  • Describe the problem and the steps to reproduce it.
  1. Try to download EXE bootstrapper using unstable internet connection
  2. Try to run not fully downloaded bootstrapper application
  3. The setup will run
  4. Setup will fail with error "0x80070570 - The file or directory is corrupted and unreadable."
  • Describe the behavior you expected and how it differed from the actual behavior.

Bootstrapper should detect it contains all embedded payloads and it should provide user friendly message about incomplete setup file when payload is corrupted.

aeb-agent-autoupdate_failed_110217_105144_am

Burn v3.10.3.3126, Windows v10.0 (Build 15063: Service Pack 0), path: C:\Users\x\AppData\Local\Temp\{79348CE0-5AE2-4314-8DDC-FC033DA743E0}\.cr\1.0.0.0-setup.exe
...
Acquiring container: WixAttachedContainer, copy from: C:\Users\x\AppData\Local\Acme\setup\1.0.0.0-setup.exe
...
Error 0x80070570: Failed to extract all files from container, erf: 1:4:0
Error 0x80070570: Failed to begin and wait for operation.
Error 0x80070570: Failed to extract payload: a3 from container: WixAttachedContainer
Failed to extract payloads from container: WixAttachedContainer to working path: C:\Users\x\AppData\Local\Temp\{D130AC2B-DEB2-4C0F-98EF-863FB1113B45}\40CCA9D919C3A830A5EAA65BFB994D360140FD55, error: 0x80070570.
Error 0x80070570: Failed while caching, aborting execution.
...
Apply complete, result: 0x80070570, restart: None, ba requested restart:  No
@barnson

This comment has been minimized.

Show comment
Hide comment
@barnson

barnson Nov 2, 2017

Member

Burn verifies payloads if it can get to them. For early verification, Authenticode-sign the bundle.

Member

barnson commented Nov 2, 2017

Burn verifies payloads if it can get to them. For early verification, Authenticode-sign the bundle.

@jozefizso

This comment has been minimized.

Show comment
Hide comment
@jozefizso

jozefizso Nov 2, 2017

The bundle is signed using Authenticode.

jozefizso commented Nov 2, 2017

The bundle is signed using Authenticode.

@StadelmannTh

This comment has been minimized.

Show comment
Hide comment
@StadelmannTh

StadelmannTh Nov 13, 2017

Hi @jozefizso
I have the same issue on my side. Do yo have any new information regarding that issue?
Best regards
Thomas

StadelmannTh commented Nov 13, 2017

Hi @jozefizso
I have the same issue on my side. Do yo have any new information regarding that issue?
Best regards
Thomas

@barnson barnson added this to the v4.x milestone Nov 16, 2017

@barnson

This comment has been minimized.

Show comment
Hide comment
@barnson

barnson Nov 16, 2017

Member

It's a rare problem, so verifying payloads could be expensive for a big bundle. Alternate feature: Let WixStdBA bundles provide custom error messages and fall back to the system error message if a loc string isn't provided.

Member

barnson commented Nov 16, 2017

It's a rare problem, so verifying payloads could be expensive for a big bundle. Alternate feature: Let WixStdBA bundles provide custom error messages and fall back to the system error message if a loc string isn't provided.

@JackDu1

This comment has been minimized.

Show comment
Hide comment
@JackDu1

JackDu1 Jan 10, 2018

I experienced this same issue in customer machine recently and get this "0x80070570" error when installation failed.

here is the error message copy from log file:

[180C:0814][2017-12-13T12:24:16]i000: ThreadID:[1]:EventName:[RegisterComplete] Status=[0x0]
[180C:0868][2017-12-13T12:24:16]i000: ThreadID:[5]:EventName:[CacheBegin]
[180C:0868][2017-12-13T12:24:16]i000: ThreadID:[5]:EventName:[CachePackageBegin] PackageId=[xxxxx.msi]
[180C:149C][2017-12-13T12:24:17]e000: Error 0x80070570: Failed to extract all files from container, erf: 1:4:0
[180C:0868][2017-12-13T12:24:17]e000: Error 0x80070570: Failed to begin and wait for operation.
[180C:0868][2017-12-13T12:24:17]e000: Error 0x80070570: Failed to extract payload: a1 from container: WixAttachedContainer
[180C:0868][2017-12-13T12:24:17]e312: Failed to extract payloads from container: WixAttachedContainer to working path: C:\Users\james.honer\Downloads\xxx.exe, error: 0x80070570.
[180C:0868][2017-12-13T12:24:17]i000: ThreadID:[5]:EventName:[CachePackageComplete] Result=[None]
[180C:0868][2017-12-13T12:24:17]i000: ThreadID:[5]:EventName:[Error]
[180C:0868][2017-12-13T12:24:17]i000: ThreadID:[5]:EventName:[CacheComplete] Status=[0x80070570]
[180C:0814][2017-12-13T12:24:17]e000: Error 0x80070570: Failed while caching, aborting execution.
[180C:0814][2017-12-13T12:24:17]i000: ThreadID:[1]:EventName:[UnregisterBegin]
[11C8:01A4][2017-12-13T12:24:17]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{565aefa8-29bc-4121-a149-ba2f4f845385}, resume: None, restart: None, disable resume: No
[11C8:01A4][2017-12-13T12:24:17]i330: Removed bundle dependency provider: {565aefa8-29bc-4121-a149-ba2f4f845385}
[11C8:01A4][2017-12-13T12:24:17]i352: Removing cached bundle: {565aefa8-29bc-4121-a149-ba2f4f845385}, from path: C:\ProgramData\Package Cache\{565aefa8-29bc-4121-a149-ba2f4f845385}\"[11C8:01A4][2017-12-13T12:24:17]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{565aefa8-29bc-4121-a149-ba2f4f845385}, resume: None, restart initiated: No, disable resume: No
[180C:0814][2017-12-13T12:24:17]i000: ThreadID:[1]:EventName:[UnregisterComplete] Status=[0x0]
[180C:0814][2017-12-13T12:24:17]i000: ThreadID:[1]:EventName:[ApplyComplete] Status=[0x80070570]
[180C:0814][2017-12-13T12:24:17]i399: Apply complete, result: 0x80070570, restart: None, ba requested restart:  No

JackDu1 commented Jan 10, 2018

I experienced this same issue in customer machine recently and get this "0x80070570" error when installation failed.

here is the error message copy from log file:

[180C:0814][2017-12-13T12:24:16]i000: ThreadID:[1]:EventName:[RegisterComplete] Status=[0x0]
[180C:0868][2017-12-13T12:24:16]i000: ThreadID:[5]:EventName:[CacheBegin]
[180C:0868][2017-12-13T12:24:16]i000: ThreadID:[5]:EventName:[CachePackageBegin] PackageId=[xxxxx.msi]
[180C:149C][2017-12-13T12:24:17]e000: Error 0x80070570: Failed to extract all files from container, erf: 1:4:0
[180C:0868][2017-12-13T12:24:17]e000: Error 0x80070570: Failed to begin and wait for operation.
[180C:0868][2017-12-13T12:24:17]e000: Error 0x80070570: Failed to extract payload: a1 from container: WixAttachedContainer
[180C:0868][2017-12-13T12:24:17]e312: Failed to extract payloads from container: WixAttachedContainer to working path: C:\Users\james.honer\Downloads\xxx.exe, error: 0x80070570.
[180C:0868][2017-12-13T12:24:17]i000: ThreadID:[5]:EventName:[CachePackageComplete] Result=[None]
[180C:0868][2017-12-13T12:24:17]i000: ThreadID:[5]:EventName:[Error]
[180C:0868][2017-12-13T12:24:17]i000: ThreadID:[5]:EventName:[CacheComplete] Status=[0x80070570]
[180C:0814][2017-12-13T12:24:17]e000: Error 0x80070570: Failed while caching, aborting execution.
[180C:0814][2017-12-13T12:24:17]i000: ThreadID:[1]:EventName:[UnregisterBegin]
[11C8:01A4][2017-12-13T12:24:17]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{565aefa8-29bc-4121-a149-ba2f4f845385}, resume: None, restart: None, disable resume: No
[11C8:01A4][2017-12-13T12:24:17]i330: Removed bundle dependency provider: {565aefa8-29bc-4121-a149-ba2f4f845385}
[11C8:01A4][2017-12-13T12:24:17]i352: Removing cached bundle: {565aefa8-29bc-4121-a149-ba2f4f845385}, from path: C:\ProgramData\Package Cache\{565aefa8-29bc-4121-a149-ba2f4f845385}\"[11C8:01A4][2017-12-13T12:24:17]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{565aefa8-29bc-4121-a149-ba2f4f845385}, resume: None, restart initiated: No, disable resume: No
[180C:0814][2017-12-13T12:24:17]i000: ThreadID:[1]:EventName:[UnregisterComplete] Status=[0x0]
[180C:0814][2017-12-13T12:24:17]i000: ThreadID:[1]:EventName:[ApplyComplete] Status=[0x80070570]
[180C:0814][2017-12-13T12:24:17]i399: Apply complete, result: 0x80070570, restart: None, ba requested restart:  No
@refaelsh

This comment has been minimized.

Show comment
Hide comment
@refaelsh

refaelsh commented May 5, 2018

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment