2015-02-17 3 views
1

Я использую clickOnce и развертываю с ним установщик.Установка пакета SQL Server 2014 Express как необходимое условие ClickOnce

Я пробовал различные настройки. Использование SQL Server 2008 Express и SQL Server 2012 Express в качестве предпосылки - все в порядке (я загрузил их и установил опцию «загрузить предварительные условия для clickonce с одного и того же пути»).

Теперь я пытаюсь сделать то же самое с SQL Server 2014 Express.

Поскольку пакет SQL Server 2014 Express не является готовой версией строк 2008 и 2012 годов, я пытаюсь его создать.

Я сделал и, похоже, сработал, но при установке он дает номер ошибки -2054422506. Это очень общая ошибка, и я ее не понимаю.

Появляется всплывающее сообщение о том, что установка остановлена, поскольку это ошибка установки SQL Server Express 2014 и просмотр журнала для получения дополнительной информации. Журнал говорит только:

Installing using command  
'C:\Users\VIRTUA~1\AppData\Local\Temp\VSD24F4.tmp\SqlExpress2014\ 
SQLEXPR32_x86_ITA.EXE' and parameters '/q /action=Install /features=SQL 
/instancename=SQLEXPRESS /securitymode=SQL /sapwd=passwd 
/sqlsvcaccount="NT Authority\Network Service' 
Process exited with code -2054422506 
Status of package 'SQL Server 2014 Express' after install is 'InstallFailed' 

Итак, я попытался установить SQL Server 2014 Express, вручную, без ClickOnce, и она работает. Поэтому я думаю, что я немного испортил xml-файл пакета.

Мой пакет так построить (в C: \ Program Files (x86) \ Microsoft SDKs \ Windows \ v8.1A \ Bootstrapper \ Packages):

\SqlExpress2014 
    \it 
     -SQLEXPR32_x86_ITA.exe 
     -SQLEXPR_x64_ITA.exe 
     -eula.rtf 
     -package.xml 
    -product.xml 
    -SqlExpressChk.exe 

Это мой файл package.xml:

