This project is read-only.

Registration of MapWinGIS.ocx with VS2005 Setup-Project under Win 7

Aug 9, 2012 at 2:00 PM


I created a VB.NET program using MapWinGIS.ocx (8.1) under VB 2005.

For the Setup of the program I use a VS 2005 Setup-Project, which should register the MapWinGIS.ocx after copying in the program folder. The installation option is Register=vsdrfCOM . Before executing the MSI-File, I run the C++ redistributable by skript to make shure that the registration process may suceed.

In the past this worked very fine under Win XP and Win Vista / 7.
But now the registration fails if I only run the MSI!
When I register the OCX with a "regsvr32 ...\MapWinGIS.ocx" command everithing is OK and my program works.

It seems to me, that the Windows security prevents the registration. Has anybody an idea what can I do?
Thanks for answers!

Aug 10, 2012 at 5:14 PM

Why don't you use the package from the MW site. believe they have an installer for just the OCX already.