Solved

Launching executable using JavaScript

Posted on 1997-04-23
5
193 Views
Last Modified: 2013-11-18
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
0
Comment
Question by:missle
  • 3
  • 2
5 Comments
 

Author Comment

by:missle
ID: 1265312
Edited text of question
0
 
LVL 1

Accepted Solution

by:
moorep earned 100 total points
ID: 1265313
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
 

Author Comment

by:missle
ID: 1265314
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
 
LVL 1

Expert Comment

by:moorep
ID: 1265315
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
 
LVL 1

Expert Comment

by:moorep
ID: 1265316
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

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question