PDA

View Full Version : Opening an application with a link


liju_thomas
06-05-2000, 02:08 PM
I would like to be able to set up my HTML Hyperlink such that when the user clicks on the link, it automatically runs instead of giving the user the option of "Save to Disk".[nbsp][nbsp]

The application example would be a "Setup.exe" file.[nbsp][nbsp]I would like the user to be able to click on the hyperlink and have the Open dialogue start, instead of an option for OPEN or SAVE.

Hope this makes sense,
TIA
Liju

Brian
06-05-2000, 02:35 PM
I am not aware of a way to do this to install a program. I also would not think this would be possible, because it would be a security issue and could be maliciously used to spread viruses.

-Brian

Justin
06-05-2000, 02:55 PM
The only way this would work is if the end user had configured their browser to automatically run the file (eg, clicking "Don't ask me this again" after selecting "Run"). This is of course highly recommended against. There is no automatic way to do this - if there was, as Brian notes, who's to say someone wouldn't do the same for BadVirus.exe?

------------------
Justin Nelson
FutureQuest (http://www.FutureQuest.net/index.php) Support

liju_thomas
06-05-2000, 03:50 PM
I agree this could be used for malicious intent.[nbsp][nbsp]I actually only want to simulate the "Open File" dialogue.[nbsp][nbsp]I would not want to automatically run the setup file.[nbsp][nbsp]In Internet Explorer for example, if you click on "Open File..." and then "Next" another dialogue comes up asking if the user would like to continue.

I was just curious if there was a way to do such a thing.

thanks,
liju