Distribution of VB6 app with sysinfo.ocx causes regstration errors on some but not all systems tested

I recently added sysinfo.ocx to my VB6 app. On the development machine, WXP professional SP2, it works normally. On this machine the sysinfo.ocx version in system32 is 6.0.88.77.

When I test the app on a W2K machine, no errors occur with sysinfo.ocx, the version of which is 6.0.81.69. With a WXP Home machine, no errors occur, and the version is 6.0.81.69

But a test machine with WXP professional SP2, following an update (not a full install) of my VB6 app, this error occurs:

"Run-time error 339 Component sysinfo.ocx or one of its dependencies not correctly registered: a file is missing or invalid."

sysinfo.ocx cannot be found on this machine

~~~

Help and advice gratefully received. For example, should the Inno installer that I use for the updating of the app also distribute and register sysinfo.ocx?  

TIA, Gordon

Gordon_AtherleyAsked:
Who is Participating?
 
hongjunConnect With a Mentor Commented:
you need to distribute all ocx / dll including sysinfo.ocx on all machines.
0
 
hongjunCommented:
yes
0
 
Gordon_AtherleyAuthor Commented:
Thanks hongjun

I'll test this out and get back shortly

Gordon
0
 
Gordon_AtherleyAuthor Commented:
Problem solved, thanks hongjun
0
All Courses

From novice to tech pro — start learning today.