Launching executable using JavaScript

Our group at Rockwell is using InstallFromtheWeb to deploy software, and a plug-in is necessary for this to work. The problem is that you have to download the plugin executable(iftw.exe) then execute it.  We would like to know if it is possible to place the plug-in on there harddrive for them and then execute it, or just execute the plugin when they click on it.  Is this possible?

Thanks for the help,
missle
missleAsked:
Who is Participating?
 
moorepConnect With a Mentor Commented:
due to security limitations you cannot launch an application in javascript this way. What the browser will attempt to do is serve up the file to you and not execute it because it treats it as a file.
0
 
missleAuthor Commented:
Edited text of question
0
 
missleAuthor Commented:
That anwser was fair, and thanks for answering it, but it took no effort on your part.  I guess knowledge is power, or points in your case.
0
 
moorepCommented:
yeah i know, but someone else would have said the same thing....i have tried to do this myself and you'll find that NN and IE will both prompt you to save a file if it is a .exe type! However, if yyou request a like say .xls (Excel spreadsheet), it will launch Excel either as an OLE client in the browser or run Excel separately with the .xls fie you specify....
0
 
moorepCommented:
actually, you could probably infect a computer with "document" virus if it (the spreadsheet, or word document) had a macro in it that autoloaded........scary hey....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.