I built a website, where there is a few links for exe files, i want users can run it from their machines.
Now, the way i made it, is by using JS with ActiveXObject.
var sw = new ActiveXObject('WScript.shell');
sw.exec(file);
Then - it's gave the error: "automation server can't create object". I solve it, as described here:
IE9, Automation server can't create object error while using CertEnroll.dll
(see the 1st answer)
But, the solution was good only for me (I mean for the local computer, where i made changes in the internet securitu options).
It's not a solution for the end users, because what i want is to publish this site to a lot of people, and i already understood that it's absolutley un safe to enable the ActiveXObject opening (as described in the link above).
[Even if that was safe - i don't excpect all the users to change their settings, reset cookies etc.]
Someone has idea instead how to enable them open my links ? ...
Thanks !!