<?xml version="1.0" encoding="UTF-8"?> 
<Package 
    xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper" 
    Name="DisplayName" 
    Culture="Culture" 
    LicenseAgreement="eula.rtf"> 

    <PackageFiles CopyAllPackageFiles="false"> 
    <PackageFile Name="SQLEXPR32_x86_ITA.EXE"/> 
    <PackageFile Name="SQLEXPR_x64_ITA.EXE" /> 
    <PackageFile Name="eula.rtf"/> 
    </PackageFiles> 

    <InstallChecks> 
    <ExternalCheck Property="SQLExpressChk" PackageFile="SqlExpressChk.exe" Arguments="11.0.2100 1040"/> 
    </InstallChecks> 

    <Commands Reboot="Defer"> 
    <!-- Defines a new installation (x86) 
    /skiprules=RebootRequiredCheck /enableranu=1 /AddCurrentUserAsSqlAdmin /hideconsole 
    --> 
    <Command PackageFile="SQLEXPR32_x86_ITA.EXE" 
      Arguments='/q /action=Install /features=SQL /instancename=SQLEXPRESS /securitymode=SQL /sapwd=passwd /sqlsvcaccount="NT Authority\Network Service" 
      /IAcceptSqlServerLicenseTerms /SQLSVCPASSWORD="passwd" /SQLSYSADMINACCOUNTS="NT Authority\Network Service" /AGTSVCACCOUNT="NT AUTHORITY\Network Service"' 
     EstimatedInstalledBytes="225000000" 
     EstimatedInstallSeconds="420"> 
     <InstallConditions> 
     <FailIf Property="VersionNT" Compare="ValueNotExists" String="InvalidPlatformOS"/> 
     <FailIf Property="VersionNT" Compare="VersionLessThan" Value="6.0.0" String="InvalidPlatformOS"/> 
     <FailIf Property="VersionNT" Compare="VersionLessThan" Value="6.0.2" String="InvalidPlatformOSServicePack"/> 
     <FailIf Property="VersionNT" Compare="VersionEqualTo" Value="6.1.0" String="InvalidPlatformOSServicePack"/> 
     <FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-1" String="InvalidUpgradeNotExpress"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-2" String="InvalidUpgradeNotExpressCore"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-3" String="InvalidUpgradeLanguage"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-4" String="InvalidUpgradeWoW"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueLessThan" Value="-4" String="GeneralFailure"/> 
     <BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="Intel"/> 
     <BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="1"/> 
     </InstallConditions> 
     <ExitCodes> 
     <ExitCode Value="0" Result="Success"/> 
     <ExitCode Value="1641" Result="SuccessReboot"/> 
     <ExitCode Value="3010" Result="SuccessReboot"/> 
     <!-- 0x84BE0BC2 (1214,3010) --> 
     <ExitCode Value="-2067919934" Result="FailReboot"/> 
     <!-- 0x84C10BC2 (1217,3010) --> 
     <ExitCode Value="-2067723326" Result="FailReboot"/> 
     <!-- 0x84BE0007 (1214,7) --> 
     <ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84C4001F (1220,31) --> 
     <ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84BE0001 (1214,1)--> 
     <ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/> 
     <!-- 0x84C4000E (1220,14) --> 
     <ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/> 
     <!-- 0x84C4000B (1220,11) --> 
     <ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/> 
     <!-- 0x84BE01F8 (1214,504) --> 
     <ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE01FA (1214,506) --> 
     <ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE0202 (1214,514) --> 
     <ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <!-- 0x84BE0203 (1214,515) --> 
     <ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" /> 
     </ExitCodes> 
    </Command> 

    <!-- Defines an upgrade installation (x86) --> 
    <Command PackageFile="SQLEXPR32_x86_ITA.EXE" 
     Arguments="/q /hideconsole /action=Upgrade /instancename=SQLEXPRESS /securitymode=SQL /sapwd=passwd /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck" 
     EstimatedInstalledBytes="225000000" 
     EstimatedInstallSeconds="420"> 
     <InstallConditions> 
     <BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="Intel"/> 
     <BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="2"/> 
     </InstallConditions> 
     <ExitCodes> 
     <ExitCode Value="0" Result="Success"/> 
     <ExitCode Value="1641" Result="SuccessReboot"/> 
     <ExitCode Value="3010" Result="SuccessReboot"/> 
     <!-- 0x84BE0BC2 (1214,3010) --> 
     <ExitCode Value="-2067919934" Result="FailReboot"/> 
     <!-- 0x84C10BC2 (1217,3010) --> 
     <ExitCode Value="-2067723326" Result="FailReboot"/> 
     <!-- 0x84BE0007 (1214,7) --> 
     <ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84C4001F (1220,31) --> 
     <ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84BE0001 (1214,1)--> 
     <ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/> 
     <!-- 0x84C4000E (1220,14) --> 
     <ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/> 
     <!-- 0x84C4000B (1220,11) --> 
     <ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/> 
     <!-- 0x84BE01F8 (1214,504) --> 
     <ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE01FA (1214,506) --> 
     <ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE0202 (1214,514) --> 
     <ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <!-- 0x84BE0203 (1214,515) --> 
     <ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" /> 
     </ExitCodes> 
    </Command> 

    <!-- Defines a new installation (amd64) --> 
    <Command PackageFile="SQLEXPR_x64_ITA.EXE" 
       Arguments='/q /hideconsole /action=Install /features=SQL /instancename=SQLEXPRESS /securitymode=SQL /sapwd=passwd /enableranu=1 /sqlsvcaccount="NT Authority\Network Service" /AddCurrentUserAsSqlAdmin /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck' 
     EstimatedInstalledBytes="225000000" 
     EstimatedInstallSeconds="420"> 
     <InstallConditions> 
     <BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="amd64"/> 
     <BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="1"/> 
     </InstallConditions> 
     <ExitCodes> 
     <ExitCode Value="0" Result="Success"/> 
     <ExitCode Value="1641" Result="SuccessReboot"/> 
     <ExitCode Value="3010" Result="SuccessReboot"/> 
     <!-- 0x84BE0BC2 (1214,3010) --> 
     <ExitCode Value="-2067919934" Result="FailReboot"/> 
     <!-- 0x84C10BC2 (1217,3010) --> 
     <ExitCode Value="-2067723326" Result="FailReboot"/> 
     <!-- 0x84BE0007 (1214,7) --> 
     <ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84C4001F (1220,31) --> 
     <ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84BE0001 (1214,1)--> 
     <ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/> 
     <!-- 0x84C4000E (1220,14) --> 
     <ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/> 
     <!-- 0x84C4000B (1220,11) --> 
     <ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/> 
     <!-- 0x84BE01F8 (1214,504) --> 
     <ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE01FA (1214,506) --> 
     <ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE0202 (1214,514) --> 
     <ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <!-- 0x84BE0203 (1214,515) --> 
     <ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" /> 
     </ExitCodes> 
    </Command> 

    <!-- Defines an upgrade installation (amd64) --> 
    <Command PackageFile="SQLEXPR_x64_ITA.EXE" 
     Arguments="/q /hideconsole /action=Upgrade /instancename=SQLEXPRESS /securitymode=SQL /sapwd=passwd /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck" 
     EstimatedInstalledBytes="225000000" 
     EstimatedInstallSeconds="420"> 
     <InstallConditions> 
     <BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="amd64"/> 
     <BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="2"/> 
     </InstallConditions> 
     <ExitCodes> 
     <ExitCode Value="0" Result="Success"/> 
     <ExitCode Value="1641" Result="SuccessReboot"/> 
     <ExitCode Value="3010" Result="SuccessReboot"/> 
     <!-- 0x84BE0BC2 (1214,3010) --> 
     <ExitCode Value="-2067919934" Result="FailReboot"/> 
     <!-- 0x84C10BC2 (1217,3010) --> 
     <ExitCode Value="-2067723326" Result="FailReboot"/> 
     <!-- 0x84BE0007 (1214,7) --> 
     <ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84C4001F (1220,31) --> 
     <ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84BE0001 (1214,1)--> 
     <ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/> 
     <!-- 0x84C4000E (1220,14) --> 
     <ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/> 
     <!-- 0x84C4000B (1220,11) --> 
     <ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/> 
     <!-- 0x84BE01F8 (1214,504) --> 
     <ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE01FA (1214,506) --> 
     <ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE0202 (1214,514) --> 
     <ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <!-- 0x84BE0203 (1214,515) --> 
     <ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" /> 
     </ExitCodes> 
    </Command> 

    </Commands> 

    <Strings> 
    <String Name="DisplayName">SQL Server 2014 Express</String> 
    <String Name="Culture">it</String> 
    <String Name="SqlExpr32Exe">http://download.microsoft.com/download/1/6/E/16E343FB-7961-457C-A9C9-E6919F2B7188/Express%2032BIT/SQLEXPR_x86_ITA.exe</String> 
    <String Name="SqlExpr64Exe">http://download.microsoft.com/download/1/6/E/16E343FB-7961-457C-A9C9-E6919F2B7188/Express%2064BIT/SQLEXPR_x64_ITA.exe</String> 
    <String Name="AdminRequired">Non si dispone delle autorizzazioni necessarie per installare SQL Server 2014 Express. Rivolgersi all'amministratore.</String> 
    <String Name="GeneralFailure">Errore durante il tentativo di installazione di SQL Server 2014 Express.</String> 
    <String Name="InvalidPlatformOS">La versione del sistema operativo corrente non supporta SQL Server 2014 Express.</String> 
    <String Name="InvalidPlatformOSServicePack">Il sistema operativo corrente non soddisfa i requisiti di livello di Service Pack per SQL Server 2014 Express. Installare il Service Pack più recente dall'Area download Microsoft all'indirizzo http://www.microsoft.com/downloads prima di continuare l'installazione.</String> 
    <String Name="InvalidPlatformOSLanguage">La versione italiana di SQL Server 2014 Express può essere installata unicamente in un sistema operativo Windows nella stessa lingua.</String> 
    <String Name="AnotherInstanceRunning">Un'altra istanza del programma di installazione è già in esecuzione. Per continuare, è necessario attendere il completamento di tale istanza.</String> 
    <String Name="BetaComponentsFailure">È stata rilevata una versione beta di .NET Framework o SQL Server nel computer. Disinstallare le versioni beta precedenti dei componenti di SQL Server 2014, dei file di supporto di SQL Server o di .NET Framework prima di continuare.</String> 
    <String Name="InvalidPlatformArchitecture">Questa versione di SQL Server 2014 Express non è supportata per l'architettura del processore corrente.</String> 
    <String Name="InvalidUpgradeNotExpress">L'istanza di SQL Server denominata 'SQLEXPRESS' non è un'istanza di SQL Server Express. Impossibile eseguirne l'aggiornamento a SQL Server 2014 Express.</String> 
    <String Name="InvalidUpgradeNotExpressCore">L'istanza di SQL Server Express denominata 'SQLEXPRESS' contiene componenti non inclusi in SQL Server 2014 Express. Impossibile eseguire l'aggiornamento di tale istanza in SQL Server 2014 Express. Utilizzare SQL Server 2014 Express with Advanced Services.</String> 
    <String Name="InvalidUpgradeLanguage">L'istanza di SQL Server Express denominata 'SQLEXPRESS' è una versione in una lingua diversa rispetto a SQL Server 2014 Express. Impossibile eseguire l'aggiornamento di tale istanza.</String> 
    <String Name="InvalidUpgradeWoW">Impossibile eseguire l'aggiornamento dell'istanza esistente di SQL Server Express (x64 WoW) denominata 'SQLEXPRESS' mediante SQL Server 2014 Express (x64). Disinstallare l'istanza esistente di SQL Server Express e riprovare a installare SQL Server 2014 Express (x64).</String> 
    </Strings> 
