Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Update Firefox from Windows Command Line

  • 1 trả lời
  • 1 gặp vấn đề này
  • 3 lượt xem
  • Trả lời mới nhất được viết bởi go4spam

more options

Dear all Maybe, someone is able to help me out here:

We're supporting several companies with the following setup: User's are working with an office computer. However, they are also able to work from home via VPN and RDP. Folder redirection is enabled and directs to a network drive.

Since Firefox usually only updates while the application is running, we regularly face the issue where the Firefox profile wasn't able to load on the office PC because it was opened with a more actual version (the one from the Remote Desktop server) earlier.

Is there a way to update Firefox without launching the application first? Preferably from command line so it could become part of the logon script? All I found which looks helpful is the section "Service Command Line Parameters" in https://wiki.mozilla.org/Windows_Service_Silent_Update. However, I wasn't able to get it working so far.

Dear all Maybe, someone is able to help me out here: We're supporting several companies with the following setup: User's are working with an office computer. However, they are also able to work from home via VPN and RDP. Folder redirection is enabled and directs to a network drive. Since Firefox usually only updates while the application is running, we regularly face the issue where the Firefox profile wasn't able to load on the office PC because it was opened with a more actual version (the one from the Remote Desktop server) earlier. Is there a way to update Firefox without launching the application first? Preferably from command line so it could become part of the logon script? All I found which looks helpful is the section "Service Command Line Parameters" in https://wiki.mozilla.org/Windows_Service_Silent_Update. However, I wasn't able to get it working so far.

Tất cả các câu trả lời (1)

more options

After a couple of try-and-error attempts, I was finally able to figure a way to get this sorted. It's maybe not very elegant, but working. Here's how in case someone with the same problem stumbles across this post:

1) Download actual Firefox version from the net locally a) create a PowerShell script on your server - preferrably in a location designated for GPO files - with content: $client = new-object System.Net.WebClient $client.DownloadFile("https://download.mozilla.org/?product=firefox-msi-latest-ssl&os=win64&lang=de",".\firefox.msi")

b) create a scheduled task to run this script daily

2) Update workstations a) create a batch file - preferrably in the same location like the PowerShell script - with content: msiexec /i \\path\to\firefox.msi /qn

b) create a GPO executing the batch file at the start of the computer (logon script won't work because admin credentials are needed for execution: Computer Configuration > Policies > Windows Settings > Scripts > Startup

3) Update Terminal Server create a scheduled task to run daily - preferrably right after the download in 1)

Programm: msiexec – arguments: /i \\[Servername]\Scripts\FirefoxUpdater\firefox.msi /qn – Start in: \\path\to\folder

Được chỉnh sửa bởi go4spam vào