What do I do?!
Stop blaming the installer, assuming you got it from Apple then they are very reliable and are used 1000's of times a day, if there was a fundamental issue then forums would be burning down with it and they never have.
You have a software issue and/or a RAM issue and/or an HDD issue. You may have a CPU issue but you can't do anything about that. Some files on the boot drive that you have booted from will be locked by the OS, no surprise there.
Work through these components in order, stop messing with files here and there, do a reformat and full, fresh install. If that won't complete change the HDD. If it still suffers crashes then swap out the RAM for known good.