Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6031887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:15:06+00:00 2026-05-23T05:15:06+00:00

Before I change to ExcelDNA, My addin is COM AddIn, developed in C#, VS

  • 0

Before I change to ExcelDNA,

My addin is COM AddIn, developed in C#, VS 2008 for Excel 2003+

my installer is created via Setup project in VS 2008

during install, install.xls is called in Custom Action, which calls an xla to register my UDF

Now, I switch to ExcelDNA,

My addin is changed to

public class Connect : ExcelRibbon, IExcelAddIn

I still use Setup project in VS, keep the same upgradeCode,

during install, install.xls is called in custom action, which calls an xll to register my UDF

This works fine for a new install i.e. there is no older version

However, if there is an older version of myAddin (COM Addin)

if I install new version of my Addin (excelDna version) on top of it,

I expect the new version will overwrite the older verison.

However, an error comes up saying “A problem occurred while an addin was intialized (InitializedFailed)…”

Maybe many people here have similar experience before.

How did you solve the issue? thanks a lot !!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:15:06+00:00Added an answer on May 23, 2026 at 5:15 am

    This is related to signed projects.
    I used to have two projects(dll) signed and referenced by third dll. Later I remove signing.
    and reference unsigned dlls in the third dll.

    When I upgrade from previous version, for some reason the two dll are not updated.
    So the third one looks for unsigned version of dlls while only find signed version in installation folder. So I got the error of initializedfailed.

    I signed both dll again and reference them in my third dll, then upgrade works fine.

    more info http://blogs.msdn.com/b/tomholl/archive/2007/04/19/avoiding-configuration-pitfalls-with-incompatible-copies-of-enterprise-library.aspx

    However one issue is, why those two dlls are updated during new install and are NOT during upgrade install?
    Is this a bug in windows installer or something I miss? thanks

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've created a code to change a password. Now it seem contain an error.before
Is the .Net 4 Framework going to change before the go-live or can we
Do I need to call edit SharedPreferences everytime before I change the preferences and
Well how could I change the before image to the after image by using
Scenario: Change a member to ABC 60 days before anniversary date Given Repeat When+Then
If I want to change my filename before it goes to the server for
Is there any way to cancel a RadioButton or CheckBox's change in state before
hi I have a datepickerdialog but i´d like to change always one day before
Is it guaranteed that 'change:property' events are always fired before 'change' events? Here is
I have my storyboard like in this picture: It works before I change in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.