Creating Custom URL protocol in macOS

Operating system: macOS
Slicer version: 5.6.2

Expected behavior: based on the developer guide to launch Slicer directly from browser, it will be based on custom url protocol. This is done automatically in the Windows installer and can be set up on other operating systems manually.

when trying to create that custom URL protocol in MacOS, it require changing the Info.plist file.

after doing so, it is expected that the custom URL protocol will work.

Actual behavior:
when trying to open slicer through the URL, the URL is recognized, but the 3D Slicer won’t open because the macOS is recognizing the altered Info.plist as - /Applications/ invalid Info.plist (plist or signature have been modified)

meaning, that there is invalidation of the signature in the macOS of the 3D Slicer.

Is there a way to solve it?

In general what I am trying to do is create a link that will open the 3D Slicer with a specific DICOM folder based on a path specified in that link. I tried to simplify it for now to simply open the 3D Slicer.

Did you try the version in the IDC Browser extension? I understood it is working on all platforms.

Thanks @pieper for the reference!

Hi @Gil,

Here’s how I tackled it. I needed to create a new app and that app launches slicer whenever a custom protocol is detected.

SlicerIDCBrowser/IDCBrowser/ at add-slicer-idc-viewer · vkt1414/SlicerIDCBrowser (

happy to answer anything with in my reach!

1 Like

Thank you so much for your help!

I’ll try to play around with it a bit today and see if it solves it.

1 Like