General discussion

Locked

Write an autorun for CD to bring up menu

By jirehtech ·
I am a PC repair tech and a maintainer of small peer to peer networks. I know ZERO about programming, but I have been asked to create something. I preface this way so that you know that you will have to talk baby talk for me.

I need to know howto make a CD autorun when it is loaded into the drive. Here is what I want to do:

1. Copy numerous PDF documents onto a CD.
2. Copy Adobe Acrobat Reader Installer and the Reader onto this same CD.
3. Place the CD into the drive and have it autorun and open a menu with two choices:
-Install Acrobat Reader
-See a list of the documents
Clicking on the "Install" button would run the installer
Clicking on the "See list" button would open a list of the documents which, if double-clicked, will open in Acrobat Reader.

Is this to complicated for to answer here?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Write an autorun for CD to bring up menu

by DKlippert In reply to Write an autorun for CD t ...

Go to www.MSDN.MicroSoft.com and in the search box type:

AutoRun-enabled

The first article will tell you how to do it.

?Create an autorun.inf file on your CD.
Autorun.inf
The Autorun.inf file is a text file located in the root directory of the CD on which your DirectX? application is shipped. This file contains the name of the startup program on the disc. This startup program runs automatically when the disc is inserted in the CD-ROM drive. The Autorun.inf file also contains the filename of the icon that you want to represent your application's CD in the Windows user interface. In addition, the Autorun.inf file can contain optional menu commands that you want added to the shortcut menu. These menu commands are displayed when the user right-clicks the CD-ROM icon.

The following is an example of a minimal Autorun.inf file.

[autorun]
open=filename.exe
icon=filename.ico

The [autorun] section identifies the lines that follow it as AutoPlay commands. An [autorun] section is required in every Autorun.inf file. The open command specifies the path and file name of the startup application.
The icon command specifies the file name that contains the icon."

Collapse -

Write an autorun for CD to bring up menu

by jirehtech In reply to Write an autorun for CD t ...

Poster rated this answer

Collapse -

Write an autorun for CD to bring up menu

by churger In reply to Write an autorun for CD t ...

Hi there,

The easiest what you can do is to create HTML file that will contain links to Acrobat Reader setup and to the list of documents (maybe also in HTML). To autorun this HTML file use this little package.
http://www.mvps.org/htmlhelpcenter/projects/docrun.zip
Just change the file name in the included docrun.ini file to the name of your file, make sure the included autorun.inf, docrun.exe, and modified docrun.ini files are included on the CD with your file, and it'll work just fine. The docrun.ini file also gives the capability to open the resulting window in a normal or maximized view. A sample HTML file is included to illustrate how this works, and complete instructions are in comment form in the docrun.ini file. Works on Win 95/98/ME/NT/2000 with AutoPlay enabled.

You can also use more comprehensive, but pretty package - Autorun Action Menu. Read about it and download at
http://www.pollensoftware.com/autorun/actnmenu.html

Wish you best of luck,
Alex

Collapse -

Write an autorun for CD to bring up menu

by jirehtech In reply to Write an autorun for CD t ...

Poster rated this answer

Collapse -

Write an autorun for CD to bring up menu

by jirehtech In reply to Write an autorun for CD t ...

This question was closed by the author

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums