C# Project with sqlConnection - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

C# Project with sqlConnection

Hi,

can someone teach me how to make Installer of C# project (possible if visual-studio application) and has connected to sql database?
(published already when get installed)

thank you in advance ...

Sincerely,
- Elegiac
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: C# Project with sqlConnection

Hello,

In order to achieve this you can use our "Visual Studio Application" template.

Let us know if this helps, otherwise please give us more details about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: C# Project with sqlConnection

Hello,

i have c# project and it worked in visual studio application, but not sure if it will still work when it has a database? or if the database is with .exe files .


thanks .
- Elegiac
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: C# Project with sqlConnection

bumpZzZ,,,
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: C# Project with sqlConnection

Hello Elegiac,

I'm afraid I don't fully understand your scenario. Can you give us more details (maybe exemplify) about what you are trying to achieve?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: C# Project with sqlConnection

Daniel.Radu wrote:Hello Elegiac,

I'm afraid I don't fully understand your scenario. Can you give us more details (maybe exemplify) about what you are trying to achieve?

All the best,
Daniel
sample i have a project with textbox (application forms) using C# that are not connected to db... then i connect it to database (SQL) .
then ive decided to make installer using Visual Studio Application . is the db still with installer and installed also the time i run it?
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: C# Project with sqlConnection

anyone??? .........
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: C# Project with sqlConnection

Hello,

I apologize for my delayed response. If your application use an existing database (which is already created), then you can add the related database file in "Files and Folder" page in the location where your EXE will try to access it.

Also, if the related database file should be created during installation (e.g. using an SQL script) then you can use our "SQL Script" support. Here's a list of articles you can follow:
- Configure most common SQL connections
- ODBC/SQL how to's

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”