This package contains all versions of DirectX from 9.0c up through 11. However, You cannot "install" DX12 on Windows 7. The offline installer’s job is to install the legacy DLLs that DX12 games still call upon.
Run the downloaded .exe to extract files to a folder, then run DXSETUP.exe from that folder to complete the installation. directx 12 windows 10 64 bit offline installer
You can download it here: Microsoft DirectX End-User Runtimes (June 2010) This package contains all versions of DirectX from 9
DirectX 12 offers several key features that make it an attractive choice for game developers and Windows users: directx 12 windows 10 64 bit offline installer