I did some more research and testing and think that my application will run registration-free by simply doing the following:
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:
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
- Set "Isolated" property for both MapWinGIS Components references (one for Interop and the other for AxInterop) to True.
- Run the MapWinGIS installer on my development machine and install to a known directory.
-
Copy the contents of the directory (including all folders) to the build output folder of the .Net application.
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