I created several Office add-ins (Excel, Word, PowerPoint, and Outlook). I also wrote one Wix # based MSI installer to install these add-ons. I managed to do everything right, but now I am puzzled by how to register add-ons.
This can be done interactively by double-clicking the accompanying VSTO file in Windows Explorer, and it will be registered. Digging using RegEdit shows that rundll32.exe "C:\Program Files\Common Files\Microsoft Shared\VSTO\vstoee.dll",InstallVstoSolution %1 is called rundll32.exe "C:\Program Files\Common Files\Microsoft Shared\VSTO\vstoee.dll",InstallVstoSolution %1 .
Another method I found is to use the VSTOInstaller.exe utility found in %CommonProgramFiles%\Microsoft Shared , supplying it with the correct command line.
Does anyone have experience using Wix or Wix # and VSTO add-ons? Do I have to write a custom action to accomplish this, or is there something specific Wix that needs to be performed?
c # ms-office vsto wix
wpfwannabe
source share