Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# SQL-Server Framework
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 29-Jul-12 1:31am
FM7618
Edited 29-Jul-12 1:33am
v2
Comments
Wes Aday at 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.
MP59 at 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)



Advertise | Privacy | Mobile
Web02 | 2.8.141022.2 | Last Updated 29 Jul 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100