[wix-users] SQL fails on repair

Joseph L. Casale jcasale at activenetwerx.com
Thu Dec 14 11:59:05 PST 2017


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
Of Carlos Sosa via wix-users
Sent: Thursday, December 14, 2017 12:29 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Carlos Sosa <carlos.sosa.us at outlook.com>
Subject: [wix-users] SQL fails on repair


> Hello, we have installed SQL just fine but when I select repair it fails:
> <ExePackage Id="SQL"
>                    Vital="yes"
>                   SourceFile="Lib\SQLEXPR_x64_ENU.exe"
>                   InstallCommand="/QUIETSIMPLE
> /IACCEPTSQLSERVERLICENSETERMS /SAPWD=password /ACTION=Install
> /FEATURES=SQL /SECURITYMODE=SQL /INSTANCENAME=MYINSTANCE"
> 
> Name="!(wix.SQL2016ExpPackageDirectory)SQLEXPR_x64_ENU.exe"
>                   Cache="no"
>                   DisplayName="SQL Configuration, this takes time, do not interrupt
> the installation."
>                   Permanent="yes"/>

Use conditions, you are re-installing it on top of itself which is most certainly
not supported with the same invocations arguments as the install set. See the
SQL cli arguments doc for the repair set.


More information about the wix-users mailing list