Hi Machariel
Your problem should not be happening in the first place, and so should not need to be fixed.
You have some sort of corruption going on from one or more of the installation files.
It is recommended after downloading to check the file byte sizes before installing.
Peter