</Package> 

И это product.xml:

<?xml version="1.0" encoding="utf-8"?> 
<!-- SQL Express 2014 VS Bootstrapper : product.xml : Language neutral information --> 
<Product xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper" ProductCode="Microsoft.SqlServer.Express.12.0"> 
    <RelatedProducts> 
    <EitherProducts> 
     <DependsOnProduct Code=".NETFramework,Version=v4.5" /> 
     <DependsOnProduct Code=".NETFramework,Version=v4.0" /> 
    </EitherProducts> 
    <!-- Also depends on MSI4.5 or greater, which is included on all of the OS levels supported (see package.xml) --> 
    <IncludesProduct Code="Microsoft.Sql.Server.Express.1.0" /> 
    <IncludesProduct Code="Microsoft.Sql.Server.Express.9.2" /> 
    <IncludesProduct Code="Microsoft.Sql.Server.Express.10.0" /> 
    <IncludesProduct Code="Microsoft.SqlServer.Express.10.5" /> 
    <IncludesProduct Code="Microsoft.SqlServer.Express.11.0" /> 
    </RelatedProducts> 
    <PackageFiles> 
    <PackageFile Name="SqlExpressChk.exe" /> 
    </PackageFiles> 
</Product> 

Я скопировал файл SqlExpressChk.exe с SQL Server 2012 Exp (версия 2008 и 2012 выглядит одинаково, поэтому я тоже предполагал, что это будет и в 2014 году).

Я удаляю часть в package.xml о publicKey, так как я этого не знаю, и, более того, я думаю, что мне это не нужно.

В том же файле я ввел пользовательские параметры, как и в версиях 2008 и 2012 годов, а затем выполнил некоторые попытки (без успеха).

У кого-нибудь возникли проблемы? Как вы справились с этим?

УКАЗАНИЕ: Я использую мой щелчок по развертыванию на пустой виртуальной машине, поэтому конфликтов нет.

EDIT: больше попыток, больше сбоев, всегда одна и та же ошибка! Я удаляю факультативный материал, чтобы лучше изучить ядро ​​xml, но все равно не удастся. У Microsoft есть пакет sql server 2014 express?

EDIT AGAIN: Я обнаружил, что сервер sql 2014 по-прежнему является предварительным выпуском ... релиз будет первым апрелем .. это может быть проблемой ??

ОБНОВЛЕНИЕ: Я думаю, что проблема заключается в параметре, который я даю установщику. Я вижу docs msdn для установки параметров установки для sql server express 2014 (то же самое для других версий, за исключением некоторых небольших различий). Это мои глаголы:

   Arguments='/q /action=Install /features=SQL /instancename=SQLEXPRESS /securitymode=SQL /sapwd=passwd /sqlsvcaccount="NT Authority\Network Service" 
     /IAcceptSqlServerLicenseTerms 
     /enableranu=1 /AddCurrentUserAsSqlAdmin /hideconsole' 

Эти работы хорошо работают на 2008 и 2012 годы ... здесь нет ... почему? Код ошибки тот же, что и выше.

ответ

4

Хорошо, я сделал это !!!!

Я размещаю здесь файлы, которые я использовал для этого.

Это дерево папок:

\SqlExpress2014 
    \it 
     -SQLEXPR32_x86_ITA.exe 
     -SQLEXPR_x64_ITA.exe 
     -eula.rtf 
     -package.xml 
    -product.xml 
    -SqlExpressChk.exe 

Это product.xml:

