[SERVER-4099] Please Provide Windows Mongodb server in MSI package 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: | 5 |
| Labels: | Windows | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows XP,Windows 7, Windows 2003/8 servers |
||
| Issue Links: |
|
||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
The current way of "deploying windows mongodb server in zip file format plus many manual steps to configure it running as a Service" is usually not acceptable in a corporate IT environment. Please use WiX packaging tool to package mongodb server(only the server part) into MSI package. |
| Comments |
| 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: |
| Comment by Sougata Pal [ 08/Jan/12 ] |
|
It will be easier for general windows users to install mongodb if there is any MSI installer package where there will be auto start option. |
| Comment by Jeffrey Jones [ 02/Dec/11 ] |
|
Gets my vote. Having an MSI package is also great for people who want automation. You can install MSIs via powershell scripts very easily. But even more useful is the fact that Puppet 2.7.6 supports installing MSIs on windows. |
| 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 ] |
|
0. Unzip mongodb 2.0.0 zip file's *exe into .. (from wixproj dir) Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 erase /q /s MongoDB-Client.res MongoDB-Client.wixobj MongoDB-Client. C:\mongo\wixproj>nmake Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 "candle.exe" /nologo -ext WixUtilExtension MongoDB-server.wxs C:\mongo\wixproj> 2. Testing the server and client package installation. Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 msiexec /i MongoDB-server.msi /qb ADDDEFAULT=ALL C:\mongo\wixproj>net start mongodb C:\mongo\wixproj>nmake install-client Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 msiexec /i MongoDB-Client.msi /qb ADDDEFAULT=ALL C:\mongo\wixproj>mongo C:\mongo\wixproj>..\..\MongoDBClient\bin\mongo ) , }, , , , , , , , , , }, 3. More test cases need to be performed. |
| Comment by T.J. Yang [ 19/Oct/11 ] |
|
Hi, Sridhar 64 bit binary creation is possible using VS2010Express. I haven't personally try it yet. See R1, this is good news that we don't have to tight mongodb binary and msi creation into professional version of VS2010. Using VS2010P as part of mongodb windows build tool will be a road block to attract volunteers. R1: http://stackoverflow.com/questions/1865069/compile-64-bit-app-with-vc-express-2010 |
| 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. The goal is to have msi creation process to be integrated into buildbot, if can we avoid GUI operations by scripting. |