it seems to occur after installing software.
Troubleshooting 101, retrace your steps. If the files get corrupted when you install software, it's probably the install process. Can you break it down, exactly what you're doing to install software?
Also, are you using FFS, or some other exotic disk format like PFS or SFS?