c# Silent install from localDB

Asked

Viewed 183 times

0

My program needs Sqllocaldb.msi to run. I already downloaded this file and put it on the CD that I will distribute the program. The question is:

Is there any way to make my setup.exe run this Sqllocaldb.msi right after you finish installing my program? So the client does not need to open the cd files and run localDB.

I read about a command line that makes Silent Install

msiexec /i SqlLocalDB.msi /qn IACCEPTSQLLOCALDBLICENSETERMS=YES

Where do you type this? How do I install this?

1 answer

0

This command will install an MSI package without any user intervention, the /i parameter indicates an installation (/x uninstall, /f reisntala/repair), while the /Qn parameter indicates that no user interface (in the UI) should be shown. The parameter IACCEPTSQLLOCALDBLICENSETERMS=YES indicates to the Sql installer to accept all license terms, avoiding the question to the user.

msiexec command line options

Browser other questions tagged

You are not signed in. Login or sign up in order to post.