Adam Driscoll
Adam Driscoll

Reputation: 9483

Where to locate the unattend.xml schema

I'm in need of a way to modify an unattend.xml file programmatically. It would be great if I could just serialize to and from an object. But to do so I would need to get a hold of the schema so that I can run it through XSD. The referenced link provides all the possible settings but it would be nice to have it in XSD format.

Any ideas?

Upvotes: 1

Views: 1087

Answers (2)

Adam Driscoll
Adam Driscoll

Reputation: 9483

You can get the unattend.xsd from installing the Windows AIK.

Upvotes: 4

Darin Dimitrov
Darin Dimitrov

Reputation: 1039110

You could generate a XSD schema from an XML file using the xsd.exe utility.

xsd.exe unattend.xml

Upvotes: 3

Related Questions