Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just found your Update-MozillaFirefox script and just wanted to say it's great but... #1

Open
kukubau opened this issue Mar 8, 2018 · 4 comments

Comments

@kukubau
Copy link

kukubau commented Mar 8, 2018

Hi

Just found your Update-MozillaFirefox script and just wanted to say it's great but I'd like to use this inside an enterprise environment using SCCM, to upgrade Firefox to 58.0.2 , to the machines that have other language versions of Firefox installed other than English and make it completley silent.

The difference here is that your script checks system local settings.

We usually achieve this through Appdeploytoolkit. For the en-US, de locale we used a based App Deploy Toolkit script. For the other machines is pretty time consuming to check their firefox installation language.

Does your script accept any quiet/silent switches?

Thank you.

@auberginehill

This comment has been minimized.

@auberginehill

This comment has been minimized.

@auberginehill
Copy link
Owner

Oh, I think I misunderstood your initial issue (not trying to install English, but other language versions)...

"your script checks system local settings"

Yes, this is true, but those are not supposed to be used at all, if the pre-existing Firefox language has been identified. In a nutshell, the language preference selection was supposed to be:

(1) Use the language which was used in the previous Firefox installation:
If ($firefox_enumeration.Locale -ne $null)
$lang = [string]'&lang=' + $firefox_enumeration.Locale

(2) Try to figure out the system language and try to download that version of Firefox...

If that preference is not happening, it's a clear bug and should be investigated further.

@auberginehill
Copy link
Owner

Tried to fix the language preference selection...

Just for clarification: Update-MozillaFirefox is (...or should be) completely automated, if the script detects one previous Firefox installation. If there are multiple Firefox versions installed, the script will exit without touching any pre-existing Firefox files. If the script doesn't detect any Firefox installations, the "Admin Corner" is launched, where a certain version may manually be selected for installation.

About the quiet/silent mode: Text is inputted into the PowerShell console by this script and several files are generated to the $env:temp folder. Would you prefer to have no input at all in the PowerShell window with the quiet/silent switch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants