Solved

Launching executable using JavaScript

Posted on 1997-04-23
5
190 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
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…

839 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