PDA

View Full Version : Autorun CD - Windows XP


5tulips
July 23rd 09, 08:21 PM
I've never added autorun files to a CD before, but did this exercise this
morning.

I downloaded these two files:
autorun.inf
shelexec.exe
and added them to the folder of files I would burn to CD.

I changed the autorun.inf file
from
[autorun]
open=SHELEXEC.EXE default.htm
to
[autorun]
open=SHELEXEC.EXE index.html
because I'm burning a disk-based website, and its initial file is
index.html. I deposited the files into the root directory of the web folder.

Then burned the CD.
However, the autorun setup doesn't work. I have to double-click from the CD
drive until I get the .html file and open that myself. What I really get is
the dialog box that asks, What do you want Windows to do? and there is
nothing on the list to include the autorun idea.

Can someone tell me what really works?

5tulips

ANONYMOUS[_4_]
July 23rd 09, 09:28 PM
On 23 July, 20:21, "5tulips" >
wrote:
> I've never added autorun files to a CD before, but did this exercise this
> morning.
>
> I downloaded these two files:
> autorun.inf
> shelexec.exe
> and added them to the folder of files I would burn to CD.
>
> I changed the autorun.inf file
> from
> [autorun]
> open=SHELEXEC.EXE default.htm
> to
> [autorun]
> open=SHELEXEC.EXE index.html
> because I'm burning a disk-based website, and its initial file is
> index.html. I deposited the files into the root directory of the web folder.
>
> Then burned the CD.
> However, the autorun setup doesn't work. I have to double-click from the CD
> drive until I get the .html file and open that myself. What I really get is
> the dialog box that asks, What do you want Windows to do? and there is
> nothing on the list to include the autorun idea.
>
> Can someone tell me what really works?
>
> 5tulips



The general construction of Autorun.inf is as follows:

[autorun]
label=Type your application name here
icon=Setup.exe,0
open=Setup.exe

When you type your application name in the second line, it shows up in
My Computer when launched so you know which CD is in the drive.

In your case I assume you want to launch an index.html file from your
CD. I think this would work:

[autorun]
open=index.html

Let us know if this worked.

John Inzer[_2_]
July 24th 09, 12:16 AM
5tulips wrote:
> I've never added autorun files to a CD before, but did this exercise
> this morning.
>
> I downloaded these two files:
> autorun.inf
> shelexec.exe
> and added them to the folder of files I would burn to CD.
>
> I changed the autorun.inf file
> from
> [autorun]
> open=SHELEXEC.EXE default.htm
> to
> [autorun]
> open=SHELEXEC.EXE index.html
> because I'm burning a disk-based website, and its initial file is
> index.html. I deposited the files into the root directory of the web
> folder.
>
> Then burned the CD.
> However, the autorun setup doesn't work. I have to double-click from
> the CD drive until I get the .html file and open that myself. What I
> really get is the dialog box that asks, What do you want Windows to
> do? and there is nothing on the list to include the autorun idea.
>
> Can someone tell me what really works?
>
> 5tulips
===========================
IrfanView_Help_includes a tutorial
on creating an autorun slide show:

Just search for 'Slideshow from CD'
and look at Method 2.

IrfanView
http://www.software.com/irfanview
(get the plug-ins too)
http://www.software.com/irfanview-plugin

--

J. Inzer MS-MVP
Digital Media Experience

Notice
This is not tech support
I am a volunteer

Solutions that work for
me may not work for you

Proceed at your own risk

5tulips
July 24th 09, 03:40 AM
"ANONYMOUS" > wrote in message
...
: On 23 July, 20:21, "5tulips" >
: wrote:
: > I've never added autorun files to a CD before, but did this exercise
this
: > morning.
: >
: > I downloaded these two files:
: > autorun.inf
: > shelexec.exe
: > and added them to the folder of files I would burn to CD.
: >
: > I changed the autorun.inf file
: > from
: > [autorun]
: > open=SHELEXEC.EXE default.htm
: > to
: > [autorun]
: > open=SHELEXEC.EXE index.html
: > because I'm burning a disk-based website, and its initial file is
: > index.html. I deposited the files into the root directory of the web
folder.
: >
: > Then burned the CD.
: > However, the autorun setup doesn't work. I have to double-click from the
CD
: > drive until I get the .html file and open that myself. What I really get
is
: > the dialog box that asks, What do you want Windows to do? and there is
: > nothing on the list to include the autorun idea.
: >
: > Can someone tell me what really works?
: >
: > 5tulips
:
:
:
: The general construction of Autorun.inf is as follows:
:
: [autorun]
: label=Type your application name here
: icon=Setup.exe,0
: open=Setup.exe
:
: When you type your application name in the second line, it shows up in
: My Computer when launched so you know which CD is in the drive.
:
: In your case I assume you want to launch an index.html file from your
: CD. I think this would work:
:
: [autorun]
: open=index.html
:
: Let us know if this worked.
===============================

1. If I use your first instruction where do I get the setup.exe file?
2. Does the 0 (in the line icon=Setup.exe,0) mean that you are not using
an icon?
5tulips

Tim Meddick
July 24th 09, 04:38 AM
ANONYMOUS,
I believe the subject of line (1) must be an
executable.
For this reason, software developers use a small program to launch an
HTML file (if that is what's wanted) usually called "ierunner.exe".


[autorun]
OPEN=ierunner.exe welcome.htm
ICON=pcw.ico


(AutoRun.inf from PCWorld magazine's cd-rom - July 2009)

==

Cheers, Tim Meddick, Peckham, London. :-)




"ANONYMOUS" > wrote in message
...
> On 23 July, 20:21, "5tulips" >
> wrote:
>> I've never added autorun files to a CD before, but did this exercise
>> this
>> morning.
>>
>> I downloaded these two files:
>> autorun.inf
>> shelexec.exe
>> and added them to the folder of files I would burn to CD.
>>
>> I changed the autorun.inf file
>> from
>> [autorun]
>> open=SHELEXEC.EXE default.htm
>> to
>> [autorun]
>> open=SHELEXEC.EXE index.html
>> because I'm burning a disk-based website, and its initial file is
>> index.html. I deposited the files into the root directory of the web
>> folder.
>>
>> Then burned the CD.
>> However, the autorun setup doesn't work. I have to double-click from
>> the CD
>> drive until I get the .html file and open that myself. What I really
>> get is
>> the dialog box that asks, What do you want Windows to do? and there
>> is
>> nothing on the list to include the autorun idea.
>>
>> Can someone tell me what really works?
>>
>> 5tulips
>
>
>
> The general construction of Autorun.inf is as follows:
>
> [autorun]
> label=Type your application name here
> icon=Setup.exe,0
> open=Setup.exe
>
> When you type your application name in the second line, it shows up in
> My Computer when launched so you know which CD is in the drive.
>
> In your case I assume you want to launch an index.html file from your
> CD. I think this would work:
>
> [autorun]
> open=index.html
>
> Let us know if this worked.
>

Google