ms-officeoffice365outlook-addinoffice-addinsoffice-app

Office Add-in (web app) can be completely offline (without web server)?


I want to create an Office Add-In with some HTML + JavaScript for sell in Office Store. And this add-in no need using any server side facilities. But if I understood https://dev.office.com/getting-started/addins the source files of Add-in must hosted on some Web server.

So main question: can I somehow pack all sources and all resources of Add-in to the output DLL file and push to Office Store only the Manifest and DLL files without any web servers?

I need this for allow users from Office Store, install this Add-in to his Office and let work with it even offline (without internet connection).

Also such configuration a little complicate for reverse Add-in, if someone decide steal my sources and create duplicate of Add-in.


Solution

  • No, it is not possible because office add-in have to be located somewhere. When the user "installs" a web based office addin, in reality he just subscribes to a server where the addin is hosted. Microsoft doesn't host the dlls, (i.e they don't provide a server to run your dll), they just establish a link between the final user and your server via the office store and provide an API to ease interaction.

    If you want to build an add-in that can be completely offline, you should look VSTO addins, XLA addin , XLL addins or COM addins. However none of these addins can be published on the office store.