i have done a project is a web browser uses a sql server 2008 as a back end so i want make setup file for that project to work in a computer that has'nt sql server , in onother word i want bind my database with the project and make it (1project .exe) file like any other .exe file

Before I start, let me offer this link about SQL Server 2008 Express.
https://www.microsoft.com/en-us/download/details.aspx?id=25052

If you want to make your app run without dependencies on SQL Server 2008 then you code to not use SQL. Now it's an app just like others.

If you want to install missing support systems like SQL then you read the above link and start adding code to download and launch the installers for the missing support software.

I use MySQL for reasons I won't get into here but never created the code to install it for the end user. But I did supply an one page install document to get MySQL onto the target machine.

Maybe you need to learn about SQLite. Here's what they write about that.
"SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed database engine in the world. The source code for SQLite is in the public domain." https://www.sqlite.org/

Inno Setup is an excellent installer package. You can read more on their website: Click Here

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.