Skip to content

Winget-InstallPackage.ps1 404 Error Unable to Extract Winget #9

@dmwallace2-gadellnet

Description

@dmwallace2-gadellnet

Found that the scripting used an older version of the 7z-extra to extract the files necessary for Winget. The version was 7z2408-extra.7z and this no longer exists. (URL was https://www.7-zip.org/a/7z2408-extra.7z).

Tested updating the package by pulling down the ps1 file and updated that URL (line 123) to the latest version (https://www.7-zip.org/a/7z2601-extra.7z) and this has the package working again.

Unsure if we have to use 7zip but this will likely happen again in the future. Have tested pulling down all the of dependencies as .zip files instead of .msixbundle files, and using the Expand-Archive built in cmdlet this works. Haven't however been successful in packaging it up as a Win32 file for deployment, so more testing is needed there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions