I have a windows c# application with its setup file. Now I wish to install SQL Server 2005 express edition while the setup of my application is being installed on any computer. Is this possible ? How ?
Asked
Active
Viewed 339 times
0
-
1Very complex. I suggest you to try [LocalDB](http://stackoverflow.com/questions/9655362/localdb-deployment-on-client-pc) (if you can switch to more recent versions of SqlServer) – Steve Apr 12 '13 at 12:51
-
I have a code that installs a SQL server 2005 express edition exe file. But I dont know how to attach that file to the setup project so that sql gets installed while the setup runs – user2274463 Apr 12 '13 at 12:53
2 Answers
1
you can set Prequisities
to you setup for this.
Check the similar thread

Community
- 1
- 1

Mohammad Arshad Alam
- 9,694
- 6
- 38
- 61
-
But does it install sql server if not present on the user machine ? or does it just checks if sql server is present or now ? – user2274463 Apr 12 '13 at 12:54
-
you have to set the option like Download online or from Folder – Mohammad Arshad Alam Apr 12 '13 at 12:56
-
can you please explain in detail ? as i tried doing a number of things but they didnt work out – user2274463 Apr 12 '13 at 12:57
-
http://stackoverflow.com/questions/923439/how-to-add-sql-server-2008-express-to-list-of-prerequisites – Mohammad Arshad Alam Apr 12 '13 at 12:59
0
Yes you can
Add custom action by right clicking setup project --> view --> Custom Actions --> right click Custom Actions --> Add Custom Actions.
Now going to add the prerequisites for your setup project.
Select your setup project, right click and go to properties, then click the Prerequisites button. there u can set url

Satinder singh
- 10,100
- 16
- 60
- 102