搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

mimitypes not working on other profiles

  • 3 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 bazzard112

more options

Hi,

I have a question regarding the usage of the mimeTypes.rdf file which stores the actions Firefox has to execute when clicking / download a particular file. In this case I want to link an action when opening a PDF file and I want to use the Acrobat reader (in Firefox) (with the option Firefox renders the file in the browser instead of downloading the and opening it in the Acrobat application.

Now, when I set this for one user, this is working fine, but I'm the administrator of a Terminal server and I want to set this for all users. So what I did: On profile A I configured the correct settings and copied the file mimeTypes.rdf. I made a script which runs a logon and places the mimeTypes.rdf of Profile A to the correct place in the users profile (which is working great) Now the problem is that all settings are changed to: Adobe Acrobat (default) instead of Adobe Acrobat (in Firefox). Off course all paths to Adobe are the same since we are working on a Terminal server.

System environment: Windows server 2012 R2 Terminal server. Firefox 30.0

Hi, I have a question regarding the usage of the mimeTypes.rdf file which stores the actions Firefox has to execute when clicking / download a particular file. In this case I want to link an action when opening a PDF file and I want to use the Acrobat reader (in Firefox) (with the option Firefox renders the file in the browser instead of downloading the and opening it in the Acrobat application. Now, when I set this for one user, this is working fine, but I'm the administrator of a Terminal server and I want to set this for all users. So what I did: On profile A I configured the correct settings and copied the file mimeTypes.rdf. I made a script which runs a logon and places the mimeTypes.rdf of Profile A to the correct place in the users profile (which is working great) Now the problem is that all settings are changed to: Adobe Acrobat (default) instead of Adobe Acrobat (in Firefox). Off course all paths to Adobe are the same since we are working on a Terminal server. System environment: Windows server 2012 R2 Terminal server. Firefox 30.0

被采纳的解决方案

Could you also compare prefs.js between the two profiles? Since the built-in PDF viewer is a feature of the program, there might be a corresponding change to one or more preferences when you switch to a plugin.

定位到答案原位置 👍 2

所有回复 (3)

more options

On profile A I configured the correct settings and copied the file mimeTypes.rdf. ----> do these settings include the default preferences?

Mimetypes set the default program to open up afaik, but if Firefox is open the applicaiton will not load the changed file. Since it is replacing successfully, if you restart one of the computer's that the changes are being applied to, do you see the default change?

more options

选择的解决方案

Could you also compare prefs.js between the two profiles? Since the built-in PDF viewer is a feature of the program, there might be a corresponding change to one or more preferences when you switch to a plugin.

more options

Sorry for the late reply.

jscher2000 thanks for the tip, I added the prefs.js to the profiles and now it's working!

Thank you.

By the way, this is the script I used:

@echo off SET "SEARCH=%appdata%" SET "BESTAND=mimeTypes.rdf" for /f %%F in ('dir /s %SEARCH%\%BESTAND% /s /b') do set p=%%~dpF copy \\ad\netlogon\firefox_latest\mimeTypes.rdf %p% /Y copy \\ad\netlogon\firefox_latest\prefs.js %p% /Y