microsoft / winget-create

The Windows Package Manager Manifest Creator command-line tool (aka wingetcreate)
MIT License
489 stars 84 forks source link

Failed to parse the package from xxxx #404

Closed jayhuang75 closed 1 year ago

jayhuang75 commented 1 year ago

Brief description of your issue

I try to follow the document to use the wingetcreate new.

However, I got the error as follows Downloading and parsing: https://github.com/jayhuang75/rust-cli-med/releases/download/0.6.2/med-0.6.2-x86_64-windows-msvc.tar.gz... Failed to parse the package from [https://github.com/jayhuang75/rust-cli-med/releases/download/0.6.2/med-0.6.2-x86_64-windows-msvc.tar.gz]

And the version I have wingetcreate -h Windows Package Manager Manifest Creator v1.2.7.0

Can I get some guidance on what format the URL should be? Currently, the tar.gz file contains only the exe file.

URL: https://github.com/jayhuang75/rust-cli-med/releases/download/0.6.2/med-0.6.2-x86_64-windows-msvc.tar.gz

Thank you again.

Steps to reproduce

wingetcreate new

Expected behavior

process continuous

Actual behavior

However, I got the error as follows Downloading and parsing: https://github.com/jayhuang75/rust-cli-med/releases/download/0.6.2/med-0.6.2-x86_64-windows-msvc.tar.gz... Failed to parse the package from [https://github.com/jayhuang75/rust-cli-med/releases/download/0.6.2/med-0.6.2-x86_64-windows-msvc.tar.gz]

Environment

winget --info
Windows Package Manager v1.4.11071

wingetcreate -h
Windows Package Manager Manifest Creator v1.2.7.0
jayhuang75 commented 1 year ago

Turn out the URL package needs to be in the zip format. Thank you.