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 ?
-
1Very complex. I suggest you to try LocalDB (if you can switch to more recent versions of SqlServer)Steve– Steve2013-04-12 12:51:57 +00:00Commented Apr 12, 2013 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 runsuser2274463– user22744632013-04-12 12:53:40 +00:00Commented Apr 12, 2013 at 12:53
Add a comment
|
2 Answers
you can set Prequisities to you setup for this.
Check the similar thread
4 Comments
user2274463
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 ?
Mohammad Arshad Alam
you have to set the option like Download online or from Folder
user2274463
can you please explain in detail ? as i tried doing a number of things but they didnt work out
Mohammad Arshad Alam
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