Epic Launcher not Installing problem with Directx

First of all sorry for any mistakes this is my first time on here.
{Also the engine version might be wrong for reference I just downloaded using the download button on the vebsite the executable was - EpicInstaller-14.2.1.msi}

I have been trying to download the launcher for a few days now and absolutely cannot the installer goes upto Installing Directx and then rolls back saying that there is a problem with this windows installer package. I have tried every solution I could find including this Epic Games Launcher Installation Error with Directx but it still hasn’t been solved. Please help.