installer for addin outlook - Advanced Installer Community
Anais
Posts: 2
Joined: Thu Jun 05, 2014 10:50 am

installer for addin outlook

Hello everyone!
I have to make an addin installer for outlook, everything is going well except this error in outlook : "an execution error has occurred when loading COM component" (traduction of french error : "une erreur d'execution s'est produite lors du chargement du complément COM").
It seems that I have to add a custom action which give full trust rights to my addin (I red that on a french forum) but I don't know how to do that with advanced installer (they were only explaining how to do it with visual studio installer).
It's the first time I have to do an installer so sory if the question is verry basic...

thanks
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: installer for addin outlook

Hi and welcome to our forums.

Can you please share the link where they were presenting the VS solution for the custom action? This way we can analyze it and provide you with the alternative in Advanced Installer.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Anais
Posts: 2
Joined: Thu Jun 05, 2014 10:50 am

Re: installer for addin outlook

thanks for answering so fast!
link : http://msdn.microsoft.com/en-us/library ... addinsetup
the part "Walkthrough: Enhancing the Outlook Add-in Setup Project" is the one to use
it's for VS 2005 and I'm under VS2012 but I don't think it changes something...
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: installer for addin outlook

Hi,

The custom action MS says to get from their samples is a .NET Installer Class custom action. You can call this from AI too, just get that samepl solution and build it, then copy the DLL generated by the build
and include in your project, i.e. add it as an installed file in Files and Folders page.

To configure the custom action, i.e. the CustomActionData, please use the info Microsoft shows in their article, and adapt it to our UI.

Regard,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”