I'm able to install SQL Server 2005 Express with the bootstrapper, but I can't seem to be able to install the default instance.
I have tried
<Property Id="SQLInstance" Value="MSSQLSERVER" />
<ExePackage Id="SQL2005Express" DisplayName="SQL Server 2005 EXPRESS" Cache="yes" Compressed="yes"
InstallCondition="not SqlInstanceKeyFound"
DetectCondition="SqlInstanceKeyFound"
PerMachine="yes" Permanent="yes" Vital="yes" Name="SQLEXPR.EXE" SourceFile="$(var.ThirdToolsSrc)\SQLEXPR.EXE"
InstallCommand="/qn ADDLOCAL=All SECURITYMODE=SQL [SqlVariable] DISABLENETWORKPROTOCOLS=0 INSTANCENAME=[SQLInstance]">
<ExitCode Value ="3010" Behavior="forceReboot" />
</ExePackage>
This will create an instance [MACHINENAME]\SQLEXPRESS
, I tried without specifying the InstanceName
parameter but got the same result.
Looking at this page, I don't see what I can change to be able to add the default instance.
I want to have the DefaultInstance
to be [MachineName]
only
Thanks.