Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2900
  • Last Modified:

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

0
Gordon_Atherley
Asked:
Gordon_Atherley
  • 2
  • 2
1 Solution
 
hongjunCommented:
yes
0
 
hongjunCommented:
you need to distribute all ocx / dll including sysinfo.ocx on all machines.
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now