Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installation of VSTO Office addin using WiX

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?

like image 594
DirtyNerd Avatar asked Nov 15 '11 15:11

DirtyNerd


1 Answers

It is a known bug in VSTO (fixed in SP1).

See more info here: https://social.msdn.microsoft.com/Forums/vstudio/en-US/eac0aa15-96bb-4d21-bd69-a987e6c95f40/vsto-40-addins-issue-hkeycurrentusersoftwaremicrosoftvstosolutionmetadata?forum=vsto

like image 54
Nikolay Avatar answered Sep 17 '22 02:09

Nikolay