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.
Great! Thanks for marking this as the answer.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this response?
Thanks for your feedback.