Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 4 of 4

Creating a setup project in VB.net to distribute Mappoint

This is a discussion on Creating a setup project in VB.net to distribute Mappoint within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have created a project in vb.net which uses mappoint 2004. I am now at the stage where I would ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Creating a setup project in VB.net to distribute Mappoint

    I have created a project in vb.net which uses mappoint 2004. I am now at the stage where I would like to distribute it using the built in setup project in Visual Studio 2003.

    Can anyone tell me how I go about doing this. Ideally I want the setup project to automatically install the components needed for mappoint 2004, after first checking if mp2004 already exists.

    Many thanks

  2. #2
    MORGALA is offline Junior Member White Belt
    Join Date
    Apr 2005
    Posts
    2
    I can't believe that after one year nobody has answered this poor blokes post.

    I empthasise with the man because I too have stumbled across this awful problem.

    I have created a Windows setup project and have included the primary output from my C# windows project. This project uses both the MapPointControl and the MapPoint Library DLLs. Since you can't include the two references directly because the MapPoint Control installs its own version of the MapPoint type library (which unfornunately does not contain all the functionality from the 'normal' MapPoint library)..read this http://support.microsoft.com/kb/302898/EN-US/

    Anyways...when you add the primary output I have the following assemblies placed into the setup project...

    1. AxInterop.MapPoint.dll (control)
    2. Interop.MapPoint.dll (the controls own version of the mappoint library)
    3. MapPointApp.dll (the renamed original MapPoint library)
    4. MPEU82.tlb (type library)

    1, 2 and 3 are marked as vsdraDoNotRegister. 4 (the type lib) is marked as vsdrfCOM.

    I have installed the project on a client machine which has a full legal copy of MapPoint installed. The installation is fine, however when you attempt to run the program it throws an exception (an exception I cant handle). Anybody else had similar problems...or is this post doomed to go stagnate one year on!

  3. #3
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    Quote Originally Posted by MORGALA
    or is this post doomed to go stagnate one year on!
    I certainly hope not !

    Thanks for your feedback. I hope someone jumps in to get the answer I'm interested in it too.

  4. #4
    bigderek is offline Junior Member White Belt
    Join Date
    Nov 2004
    Posts
    4
    You cannot distribute the MapPoint dlls and expect your application to run correctly. Your customers will need MapPoint installed already in order for your application to work.

    The only Dll's you may want to consider bundling with your application is the Interop.MapPoint.dll file.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Ask for Setup Disc again
    By XRoK in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 09-02-2005, 05:38 PM
  2. language setup
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 09-05-2004, 03:37 PM
  3. MapPoint and VB.NET Integration Project seeks Talented ppl
    By mjlawless in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-10-2003, 02:37 PM
  4. Project VFP7/VFP 8 Mappoint 2002 integration
    By dirk in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 01-23-2003, 07:36 AM
  5. Can I freely distribute applications with the mapp....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-21-2001, 08:44 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25