I have used the Inno Setup Compiler to create an installer for my VB6 application, which I’ve developed on an XP machine. I use the resulting setup.exe to successfully install the app on my two Windows 7 machines. However, in both cases, when I try to run the app I get the following error:
Component ‘MSWINSCK.OCX’ or one of its dependencies not correctly registered: a file is missing or invalid
As far as I know, I do not use this .ocx in my app. (It is in the WINDOWS\system32 directory on my XP machine).
After some sleuthing, I found This had me install MSWINSCK.OCX in the Windows\SysWOW64 directory (as opposed to the Windows\System32 directory) on my Windows 7 machine. Unfortunately, an attempt to register this file on my Windows 7 machine [regsvr32 c:\windows\syswow64\MSWINSCK.OCX] gave me the following error:
RegSvr32: The module “c:\windows\syswow64\MSWINSCK.OCX” was loaded but the call to DllRegisterServer failed with the error code 0x8002801c.
More googling finds which tells me to obtain an up to date version of mscomct2.ocx (from I install this in C:\Windows\SysWOW64 on my Windows 7 machine. However, an attempt to register this gave the same error code 0x8002801c message.
Any thoughts? Thanks in advance for your expert help.
Component ‘MSWINSCK.OCX’ or one of its dependencies not correctly registered: a file is missing or invalid
As far as I know, I do not use this .ocx in my app. (It is in the WINDOWS\system32 directory on my XP machine).
After some sleuthing, I found This had me install MSWINSCK.OCX in the Windows\SysWOW64 directory (as opposed to the Windows\System32 directory) on my Windows 7 machine. Unfortunately, an attempt to register this file on my Windows 7 machine [regsvr32 c:\windows\syswow64\MSWINSCK.OCX] gave me the following error:
RegSvr32: The module “c:\windows\syswow64\MSWINSCK.OCX” was loaded but the call to DllRegisterServer failed with the error code 0x8002801c.
More googling finds which tells me to obtain an up to date version of mscomct2.ocx (from I install this in C:\Windows\SysWOW64 on my Windows 7 machine. However, an attempt to register this gave the same error code 0x8002801c message.
Any thoughts? Thanks in advance for your expert help.