<?xml version="1.0" encoding="utf-8"?> 
<!-- SQL Express 2014 VS Bootstrapper : product.xml : Language neutral information --> 
<Product xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper" ProductCode="Microsoft.SqlServer.Express.12.0"> 
    <RelatedProducts> 
    <EitherProducts> 
     <DependsOnProduct Code=".NETFramework,Version=v4.5" /> 
     <DependsOnProduct Code=".NETFramework,Version=v4.0" /> 
    </EitherProducts> 
    <!-- Also depends on MSI4.5 or greater, which is included on all of the OS levels supported (see package.xml) --> 
    <IncludesProduct Code="Microsoft.Sql.Server.Express.1.0" /> 
    <IncludesProduct Code="Microsoft.Sql.Server.Express.9.2" /> 
    <IncludesProduct Code="Microsoft.Sql.Server.Express.10.0" /> 
    <IncludesProduct Code="Microsoft.SqlServer.Express.10.5" /> 
    <IncludesProduct Code="Microsoft.SqlServer.Express.11.0" /> 
    </RelatedProducts> 
    <PackageFiles> 
    <PackageFile Name="SqlExpressChk.exe" /> 
    </PackageFiles> 
</Product> 

И это package.xml:

<?xml version="1.0" encoding="UTF-8"?> 
<Package 
    xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper" 
    Name="DisplayName" 
    Culture="Culture" 
    LicenseAgreement="eula.rtf"> 

    <PackageFiles CopyAllPackageFiles="false"> 
    <PackageFile Name="SQLEXPR32_x86_ITA.EXE" HomeSite="SqlExpr32Exe" PublicKey="3082010A0282010100E8AF5CA2200DF8287CBC057B7FADEEEB76AC28533F3ADB407DB38E33E6573FA551153454A5CFB48BA93FA837E12D50ED35164EEF4D7ADB137688B02CF0595CA9EBE1D72975E41B85279BF3F82D9E41362B0B40FBBE3BBAB95C759316524BCA33C537B0F3EB7EA8F541155C08651D2137F02CBA220B10B1109D772285847C4FB91B90B0F5A3FE8BF40C9A4EA0F5C90A21E2AAE3013647FD2F826A8103F5A935DC94579DFB4BD40E82DB388F12FEE3D67A748864E162C4252E2AAE9D181F0E1EB6C2AF24B40E50BCDE1C935C49A679B5B6DBCEF9707B280184B82A29CFBFA90505E1E00F714DFDAD5C238329EBC7C54AC8E82784D37EC6430B950005B14F6571C50203010001"/> 
    <PackageFile Name="SQLEXPR_x64_ITA.EXE" HomeSite="SqlExpr64Exe" PublicKey="3082010A0282010100E8AF5CA2200DF8287CBC057B7FADEEEB76AC28533F3ADB407DB38E33E6573FA551153454A5CFB48BA93FA837E12D50ED35164EEF4D7ADB137688B02CF0595CA9EBE1D72975E41B85279BF3F82D9E41362B0B40FBBE3BBAB95C759316524BCA33C537B0F3EB7EA8F541155C08651D2137F02CBA220B10B1109D772285847C4FB91B90B0F5A3FE8BF40C9A4EA0F5C90A21E2AAE3013647FD2F826A8103F5A935DC94579DFB4BD40E82DB388F12FEE3D67A748864E162C4252E2AAE9D181F0E1EB6C2AF24B40E50BCDE1C935C49A679B5B6DBCEF9707B280184B82A29CFBFA90505E1E00F714DFDAD5C238329EBC7C54AC8E82784D37EC6430B950005B14F6571C50203010001" /> 
    <PackageFile Name="eula.rtf"/> 
    </PackageFiles> 

    <InstallChecks> 
    <ExternalCheck Property="SQLExpressChk" PackageFile="SqlExpressChk.exe" Arguments="12.0.2000 1040"/> 
    </InstallChecks> 

    <Commands Reboot="Defer"> 
    <!-- Defines a new installation (x86) 
    /skiprules=RebootRequiredCheck 
    /SQLSVCPASSWORD="123456" /SQLSYSADMINACCOUNTS="NT Authority\Network Service" /AGTSVCACCOUNT="NT AUTHORITY\Network Service" 
    --> 
    <Command PackageFile="SQLEXPR32_x86_ITA.EXE" 
      Arguments='/q /action=Install /features=SQL /instancename=SQLEXPRESS /securitymode=SQL /sapwd=123456 /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck ' 
     EstimatedInstalledBytes="325000000" 
     EstimatedInstallSeconds="520"> 
     <InstallConditions> 
     <FailIf Property="VersionNT" Compare="ValueNotExists" String="InvalidPlatformOS"/> 
     <FailIf Property="VersionNT" Compare="VersionLessThan" Value="6.0.0" String="InvalidPlatformOS"/> 
     <FailIf Property="VersionNT" Compare="VersionLessThan" Value="6.0.2" String="InvalidPlatformOSServicePack"/> 
     <FailIf Property="VersionNT" Compare="VersionEqualTo" Value="6.1.0" String="InvalidPlatformOSServicePack"/> 
     <FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-1" String="InvalidUpgradeNotExpress"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-2" String="InvalidUpgradeNotExpressCore"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-3" String="InvalidUpgradeLanguage"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-4" String="InvalidUpgradeWoW"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueLessThan" Value="-4" String="GeneralFailure"/> 
     <BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="Intel"/> 
     <BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="1"/> 
     </InstallConditions> 
     <ExitCodes> 
     <ExitCode Value="0" Result="Success"/> 
     <ExitCode Value="1641" Result="SuccessReboot"/> 
     <ExitCode Value="3010" Result="SuccessReboot"/> 
     <!-- 0x84BE0BC2 (1214,3010) --> 
     <ExitCode Value="-2067919934" Result="FailReboot"/> 
     <!-- 0x84C10BC2 (1217,3010) --> 
     <ExitCode Value="-2067723326" Result="FailReboot"/> 
     <!-- 0x84BE0007 (1214,7) --> 
     <ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84C4001F (1220,31) --> 
     <ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84BE0001 (1214,1)--> 
     <ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/> 
     <!-- 0x84C4000E (1220,14) --> 
     <ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/> 
     <!-- 0x84C4000B (1220,11) --> 
     <ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/> 
     <!-- 0x84BE01F8 (1214,504) --> 
     <ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE01FA (1214,506) --> 
     <ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE0202 (1214,514) --> 
     <ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <!-- 0x84BE0203 (1214,515) --> 
     <ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" /> 
     </ExitCodes> 
    </Command> 

    <!-- Defines an upgrade installation (x86) --> 
    <Command PackageFile="SQLEXPR32_x86_ITA.EXE" 
     Arguments="/q /hideconsole /action=Upgrade /instancename=SQLEXPRESS /securitymode=SQL /sapwd=123456 /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck" 
     EstimatedInstalledBytes="225000000" 
     EstimatedInstallSeconds="420"> 
     <InstallConditions> 
     <BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="Intel"/> 
     <BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="2"/> 
     </InstallConditions> 
     <ExitCodes> 
     <ExitCode Value="0" Result="Success"/> 
     <ExitCode Value="1641" Result="SuccessReboot"/> 
     <ExitCode Value="3010" Result="SuccessReboot"/> 
     <!-- 0x84BE0BC2 (1214,3010) --> 
     <ExitCode Value="-2067919934" Result="FailReboot"/> 
     <!-- 0x84C10BC2 (1217,3010) --> 
     <ExitCode Value="-2067723326" Result="FailReboot"/> 
     <!-- 0x84BE0007 (1214,7) --> 
     <ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84C4001F (1220,31) --> 
     <ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84BE0001 (1214,1)--> 
     <ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/> 
     <!-- 0x84C4000E (1220,14) --> 
     <ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/> 
     <!-- 0x84C4000B (1220,11) --> 
     <ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/> 
     <!-- 0x84BE01F8 (1214,504) --> 
     <ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE01FA (1214,506) --> 
     <ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE0202 (1214,514) --> 
     <ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <!-- 0x84BE0203 (1214,515) --> 
     <ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" /> 
     </ExitCodes> 
    </Command> 

    <!-- Defines a new installation (amd64) --> 
    <Command PackageFile="SQLEXPR_x64_ITA.EXE" 
      Arguments='/q /action=Install /features=SQL /instancename=SQLEXPRESS /securitymode=SQL /sapwd=123456 /IAcceptSqlServerLicenseTerms' 
      EstimatedInstalledBytes="225000000" 
     EstimatedInstallSeconds="420"> 
     <InstallConditions> 
     <BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="amd64"/> 
     <BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="1"/> 
     </InstallConditions> 
     <ExitCodes> 
     <ExitCode Value="0" Result="Success"/> 
     <ExitCode Value="1641" Result="SuccessReboot"/> 
     <ExitCode Value="3010" Result="SuccessReboot"/> 
     <!-- 0x84BE0BC2 (1214,3010) --> 
     <ExitCode Value="-2067919934" Result="FailReboot"/> 
     <!-- 0x84C10BC2 (1217,3010) --> 
     <ExitCode Value="-2067723326" Result="FailReboot"/> 
     <!-- 0x84BE0007 (1214,7) --> 
     <ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84C4001F (1220,31) --> 
     <ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84BE0001 (1214,1)--> 
     <ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/> 
     <!-- 0x84C4000E (1220,14) --> 
     <ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/> 
     <!-- 0x84C4000B (1220,11) --> 
     <ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/> 
     <!-- 0x84BE01F8 (1214,504) --> 
     <ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE01FA (1214,506) --> 
     <ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE0202 (1214,514) --> 
     <ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <!-- 0x84BE0203 (1214,515) --> 
     <ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" /> 
     </ExitCodes> 
    </Command> 

    <!-- Defines an upgrade installation (amd64) --> 
    <Command PackageFile="SQLEXPR_x64_ITA.EXE" 
     Arguments="/q /hideconsole /action=Upgrade /instancename=SQLEXPRESS /securitymode=SQL /sapwd=123456 /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck" 
     EstimatedInstalledBytes="225000000" 
     EstimatedInstallSeconds="420"> 
     <InstallConditions> 
     <BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="amd64"/> 
     <BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="2"/> 
     </InstallConditions> 
     <ExitCodes> 
     <ExitCode Value="0" Result="Success"/> 
     <ExitCode Value="1641" Result="SuccessReboot"/> 
     <ExitCode Value="3010" Result="SuccessReboot"/> 
     <!-- 0x84BE0BC2 (1214,3010) --> 
     <ExitCode Value="-2067919934" Result="FailReboot"/> 
     <!-- 0x84C10BC2 (1217,3010) --> 
     <ExitCode Value="-2067723326" Result="FailReboot"/> 
     <!-- 0x84BE0007 (1214,7) --> 
     <ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84C4001F (1220,31) --> 
     <ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84BE0001 (1214,1)--> 
     <ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/> 
     <!-- 0x84C4000E (1220,14) --> 
     <ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/> 
     <!-- 0x84C4000B (1220,11) --> 
     <ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/> 
     <!-- 0x84BE01F8 (1214,504) --> 
     <ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE01FA (1214,506) --> 
     <ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE0202 (1214,514) --> 
     <ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <!-- 0x84BE0203 (1214,515) --> 
     <ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" /> 
     </ExitCodes> 
    </Command> 

    </Commands> 

    <Strings> 
    <String Name="DisplayName">SQL Server 2014 Express</String> 
    <String Name="Culture">it</String> 
    <String Name="SqlExpr32Exe">http://download.microsoft.com/download/1/6/E/16E343FB-7961-457C-A9C9-E6919F2B7188/Express%2032BIT/SQLEXPR_x86_ITA.exe</String> 
    <String Name="SqlExpr64Exe">http://download.microsoft.com/download/1/6/E/16E343FB-7961-457C-A9C9-E6919F2B7188/Express%2064BIT/SQLEXPR_x64_ITA.exe</String> 
    <String Name="AdminRequired">Non si dispone delle autorizzazioni necessarie per installare SQL Server 2014 Express. Rivolgersi all'amministratore.</String> 
    <String Name="GeneralFailure">Errore durante il tentativo di installazione di SQL Server 2014 Express.</String> 
    <String Name="InvalidPlatformOS">La versione del sistema operativo corrente non supporta SQL Server 2014 Express.</String> 
    <String Name="InvalidPlatformOSServicePack">Il sistema operativo corrente non soddisfa i requisiti di livello di Service Pack per SQL Server 2014 Express. Installare il Service Pack più recente dall'Area download Microsoft all'indirizzo http://www.microsoft.com/downloads prima di continuare l'installazione.</String> 
    <String Name="InvalidPlatformOSLanguage">La versione italiana di SQL Server 2014 Express può essere installata unicamente in un sistema operativo Windows nella stessa lingua.</String> 
    <String Name="AnotherInstanceRunning">Un'altra istanza del programma di installazione è già in esecuzione. Per continuare, è necessario attendere il completamento di tale istanza.</String> 
    <String Name="BetaComponentsFailure">È stata rilevata una versione beta di .NET Framework o SQL Server nel computer. Disinstallare le versioni beta precedenti dei componenti di SQL Server 2014, dei file di supporto di SQL Server o di .NET Framework prima di continuare.</String> 
    <String Name="InvalidPlatformArchitecture">Questa versione di SQL Server 2014 Express non è supportata per l'architettura del processore corrente.</String> 
    <String Name="InvalidUpgradeNotExpress">L'istanza di SQL Server denominata 'SQLEXPRESS' non è un'istanza di SQL Server Express. Impossibile eseguirne l'aggiornamento a SQL Server 2014 Express.</String> 
    <String Name="InvalidUpgradeNotExpressCore">L'istanza di SQL Server Express denominata 'SQLEXPRESS' contiene componenti non inclusi in SQL Server 2014 Express. Impossibile eseguire l'aggiornamento di tale istanza in SQL Server 2014 Express. Utilizzare SQL Server 2014 Express with Advanced Services.</String> 
    <String Name="InvalidUpgradeLanguage">L'istanza di SQL Server Express denominata 'SQLEXPRESS' è una versione in una lingua diversa rispetto a SQL Server 2014 Express. Impossibile eseguire l'aggiornamento di tale istanza.</String> 
    <String Name="InvalidUpgradeWoW">Impossibile eseguire l'aggiornamento dell'istanza esistente di SQL Server Express (x64 WoW) denominata 'SQLEXPRESS' mediante SQL Server 2014 Express (x64). Disinstallare l'istanza esistente di SQL Server Express e riprovare a installare SQL Server 2014 Express (x64).</String> 
    </Strings> 
