Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I update Firefox from command line?

  • No replies
  • 1 has this problem
  • 6 views
more options

I need a command line command that I can execute in a batch file on Windows 7 Pro to tell Firefox to check for and install updates to itself.

I know it auto-updates but on some of our public facing systems, we use a program that automatically reverts any changes made to the system back to a saved baseline EXCEPT those changes made during a specific time window. If I don't find a way to do the updates during that window, every time it auto-updates it will be reverted back whenever the system reboots or a new user logs in. Then the update will happen again and be reverted again, over and over each day.

During the update window (which occurs unattended in the middle of the night), I can have the software execute a batch file to update the apps in our standard software collection. Is there a command line switch like Firefox.exe /update or a separate app like mozillaupdate.exe that will do a check and then update automatically if Firefox is outdated? It would be run under an administrator account but would need to install silently without user intervention.

Google searches and the official Firefox help site for this topic mention maintenanceservice.exe but the description I found of how it works lead me to believe that I just need to execute the command and Firefox would update. I tried that but nothing happened. I had purposefully installed an Firefox 48.0 to test if the running maintenanceservice.exe would update it. When it didn't, I went into the about page just to make sure that it would update at all. It did, so now I have 49.0.2 installed but do not know how to get it to install any future updates at the time of day I need them to be installed without my specifically manually going to the about page each time on each machine.

Can this be done?

I need a command line command that I can execute in a batch file on Windows 7 Pro to tell Firefox to check for and install updates to itself. I know it auto-updates but on some of our public facing systems, we use a program that automatically reverts any changes made to the system back to a saved baseline EXCEPT those changes made during a specific time window. If I don't find a way to do the updates during that window, every time it auto-updates it will be reverted back whenever the system reboots or a new user logs in. Then the update will happen again and be reverted again, over and over each day. During the update window (which occurs unattended in the middle of the night), I can have the software execute a batch file to update the apps in our standard software collection. Is there a command line switch like Firefox.exe /update or a separate app like mozillaupdate.exe that will do a check and then update automatically if Firefox is outdated? It would be run under an administrator account but would need to install silently without user intervention. Google searches and the official Firefox help site for this topic mention maintenanceservice.exe but the description I found of how it works lead me to believe that I just need to execute the command and Firefox would update. I tried that but nothing happened. I had purposefully installed an Firefox 48.0 to test if the running maintenanceservice.exe would update it. When it didn't, I went into the about page just to make sure that it would update at all. It did, so now I have 49.0.2 installed but do not know how to get it to install any future updates at the time of day I need them to be installed without my specifically manually going to the about page each time on each machine. Can this be done?