I'm running Microsoft Web Platform Installer and it's trying to install IIS5.1. Unfortunately I've got the following error:
Setup cannot copy the file staxmem.dll
Ensure that the location specified below is correct, or change it and insert 'Windows XP Proffessional Service Pack 3 CD' in the drive you specify.
c:\windows\ServicePackFiles\i386
Now I downloaded the service pack through Windows Update so I don't have the CD. I did a search via Google and came up with this support page. I followed the first set of instructions and there wasn't anything wrong with the database, so I proceeded to step 2. Unfortunately this again requires the Service Pack CD.
A search of the hard-drive has shown that the file is in the directory specified.
So how do I get the installation to proceed?
Is it because the file already exists at the target location and is in use? If so that would imply that IIS is already installed on the machine. So in that case the question becomes - why is the Web Platform Installer trying to install something that's already installed?
I also asked this question over on SuperUser (partly to kick start my account over there) and got the answer. This is the relevant part of the answer:
So all sorted now. I should have tried that straight away, but the support page appeared to be clear cut about which solution would work.
If this happened on Win2k3 server I would guess it was because the ServicePackFiles folder had been deleted from C:\Windows. I don't know if XP uses the same mechanism, but it would be worth checking. If the original installation did not have SP3, and SP3 was subsequently installed, then the ServicePackFiles folder holds the SP3 versions of install files (possibly including staxmem.dll). If the ServicePackFiles folder can't be found the installer prompts for the files it needs, but it will only accept the SP3 version.
You could try reinstalling SP3 then trying the Web Platform install again.
JR
This issue is related to corruption of secedit.sdb. i.e. secedit.sdb in %windir%\security\database- may be damaged.
RESOLUTION
esentutl /p %windir%\security\database\secedit.sdb
and press Enter. Click "OK" when presented with "Repair" warning. Wait for repair to finish.