MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




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 2006/2009 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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (3) Thread Tools Display Modes
  3 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 05-13-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 05-17-2005
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 05-17-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 10-04-2005
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
creating, distribute, mappoint, project, setup, vbnet


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/creating-setup-project-vb-net-distribute-mappoint-2827.html

Posted By For Type Date
hillepeter's bookmarks on del.icio.us This thread Refback 04-11-2008 05:55 AM
Home Loan Manufactured Refinance - agreement manufactured, home closing manufactured This thread Refback 09-06-2007 06:12 PM
Web Link This thread Refback 09-05-2007 08:50 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 07:00 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54