Skip to content

[Bug] unintelligible message in core.ps1 line 824 #6635

Description

@DmitrySokolov

Bug Report

Current Behavior

scoop update wixtoolset

Expected Behavior

clear message why it was happened

Additional context/output

Extracting wix.7.0.0.nupkg ... Could not find 'any'! (error 16)
At %USERPROFILE%\scoop\apps\scoop\current\lib\core.ps1:824 char:9
+         throw "Could not find '$(fname $from)'! (error $($proc.ExitCo ...

Possible Solution

Replace fname $from with $proc.StartInfo.Arguments, so the message will be

Extracting wix.7.0.0.nupkg ... Could not find '"%USERPROFILE%\scoop\apps\wixtoolset\7.0.0\tools\net6.0\any" "%USERPROFILE%\scoop\apps\wixtoolset\7.0.0" /e /move'! (error 16)

System details

Windows version: [e.g. 7, 8, 10, 11]
Microsoft Windows [Version 10.0.26200.8117]

OS architecture: [e.g. 32bit, 64bit, arm64]
x64

PowerShell version: [output of "$($PSVersionTable.PSVersion)"]

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      26100  8115

Scoop Configuration

{
    "last_update":  "2026-04-07T12:48:33.8183105+03:00",
    "scoop_repo":  "https://github.com/ScoopInstaller/Scoop",
    "scoop_branch":  "master",
    "aria2-enabled":  true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions