X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Write in handlers.json trough mozilla.cfg

Kuphostiwe

Hello Everyone,

I'd like to deploy Firefox ESR 60.6.1 in my company (4000 computers) with PowerShell / SCMM package, but i'm having trouble to set a default software for .ica (citrix) extension . I'd like to auto check automaticaly the box (Remember my choice for "xxx", please see the screenshot, sorry for french btw) in order to make it easier for the users.

I know this parameter is written in handlers.json, but I was wondering if it can be set in the mozilla.cfg.

Thank you very much for your help.

Hello Everyone, I'd like to deploy Firefox ESR 60.6.1 in my company (4000 computers) with PowerShell / SCMM package, but i'm having trouble to set a default software for .ica (citrix) extension . I'd like to auto check automaticaly the box (Remember my choice for "xxx", please see the screenshot, sorry for french btw) in order to make it easier for the users. I know this parameter is written in handlers.json, but I was wondering if it can be set in the mozilla.cfg. Thank you very much for your help.

Eminye Imininingwane Yohlelo

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0

Eminye Imininingwane

Umnikazi wombuzo

Screenshot

Screenshot
Mike Kaply
  • Moderator
39 izisombululo 204 izimpendulo
Kuphostiwe

There is a way to do this via autoconfig

https://mike.kaply.com/2013/05/15/setting-default-application-handlers/

But you'll need to flip the sandbox pref (or use the ESR)

I'm investigating adding this to policy.

There is a way to do this via autoconfig https://mike.kaply.com/2013/05/15/setting-default-application-handlers/ But you'll need to flip the sandbox pref (or use the ESR) I'm investigating adding this to policy.

Umnikazi wombuzo

Thanks Mike !

I've probably get something wrong, cause it does not seems to work for me. May I ask you a little more of your expertise ?

I've added the whole script with those two modified lines below in the autoconfig.js, that I copy directly in the default folder during the deployment of Firefox ESR 60.6.1.


// Change "image/tiff" the mime type you want to set the preference for var realMIMEInfo = mimeService.getFromTypeAndExtension("ica", "receiver");

// This should be the path to the .app file on Mac or the EXE on Windows file.initWithPath("C:\Program Files (x86)\Citrix\ICA Client\wfcrun32.exe");

Thank you very much !

Thanks Mike ! I've probably get something wrong, cause it does not seems to work for me. May I ask you a little more of your expertise ? I've added the whole script with those two modified lines below in the autoconfig.js, that I copy directly in the default folder during the deployment of Firefox ESR 60.6.1. // Change "image/tiff" the mime type you want to set the preference for var realMIMEInfo = mimeService.getFromTypeAndExtension("ica", "receiver"); // This should be the path to the .app file on Mac or the EXE on Windows file.initWithPath("C:\Program Files (x86)\Citrix\ICA Client\wfcrun32.exe"); Thank you very much !
Mike Kaply
  • Moderator
39 izisombululo 204 izimpendulo
Kuphostiwe

So get fromtype and extension should be:

"application/x-ica", "ica"


And you should use double slashes for the initWithPath.

So get fromtype and extension should be: "application/x-ica", "ica" And you should use double slashes for the initWithPath.