473,396 Members | 1,599 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Automatic install

I have a basic web site where people can download my programs.

To make it easier for them is it possible that I could add some
javascript that would allow them to automatically install/run the
program for them maybe with appropriate options/warnings etc

Sme example code would be most appreciated

Many thanks

Mike

--

Jan 16 '07 #1
6 2008
dd
You can just have a hyperlink to the installer program.
When they click on it, the browser will automatically
handle the security warnings. It might show a bar at the
top of the screen warning the users this is "a program",
or it might just open the open/save dialog. What some
sites do is take screenshots of the IE6/7 warning bar
and/or other warning dialogs and instruct the user the
appropriate action.

If it's an ActiveX control you're offering, then you can
just dynamically embed it into a DIV as long as you
have the URL specified for the installer.

If none of this fits your needs, why not go to sites like
download.com and look how they do it.

~dd

Jan 16 '07 #2
VK
Mike Saunders wrote:
I have a basic web site where people can download my programs.

To make it easier for them is it possible that I could add some
javascript that would allow them to automatically install/run the
program for them maybe with appropriate options/warnings etc
For .exe file download it will be dialog with Open/Save options without
any extra work. - Unless for executable security settings disable Open
options leaving Save only, which is out of any of your control.

Or did you mean to launch files from from local drive after being
downloaded?

Jan 16 '07 #3
VK wrote:
Mike Saunders wrote:
I have a basic web site where people can download my programs.

To make it easier for them is it possible that I could add some
javascript that would allow them to automatically install/run the
program for them maybe with appropriate options/warnings etc

For .exe file download it will be dialog with Open/Save options
without any extra work. - Unless for executable security settings
disable Open options leaving Save only, which is out of any of your
control.

Or did you mean to launch files from from local drive after being
downloaded?
Wow such quick responses

With browser security not making it easy to open programs remotely I
would like them to be downloaded (default say to the TEMP folder)
before then being opened

--

Jan 16 '07 #4
Mike Saunders said the following on 1/16/2007 8:55 AM:
VK wrote:
>Mike Saunders wrote:
>>I have a basic web site where people can download my programs.

To make it easier for them is it possible that I could add some
javascript that would allow them to automatically install/run the
program for them maybe with appropriate options/warnings etc
For .exe file download it will be dialog with Open/Save options
without any extra work. - Unless for executable security settings
disable Open options leaving Save only, which is out of any of your
control.

Or did you mean to launch files from from local drive after being
downloaded?

Wow such quick responses

With browser security not making it easy to open programs remotely I
would like them to be downloaded (default say to the TEMP folder)
before then being opened
User gets a download dialog, they choose to save it or not. Where that
file gets saved is up to the user though. You can't specify where to
save it to.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jan 16 '07 #5
Randy Webb wrote:
Mike Saunders said the following on 1/16/2007 8:55 AM:
VK wrote:
Mike Saunders wrote:
I have a basic web site where people can download my programs.

To make it easier for them is it possible that I could add some
javascript that would allow them to automatically install/run
the program for them maybe with appropriate options/warnings etc
For .exe file download it will be dialog with Open/Save options
without any extra work. - Unless for executable security settings
disable Open options leaving Save only, which is out of any of
your control.
>

User gets a download dialog, they choose to save it or not. Where
that file gets saved is up to the user though. You can't specify
where to save it to.

Fair enough but can I enable the user to easily run the downloaded
program without him having to navigate to the downloaded location This
seems to be a problem for many users Maybe a script on the site

Thanks
--

Jan 16 '07 #6
Mike Saunders said the following on 1/16/2007 12:45 PM:
Randy Webb wrote:
>Mike Saunders said the following on 1/16/2007 8:55 AM:
>>VK wrote:

Mike Saunders wrote:
I have a basic web site where people can download my programs.
>
To make it easier for them is it possible that I could add some
javascript that would allow them to automatically install/run
the program for them maybe with appropriate options/warnings etc
For .exe file download it will be dialog with Open/Save options
without any extra work. - Unless for executable security settings
disable Open options leaving Save only, which is out of any of
your control.
User gets a download dialog, they choose to save it or not. Where
that file gets saved is up to the user though. You can't specify
where to save it to.


Fair enough but can I enable the user to easily run the downloaded
program without him having to navigate to the downloaded location This
seems to be a problem for many users Maybe a script on the site
When I download files in IE7 (.exe files) I get prompted to
Run>Save>Cancel the download. I can Run it from the server(not saved
locally), I can save it for later installation or I can cancel the
download. If I save it locally, in order for you to tell me where to go
to execute it you would have to know where I saved it to and you can't
know that. The best you could do would be to have some type of "Help"
link that can explain how to find the file (Start>Search>Filename) or
instructions on how to save it to the desktop so they can find it.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jan 16 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Olaf Baeyens | last post by:
From what I understand of our users, is that installing the .NET framework is very complicated even if they go through the Windows update system. So they give up before they tried the program....
1
by: Jakob Olsen | last post by:
Hi, I didn't know which group to post this in, so I did something I usually don't do which is post the message in multiple groups - sorry for that! My problem is that I have build a .NET...
5
by: Shane | last post by:
I wonder if someone has any ideas about the following. I am currently producing some reports for a manufacturing company who work with metal. A finished part can contain multiple sub-parts to...
0
by: =?Utf-8?B?VG9kZA==?= | last post by:
I need to be able to set Windows "Automatic Updates" to "Download updates for me, but let me choose when to install them" on my clients computers programmatically. If someone could point me in the...
3
by: shimon | last post by:
Hello I would like to create an installer to my C# project. BUT 1) I don't want my user to install the .net framework 2 manually, because many will just give up installation. 2) I don't...
4
by: Wernerh | last post by:
Hi, I have written my application and given the text files a dir to save to. Is there a way that that dir would read as a wildcard wherever I install it to? Example I have the drive path listed as...
4
by: =?Utf-8?B?Zmx5ZXJk?= | last post by:
I have win xp home, automatic updates set for auto at 3:00 am. The download and install happens. (Proved by looking on web update history and in windows directory) however the yellow icon w/ the...
1
by: =?Utf-8?B?LUdFUC4=?= | last post by:
My wife's machine had to have Windows XP Pro repaired from the original old installation CDs, which seemed to work fine until Automatic Updates revealed it needed 89 critical updates...all of which...
2
by: =?Utf-8?B?RG91Zw==?= | last post by:
Automatic Update has started installing XP SP3 on my Dell P4-2800 running XP Home. It has been at the same point "Finishing Installation" with details of "Running Processes after install" for over...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.