Alex
Alex

Reputation: 25

How to automatically install SqlLocalDB after installing my C# app

I want to create an installer for my C# application and add SqlLocalDB to it to install it automatically after the application is installed, how i do that? If SqlLocalDB can be installed in silent mode that's even better.

Thanks and best regards

Upvotes: 1

Views: 325

Answers (1)

Gnyasha
Gnyasha

Reputation: 694

You would need to download the SqlLocalDB executable or the .msi from Microsoft Website then include it in the setup scripts.

Inno-Setup Compiler can work fine. So along with your C# program files you will need to attach the SqlLocalDB executable.

Here is a link to Inno Setup

A link to SQLLocalDb

Upvotes: 1

Related Questions