This is the extension to generate docx from html. You have to pass the path with filename, Html source in the input parameter. This extension write the docx file on particular location then you have to read it by using File_ReadBinary then downlaod the file. The MIME type for docx is application/vnd.openxmlformats-officedocument.wordprocessingml.document
Upgrade to OS version 11