[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Web CD for software distribution

Posted on 2004-04-04
5
Medium Priority
?
181 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
[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
 
LVL 7

Expert Comment

by:brgivens
ID: 10755366
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
ID: 10768045
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 1000 total points
ID: 10768289
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
ID: 10792495
thanks
0
 
LVL 7

Expert Comment

by:brgivens
ID: 10792512
You're welcome.  Thanks for the points! :)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article discusses how to create an extensible mechanism for linked drop downs.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

650 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