Autorun.inf with Inno Setup Compiler.

Posted on 2004-11-03
Last Modified: 2010-05-18
I am using Inno Setup Compiler to package my VB application. The setup.exe create works fine. I am trying to incorporate autorun.inf file in the setup so the cd starts automatically when inserted into the cd rom. Can someone pleaes tell me how I can get my program setup to run automatically when the cd is inserted into the cd rom.

Thank you.
Question by:Aiysha
    LVL 65

    Expert Comment

    Hello Aiysha =)

    Read here,

    Make the autorun.inf file for your burned CD-ROMs
    LVL 2

    Accepted Solution

    Make a file called autorun.inf with notepad inside it add the following:

    icon = iconname.ico
    open = setup.exe

    Make sure that the setup.exe and your iconname.ico and autorun.inf are placed in the root of the cd.

     Its that simple :)

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    This is a quick article, and by no means should you quit your job today or plan to feed your family of 5 on a business idea. Starting a business takes work. This article will only give you the basic skeleton of understanding. Going into business for…
    Phishing is at the top of most security top 10 efforts you should be pursuing in 2016 and beyond. If you don't have phishing incorporated into your Security Awareness Program yet, now is the time. Phishers, and the scams they use, are only going to …
    Saved searches can save you time by quickly referencing commonly searched terms on any topic. Whether you are looking for questions you can answer or hoping to learn about a specific issue, a saved search can help you get the most out of your time o…
    Want to pick and choose which updates you receive? Feel free to check out this quick video on how to manage your email notifications.

    745 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

    13 Experts available now in Live!

    Get 1:1 Help Now