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 8268319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T05:50:51+00:00 2026-06-08T05:50:51+00:00

I am creating an installer which will use a .NET COM component for our

  • 0

I am creating an installer which will use a .NET COM component for our Access application. When I installed the COM dll to INSTALLDIR, it is working fine. I leave it to WIX to do the COM registration by running heat to harvest both the dll and the tlb. But now we want to install the dll to GAC, and only the tlb file will be installed in the INSTALLDIR. Our target is that different versions of our SW (it is OK to install them on the same machine) can use the same COM version and after uninstalling one version of our SW, the others will still work(this can’t be achieved when we install the dll into INSTALLDIR, am I right?. If my way is wrong, please correct me).

Here comes the problem: in order to install it into GAC, I guess I am supposed to add a Assembly=”.net” to the dll file declaration. However, during the installation, I get this error:
“A problem was encountered in error handler: Automation error The system cannot find the file specified.” when I am calling one COM method (Access reference that we created) in the commit phase, i.e., after the COM is registered. Apparently my COM was not registered successfully. But I don’t really know why this happens. As I mentioned, the only change I made was to add this Assembly=”.net”. Before that, the COM registration is OK and I was calling it successfully.

Any help would be appreciated. Thanks!

  • 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-06-08T05:50:54+00:00Added an answer on June 8, 2026 at 5:50 am

    This will not work as the GAC is for .net based dll’s and will not accept COM dll’s. To see for yourself try and drop the dll into the folder C:\Windows\assembly, you will get an error saying it doesn’t have an assembly manifest.

    What you should do is keep the Component GUID the same for all versions of your installer for that particular COM dll. This way windows installer will keep note of which applications are using it and only un-install it once the last one is removed. I would also put that into it’s own installation folder otherwise you will get an application installation folder left over when the first installed version is un-installed.

    Another option is to separate it into it’s own installer and use a bootstrapper to install them together.

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

Sidebar

Related Questions

I am creating an Android application for a customer which will be pre-installed and
I am creating a Windwos Installer project just for the use of installing our
I am creating a PHP based web application which requires simple authentication to use.
I am creating an Installer for my application(which basically acts as an server). Now,
I am creating a web application which will run on a local machine. I
I am in the process of creating an application which will communicate with a
I am creating a small utility which will help to rebuild install.php of WordPress.
I am creating a program which has an installer-like interface. Is it better to
I'm creating an installer for my Windows client application. Currently I create an MSI
I'm write installer for my web site. Installer creating application pool, virtual directory and

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.