Before you commit your application to a compact disc or floppy disks, you should test your setup program. Do this by creating an application directory that contains all of your application's files, the setup program, and the DirectX files and drivers.
    To set up the application directoryxcopy /s e:\redist\*.* d:\fungame
Note The root of your application directory should include the entire contents of the Redist directory distributed with the DirectX Programmer's Reference. This is essential to ensure that the DirectXSetup function and the Dxsetup.exe file work properly.