0

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 ?

user2274463
  • 9
  • 1
  • 7
  • 1
    Very 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 Answers2

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
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