Skip to content

Winget stuck at Extracting archive... when install zig compiler #3306

Closed as not planned

Description

Brief description of your issue

The installer never finish their setup, and the setup alway stuck at Extracting archive... when tried to install

Steps to reproduce

  1. winget install zig.zig
  2. wait for eternity

Expected behavior

the package is installed successfully

Actual behavior

the installed is stopping for a really long time

Environment

Windows Package Manager v1.4.11071
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1778
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.11071.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Activity

  1. denelon commented on Jun 5, 2023

    @denelon
    Collaborator

    There are more than 15,000 files in this compressed file. Even when extracting the downloaded file (native Windows extraction support), it takes several minutes for the extraction to complete.
    zig zig

  2. added
    Issue-Bug
    Needs-Author-Feedback
    and removed
    Needs-Triage
    on Jun 5, 2023
  3. denelon commented on Jun 5, 2023

    @denelon
    Collaborator

    Does the install eventually complete for you or does it fail?

    I'm running the install now on my local machine to see if it completes.

  4. denelon commented on Jun 5, 2023

    @denelon
    Collaborator

    It did complete after 14 minutes.

    WinGet-2023-06-05-14-25-48.772.log

  5. denelon commented on Jun 5, 2023

    @denelon
    Collaborator

    I created the issue to improve the output to help in this scenario.

    Since the install succeeded, I'm going to close this issue. Be sure to add your 👍to the other one to help raise its priority.

  6. leostera commented on Nov 15, 2024

    @leostera

    Just got the same issue here, it'd be phenomenal to include any form of feedback (even if its just an increasing number for files extracted), so I can at least know this isn't stuck.

  7. HowellBP commented on Dec 30, 2024

    @HowellBP

    There are more than 15,000 files in this compressed file. Even when extracting the downloaded file (native Windows extraction support), it takes several minutes for the extraction to complete.

    How is Scoop able to extract it in ~30 seconds? Using scoop install zig takes about 45 seconds total including fetching the archive over my connection. Is Scoop using a different extraction tool?

  8. shishini commented on Feb 9, 2025

    @shishini

    same issue, very suspicious

  9. aidan729 commented on Feb 19, 2025

    @aidan729

    There are more than 15,000 files in this compressed file. Even when extracting the downloaded file (native Windows extraction support), it takes several minutes for the extraction to complete.

    How is Scoop able to extract it in ~30 seconds? Using scoop install zig takes about 45 seconds total including fetching the archive over my connection. Is Scoop using a different extraction tool?

    Because Microsoft lol

  10. jmonroynieto commented on Mar 15, 2025

    @jmonroynieto

    I normally use linux and had to reluctantly switch to windows for a week. I thought it was highly irregular and when I googled the issue without mentioning zig, this issue is at the top. Lots of us are being thrown for a loop. I agree with the added feedback solution.

  11. TeamDman commented on Apr 4, 2026

    @TeamDman
    Image 25 minutes here, not cool :(
  12. MixusMinimax commented on Jun 30, 2026

    @MixusMinimax

    7zip is orders of magnitude faster than windows's internal extraction. It would be cool if the winget script would detect a 7zip installation and use it instead. in my case, 7zip took 10 seconds to extract the entire file.

    This helped though: https://gist.github.com/ardislu/16e44f6a49f8ec0f313b0b849c61580c

    it can use tar. On windows. The entire process took 7 seconds.

  13. Areha11Fz commented on Aug 19, 2026

    @Areha11Fz

    7zip is orders of magnitude faster than windows's internal extraction. It would be cool if the winget script would detect a 7zip installation and use it instead. in my case, 7zip took 10 seconds to extract the entire file.

    This helped though: https://gist.github.com/ardislu/16e44f6a49f8ec0f313b0b849c61580c

    it can use tar. On windows. The entire process took 7 seconds.

    confirmed works, only took few seconds 👍

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugNeeds-Author-Feedback

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions