Computing.Net > Forums > Web Development > Package Manager

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Package Manager

Reply to Message Icon

Name: usamahashimi
Date: September 4, 2008 at 09:16:44 Pacific
OS: Windows XP
CPU/Ram: Intel 2.4 GHz/512MB
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: usamahashimi
Date: September 4, 2008 at 09:31:30 Pacific
Reply:

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


0

Response Number 2
Name: RTAdams89
Date: September 4, 2008 at 10:52:36 Pacific
Reply:

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


0

Response Number 3
Name: usamahashimi
Date: September 4, 2008 at 19:54:27 Pacific
Reply:

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 :)


0

Response Number 4
Name: Michael J (by mjdamato)
Date: September 4, 2008 at 21:01:37 Pacific
Reply:

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


0

Response Number 5
Name: usamahashimi
Date: September 4, 2008 at 22:34:43 Pacific
Reply:

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


0

Related Posts

See More



Response Number 6
Name: usamahashimi
Date: September 5, 2008 at 08:37:21 Pacific
Reply:

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


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Package Manager

Setting up server www.computing.net/answers/webdevel/setting-up-server/2030.html

how to .. in PHP www.computing.net/answers/webdevel/how-to-in-php/3702.html

To host a web application www.computing.net/answers/webdevel/to-host-a-web-application/3892.html