1
Vote

Problem About registering Mapwingis.ocx

description

I need to your advice in using MapWinGIS v4.9.3.5 Win32.

Mapwingis.ocx is normally registered in most PCs.
But the Problem occurs when registering it in some PCs and
there is no an error message in the process of setup.

As a temporary method, I register it with Regsvr32.exe manually(CMD.exe).
Do you have any related information?
I'm looking forward to your advice.

Thank you.

comments

rschmidt1960 wrote Feb 4, 2016 at 3:33 AM

I'm having a similar issue, but running the cmd separately doesn't do the trick.

I have an application using the ActiveX control inside of an Access 2010 app.

I've successfully installed the OCX on several systems - Windows 7, Windows Vista, Windows 8.1, Windows 10. All worked successfully.

A client's system is standardized on Windows 7 Pro, and they use Office 2013. I can only install on the few machines they have using Office 2010. I install using the download, and when that didn't work, I used the cmd file. Examination of the registry showed that none of the keys were installed.

Comparing to a successful installation, I started to enter the keys manually, and indeed, the features started to work, but the task was too big to complete, or to replicate on the 10 other machines we will need.

I'm open to any suggestions -

Thanks

pmeems wrote Feb 11, 2016 at 2:34 PM

The problem is that we just use regsvr32.exe to register the ocx:
regsvr32 MapWinGIS.ocx
regsvr32.exe is default Windows and is not very helpful when it fails. It is just telling you it fails, without any explanation.

We recommend running the installer for MapWinGIS as an Admin. This already solves some issues. Also using the 32Bit installer instead of the 64Bit installer seems to help as well.

To make sure you have all needed files you can open the ocx in http://dependencywalker.com/
It might help finding the missing dll.

Please let us know if you find anything that might help others having the same issues.

Thanks,

Paul

rschmidt1960 wrote Feb 11, 2016 at 7:31 PM

Thanks Paul -

We had the same issue today during an installation - I will try your suggestions at our next opportunity.

Thanks for the help!

Ray

rschmidt1960 wrote Mar 9, 2016 at 2:16 AM

HI Paul -

I finally had a chance to try your suggestions in the county in question. We have installed in 7 counties - 6 worked well. This first file Hamilton.dwi is from the trouble county. I'll try any suggestions you may have.

The trouble systems are standardized on Windows 7 Pro with Office 2013 (32-bit)

The comment system won't let me upload the DWI file, so here are the DLLs that are having a problem:

API-MS-WIN-APPMODEL-RUNTIME-L1-1-0.DLL Error opening file. The system cannot find the file specified (2).

API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL Error opening file. The system cannot find the file specified (2).

API-MS-WIN-CORE-WINRT-L1-1-0.DLL Error opening file. The system cannot find the file specified (2).

API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL Error opening file. The system cannot find the file specified (2).

API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL Error opening file. The system cannot find the file specified (2).

API-MS-WIN-SHCORE-SCALING-L1-1-1.DLL Error opening file. The system cannot find the file specified (2).
DCOMP.DLL Error opening file. The system cannot find the file specified (2).
GPSVC.DLL Error opening file. The system cannot find the file specified (2).
IESHIMS.DLL Error opening file. The system cannot find the file specified (2).

Thanks,
Ray

rschmidt1960 wrote Apr 22, 2016 at 8:29 PM

Update: We did finally figure out the problem. It was a combination of things, each one leading us away from the conclusion. MAPWINGIS had trouble with the 2013 C++ redistributable installed on this client's machines. We uninstalled that and let MAPWINGIS install its own, and that worked. Interesting note: the dependency walker found a whole host of missing components. Chasing that turned out to be a false lead.

Ray