Go Back   CodingForums.com > :: Computing & Sciences > Computer/PC discussions

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-09-2002, 03:15 AM   PM User | #1
charon
Regular Coder

 
Join Date: Jun 2002
Posts: 317
Thanks: 0
Thanked 0 Times in 0 Posts
charon is an unknown quantity at this point
How to Auto Install the Program!

Hi,

We burn our annual report in CD format with pdf file format, so for them to read the pdf file they need Acrobat Reader. What I intend to do is add the Acrobat Reader installer (.exe), so that user can click and install the Acrobat Reader before they read the annual report. I create an initial file call index.htm and there has a link for the user to click and install the .exe file, for example:

Please Click Here If You Don't Have Acrobat Reader

When the user click, there is a download dialog box pop up, and provide two option:

1.) run from current location
2.) save this program to the disk

I don't want this file download dialog box, what I want is when the user click the link, the .exe file Automatic Unpack the Acrobar Reader exe installer, Please tell me How???

Thanks!!!
charon is offline   Reply With Quote
Old 09-09-2002, 03:15 PM   PM User | #2
tommysphone
Regular Coder

 
Join Date: Jun 2002
Posts: 262
Thanks: 0
Thanked 0 Times in 0 Posts
tommysphone is an unknown quantity at this point
AutoRun

Your question has an answer. The CDROM needs information burnt to it at point of creation which will allow auto run. The file in question is allocated the privilage of running when the CDROM starts to spin.

There is software out there that will make this easy for you.

The easier, cheaper way is as follows:

To make a CD ROM auto run open notepad and enter
the following information.

[Autorun]
open=MyProgramToRun.exe

Simply change the open path and/or name to suit your own requirements MyProgramToRun.exe

When you have changed the 'open' setting to suit your needs save the file as 'Autorun.inf'. This file MUST be copied to the root directory of the CD to work.

NOTE: Disabled AutoRun. If a user has edited the registry on their machine the above will not work.

Registry change is to set the following registry entry to disable autorun per machine:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom\Autorun, a type REG_DWORD, to zero. Setting it to 1 turns it on.

Happy CDRoming
__________________
Therapy is expensive, popping bubble wrap is cheap, you choose.

Last edited by tommysphone; 09-09-2002 at 03:36 PM..
tommysphone is offline   Reply With Quote
Old 09-10-2002, 01:11 AM   PM User | #3
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,043
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
I'm not sure you can do that from IE. For obvious security reasons, it would make it easy for a malicious program to be installed without your knowledge. But I may be wrong. Try searching Google.
oracleguy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:48 PM.


Advertisement
Log in to turn off these ads.