Testing the Setup Program

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 under Preparing the Setup Folder.

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