|Microsoft DirectX 9.0|
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.
When you run your setup program, DirectSetup goes through the motions of installing Microsoft?DirectX? including calls to your callback function if you have provided one, without actually installing any components.