InfoPath to Word Wizard mshta.exe runtime error

When using the InfoPath to Word Wizard (part of the Microsoft Office InfoPath 2003 SDK), you may receive the following error when clicking the Finish button “to generate an XSLT file from your document”:

Infopath to Word Runtime Error screen

To fix this, you’ll need to manually register the following 3 DLLs provided with the SDK using regsvr32.

  • html2xhtml.dll
    (C:\Program Files\Microsoft Office 2003 Developer Resources\Microsoft Office InfoPath 2003 SDK\Tools)
  • ImageDecode.dll
    (C:\Program Files\Microsoft Office 2003 Developer Resources\Microsoft Office InfoPath 2003 SDK\Tools\WordPrint)
  • WordPrint.dll
    (C:\Program Files\Microsoft Office 2003 Developer Resources\Microsoft Office InfoPath 2003 SDK\Tools\WordPrint)

One Response to “InfoPath to Word Wizard mshta.exe runtime error”

  1. Thanks. This was very helpful.

Leave a reply