I already have a completely built windows installer, but what I would like to know is how I can set it up so that when the user inputs the CDROM the installer automatically runs.

I need a very basic explanation as I have very limited experience with building/creating installers.

asked 06 May '13, 11:23

ray5365's gravatar image

accept rate: 100%

First, MS disabled autorun by default in Vista. Users must enable it, so you cannot rely on the behavior your want.

If the user does opt in, it is just an ini file. Here are about as simple a set of rules as I can find:



answered 06 May '13, 15:07

mattatoffleash's gravatar image

accept rate: 40%

This was very helpful thank you, but where specifically does the autorun.inf file belong in the folder system? Should it be in the same location as the installer executable, or does that not matter?

Although I understand this is not a BitRock specific question.

(06 May '13, 16:45) ray5365

It should be at the volume root. Likely this is next to the installer exe, but I think you could bury the installer exe in a directory and include the path in the ini.

(08 May '13, 14:26) mattatoffleash
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 06 May '13, 11:23

Seen: 1,949 times

Last updated: 08 May '13, 14:26