I've made an Excel addin and tried to install it using this answer: How do you use WiX to deploy VSTO 3.0 addins?
It doesn't work this way and I figured out that when Visual Studio deploys addins it creates additional registry keys under HKEY_CURRENT_USER\Software\Microsoft\VSTO\SolutionMetadata. I've added corresponding keys manually to my installer and it works now, but i suppose that it's not an elegant/safe method. What am I doing wrong?