1 / 23

Setting a CD to Run Automatically

Setting a CD to Run Automatically. Betsy DeGeorge. Preparing to Burn a CD?. You have some data that you want to present and deliver on a CD. You want to make the data as accessible to your user as possible. You Can Help Your User Get Started!.

edolie
Download Presentation

Setting a CD to Run Automatically

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Setting a CD to Run Automatically Betsy DeGeorge

  2. Preparing to Burn a CD? You have some data that you want to present and deliver on a CD. You want to make the data as accessible to your user as possible.

  3. You Can Help Your User Get Started! • A good way to help your user is by putting an Autorun feature on the CD that you are going to burn.

  4. What is it? • AutoRun runs (automatically starts) a program or file when a CD is inserted into a Windows computer.

  5. Why Use It? • Sometimes when a user receives a data CD, they don’t know what to do. They don’t know where to start.

  6. Instructions • Instructions on the CD are important. However, it is helpful to some users if the CD just starts itself and takes them to the interface page where you, the creator of the CD, want them to be.

  7. CD Label

  8. autorun.inf File • A little text file entitled autorun.inf and a small executable file can be burned onto the root directory of the CD that can enable the data CD to automatically start. • You can look at this file in a text editor. [autorun] OPEN=autoseek.exe start.html

  9. Root of the CD Root: Top level of computer file hierarchy.

  10. The Executable File • Use this executable file to tell the computer exactly what you want it to do and how to display it. • The one I have traditionally used is called autoseek.exe • One that is currently available free online is called ShellRun. It does some nice things while you are waiting for you CD to open, like giving you a message that something is happening.

  11. How This Works • The executable file “executes” or “does” something. In this case it “executes” or “opens” a computer application, like a browser and displays the file you tell it to display. • In my example I tell the computer to open a browser and display the file named start.html

  12. The Technical Explanation: Simply Put • Windows machines have a core way of thinking or technique to display a file. Windows associates a viewer program with each file type. For .HTM and .HTML web pages, the viewer program will be your default browser. For a .doc file, it will be Word. • If a user does not have a viewer for your file type then it cannot be displayed until a viewer is installed. For example, if you are trying to show a PDF file, the user must have Adobe Reader or equivalent installed.

  13. (simply more) • If a viewer is not available, the freeware version of ShellRun just displays a message. (In the retail version you can prompt the user to run a viewer installation program.) • Some viewer applications can be placed on CDs so that if the user doesn’t have it, they can install it lickety split.

  14. A Little Warning • Your CD users may have switched off the AutoRun feature on their computer. They might do this because they are concerned about viruses. Executables are sometimes virus carriers. You should always be cautious about opening executables from strangers. It’s like getting in a car with a stranger. Don’t do it!

  15. Also, if they press the Shift key down while inserting the CD, AutoRun is immediately and temporarily disabled.

  16. AutoRun Settings • Windows 2000 and newer have AutoRun enabled as the default. • Older versions of Windows can be set to accept AutoRun in the Control Panel Settings or in the Registry. (Don’t mess with the registry.) • Instructions for doing this in the control panel can be found at:http://support.gateway.com/s/DVD/shared/go-autorun.shtml

  17. What if the User has Disabled AutoRun? • There is no way to force your users to use AutoRun. It is therefore good practice to provide instructions so that users know how to start your CD, eg. tell them to open file index.htm or whatever file you wish in their browser. These instructions are also required if your CD might be viewed by non-Windows users. • I like to use the filename start.html or start.ppt for the initial file. If the user is confused, the name itself is sometimes instruction enough.

  18. Get ShellRun ShellRun is freeware available to anyone who wishes to burn an autoplaying CD. The file can be obtained at: http://www.phdcc.com/shellrun/autorun.htm This file should be place in the root of the CD directory with the autorun.inf file and the other files to be burned on the CD.

  19. Other .inf elements • Label—You can create a label for your CD that will be shown in your computer’s directory. (This can usually be set in the CD burn program also.) • Icon—You can create a personalized icon for your CD that will be shown beside the label in the computer directory. The .inf file can call up that icon also.

  20. What Our CD Label and Icon Look Like

  21. The icon I created was really too small for this purpose, but up close it looks like this.

  22. You Can Do Other Things • You can use these same concepts to personalize and autostart flash drives also. • I tried this and it does work, but some of these instructions need to be tweaked a little bit.

  23. Download from my site? • Go to:http://web.utk.edu/~edegeorg/Tech521/autorun/ • Download: • ShellRun.exe • autorun.inf • You can edit the autorun.inf in Notepad. Contact: degeorgeb@sworps.utk.eduwith questions.

More Related