How to run an .exe from FireFox

I am trying to launch a network share .exe in a local intranet. Using a href="file location" seems to work great in IE, however I cannot get the file to run in FireFox. I created a simple image that when clicked on is supposed to launch this .exe.

Anyone have any ideas?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Anuradha GoliSystems Development / Support SpecialistCommented:
Try installing addon for Firefox and restart firefox to open download
philtukeyAuthor Commented:
Ok but this will be for 100 people and I do not want to deploy an addon on each persons computer.
the ONE TRUE WAY to launch desktop applications (.exe files) from ALL browsers (including internet explorer) is to create a custom protocol handler.

ANY other way is going to cause you problems.

All you need is here:
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

philtukeyAuthor Commented:
Thanks Basicinstinct. However I am not a programmer so the link you send me to makes no sense.
don't be daunted, in its simplest form you can actually get it going with nothing more than one registry key.

at the worst you would need to write a simple batch file.

i have implemented highly complex protocol handler scenarios which required programming but your case sounds quite simple.

it may be as simple as this...

Save the code below as "gasp.reg"

Windows Registry Editor Version 5.00

@="URL:our launcher protocol"
"URL Protocol"=" "





Open in new window

Change C:\\temp\\test.bat to the actual path to your .exe (make sure to use double backslash instead of single)

> Now run the .reg file to create the registry entry.

Now create a link in your web page just like a mailto link, for example:

<a href="gasp:foobar">run our app</a>

click it.

Normally you would want to pass some args to your app but doesn't sound like you are doing that.

Obviously you can change the protocol to be something besides "gasp".

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
philtukeyAuthor Commented:
I've requested that this question be deleted for the following reason:

This is a firefox Issue which can only be fixed by Firefox

I'm disappointed you didn't get the protocol handler working.

Also your closing comment is wrong:

This is a firefox Issue which can only be fixed by Firefox

Well it's not going to be "fixed" by firefox because firefox isn't broken. A web browser is not MEANT to be able to break out of its sandbox and interact with the desktop. There is nothing to fix.

What's more there IS a way to do exactly what you want to do, it's called a custom protocol handler - it's what I told you about. It's not very hard - in it's simplest form it just requires a new registry key.
Hmm, I chose option #5: philtukey, tell me where you got stuck with the custom protocol and i'll help you.

Failing that I'm happy to have this question deleted which is what philtukey wanted, I didn't object to that, what I did object to was the REASON given for the deletion which couldn't be more wrong.

The answers I have given here are not some random thing I googled and presented as my own ideas. Philtukey says he needs to get this going for 100 people, well I have got it working in an organisation with over 5000 people spread over every capital city in the nation, and not just launching one .exe but a whole suite of them.

Failing option #5 I suggest option #2, delete no refund.
philtukeyAuthor Commented:
Thank you Basicinstinct for your help, however I am not blindly posting that "This is a firefox Issue which can only be fixed by Firefox". This is based on days of research. I do not want to go messing around with registries....

"Now run the .reg file to create the registry entry.

Now create a link in your web page just like a mailto link, for example:

<a href="gasp:foobar">run our app</a>"

It should not take modifying any part of the registry to have a simple executable run in Firefox like it does in IE. I based my closing/deleting statement on quite a few articles, here are a couple of them
"Firefox doesn’t support opening Windows executable files (i.e. files with an .exe extension); you have to save it, then manually run it. I missed the ability to execute a program directly from a browser (as Internet Explorer allows)."

Thank you!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.