Error 339 - Component 'MSCOMCT2.OCX' or one of its dependencies not correctly registered.

One of our users gets this error on an XP machine with a user with restrictive priveleges. They do not get the error when they run the program logged in as an admin, and manually registering the control succeeds under the admin account. Does anyone know which registry keys they would need access to for the mscomct2.ocx control to work or how to resolve this problem otherwise. Thanks!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I think you would get a better (and quicker answer) in the Windows XP area for this question.
Log in as the restrictive priveleged user, and run this command line:

regsvr32 mscomct2.ocx

if it fails, enter the full path where the ocx is located:

regsvr32 <path>\mscomct2.ocx

If it fails, pack your app with the Package and Deployment Wizard in VB with this ocx, and during the client installation, it shall automatically register the ocx, as all others necessary ones.
jam8bAuthor Commented:
The restrictive user does not have access to the run command. We use Wise installer and the controls are installed from a merge module.
Create a batch file in admin mode, like register.bat, containing

regsvr32 <path>\mscomct2.ocx

save it, and then back in user mode run the file.

 Or make a VB program which executes this code with the Shell comand.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept [BUchas]'s answer

Please leave any comments here within the next seven days.


EE Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.