A visual studio installer project should create a .MSI file and a setup.exe executable. It is this separate setup program that checks for and installs prerequisites. If you do not run the setup program but only install the .MSI then the prerequisites will not be installed.
Visual Studio Setup Project Prerequisites are not installing
Hello,
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 and install it manually there are no issues 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 to explain why setup is not installing the prerequisites.
I am using:
Visual Studio 2017
WIN-FORM
C#
Any suggestion is appreciated.