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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:24:30+00:00 2026-05-15T11:24:30+00:00

We have a legacy VB6 application that updates itself on startup by pulling down

  • 0

We have a legacy VB6 application that updates itself on startup by pulling down the latest files and registering the COM components. This works for both local (regsvr32) ActiveX COM Components and remote (clireg32) ActiveX COM components registered in COM+ on another machine.

New requirements are preventing us from writing to HKEY_LOCAL_MACHINE (HKLM) for security reasons, which is what obviously happens by default when calling regsvr32 and clireg32.

We have come up with an way to register the local COM component under HKEY_CURRENT_USER\Software\Classes (HKCU) using the RegOverridePredefKey Windows API method. This works by redirecting the inserts into the registry to the HKCU location. Then when the COM components are instantiated, windows first looks to HKCU before looking for component information in HKLM. This replaces what regsvr32 is doing.

The problem we are experiencing at this time is when we attempt to register VBR / TLB using clireg32, this registration process also adds registration keys to HKEY_LOACL_MACHINE.

Is there a way to redirect clireg32.exe to register component is HKEY_CURRENT_USER?
Are there any other methods that would allow us to register these COM+ components on clients machine with limited security access?

Our only solution at this time would be to manually write the registration information to the registry, but that is not ideal and would be a maint issue.

  • 1 1 Answer
  • 1 View
  • 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-15T11:24:31+00:00Added an answer on May 15, 2026 at 11:24 am

    I see few happy answers here. The notion of an app using 12 year old technology needing to install updates is an odd one and just not well supported on modern machines. A common solution like reg-free COM is out, I think, not compatible with COM+. It is also pretty strange that a bug-fix style update would need to re-register components. Have you verified that this is actually required?

    Extending on that theme, how often do you actually change GUIDs in deployments? Taking charge of the registration yourself rather than leaving it up to the components themselves should be workable when the keys don’t constantly change. Could be as easy as capturing the registration with SysInternals’ ProcMon utility, compose a .reg file that sets HKCU keys instead.

    Beyond that, you really do need to gain the right to registry keys that are not writable. If you can’t get the okay from the customer then consider asking for a scheduled task that installs updates. They can get access, provided the sys admin allows it.

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

Sidebar

Related Questions

I have a legacy VB6 application that has the following structure defined: Public Type
We have a legacy VB6 application that uses Crystal Reports XI to generate printed
I have a legacy vb6 application that needs to run on a server 2008
We have a legacy VB6 application that is very procedural. This thing is gigantic!
I have a legacy VB6 application that was built using MSDE. As many client's
I have a legacy VB6 application that uploads file attachments to a database BLOB
I've got a legacy VB6 app that I recently added SetWindowPos to the application
I have a legacy VB (visual basic) 6 application that connects to Oracle 8
I have a legacy VB6 app that I still need to support. I also
We have a legacy VB6 application from which we have migrated the licencing code

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.