Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: Version of MapWinGIS for .Net?

$
0
0
I did some more research and testing and think that my application will run registration-free by simply doing the following:
  1. Set "Isolated" property for both MapWinGIS Components references (one for Interop and the other for AxInterop) to True.
  2. Run the MapWinGIS installer on my development machine and install to a known directory.
  3. Copy the contents of the directory (including all folders) to the build output folder of the .Net application.
Just copy the content of that build output folder to a fresh PC that did not contain a registered copy of MapWinGIS, and everything works (apparently).

The only problem is that my application's build output folder is hugely cluttered with all the MapWinGIS dll files. To keep them compartmentalized, I kept them all in a subdirectory and manually edited the appname.exe.manifest file to include the path:
<file name="MapWinGIS\MapWinGIS.ocx" asmv2:size="3901440">
Apparently, the *Interop.MapWinGIS.dll files must remain in the build output folder, but the .OCX file can be deleted from there (it will be found in the subdirectory pointed to in the manifest.

My original question remains about a .Net version, however this procedure is so simple it might not be worth the effort.

If anyone else has tried this reg-free approach and can tell me if there are any hidden gotchas, I'd appreciate it.

Chris

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>