I am using a mix of SCCM app superceedance and some powershell wizardy to upgrade firefox.įor detection rules I am looking for the firefox version number on the firefox.exe in the program files for the current deployment. I haven't really done any user profile migration tests I'm afraid. If exist "%programfiles(x86)%\Mozilla Maintenance Service\" "%programfiles(x86)%\Mozilla Maintenance Service\Uninstall.exe" /S /v/qn If exist "%programfiles%\Mozilla Maintenance Service\" "%programfiles%\Mozilla Maintenance Service\Uninstall.exe" /S /v/qn If exist "C:\Users\Public\Desktop\firefox.lnk" del /f "C:\Users\Public\Desktop\firefox.lnk" If exist "C:\Users\Public\Desktop\Mozilla Firefox.lnk" del /f "C:\Users\Public\Desktop\Mozilla Firefox.lnk" If exist "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\mozilla Firefox.lnk" del /f "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\mozilla Firefox.lnk" If exist "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\firefox.lnk" del /f "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\firefox.lnk" If exist "%ProgramFiles(x86)%\Mozilla Firefox\uninstall\" start "" /d "%ProgramFiles(x86)%\Mozilla Firefox\uninstall" "helper.exe" -ms REM if exist "%ProgramFiles%\Mozilla Firefox\uninstall\" start "" /d "%ProgramFiles%\Mozilla Firefox\uninstall" "helper.exe" -ms
OLDER VERSIONS OF FIREFOX. INSTALL
REM + Works for Windows XP / 7 / 8 / 10 32-bit and 64-bitĮcho Window will close after install is complete REM + Runs in private browsing by default REM + Disables the 'Always check to see if Firefox is the default browser on startup' option REM + Disables the 'Automatically check for updates' option REM + silently install or upgrade Firefox 68.10.0 ESR WITHOUT Firefox being the default browser You just need to update the install line to the version you are attempting to install.Įx: "%~dp0Firefox Setup 68.10.0esr.exe" -ms cmd file via SCCM, but as long as your version of FF is in the same source folder of this command script install, you should be all set. We never have users lose data, and it performs a clean uninstall each time. We have great success doing our upgrades with this batch file.