I hope you all are well!
Visual Studio 2017 - WIN-FORM - C#
I added a Setup Project to my app. I also selected as prerequisites SQL Server 2019 Express LocalDB:
The installer installs the app just fine but does not install the prerequisites SQL Server 2019 Express LocalDB. There are no popup error messages displayed or any in the Event Viewer.
If I download SqlLocalDB, I install it just fine and my app works. But I would like to have it install during the setup installation if it is needed (auto detect).
I tried on various computers and it also doesn't install SqlLocalDB.
I cannot find anything on the Internet that would explain why setup is not installing the prerequisites.
Any suggestion is appreciated.
Regards,
The issue was that I was using the .MSI instead of the .EXE file to install the app. Using the .EXE did in indeed prompt the user to installSqlLocalDB.
Solution here: