Adding XML Parser support into WinPE
I've always wanted to add XML support into my WinPE creations and finally I happen to find an answer. If you would like to expand your WinPE CD to include the ability to script using Microsoft.XMLDOM read on.
The Microsoft.XMLDOM object is responcible for this action. As such you need to include speciffic files, namely the msxml3.dll into your WinPE installation. MSXML3.dll requires two additional files in order to work as expected, and you also need to include these in your PE build. The two files are MSXML3a.dll and MSXML3r.dll. Simply compy them into your System32 directory and register the MSXML3.dll file.
Steps required to complete installation
- Copy msxml3.dll, msxml3a.dll and msxml3r.dll from you original XP distribution media (Use the same servicepack level as your PE distribution!!) to the System32 directory of WinPE.
- Edit your OC2.bat file to include the following:
- regsvr32 %SystemRoot%\System32\msxml3.dll /s
- Build your WinPE disk and try to use Microsoft.XMLDOM in your scripts
Enjoy
[Permalink] - Updated: Thursday, October 30, 2008