Configure to which app to register

Add-in Express™ Support Service
That's what is more important than anything else

Configure to which app to register
 
Fabrice Durieu




Posts: 135
Joined: 2010-12-13
Hello,

We currently have an add-in which register in Outlook, Word, Excel, Powerpoint.
I would like to allow to configure it to only register to (i.e.) Outlook. The configuration will be static and could be set in the App.config.
Is it a way to easily do that ?

If I correctly understood some previous reading, the AddinModule constructor is called when the add-in is registered. Is it a way there to configure to which app it should be registered ?

Thank you for your help
Fabrice
-------------
Posted 24 Oct, 2018 13:03:58 Top
Andrei Smolin


Add-in Express team


Posts: 16197
Joined: 2006-05-11
Hello Fabrice,

Please check https://www.add-in-express.com/creating-addins-blog/2011/07/05/allow-user-choose-target-office-applications/.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 25 Oct, 2018 03:36:15 Top
Fabrice Durieu




Posts: 135
Joined: 2010-12-13
Thank you for your quick answer

So if I correctly understood , this is not really related to the msi itself.
I just need to modify the manifest deployed with the application, and specify the assemblyIdentity / supportedApps to the correct value ?

Seems quite simple, thank you
-------------
Posted 25 Oct, 2018 05:10:39 Top
Andrei Smolin


Add-in Express team


Posts: 16197
Joined: 2006-05-11
Yes, this can be controlled by the manifest.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 25 Oct, 2018 08:39:04 Top