Wikipedia
DirectSetup
DirectSetup is an extremely simple library of functions for installing DirectX on a machine. It also provides a way to check the version of DirectX that is present.
DirectSetup is part of the DirectX application programming interface.