There is a problem with this Windows Installer package

I’m having this problem.

“There is a problem with this Windows Installer package.
A program run as part of the setup did not finished as expected. Conctact your
support personnel or package vendor.”

It happens when is starts to install DirectX.

I’m using Windows 10 Pro 64 Bits.