</Package> 

SqlExpressChk .exe - это тот же файл, который вы можете найти в своих пакетах SqlServer 2012/2008 Express в C: \ Program Files (x86) \ Microsoft SDKs \ Window ы \ yourVersion \ Bootstrapper \ Packages.

SQLEXPR32_x86_ITA.exe и SQLEXPR_x64_ITA.exe: я просто загрузил их с сайта microsoft, но они вам не нужны, если вы используете онлайн-установку.

Eula.rtf является this, после переименования.

Единственное, что вам нужно сделать, это изменить параметры команды в файле package.xml. Надеюсь, это может быть полезно для кого-то. :)

0

Спасибо, это было очень полезно. В случае, если кто нуждается английский SQL Server Express 2014 эквивалент:

структура папок:

\SqlExpress2014 
    \en 
     -SQLEXPR32_x86_ENU.exe 
     -SQLEXPR_x64_ENU.exe 
     -eula.rtf 
     -package.xml 
    -product.xml 
    -SqlExpressChk.exe 

product.xml:

<?xml version="1.0" encoding="utf-8"?> 
<!-- SQL Express 2014 VS Bootstrapper : product.xml : Language neutral information --> 
<Product xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper" ProductCode="Microsoft.SqlServer.Express.12.0"> 
    <RelatedProducts> 
    <EitherProducts> 
     <DependsOnProduct Code=".NETFramework,Version=v4.5" /> 
     <DependsOnProduct Code=".NETFramework,Version=v4.0" /> 
    </EitherProducts> 
    <!-- Also depends on MSI4.5 or greater, which is included on all of the OS levels supported (see package.xml) --> 
    <IncludesProduct Code="Microsoft.Sql.Server.Express.1.0" /> 
    <IncludesProduct Code="Microsoft.Sql.Server.Express.9.2" /> 
    <IncludesProduct Code="Microsoft.Sql.Server.Express.10.0" /> 
    <IncludesProduct Code="Microsoft.SqlServer.Express.10.5" /> 
    <IncludesProduct Code="Microsoft.SqlServer.Express.11.0" /> 
    </RelatedProducts> 
    <PackageFiles> 
    <PackageFile Name="SqlExpressChk.exe" /> 
    </PackageFiles> 
