[SERVER-4100] Please provide Windows mongodb client program in MSI format Created: 19/Oct/11  Updated: 11/Jul/16  Resolved: 11/Mar/13

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 2.0.0
Fix Version/s: 2.5.0

Type: Improvement Priority: Major - P3
Reporter: T.J. Yang Assignee: Sridhar Nanjundeswaran
Resolution: Done Votes: 3
Labels: Windows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows XP,Widows 7 and Windows Servers.


Issue Links:
Depends
Duplicate
is duplicated by SERVER-4686 MSI installer for the core server Closed
Related
related to SERVER-2903 Need to create separate service insta... Closed
is related to SERVER-963 Separate os packages into multiple pa... Closed
is related to SERVER-4099 Please Provide Windows Mongodb server... Closed
Participants:

 Description   

Please use WiX packaging tool to package only the client related binaries, drivers and doc into MSI format. This will allow deployment of mongodb client or driver without the server part onto a Windows system.



 Comments   
Comment by Sridhar Nanjundeswaran [ 11/Mar/13 ]

Instead of a separate client msi there is 1 single Mongodb_*.msi. This allows you to just install the mongo shell with the Client feature from the UI or using ADDLOCAL from the command line.

Comment by auto [ 11/Mar/13 ]

Author:

{u'date': u'2013-03-11T04:28:33Z', u'name': u'Sridhar Nanjundeswaran', u'email': u'sridhar@10gen.com'}

Message: SERVER-4099, SERVER-4100. MSI for mongodb binaries that allows selective installation of various binaries. Separate 32 and 64 bit msi's.
Branch: master
https://github.com/mongodb/mongo/commit/0982b4085efb7cdd6115ae9c66c13a358390a4aa

Comment by T.J. Yang [ 27/Oct/11 ]

Hi, Tad
>Getting the issues written up is a good starting point for making the problems go away.
Certainly.
>as I understand it. It sounds from your comment as if you are finding it not working that way, so details would be helpful.
No, I haven't try it yet but I do have win7-VS2010P (P=Professional) instance. I will experience mongodb compilation on win7-vs2010p first and try the same process on win2k3-64-VS2010E instance to document the issue if any.

Glad to know I am not along on the view of MongoDB VS2010E+WiX. We now have a team of 3 people, a great start to tackle this challenge.

Comment by Tad Marshall [ 27/Oct/11 ]

Hi T.J.,

It sounds like you and Sridhar have talked about improving MongoDB installation and building for Windows users, which is great.

Can you file a separate bug (if it's not already out there) about issues with the .sln and .vcxproj (Visual Studio solution and project) files when used with Visual Studio Express, please? I personally have all the Express 2010 products installed on my Windows 7 machine, but I had already added (overlaid) a trial version of Visual Studio 2010 Professional before I tried using the db_10.sln (etc.) files for building MongoDB in Visual Studio, so I don't know what happens (what goes wrong, doesn't work) when trying to use Visual Studio C++ 2010 Express to build MongoDB using db_10.sln. Getting the issues written up is a good starting point for making the problems go away. Thanks, and sorry if this is already in Jira and I didn't find it.

You probably know that the Windows SDK includes the same compilers that are shipped with Visual Studio (and is, of course, free), so the selection of a Visual Studio 2010 edition (Express versus Professional) should be a choice of less and more complete IDE features. It should not affect what you can build, as I understand it. It sounds from your comment as if you are finding it not working that way, so details would be helpful. Thanks!

Comment by T.J. Yang [ 26/Oct/11 ]

My remaining TODOs once I got a chance
1. Manually or Use script to refresh UUIDs in *.wxs, current ones are duplicated and not unique.
2. Make main monodb client binary as selectable extra install in Server MSI package as suggested by Tad.
3. Clean up the code more.
4. setup my mongodb dev box to really build mongodb binaries using VS2010E.
this will complete the full compile and package cycle, get ready for BuildBot intergration.

Question for Sridhar
1. Is it possible to lower the dependency of VS2010 from Professional to Express ?
Avoid the $US600 price tag hurdle for potential mongodb Windows developers/packagers.

Comment by Tad Marshall [ 26/Oct/11 ]

T.J. is right that Windows users tend to expect proper MSI install packages, and also that WiX is a great way to do it. I also like his idea of creating separate client and server packages, though I wonder if the server package should include the client part as an optional (but on-by-default) feature so that someone installing the server side could test it immediately. MSI brings a world of good things for Windows and is basically "doing it right". Making it build with BuildBot should not be a problem.

Comment by T.J. Yang [ 19/Oct/11 ]

Please assign this ticket to Sridhar Nanjundeswaran, he agreed to look at my work and see if he can reuse them.
For client see mongodb-client.wxs at https://github.com/tjyang/mongo/tree/master/wixproj.

Comment by T.J. Yang [ 19/Oct/11 ]

Note: I also opened https://jira.mongodb.org/browse/SERVER-4099 for Mongodb server packaging.

Generated at Thu Feb 08 03:04:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.