Answered by:
Word 2016 VS installer deployment

Question
-
Hello, i have an issue with deploying addin for MS Word.
I created addin in VS 2017, created installer project in Visual studio installer 2017.
I followed instructions from
https://docs.microsoft.com/en-us/visualstudio/vsto/deploying-an-office-solution-by-using-windows-installer?view=vs-2019
Then i wanted to upgrade to VS2019. So i opened project in VS2019, installed Visual studio installer, created new setup proejct and set it up the same as before.
According to guide, i should create 2 entried in registry:
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Word\Addin\Addin_Name
HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Office\Word\Addin\Addin_Name
However for some reason, after the switch to VS2019, i don't see
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Word\Addin\Addin_Name
being created in registry. I only see WOW6432Node "branch".
I can also see:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Wow6432Node\Microsoft\Office\Word\AddIns\Addin_Name
So how can i force the installer to write my entry into
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Word\Addin\Addin_Name
Thanks.- Moved by Kyle Wang - MSFTMicrosoft contingent staff Friday, March 27, 2020 7:21 AM
Thursday, March 26, 2020 11:58 AM
Answers
-
Hello,
you could ask here:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vsto
https://social.msdn.microsoft.com/Forums/en-US/home?forum=visualstudiogeneral
Regards, Guido- Proposed as answer by Dave PatrickMVP Friday, March 27, 2020 11:46 AM
- Marked as answer by Dave PatrickMVP Thursday, April 2, 2020 4:53 PM
Friday, March 27, 2020 7:52 AM
All replies
-
It seems that when i buil x64 install file, it writes both location.
x86 version doesn't write to
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Word\Addin\Addin_NameThursday, March 26, 2020 3:50 PM -
Hi KentaHikaru,
Based on your description, it is mostly related to VSTO. I will move it to "where is the forum for" form and people in this forum will move the case to the correct forum.
Thank you for your understanding.
Best Regards,
Daniel Zhang
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.- Edited by Daniel_Zhang-MSFTMicrosoft contingent staff Friday, March 27, 2020 1:58 AM
Friday, March 27, 2020 1:57 AM -
Hello,
you could ask here:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vsto
https://social.msdn.microsoft.com/Forums/en-US/home?forum=visualstudiogeneral
Regards, Guido- Proposed as answer by Dave PatrickMVP Friday, March 27, 2020 11:46 AM
- Marked as answer by Dave PatrickMVP Thursday, April 2, 2020 4:53 PM
Friday, March 27, 2020 7:52 AM -
Thanks guys.
I will post my question there.Friday, March 27, 2020 1:24 PM