Click here to Skip to main content
15,889,879 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Guys i have built a contact management system which have contacts.mdf file for storing data.
Now the software is ready. And every thing is going right.
Now i am willing to create a setup file which could install all the necessary file. it should install .netframework and sqlexperss and its should also attacth the mdf file to the server automatically.
How i can do it.
Posted

I usually advise to use open-source WiX Toolset, which is the most legitimate in relation to MSBuild and Visual Studio, and is generally a very good product, much better than deprecated and removed from the bundle Visual Studio Setup project template. Please see my past answers:
Custom setup project[^],
installshield and Visual Studio 2012[^].

As to the SQL Server product, you can bundle it with installation, but much better approach, in most cases, would be just to claim it as prerequisite. One thing is: main project is commercial, and all versions are proprietary. Your users may already have a license for some other (commercial) versions of the product, so you would not want to force them into installing yours. This is just one of the reasons. You decide though.

—SA
 
Share this answer
 
Comments
NoorKaximi 27-Dec-14 6:31am    
how can i attach the db file to the server on client's computer .
Sergey Alexandrovich Kryukov 27-Dec-14 18:26pm    
No problem. Read the documentation. (What is "attach"? Packing and copying any file is the most basic action of all installers.)
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900