Setup: fall back when Windows' tar.exe is missing #1896
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot#1896
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reported on Discord (Windows).
What happens: setup stops with
Could not start Windows' tar.exe (Windows error 2). Error 2 means the file isn't there:C:\Windows\System32\tar.exeis missing on that PC. It ships with Windows 10 (1803 and later) and Windows 11, so it was most likely removed by a "debloat" or system-cleaning tool.What's needed: when tar.exe isn't found, the setup should fall back to extracting the parts itself (for example with its own extractor) instead of stopping, or at least say clearly that Windows' tar.exe is missing and how to restore it.
Work-around: restore the missing Windows system files. In a Command Prompt run as administrator:
then restart Windows and run the setup again.
Thanks for the report. Reports of the same problem are now collected in #2505, which lists this one with your details and links back here, so one fix closes them together and the open list stays readable. Follow #2505 for the fix, and add new details there (or here). If this turns out to be a separate problem it will be reopened.