WiX bundle does not allow me to install SqlLocalDB.msi silently and errors out stating following :
The required IACCEPTSQLNCLILICENSETERMS=YES command-line parameter is missing. By specifying this parameter, you acknowledge that you accept the end user license terms for SQL Server 2016.
I tried to insert the commandline argument by doing the following.
<MsiPackage SourceFile="SqlLocalDB.msi" Vital="yes" DisplayInternalUI="no">
<MsiProperty Name="CommandLineArgLocalDB" Value="IACCEPTSQLNCLILICENSETERMS=YES"/>
</MsiPackage>
I continue to get the same error. Is there any issues with what I have done?
EDIT :
I figured out that MsiProperty is mainly used for passing in commandline argument TO MY msi rather than internal msi. That is not what I want to do.
EDIT2 :
I have tried Isaiah's suggestion
<MsiProperty Name="IACCEPTSQLNCLILICENSETERMS" Value="YES"/>
But problem still persists.
After checking out the log, I found this line.
[0708:0C70][2016-06-30T08:38:48]i301: Applying execute package: SqlLocalDB.msi, action: Install, path: C:\ProgramData\Package Cache{E359515A-92E6-4FA3-A2C9-E1BA02D8DE6E}v13.0.1601.5\SqlLocalDB.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" IACCEPTSQLNCLILICENSETERMS="YES"'
Doesn't this mean I am already applying IACCEPTSQLNCLILICENSETERMS="YES"...? Why am I still not able to properly install this?
Possibly because YES is surrounded by quotations?
EDIT 3:
attempted to do
<MsiProperty Name="IACCEPTSQLNCLILICENSETERMS=YES"/>
but it gives me compiler error.
Thank you