While performing the upgrade to XDK this morning, it crashed during the installation process. Right-click Command Prompt from the search results, and then select Run as administrator. 2) If Windows Installer does not work correctly, open Problem Reports and Solutions to see if a solution is available. Endnote installation ended prematurely because of an error 2.