dotnet/installer

Failed to install windowsdesktop-runtime-9.0.0-preview4 with error "0x80070001 - Incorrect function"

MMtwo opened this issue · 5 comments

Looks like download was corrupted so the desktop runtime couldn't extract the embedded MSI files

[0D7C:03E8][2024-05-08T08:00:49]e000: Error 0x80070001: Failed to extract all files from container, erf: 1:2:0
[0D7C:17A0][2024-05-08T08:00:49]e000: Error 0x80070001: Failed to wait for operation complete.
[0D7C:17A0][2024-05-08T08:00:49]e000: Error 0x80070001: Failed to open container.
[0D7C:17A0][2024-05-08T08:00:49]e000: Error 0x80070001: Failed to open container: WixAttachedContainer.
[0D7C:17A0][2024-05-08T08:00:49]e312: Failed to extract payloads from container: WixAttachedContainer to working path: C:\Windows\Temp\{1F87BEBE-1F8F-42C4-BE2B-3B7CA6D9413F}\D8BAD7FF2BF331EB10109CBC55F9403259E078C0, error: 0x80070001.
[0D7C:1794][2024-05-08T08:00:49]e000: Error 0x80070001: Cache thread exited unexpectedly.

I'd suggest removing the file (and from the package cache under ProgramData too), download it again and then run the install

I can definitely repro. There were some issues with invalid signatures on this build and it may be related to the failure you see when running the install, but I'm going to confirm.

Looks like it might be a problem with how the bundle engine was signed and reattached (or not signed and not reattached properly).

We're waiting on a new build and will need to verify once that's available.

We're waiting on a new build and will need to verify once that's available.

@joeloff I try to install the windowsdesktop-runtime-9.0.0-preview.4.24258.2-win-x64.exe from the newer build https://dev.azure.com/dnceng/internal/_build/results?buildId=2448536&view=artifacts&pathAsName=false&type=publishedArtifacts, this issue still reproduces.

@joeloff verify it doesn't reproduce on the latest coherent build windowsdesktop-runtime-9.0.0-preview.4.24260.2-win-x64.exe