
Quick Links

Quick Links
Categories
Categories

Top Submitters

Top Submitters

Random Tutorials

Random Tutorials
|
|

Announcments

Announcments
Welcome to Tutorial System!
|

Autorun CD
Tutorial Information
|
Name: |
Autorun CD |
Submitter: |
nickpar |
Category: |
Windows Tutorials |
|
Submitted: |
24 Nov 2007 |
Updated: |
24 Nov 2007 |
Views: |
535 |
Rating: |
This tutorial is unrated. |
|
|
|
Description: How To Autorun HTML and Most Other Files |
Tutorial Instructions
|
Create an Autorun CD in 5 Simple Steps If you distribute products on CD, it always looks impressive if the CD will autorun when inserted into the drive. In this article we will cover one of the many ways to autorun html, exe and most other file types. (.pdf .mov .qtif .mpeg and others)
To create an autorun CD we will use a program which enables the CD to autostart from the CD ROM drive.
There are many of these types of free programs available for download on the Internet. The one we will be working with here is called AutorunPro. AutorunPro is a Freeware program which you can use with your CD projects.
If you do not yet have a copy, you can go to the developers download page here: http://www.avdf.com/oct98/art_ot005.html. The AutorunPro download link is right at the bottom of the article under the sub-heading Updated Utility.
AutorunPro has the capacity to autorun multiple files at once and can also autorun applications already installed on the users computer like the system clock or Internet Explorer with your website displayed.
Step One Unzip AutorunPro.zip to a folder. Keep this folder which contains the files autorun.inf and AutorunPro.exe as your original.. You might like to name this folder something like autorun tools. (optional) Step Two Copy autorun.inf and AutorunPro.exe into the folder which contains the file you want to autostart. This will be the root directory of the CD. Step Three Open autorun.inf with Notepad. Just double-click it and Notepad should open it. Edit the file so that it looks like the example below:
[Autorun] open=AutoRunPro.exe /s [AutorunPro] Run1=yourfile.exe
Replace yourfile.exe with the actual name of your file and save it.
Step Four Test to see if the project works correctly by double clicking on AutorunPro.exe. This will start yourfile. Step Five Now open your burning software and drag autorun.inf, AutorunPro.exe and yourfile into the root directory of the CD (your CD\your 3 files) and burn it onto a blank CD. Congratulations! You have just created an autorun CD.
How To Autorun HTML It is a good idea to name the HTML file you want autostarted to index.html or index.htm. The procedure to autorun html files is the same procedure used to autorun exe files except step three is different. All you have to do is modify the .inf file as follows. Edit or create an inf file with notepad and insert the following code:
[Autorun] open=AutoRunPro.exe /s [AutorunPro] Run1=index.html
How to Add an Icon If you want your CD to have it's own icon displayed in the My Computer window as the CD drive, add an extra line of code so that the autorun inf file looks like the example below:
[Autorun] open=AutoRunPro.exe /s icon=youricon.ico [AutorunPro] Run1=index.html
Replace youricon.ico with the actual name of your icon. You can specify any path to the icon which is in your directory structure. For example, if your icon is in a folder called images and this folder is in the root directory, the code to use would be like the example below:
[Autorun] open=AutoRunPro.exe /s icon=images\youricon.ico [AutorunPro] Run1=index.html
Note: You do not need to add the icon= parameter when autorunning exe files because the application will already have an icon and it will be displayed.
Free Icon Editor If you would like to create your own icons, you can get a freeware icon editor called IconEdit32 here: http://www.onlythebestfreeware.com/program...?program_id=135. IconEdit32 is pretty straight forward to use, but if you need some help, there is an online tutorial here: http://www.northcode.com/swfstudio/tutorials/iconedit/
Free Autorun CD Menu If you distribute software and ebooks offline on a CD, you might like to add a HTML menu to your project. The menu is a HTML page that can be edited with Notepad or any old HTML editor: http://www.ezau.com/latest/articles/0119.shtml. |
Comments
|
There have been no comments made as of yet. Why not be the first?
|
|