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 ?

2
  • 1
    Very complex. I suggest you to try LocalDB (if you can switch to more recent versions of SqlServer) Commented 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 runs Commented Apr 12, 2013 at 12:53

2 Answers 2

1

you can set Prequisities to you setup for this.

Check the similar thread

Sign up to request clarification or add additional context in comments.

4 Comments

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 ?
you have to set the option like Download online or from Folder
can you please explain in detail ? as i tried doing a number of things but they didnt work out
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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.