I have created a windows application in c# using sql server 2005 as back end , i completed my project , now i want to create an MSI package , i know how to create a sample MSI or EXE application in Visual studio 2008 , but i dont know how to make an MSI with sql server database attached on it , can any one help me by telling me , how to create a msi package with database , please help me

thanks in advance