![]() ![]() If Update-MozillaFirefox is run in an elevated PowerShell window and no Firefox is detected, the script offers the option to install Firefox in the " Admin Corner" (step 11), where, in contrary to the main autonomous nature of Update-MozillaFirefox, an end-user input is required for selecting the bit-version and the language. To perform an update with Update-MozillaFirefox, PowerShell has to be run in an elevated window (run as an administrator). If Update-MozillaFirefox is run without elevated rights (but with a working Internet connection) in a machine with an old Firefox version, it will be shown that a Firefox update is needed, but Update-MozillaFirefox will exit at Step 12 before downloading any files. ![]() When run in a 'normal' PowerShell window, and all the detected Firefox versions seem to be up-to-date, Update-MozillaFirefox will just check that everything is OK and leave without further ceremony at Step 11. At Step 7 Update-MozillaFirefox downloads and writes several Firefox-related files, namely " firefox_current_versions.json", " firefox_release_history.json", " firefox_major_versions.json", " firefox_languages.json" and " firefox_regions.json", which Update-MozillaFirefox uses as data sources. The keys from HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ and HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\ are read on 64-bit computers, and on the 32-bit computers only the latter path is accessed. ![]() Update-MozillaFirefox detects the installed Firefoxes by querying the Windows registry for installed programs. Update-MozillaFirefox downloads a list of the most recent Firefox version numbers against which it compares the Firefox version numbers found on the system and displays, whether a Firefox update is needed or not.
0 Comments
Leave a Reply. |