http://msdn.microsoft.com/downloads/...mpositedoc.xml

Take a look at windows script encoder. I got it to work once before, not sure if the output was the same as what you pasted.