DirectX SDK

Testing the Setup Program

[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++]

To test the DirectSetup component of your setup program, compile a version in which the DSETUP_TESTINSTALL flag is passed to the DirectXSetup function. Set up the installation directory, as described in Preparing the Setup Folder.

Now, when you run your setup program, DirectSetup goes through the motions of installing DirectX, including calls to a callback function if you have provided one, without actually installing any components.