Solved

How to make a CD AutoRun

Posted on 2004-09-04
5
379 Views
Last Modified: 2012-05-05
Hey Friends
  I have developed an application and i now wish to redistribute it with a AutoRun CD.
I created a CD with my application contents using Nero Software.
I also created a AutoRun.ini in the Root Drive of the CD The file read
[Autorun]
open=setup.exe
icon=setup.exe,0

Now when i copy this file to any of my hard disk and double click the drive the autorun application runs but when i do the same with CD it dose'nt work.
Any idea why this may happen ?
Regards
0
Comment
Question by:vikrant_kpr
5 Comments
 
LVL 5

Expert Comment

by:webtrans
ID: 11983232
may be in the system properties u did close the autorun from the cd
i guess one of the SP do this
but from what i know u did do it all correct
0
 
LVL 5

Accepted Solution

by:
ITcrow earned 125 total points
ID: 11983324
Try creating autorun.inf (in addition to autorun.ini, if you like) with the same
contents. And it should work fine.


Eg.

[autorun]  
  open=autorun.exe
  icon=autorun.ico
0
 
LVL 8

Expert Comment

by:pjcrooks2000
ID: 11983959
Also make sure you have autorun enabled,  it does matter what OS you are running as to how you can do this.

I have found you a link that shows you how to disable i for all OS's but you will want to do the reverse of whats here on this pgae :) http://www.annoyances.org/exec/show/article03-018

I hope this helps you

pjcrooks2000
0
 

Expert Comment

by:FloppyAD
ID: 12024492
The file must be name autorun.inf (and not autorun.ini) and must be place on the root of your cdrom.
Besides, your autorun function must be enable !
0
 
LVL 8

Expert Comment

by:pjcrooks2000
ID: 12024798
Aye indeed it is inf not ini, why who said make ini file ?  
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question