Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello
I am making a simple webpage. I am trying to put links on that page so that when I click the link the respective installer of the software starts. Like, I was adding link for DAP 8.6 as;
[Download Accelerator Plus 8.6]
But when in the webpage, when I click on the link, instead of Installer, download manager starts and asks me to save the file.
How can I add the link in my webpage forthe Setup files so that when I click on the links the Installer starts automatically.
Thanks

Instead of this
[Download Accelerator Plus 8.6]
I put the code but I dont know why the code is not appearing here!

You can. You are linking to an executable file which has to be downloaded before it can be run. When someone goes to your web page, and clicks that link, it is their computer that determines how to handle the link. By default, their computer will ask whether to "Save" or "Run" the file.
-Ryan Adams
Computer Tips, Guides, Downloads, and more:http://RyanTAdams.com

RTAdams89!
Thanks for your interest in my problem :)
Let me explain a bit more. I am inserting the links of the software that are already saved in my hard disk, I want that when I click on the link, my own system asks me to run the file.
Moreover, I am not developing a website for publishing, I am only making a webpage that contains the links to the softwares (in my hard disk) and I will use this webpage by myself only.
This may be the first step to creat a package manager for Windows :)

Here's one possibility I found in a quick search. The only problem is that you get an AxtiveX warning when you first click the link. but you can probably turn that off for local content in the browser security settings. And it probably only works in IE (Not tested)
<html>
<head>
<script language="javascript">
function startExe(exePath)
{
new ActiveXObject('Wscript.Shell').Run(exePath);
}
</script>
</head><body>
Install
</body></html>
Michael J

Michael J!
Thanks a lot. I will suerly try your solution today evening ans let you know about the results.

Michael J!
I followed your advice. Yes, your trick is working but only incase when I uninstall my DAP installation, otherwise DAP is still trying to download the software.
One more thing, when I click the link in my webpage, windows is giving a message;
"Please go to Control Panel and configure system components"
Can you tell me that what is that message and how can I correct it?
Thanks

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |