I am a C# developer who is bundling a colleague’s VBA Excel Add-In (.xlam file) with my msi installer (built using a VS Deployment project if that matters). The .xlam is placed in the application folder (C:\Program Files (x86)\MyCompany\TheProduct) directory. Users are forced to navigate to Excel Options > Add-Ins > Manage Excel Add-Ins Go… > Browse and are then forced to navigate to the install directory listed above. The Browse screen default directory is %APPDATA%\Microsoft\AddIns.
Is there a way for me to automatically enable this VBA Add-In without all of the clicking?
Thanks in advance,
Frank
Windows Installer doesn’t have direct support for this. So either you use some custom actions or you buy a tool which offers direct support for installing Office add-ins.