DirectX SDK |
This section pertains only to application development in Visual Basic. See Dinstall Sample.
The DXVBSetup sample shows how DirectSetup can be used by a Visual Basic application.
Visual Basic 5 Source: (SDK root)\Samples\Multimedia\VBSamples\Dxmisc\Src\DXVB5Setup
Visual Basic 6 Source: (SDK root)\Samples\Multimedia\VBSamples\Dxmisc\Src\DXVB6Setup
The setup application directory should have a subfolder called Setup containing Dsetup.dll and Dsetup32.dll. It must also have a folder named "DirectX" (not case sensitive) containing all the redistributable files and drivers. To create the proper structure on your application setup disc, you should simply copy the entire contents of the Dxf\Redist\DirectX7 folder on the DirectX SDK disc into the root path of your setup program. Note that this folder was not copied to your development machine when you installed the SDK, so you have to get it from the original disc.
The driver folders in \Redist\DirectX7\Directx\Drivers contain localized versions of Microsoft-provided DirectX drivers. You can delete any number of these folders from your working directory if you want to save disk space.