[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 746
  • Last Modified:

Autorun.inf with Inno Setup Compiler.

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.
0
Aiysha
Asked:
Aiysha
1 Solution
 
SheharyaarSaahilCommented:
Hello Aiysha =)

Read here,

Make the autorun.inf file for your burned CD-ROMs
http://techrepublic.com.com/5100-6270_11-5268081.html
0
 
visualcoatCommented:
Make a file called autorun.inf with notepad inside it add the following:

[autorun]
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 :)
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now