Deploying a VB.Net 2005 Application w/ MapPoint 2006

control13
03-25-2008, 09:38 AM
I've created a very simple windows form application in VB.NET 2005 (framework 2.0)that puts a bunch of push pins on a map and displays it. I hadn't ever created a setup package in VS.NET before. I tried to do that, and did create an MSI which does nothing when run on another machine.

I then tried to simply transfer the contents of the release folder of my project over to two other machines, one that had the .NET framework 1.1 & Mappoint, and one that had only Mappoint 2006 and no .NET framework. On machines with the framework, the application starts up, encounters an error, then tries to debug. On machines without the framework, it starts up, then simply says "application encountered a problem and must shut down".

My broad question is how do I go about deploying this application to another machine with MapPoint? Does the other machine need the .NET Framework?
I notice my build output contains Interop.MapPoint.dll. The setup project I created contains MPNA83.tlb also. How do I configure the setup project so it will work correctly on another machine with MapPoint 2006?

Wilfried
03-31-2008, 07:10 AM
Hi,

The target machine needs dotNet and the correct version depending on the dotnet functions you use in your application. You can make a setup that looks for the correct dotnet version and if not installs it.

For how to create the best way for your setup project I advice to visit one of the various dotnet forums or newsgroups.

 
Web mp2kmag.com
mapforums.com