AUTORUN.INF file - Help in deciphering and making it work

My autorun.inf contains the following:

[autorun]
shellexecute="PresentationPackage/PresentationPackage.html"
icon="PresentationPackage/PresentationPackage.ico"



Shouldn't it start running as soon as I close the CD drawer?
What do the two commands above do?
brothertruffle880Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

netcmhCommented:
Are you running the free version of Autorun to create this inf?

If so, then
[autorun]
shellexecute=PresentationPackage/PresentationPackage.html
won't work

Copy the AutorunPro.EXE to the root, and the autorun.inf will then have:

[Autorun]
open=AutoRunPro.exe

[AutorunPro]
Run1=PresentationPackage/PresentationPackage.html

See http://www.ezau.com/latest/articles/autorun.shtml for more details

You can also use http://www.naughter.com/shelexec.html

If the above is not an option, try keeping the html file in the root and modify the inf to reflect that.
0
netcmhCommented:
Alternatively, you could try saving the html as an hta

[autorun]
 open=PresentationPackage.hta
0
netcmhCommented:
Is the PC set to autorun from CD?
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

brothertruffle880Author Commented:
the pc is set to autorun from CD.
What does the ICON = command do?
0
netcmhCommented:
small detail - it changes the icon of the drive to the custom one that you choose
0
Jackie ManCommented:
You may need to download and install the "Enable Fix It" under the section of "...How to disable or enable all Autorun features in Windows 7 and other operating systems...Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003,or Windows XP" in the link below.

http://support.microsoft.com/kb/967715/en-gb
0
BillDLCommented:
Hi brothertruffle.

If this CD is going to be redistributed, then foget about autorun.  Most computers these days have it disabled and it is an unfair expectation for them to enable it.

If you must, or if the viewers are going to be expecting the CD to autorun, then change your forward slashes to backslashes in autorun.inf and remove the surrounding quotes.  This is a program command, not a web address.

If that doesn't work, then try changing:
shellexecute="PresentationPackage/PresentationPackage.html"
to
open=PresentationPackage\PresentationPackage.html
You never know, that may just call the associated application, but even if it works on one operating system it probably won't work on others.

I would actually suggest creating an informative introductory interface that the user clicks to open the HTML file.  Without any programming knowledge this small free program allows you to create an EXE file to launch the file of choice.
http://cdinterface.sourceforge.net
I think it is more professional and universal.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BillDLCommented:
Thank you brothertruffle
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft PowerPoint

From novice to tech pro — start learning today.