You might look at the following KB article as I'm not sure if you are trying to install a game. However, the fix should be the same.
KB Article ID: 910813 - Last Review: Game Error: "The file d3dx9_xx.DLL was not found"
Please reply back and let us know if the solution in the KB article helped to resolve your issue.
Did this solve your problem?
Sorry this didn't help.