c # Silent install from localDB

0

My program needs SqlLocalDB.msi to run. I downloaded this file and put it on the CD that I'm going to distribute the program. The question is:

Is there any way to make my setup.exe run this SqlLocalDB.msi right after I finish installing my program? So the client does not need to open the cd files and run the 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 make this silent install?

    
asked by anonymous 08.09.2017 / 21:31

1 answer

0

This command will install an MSI package without any user intervention, the / i parameter indicates an installation (/ x uninstalls, / f reisntala / repara), since the / qn parameter indicates that it should not be displayed no interface (in the UI) for the user. The IACCEPTSQLLOCALDBLICENSETERMS = YES parameter instructs the Sql installer to accept all license terms, avoiding the user's question.

msiexec command-line options

    
29.04.2018 / 21:05