Solved

Web CD for software distribution

Posted on 2004-04-04
5
127 Views
Last Modified: 2010-04-09
I want to create a web-based CD with a collection of freeware.  However, installing
from any HTML based interface is always a problem because of the "install or save to
disk" option or with gecko browsers, "save to disk" only.  This breaks the users
state somewhat.

Is it possible to get a javascript link/button to launch an executable directly from
a webpage?

I ask because I install stuff from the web seamlessly all the time, whether it's a
required component install that allows that web page to be fully utilized (the
security warning with the "always trust this company") or Windows Update type
install's that downloads the application to a temp file and then launches it.  

Even the Netscape/Mozilla browsers have a web installer called XPI, but it's
meant only for configuring the browser with skins and what not.

So, what options are their that could operate from the client side that would make
any browser a adequate interface for browsing and installing utilities?
0
Comment
Question by:Marketing_Insists
  • 3
  • 2
5 Comments
 
LVL 7

Expert Comment

by:brgivens
Comment Utility
You can't launch an executable from Javascript.

The components which display the "always trust this company" security warnings are called ActiveX controls.  You can create an ActiveX control with Visual Basic or C++ and other languages.
0
 

Author Comment

by:Marketing_Insists
Comment Utility
Ah yes, good ol' active X.  So can a HTML form button launch  such an ActiveX control?
0
 
LVL 7

Accepted Solution

by:
brgivens earned 250 total points
Comment Utility
sure, just code the onclick event of the button

<script>
function launchActiveX() {
  var o = new ActiveXObject("myActiveX");
  ...
}
</script>

<input type=button onclick="launchActiveX();">
0
 

Author Comment

by:Marketing_Insists
Comment Utility
thanks
0
 
LVL 7

Expert Comment

by:brgivens
Comment Utility
You're welcome.  Thanks for the points! :)
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

771 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

15 Experts available now in Live!

Get 1:1 Help Now