Solved

How to make a CD AutoRun

Posted on 2004-09-04
5
346 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now