/build/static/layout/Breadcrumb_cap_w.png

MSCOMCTL.OCX Registration is failing some times in Windows7 -64bit

One of my application requires the regestration of "MSCOMCTL.OCX" file, I tried regestering this file using this script, 

---

On Error Resume Next

Set oShell = CreateObject("Wscript.Shell") 

oShell.Run "RegSvr32 /s " & chr(34) & "C:\Program Files (x86)\Diebold\EdcView\MSCOMCTL.OCX" & chr(34)

---

I tried this file giving the location "C:\Program Files (x86)\Diebold\EdcView\MSCOMCTL.OCX", "C\Windows\system32" and "C\Windows\syswow64"

the problem is some times the regestration was successful and sometimes not. Could you help me which is the perfect location for this file to be regesterd successfull all the times in Windows7 64 bit envirement

Any suggessions wil be appreciated.

Thanks


0 Comments   [ + ] Show comments

Answers (2)

Posted by: piyushnasa 11 years ago
Red Belt
1

MSCOMCTL.OCX is available as a Microsoft Merge Module. Use that instead of registering it.

If you still need a registered version then you can extract the COM Information of it using Installshield/WISE and then embed that in package. Do not register it using Custom Action.

Posted by: rock_star 11 years ago
4th Degree Black Belt
0

 

oShell.Run "RegSvr32 /s " & chr(34) & "C:\Program Files (x86)\Diebold\EdcView\MSCOMCTL.OCX" & chr(34)

 

RegSvr32 can be found at following location in 64 bit OS

1.C:\Windows\SysWOW64 - 32 bit one

2. C:\Windows\System32 - 64 bit 


I hope you are getting my point here..

http://support.microsoft.com/kb/282747

http://social.msdn.microsoft.com/Forums/en/vbgeneral/thread/a6d06695-87b8-4fa6-8b9c-a3547829ab76


Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Link

Related Links

Post

Related Posts

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