Well here are some links to help you to deploy it;
Deployment(Click Once)[
^]
Deploy your Application and Database[
^]
Or you can add you own custom code in other "steps" (called custom actions)
inside the setup. In those steps, you will be able to execute the database
initialization, using for instance a db restore command. For this look at this web page;
http://msdn.microsoft.com/en-us/library/49b92ztk(VS.80).aspx[
^]
Also when you add an installer on its properties if you indicate the Target Platform to "x86" that will do it I think.
Good luck