DirectX SDK

Enabling AutoPlay

[Visual Basic]

This topic applies to applications written in C++. For information on distributing an application written in Visual Basic, see Installing DirectX for Visual Basic Applications.

[C++]

If you are building an AutoPlay compact disk title, copy the Autorun.inf file in the root directory of the DirectX SDK compact disk to the root of your application directory. This text file contains the following information:

[autorun] 
OPEN=SETUP.EXE 

If your application's setup program is called Setup.exe, you do not have to make any changes to this file; otherwise, edit this file to contain the name of your setup program.