Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends
I have a project in c#,with DB in SQL server 2008,with .NET framwork 4.0.
Now I want to create setup file from my project to install on another computers. How can i do that and attach DB and .NET Framwork to setup project?

Is it possible to create single setup file witch contains all of dependencies to work proporly?

Please help
Posted
Updated 29-Jul-12 1:33am
v2
Comments
[no name] 29-Jul-12 8:33am    
Yes it's possible but not advisable. What if they already have SQL Server installed? Are you going to go ahead and try and install it yourself through a setup? What happens when they uninstall your app, SQL Server goes with it and breaks other apps. Let the user deal with prerequisites.
FM7 29-Jul-12 16:31pm    
my errors:
1- target computer requests .NET framwork 4.0
2- db1.mdf file is next to setup file,so user will be able to delete it!!!
3-target computer is not able to find database file

so how can i solve these problems?

1 solution

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