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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:43:40+00:00 2026-06-10T06:43:40+00:00

I use Inno Setup for creating my setup. All works fine, but I run

  • 0

I use Inno Setup for creating my setup. All works fine, but I run into the problem: how to register the .NET DLL to make it accessable by COM+. As we all know .NET brings RegSvcs.exe for that so I checked the Inno Setup documentation and only found gacinstall which is for Assembly registration, but not use for COM+ interactions.
So I added this in the [Run] section

; register .Net components for com+
Filename: {win}\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe; Parameters: "{app}\bin\Common.dll"; Description: Component registration; WorkingDir: {app}\bin; StatusMsg: Component registration...; Flags: waituntilterminated

But by testing the setup this line is just skipped.
The DLL is copied to the target before in the [Files] section and is available.
After setup I can manually run RegSvcs.exe from command line as well without a problem.

  • 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-10T06:43:41+00:00Added an answer on June 10, 2026 at 6:43 am

    Inno Setup does it work as intended!

    Problem in my case is:
    RegSvcs.exe install the component with wrong credentials.
    It install the COM+ with security interactive user but as I call it from a service there is no user, so I need SYSTEM as credentials.

    Solution:
    Write a small pice of code that modify the security credentials after registering. I didn’t find any option flags to tell regsvcs.exe it directly.
    Found a post here http://www.carlosag.net/articles/configure-com-plus how to do it and will now adapt the ideas from there to write a small program to do the job.

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

Sidebar

Related Questions

I've been using Inno Setup for deploying and registering a dll, but all the
Dabbling with creating an installer with inno setup- but wondering: What are the pros
I am making use of Inno Setup (it's amazing!). I was hoping to customise
I use the Exclude flag in Inno Setup in order to exclude from installation
I'd like to add an own installation type into an Inno setup project, while
I use the Inno Setup to create installer for my program. In my program
I am trying to use Inno Setup to bootstrap a number of prerequisites to
I am attempting to use Inno Setup to bootstrap a WiX generated .msi file
I'm currently creating an installer using INNO and I'm no pascal expert. Is there
I am using Inno Setup version 5.4.2. I want to define the path for

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.