Don't think you can do that.....too many pieces...too many places.

Format the HD and include the software when you donate it.

If your paranoid use a product like DBAN.

Then donate the machine and software.