How to automatically install SqlLocalDB after installing my C# app

124 Views Asked by At

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

1

There are 1 best solutions below

3
Gnyasha On BEST ANSWER

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