為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to disable firefox asking if I really want to launch .msi file?

  • 6 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 Piterk

more options

Every time I download *.msi file and try to launch it through firefox last downloads menu (or library window) firefox warns me that this is executable file and asks do I really want to launch this. This is really annoying.

How to disable this warning?

P.S. I do not want to use about:preferences#privacy to disable warning me about insecure downloads! I want to only remove this stupid warning before launching legitimate .msi files just because they are .msi files. I still want firefox to scan all downloads.

Every time I download *.msi file and try to launch it through firefox last downloads menu (or library window) firefox warns me that this is executable file and asks do I really want to launch this. This is really annoying. How to disable this warning? P.S. I do not want to use about:preferences#privacy to disable warning me about insecure downloads! I want to only remove this stupid warning before launching legitimate .msi files just because they are .msi files. I still want firefox to scan all downloads.

由 Piterk 於 修改

被選擇的解決方法

OK, I've found it in the source code.

Add the following pref: browser.download.skipConfirmLaunchExecutable = true


Code line Bug 1472635 Btw, it's there since Fx63 :).

從原來的回覆中察看解決方案 👍 1

所有回覆 (6)

more options

Go to about:config and set browser.download.manager.alertOnEXEOpen = false.

more options

Unfortunately it did not help. I had it on disabled earlier. I have no warning on exe files, only on msi files. This is something new, silently added in firefox 65.

more options

選擇的解決方法

OK, I've found it in the source code.

Add the following pref: browser.download.skipConfirmLaunchExecutable = true


Code line Bug 1472635 Btw, it's there since Fx63 :).

由 TyDraniu 於 修改

more options

I created string and set it to true and it did not work. Now I cannot create boolean because it only changes what string says.

more options

...

  1. Right-click on the pref and select Resetuj.
  2. Restart the browser.
  3. Try again to create a boolean preference.
more options

Thanks! That solved the problem, string disappeared after resetting it. Now I created boolean and message is not popping up on msi files!