microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.32k stars 4.26k forks source link

[New Feature]: Add manifest file for Mozilla Firefox (Portuguese Brazil pt-BR) #99523

Open JRHille opened 1 year ago

JRHille commented 1 year ago

Description of the new feature/enhancement

Hello,

I'm trying to install Firefox with the winget install --id=Mozilla.Firefox -e -h --force --accept-package-agreements --accept-source-agreements --scope "machine" command but the following error appears: ''The current system configuration does not support the installation of this package.''

Analyzing the log, it seems that the Manifest is missing for my language, and so I can't install the .msi version of firefox, only the store version, which doesn't work for me, because I can't install it for everyone on the machine with the --scope=machine.

Please add Manifest for Portuguese Brazil (pt-BR) language. WinGet-2023-03-14-23-41-13.196.log

Proposed technical implementation details (optional)

No response

denelon commented 1 year ago

@JRHille do you have your locale configured as a requirement or a preference in winget settings?

JRHille commented 1 year ago

@JRHille do you have your locale configured as a requirement or a preference in winget settings?

Hi,

I didn't touch any language settings in the winget.

I'm making a post-format installation script and testing it on a newly formatted computer, I just updated the application installer and start the script. The only program out of more than 20 that I have in the script that doesn't install is Firefox.

I looked at the logs and winget tries to install the store version, I believe because the winget version doesn't have my language. To prove it, I changed the windows language to English and the winget installed normally.

What appears in the winget settings is this: vmware_fJPA0GYgoo

Thank you

BrandonWanHuanSheng commented 1 year ago

Warning! It look like there is a newer version for firefox. I had been prompted by the firefox updater that mean there is a newer version available. The Newer Version is 111.0

BrandonWanHuanSheng commented 1 year ago

All Version and locale is right over here "https://download-installer.cdn.mozilla.net/pub/firefox/releases/111.0/" The sha-256 can be found in "https://download-installer.cdn.mozilla.net/pub/firefox/releases/111.0/SHA256SUMS"

BrandonWanHuanSheng commented 1 year ago

I reconfirmed that SHA256 is https://download-installer.cdn.mozilla.net/pub/firefox/releases/111.0/SHA256SUMS file by using aria2c. aria2c don't use this file "https://download-installer.cdn.mozilla.net/pub/firefox/releases/111.0/SHA256SUMS" but other hashdeep tool use that file

JRHille commented 1 year ago

@jedieaston

Hey bro, sorry to bother and tag you here.

But I saw that you seem to be updating firefox versions, I don't know if it is too difficult or time consuming to add the locale for my language (pt-BR), because I am not able to install the application.

Unfortunately I don't understand much about github, not if it's possible for us to add the files or if there would be a guide to do that.

Again, I'm sorry for bothering you.

krystofkrticka commented 1 year ago

@JRHille This issue is caused by Mozilla packaging each language as it's own independent installer and if winget had installers for all languages it would be very time consuming to update every time there's new version. Only multilinugal version of firefox is version distributed via msix installer.