Solved

Launching executable using JavaScript

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at 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 purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
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)

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now