You should also make sure and completely remove all prior traces of X3 x64, including hidden application data folder and registry keys for X3-x64, before installing again.
Also, as noted above, make sure all antivirus software is temporarily suspended or turned off (including Windows Defender), AND make sure you right-click on the X3 installer and explicitly click on Run As Administrator (not just rely on using an Administrator Windows user account).
Bob Bone