Here is a fix for SQL Server Installtion failure. And a fix for newly installed programs that cause memory faults.
I encountered an issue after installing SQL Server Express 2005. Where I get a blue screen with c000021 0xc0000005 this is an install on a Dell PowerEdge 600SC Widows XP SP2.
To correct the problem, first you will need to remove your installation of SQL Server Express. To do this reboot the machine, pressing F8 during boot to get to the Boot Menu. Select Safe Mode and continue. Login, then click start, run, and type MSCONFIG. Once the MSCONFIG window appears click the services tab. Near the bottom right corner of the window you will see an option to Enable All Services and Disable All Services. Click disable all, this will disable all non-essential windows services. Now scroll through the services list and find Windows Installer, put a check mark next to it (this enables Windows Installer, which will allow you to remove programs from the Add/Remove programs applet). Click OK and restart your computer.
After the restart you will see a dialogue box informing you that you are running in a special configuration mode, click OK, then when the MSCONFIG window appears click Cancel. Do not put a check mark in the "do not show this again" box as later you do want to see it again. Your computer should boot normally. Login, click start, control panel, Add/Remove Programs, look for all SQL Express programs that were installed, starting from the bottom work your way up removing each one. You may get an error dialogue when trying to remove SQL Server Express 2005, click okay and go on. Once you have uninstalled SQL Server Express and all related installed programs. Click start, run, type MSCONFIG, click the services tab, click enable all. Click OK and restart your computer.
Your computer should reboot as normal without SQL express installed. Now apply the hotfix located here support.microsoft.com/kb/921337 the other hotfix mentioned on Microsofts Social sites, I did not apply because the one for SP2 is no longer available, and it ended up not being necessary. Once you have installed the hotfix install SQL Server Express, I would avoid trying to install the whole developers package bundled with SQL Server Express Management Studio, just get through the basic installation first. Once you have successfully installed SQL Server Express, then install the Management Studio and perform any customizations you like.
The above mentioned MSCONFIG method is very handy in removing any program that causes you errors after installation, as long as you can boot in Safe Mode.
Software/Hardware used: Dell PowerEdge 600SC Windows XP SP2 SQL Server Express 2005