Michael_W Posted September 21, 2004 Share Posted September 21, 2004 Hello Everyone,A question: Has anyone ever tried to include xml into winpe? I would like to transfer my ini files to xml, but I can't get it to work. When I register the msxml3.dll in PE I get an error..Thanks to all that can helpMike Link to comment Share on other sites More sharing options...
Michael_W Posted September 21, 2004 Author Share Posted September 21, 2004 Well... I already got it working now :-)). Turned out to be really simple...... if anyone wants to know the sollution (I guess not since nobody responded ;-))) than just send me a mail.Mike Link to comment Share on other sites More sharing options...
likuidkewl Posted September 21, 2004 Share Posted September 21, 2004 sure man post it up.... Link to comment Share on other sites More sharing options...
MrCobra Posted September 22, 2004 Share Posted September 22, 2004 Would love to know as well Link to comment Share on other sites More sharing options...
Michael_W Posted September 22, 2004 Author Share Posted September 22, 2004 Well glad that I can contribute to the cause. What I’m trying to accomplish is to transfer my *.ini files to XML format, so they can be used to configure the deployment process. We want to use a combination of VBS, HTA, WMI (With WINPE 2.0) and XML. And now we can Actually it’s a strait forward process to determine the dll files needed for XML processing. First we experimented with XML and discovered the “Microsoft.XMLDOM” object. This object can be traced back to the msxml3.dll file. This is the file you need to use XML in WinPE. But that’s not all!!. The msxml3.dll file has two sidekicks (aka resources) that you also need to include in your PE build, msxml3a.dll and msxml3r.dll. Just put them into your System32 directory and register the msxml3.dll file. Here’s a small step by step:• 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 /sAnd that’s really it. If you want to know more about the “Microsoft.XMLDOM” object then I would recommend the following site: http://www.w3schools.com/. It’s really created to aid web developers, but it’s really easy to make it work in VBS.Hope you can make use of this informationHave fun,Regards,Michael Waterman Link to comment Share on other sites More sharing options...
likuidkewl Posted September 22, 2004 Share Posted September 22, 2004 Thanks for that information! Link to comment Share on other sites More sharing options...
MrCobra Posted September 26, 2004 Share Posted September 26, 2004 Thank you very much for the info. Link to comment Share on other sites More sharing options...
jice68 Posted April 28, 2005 Share Posted April 28, 2005 If someone has an error when use regsvr32 (like me )Use the reg file :http://www.msfn.org/board/index.php?showtopic=32434&st=0&p=312229entry312229 B) Link to comment Share on other sites More sharing options...
purejamie Posted April 28, 2005 Share Posted April 28, 2005 Good work - thanks for the info Link to comment Share on other sites More sharing options...
Jazkal Posted August 8, 2005 Share Posted August 8, 2005 Anyone been able to get this to work in WinPE 2005 with Win2k3 SP1 as the source.I've tried both the dll registration and the import of the reg entries, not working with either. Link to comment Share on other sites More sharing options...
JuMz Posted August 8, 2005 Share Posted August 8, 2005 Hey fella'sI am a fellow WinPE user that installs XP unattended using winnt32. What advantage does enabling XML give me? Link to comment Share on other sites More sharing options...
Michael_W Posted August 18, 2005 Author Share Posted August 18, 2005 If you want you can use XML istead of INI or INF files for your input. XML is more dynamic.Michael Link to comment Share on other sites More sharing options...
JuMz Posted August 30, 2005 Share Posted August 30, 2005 I do not know how to write XML but do wish to make use of it. I simply want to have a small form that allows me write to the unattend.txt to change the following settings...Name, Company, Workgroup...is this even physically possible or am I just dreaming...I can already see a problem in that we are not able to write to the DVD (which obviously has my unattend.txt file) so I am guessing I will have to use the ram drive method (great...something else I need to figure out how to work...) ...Any ideas guys? Link to comment Share on other sites More sharing options...
Asterm Posted September 10, 2005 Share Posted September 10, 2005 alexm posted a solution in this very same forum and also attached an "xml.reg" to use like it "regedit /s xml.reg". Just look Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now