Solved

Launching executable using JavaScript

Posted on 1997-04-23
5
198 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
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)
Suggested Courses

615 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