Kodi 17.3 won’t install on windows 10

I have been trying to install kodi 17.3 on windows 10 upgrade from kodi 16. I get a error opening file for writing: C:\ Program Files (x86)Kodi\d3dcompiler_47.dll
Then it says abort or retry or cancel. I have updated all my drivers and tried to install 5 or 6 different downloads. I always get the same error.
Willing to try anything.

BuckT