[wix-users] Install SqlLocalDB.msi silently with WiX Burn

Andreas Buchner Andreas.Buchner at inloox.com
Thu Jun 30 09:43:32 PDT 2016


We´re using this for Local DB v 11:

      <MsiPackage Id="SQLServerLocalDB_x64"
                  SourceFile="$(var.LocalDBx64SourceFile)"
                  DownloadUrl="$(var.LocalDBx64DownloadUrl)"
                  DisplayName="SQL Server LocalDB (64 Bit)"
                  ForcePerMachine="yes"
                  Permanent="yes"
                  Vital="yes"
                  Compressed="no"
                  Visible="yes"
                  >
        <MsiProperty Name="ALLUSERS" Value="1"/>
        <MsiProperty Name="IACCEPTSQLLOCALDBLICENSETERMS" Value="YES"/>
      </MsiPackage>

-----Ursprüngliche Nachricht-----
Von: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] Im Auftrag von Shintaro Takechi
Gesendet: Donnerstag, 30. Juni 2016 18:35
An: wix-users at lists.wixtoolset.org
Betreff: [wix-users] Install SqlLocalDB.msi silently with WiX Burn

Hello,

I am trying to install SqlLocalDB.msi supplied by Microsoft silently via burn bootstrapper.
Following is my MsiPackage code in the chain.

      <MsiPackage SourceFile="SqlLocalDB.msi" Vital="yes"
DisplayInternalUI="no">
        <MsiProperty Name="IACCEPTSQLNCLILICENSETERMS" Value="YES"/>
      </MsiPackage>

This returns me error message

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.

With following log error.

[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"'

Given that I have quotation marks around YES, I assume this is the cause of issue.
Is there any way to avoid this error and install silently?

Thank you

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list