There isn't a Windows installer package for MongoDB, but I assume you would build one for your application, correct? if so, you can have the installation package include both your Windows .exe and the mongod.exe executable (and license files), maybe mongo.exe if you'll want to do any post installation DB administration. You will also want your installer to create the data directory where the data files will be stored, and finally configure MongoDB as a Windows service with "sc create" and finally start the service. And on uninstall, you probably want all of this removed. For all of this, I recommend using the open source WiX toolkit. There is a very helpful tutorial here:
http://wix.tramontana.co.hu/tutorial/getting-startedOn Tuesday, July 31, 2012 5:11:18 AM UTC-4, Atif Ali Bhatti wrote:
Hello everybody,
Please forgive me if my question sounds stupid as I am novice in mongoDB. Actually, I have a windows application developed using c# and mongoDB and I want to distribute my application to my users. What I am confused about is "How can I package my application" that it install the mongo db first and then my application so that every user has db server up and running. I hope my question is clear.
Thank you,
Atif Ali Bhatti