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/