The original answer to this was a joke, so here is something you can actually use.
A persistent DLL error that survives a reinstall usually points to something outside the game files. Start with the dependencies: install or repair the DirectX runtime and the relevant Visual C++ redistributables, since Tiberian Sun predates what modern Windows ships by default.
Then check compatibility. Right-click the executable, open Properties, and set it to run in compatibility mode for Windows XP with the executable run as administrator. If the disc is scratched or the ISO is incomplete, the installer will keep writing damaged files no matter how many times you retry.
As a last resort, the community patches for Tiberian Sun exist precisely because the original installer struggles on current systems.