</Product> 

package.xml:

<?xml version="1.0" encoding="UTF-8"?> 
<Package 
    xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper" 
    Name="DisplayName" 
    Culture="Culture" 
    LicenseAgreement="eula.rtf"> 

    <PackageFiles CopyAllPackageFiles="false"> 
    <PackageFile Name="SQLEXPR32_x86_ENU.EXE" HomeSite="SqlExpr32Exe" PublicKey="3082010A0282010100E8AF5CA2200DF8287CBC057B7FADEEEB76AC28533F3ADB407DB38E33E6573FA551153454A5CFB48BA93FA837E12D50ED35164EEF4D7ADB137688B02CF0595CA9EBE1D72975E41B85279BF3F82D9E41362B0B40FBBE3BBAB95C759316524BCA33C537B0F3EB7EA8F541155C08651D2137F02CBA220B10B1109D772285847C4FB91B90B0F5A3FE8BF40C9A4EA0F5C90A21E2AAE3013647FD2F826A8103F5A935DC94579DFB4BD40E82DB388F12FEE3D67A748864E162C4252E2AAE9D181F0E1EB6C2AF24B40E50BCDE1C935C49A679B5B6DBCEF9707B280184B82A29CFBFA90505E1E00F714DFDAD5C238329EBC7C54AC8E82784D37EC6430B950005B14F6571C50203010001"/> 
    <PackageFile Name="SQLEXPR_x64_ENU.EXE" HomeSite="SqlExpr64Exe" PublicKey="3082010A0282010100E8AF5CA2200DF8287CBC057B7FADEEEB76AC28533F3ADB407DB38E33E6573FA551153454A5CFB48BA93FA837E12D50ED35164EEF4D7ADB137688B02CF0595CA9EBE1D72975E41B85279BF3F82D9E41362B0B40FBBE3BBAB95C759316524BCA33C537B0F3EB7EA8F541155C08651D2137F02CBA220B10B1109D772285847C4FB91B90B0F5A3FE8BF40C9A4EA0F5C90A21E2AAE3013647FD2F826A8103F5A935DC94579DFB4BD40E82DB388F12FEE3D67A748864E162C4252E2AAE9D181F0E1EB6C2AF24B40E50BCDE1C935C49A679B5B6DBCEF9707B280184B82A29CFBFA90505E1E00F714DFDAD5C238329EBC7C54AC8E82784D37EC6430B950005B14F6571C50203010001" /> 
    <PackageFile Name="eula.rtf"/> 
    </PackageFiles> 

    <InstallChecks> 
    <ExternalCheck Property="SQLExpressChk" PackageFile="SqlExpressChk.exe" Arguments="12.0.2000 1040"/> 
    </InstallChecks> 

    <Commands Reboot="Defer"> 

    <!-- Defines a new installation (x86) --> 
    <Command PackageFile="SQLEXPR32_x86_ENU.EXE" 
     Arguments='/q /hideconsole /action=Install /features=SQL /instancename=SQLEXPRESS /enableranu=1 /AddCurrentUserAsSqlAdmin /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck' 
     EstimatedInstalledBytes="325000000" 
     EstimatedInstallSeconds="520"> 
     <InstallConditions> 
     <FailIf Property="VersionNT" Compare="ValueNotExists" String="InvalidPlatformOS"/> 
     <FailIf Property="VersionNT" Compare="VersionLessThan" Value="6.0.0" String="InvalidPlatformOS"/> 
     <FailIf Property="VersionNT" Compare="VersionLessThan" Value="6.0.2" String="InvalidPlatformOSServicePack"/> 
     <FailIf Property="VersionNT" Compare="VersionEqualTo" Value="6.1.0" String="InvalidPlatformOSServicePack"/> 
     <FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-1" String="InvalidUpgradeNotExpress"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-2" String="InvalidUpgradeNotExpressCore"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-3" String="InvalidUpgradeLanguage"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-4" String="InvalidUpgradeWoW"/> 
     <FailIf Property="SQLExpressChk" Compare="ValueLessThan" Value="-4" String="GeneralFailure"/> 
     <BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="Intel"/> 
     <BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="1"/> 
     </InstallConditions> 
     <ExitCodes> 
     <ExitCode Value="0" Result="Success"/> 
     <ExitCode Value="1641" Result="SuccessReboot"/> 
     <ExitCode Value="3010" Result="SuccessReboot"/> 
     <!-- 0x84BE0BC2 (1214,3010) --> 
     <ExitCode Value="-2067919934" Result="FailReboot"/> 
     <!-- 0x84C10BC2 (1217,3010) --> 
     <ExitCode Value="-2067723326" Result="FailReboot"/> 
     <!-- 0x84BE0007 (1214,7) --> 
     <ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84C4001F (1220,31) --> 
     <ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84BE0001 (1214,1)--> 
     <ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/> 
     <!-- 0x84C4000E (1220,14) --> 
     <ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/> 
     <!-- 0x84C4000B (1220,11) --> 
     <ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/> 
     <!-- 0x84BE01F8 (1214,504) --> 
     <ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE01FA (1214,506) --> 
     <ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE0202 (1214,514) --> 
     <ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <!-- 0x84BE0203 (1214,515) --> 
     <ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" /> 
     </ExitCodes> 
    </Command> 

    <!-- Defines an upgrade installation (x86) --> 
    <Command PackageFile="SQLEXPR32_x86_ENU.EXE" 
     Arguments="/q /hideconsole /action=Upgrade /instancename=SQLEXPRESS /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck" 
     EstimatedInstalledBytes="225000000" 
     EstimatedInstallSeconds="420"> 
     <InstallConditions> 
     <BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="Intel"/> 
     <BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="2"/> 
     </InstallConditions> 
     <ExitCodes> 
     <ExitCode Value="0" Result="Success"/> 
     <ExitCode Value="1641" Result="SuccessReboot"/> 
     <ExitCode Value="3010" Result="SuccessReboot"/> 
     <!-- 0x84BE0BC2 (1214,3010) --> 
     <ExitCode Value="-2067919934" Result="FailReboot"/> 
     <!-- 0x84C10BC2 (1217,3010) --> 
     <ExitCode Value="-2067723326" Result="FailReboot"/> 
     <!-- 0x84BE0007 (1214,7) --> 
     <ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84C4001F (1220,31) --> 
     <ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84BE0001 (1214,1)--> 
     <ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/> 
     <!-- 0x84C4000E (1220,14) --> 
     <ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/> 
     <!-- 0x84C4000B (1220,11) --> 
     <ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/> 
     <!-- 0x84BE01F8 (1214,504) --> 
     <ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE01FA (1214,506) --> 
     <ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE0202 (1214,514) --> 
     <ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <!-- 0x84BE0203 (1214,515) --> 
     <ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" /> 
     </ExitCodes> 
    </Command> 

    <!-- Defines a new installation (amd64) --> 
    <Command PackageFile="SQLEXPR_x64_ENU.EXE" 
     Arguments='/q /hideconsole /action=Install /features=SQL /instancename=SQLEXPRESS /enableranu=1 /AddCurrentUserAsSqlAdmin /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck' 
     EstimatedInstalledBytes="225000000" 
     EstimatedInstallSeconds="420"> 
     <InstallConditions> 
     <BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="amd64"/> 
     <BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="1"/> 
     </InstallConditions> 
     <ExitCodes> 
     <ExitCode Value="0" Result="Success"/> 
     <ExitCode Value="1641" Result="SuccessReboot"/> 
     <ExitCode Value="3010" Result="SuccessReboot"/> 
     <!-- 0x84BE0BC2 (1214,3010) --> 
     <ExitCode Value="-2067919934" Result="FailReboot"/> 
     <!-- 0x84C10BC2 (1217,3010) --> 
     <ExitCode Value="-2067723326" Result="FailReboot"/> 
     <!-- 0x84BE0007 (1214,7) --> 
     <ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84C4001F (1220,31) --> 
     <ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84BE0001 (1214,1)--> 
     <ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/> 
     <!-- 0x84C4000E (1220,14) --> 
     <ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/> 
     <!-- 0x84C4000B (1220,11) --> 
     <ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/> 
     <!-- 0x84BE01F8 (1214,504) --> 
     <ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE01FA (1214,506) --> 
     <ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE0202 (1214,514) --> 
     <ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <!-- 0x84BE0203 (1214,515) --> 
     <ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" /> 
     </ExitCodes> 
    </Command> 

    <!-- Defines an upgrade installation (amd64) --> 
    <Command PackageFile="SQLEXPR_x64_ENU.EXE" 
     Arguments="/q /hideconsole /action=Upgrade /instancename=SQLEXPRESS /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck" 
     EstimatedInstalledBytes="225000000" 
     EstimatedInstallSeconds="420"> 
     <InstallConditions> 
     <BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="amd64"/> 
     <BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="2"/> 
     </InstallConditions> 
     <ExitCodes> 
     <ExitCode Value="0" Result="Success"/> 
     <ExitCode Value="1641" Result="SuccessReboot"/> 
     <ExitCode Value="3010" Result="SuccessReboot"/> 
     <!-- 0x84BE0BC2 (1214,3010) --> 
     <ExitCode Value="-2067919934" Result="FailReboot"/> 
     <!-- 0x84C10BC2 (1217,3010) --> 
     <ExitCode Value="-2067723326" Result="FailReboot"/> 
     <!-- 0x84BE0007 (1214,7) --> 
     <ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84C4001F (1220,31) --> 
     <ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/> 
     <!-- 0x84BE0001 (1214,1)--> 
     <ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/> 
     <!-- 0x84C4000E (1220,14) --> 
     <ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/> 
     <!-- 0x84C4000B (1220,11) --> 
     <ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/> 
     <!-- 0x84BE01F8 (1214,504) --> 
     <ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE01FA (1214,506) --> 
     <ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/> 
     <!-- 0x84BE0202 (1214,514) --> 
     <ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <!-- 0x84BE0203 (1214,515) --> 
     <ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/> 
     <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" /> 
     </ExitCodes> 
    </Command> 

    </Commands> 

    <Strings> 
    <String Name="DisplayName">SQL Server 2014 Express</String> 
    <String Name="Culture">en</String> 
    <String Name="SqlExpr32Exe">http://download.microsoft.com/download/E/A/E/EAE6F7FC-767A-4038-A954-49B8B05D04EB/Express%2032BIT/SQLEXPR_x86_ENU.exe</String> 
    <String Name="SqlExpr64Exe">http://download.microsoft.com/download/E/A/E/EAE6F7FC-767A-4038-A954-49B8B05D04EB/Express%2064BIT/SQLEXPR_x64_ENU.exe</String> 
    <String Name="AdminRequired">You do not have the permissions required to install SQL Server 2014 Express. Please contact your administrator.</String> 
    <String Name="GeneralFailure">An error occurred attempting to install SQL Server 2014 Express.</String> 
    <String Name="InvalidPlatformOS">The current operating system version does not support SQL Server 2014 Express.</String> 
    <String Name="InvalidPlatformOSServicePack">The current operating system does not meet Service Pack level requirements for SQL Server 2014 Express. Install the most recent Service Pack from the Microsoft download center at http://www.microsoft.com/downloads before continuing setup.</String> 
    <String Name="InvalidPlatformOSLanguage">The English version of SQL Server 2014 Express can only be installed on a Windows operating system of the same language.</String> 
    <String Name="AnotherInstanceRunning">Another instance of setup is already running. The running instance must complete before this setup can proceed.</String> 
    <String Name="BetaComponentsFailure">A beta version of the .NET Framework or SQL Server was detected on the computer. Uninstall any previous beta versions of SQL Server 2014 components, SQL Server Support Files, or .NET Framework before continuing.</String> 
    <String Name="InvalidPlatformArchitecture">This version of SQL Server 2014 Express is not supported for the current processor architecture.</String> 
    <String Name="InvalidUpgradeNotExpress">The instance of SQL Server named 'SQLEXPRESS' is a not an instance of SQL Server Express. It cannot be upgraded to SQL Server 2014 Express.</String> 
    <String Name="InvalidUpgradeNotExpressCore">The instance of SQL Server Express named 'SQLEXPRESS' contains components that are not included in SQL Server 2014 Express. SQL Server 2014 Express cannot upgrade this instance. Please use SQL Server 2014 Express with Advanced Services instead.</String> 
    <String Name="InvalidUpgradeLanguage">The instance of SQL Server Express named 'SQLEXPRESS' is a different language version than this SQL Server 2014 Express. SQL Server 2014 Express cannot upgrade this instance.</String> 
    <String Name="InvalidUpgradeWoW">SQL Server 2014 Express (x64) cannot upgrade the existing instance of SQL Server Express (x64 WoW) named 'SQLEXPRESS'. Uninstall this instance of SQL Server Express and retry installing SQL Server 2014 Express (x64).</String> 
    </Strings> 
</Package> 
Смежные вопросы