diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2018-12-15 22:40:06 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2018-12-15 22:40:06 -0600 |
commit | 8464662dfcf3a6e4fafc33440b33236773d96a65 (patch) | |
tree | 33c26606c2a1df6f4c0b8a5665b34899fc57edc8 /src/wixlib | |
parent | c3442d8c8e2cbc71b077e1625a854aa2e871a544 (diff) | |
download | wix-8464662dfcf3a6e4fafc33440b33236773d96a65.tar.gz wix-8464662dfcf3a6e4fafc33440b33236773d96a65.tar.bz2 wix-8464662dfcf3a6e4fafc33440b33236773d96a65.zip |
Import code from old v4 repo
Diffstat (limited to 'src/wixlib')
-rw-r--r-- | src/wixlib/SqlExtension.wxs | 46 | ||||
-rw-r--r-- | src/wixlib/de-de.wxl | 17 | ||||
-rw-r--r-- | src/wixlib/en-us.wxl | 17 | ||||
-rw-r--r-- | src/wixlib/es-es.wxl | 18 | ||||
-rw-r--r-- | src/wixlib/ja-jp.wxl | 17 | ||||
-rw-r--r-- | src/wixlib/pl-pl.wxl | 17 | ||||
-rw-r--r-- | src/wixlib/pt-br.wxl | 17 | ||||
-rw-r--r-- | src/wixlib/pt-pt.wxl | 17 |
8 files changed, 166 insertions, 0 deletions
diff --git a/src/wixlib/SqlExtension.wxs b/src/wixlib/SqlExtension.wxs new file mode 100644 index 00000000..2ee9a3ab --- /dev/null +++ b/src/wixlib/SqlExtension.wxs | |||
@@ -0,0 +1,46 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
6 | <?include caerr.wxi ?> | ||
7 | |||
8 | <!-- Server Custom Action Definitions --> | ||
9 | |||
10 | <Fragment> | ||
11 | <UI> | ||
12 | <Error Id="$(var.msierrSQLFailedCreateDatabase)">!(loc.msierrSQLFailedCreateDatabase)</Error> | ||
13 | <Error Id="$(var.msierrSQLFailedDropDatabase)">!(loc.msierrSQLFailedDropDatabase)</Error> | ||
14 | <Error Id="$(var.msierrSQLFailedConnectDatabase)">!(loc.msierrSQLFailedConnectDatabase)</Error> | ||
15 | <Error Id="$(var.msierrSQLFailedExecString)">!(loc.msierrSQLFailedExecString)</Error> | ||
16 | <Error Id="$(var.msierrSQLDatabaseAlreadyExists)">!(loc.msierrSQLDatabaseAlreadyExists)</Error> | ||
17 | |||
18 | <ProgressText Action="InstallSqlData">!(loc.ConfigureSql)</ProgressText> | ||
19 | <ProgressText Action="UninstallSqlData">!(loc.ConfigureSql)</ProgressText> | ||
20 | <ProgressText Action="CreateDatabase">!(loc.CreateDatabase)</ProgressText> | ||
21 | <ProgressText Action="DropDatabase">!(loc.DropDatabase)</ProgressText> | ||
22 | <ProgressText Action="ExecuteSqlStrings">!(loc.ExecuteSqlStrings)</ProgressText> | ||
23 | <ProgressText Action="RollbackExecuteSqlStrings">!(loc.RollbackExecuteSqlStrings)</ProgressText> | ||
24 | </UI> | ||
25 | |||
26 | <!-- The SQL custom actions should impersonate the user because the user"s cridentials are used when connected to the database if none are provided --> | ||
27 | <CustomAction Id="InstallSqlData" BinaryKey="ScaSchedule2" DllEntry="InstallSqlData" Execute="immediate" Return="check" /> | ||
28 | <CustomAction Id="UninstallSqlData" BinaryKey="ScaSchedule2" DllEntry="UninstallSqlData" Execute="immediate" Return="check" /> | ||
29 | <CustomAction Id="CreateDatabase" BinaryKey="ScaExecute2" DllEntry="CreateDatabase" Execute="deferred" Return="check" HideTarget="yes" SuppressModularization="yes" TerminalServerAware="yes" /> | ||
30 | <CustomAction Id="RollbackCreateDatabase" BinaryKey="ScaExecute2" DllEntry="DropDatabase" Execute="rollback" Return="check" HideTarget="yes" SuppressModularization="yes" TerminalServerAware="yes" /> | ||
31 | <CustomAction Id="DropDatabase" BinaryKey="ScaExecute2" DllEntry="DropDatabase" Execute="deferred" Return="check" HideTarget="yes" SuppressModularization="yes" TerminalServerAware="yes" /> | ||
32 | <CustomAction Id="ExecuteSqlStrings" BinaryKey="ScaExecute2" DllEntry="ExecuteSqlStrings" Execute="deferred" Return="check" HideTarget="yes" SuppressModularization="yes" TerminalServerAware="yes" /> | ||
33 | <CustomAction Id="RollbackExecuteSqlStrings" BinaryKey="ScaExecute2" DllEntry="ExecuteSqlStrings" Execute="rollback" Return="check" HideTarget="yes" SuppressModularization="yes" TerminalServerAware="yes" /> | ||
34 | |||
35 | <InstallExecuteSequence> | ||
36 | <Custom Action="UninstallSqlData" Before="RemoveFiles" Overridable="yes">NOT SKIPUNINSTALLSQLDATA AND VersionNT > 400</Custom> | ||
37 | <Custom Action="InstallSqlData" After="InstallFiles" Overridable="yes">NOT SKIPINSTALLSQLDATA AND VersionNT > 400</Custom> | ||
38 | </InstallExecuteSequence> | ||
39 | </Fragment> | ||
40 | |||
41 | <!-- Server Custom Action DLL Definitions --> | ||
42 | <Fragment> | ||
43 | <Binary Id="ScaSchedule2" SourceFile="scasched.dll" /> | ||
44 | <Binary Id="ScaExecute2" SourceFile="scaexec.dll" /> | ||
45 | </Fragment> | ||
46 | </Wix> | ||
diff --git a/src/wixlib/de-de.wxl b/src/wixlib/de-de.wxl new file mode 100644 index 00000000..39a73e8c --- /dev/null +++ b/src/wixlib/de-de.wxl | |||
@@ -0,0 +1,17 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | |||
5 | <WixLocalization Culture="en-us" xmlns="http://wixtoolset.org/schemas/v4/wxl"> | ||
6 | <String Id="msierrSQLFailedCreateDatabase" Overridable="yes">Fehler [2]: Erstellen der SQL-Datenbank fehlgeschlagen: [3], Fehlerbeschreibung: [4].</String> | ||
7 | <String Id="msierrSQLFailedDropDatabase" Overridable="yes">Fehler [2]: Löschen der SQL-Datenbank fehlgeschlagen: [3], Fehlerbeschreibung: [4].</String> | ||
8 | <String Id="msierrSQLFailedConnectDatabase" Overridable="yes">Verbinden mit der SQL-Datenbank fehlgeschlagen. ([2] [3] [4] [5])</String> | ||
9 | <String Id="msierrSQLFailedExecString" Overridable="yes">Fehler [2]: Das Erstellen der SQL Zeichenfolge ist fehlgeschlagen, Fehlerbeschreibung: [3], SQL-Schlüssel: [4] SQL-Zeichenfolge: [5]</String> | ||
10 | <String Id="msierrSQLDatabaseAlreadyExists" Overridable="yes">Die Datenbank [3] existiert bereits. Wollen Sie fortfahren?</String> | ||
11 | |||
12 | <String Id="ConfigureSql" Overridable="yes">Konfiguriere SQL Server</String> | ||
13 | <String Id="CreateDatabase" Overridable="yes">Erstelle Datenbanken</String> | ||
14 | <String Id="DropDatabase" Overridable="yes">Lösche Datenbanken</String> | ||
15 | <String Id="ExecuteSqlStrings" Overridable="yes">SQL-Zeichenfolgen werden erstellt</String> | ||
16 | <String Id="RollbackExecuteSqlStrings" Overridable="yes">SQL-Zeichenfolgen werden zurückgesetzt</String> | ||
17 | </WixLocalization> | ||
diff --git a/src/wixlib/en-us.wxl b/src/wixlib/en-us.wxl new file mode 100644 index 00000000..d89b1c6c --- /dev/null +++ b/src/wixlib/en-us.wxl | |||
@@ -0,0 +1,17 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | |||
5 | <WixLocalization Culture="en-us" xmlns="http://wixtoolset.org/schemas/v4/wxl"> | ||
6 | <String Id="msierrSQLFailedCreateDatabase" Overridable="yes">Error [2]: failed to create SQL database: [3], error detail: [4].</String> | ||
7 | <String Id="msierrSQLFailedDropDatabase" Overridable="yes">Error [2]: failed to drop SQL database: [3], error detail: [4].</String> | ||
8 | <String Id="msierrSQLFailedConnectDatabase" Overridable="yes">Failed to connect to SQL database. ([2] [3] [4] [5])</String> | ||
9 | <String Id="msierrSQLFailedExecString" Overridable="yes">Error [2]: failed to execute SQL string, error detail: [3], SQL key: [4] SQL string: [5]</String> | ||
10 | <String Id="msierrSQLDatabaseAlreadyExists" Overridable="yes">The database [3] already exists. Do you want to continue?</String> | ||
11 | |||
12 | <String Id="ConfigureSql" Overridable="yes">Configuring SQL Server</String> | ||
13 | <String Id="CreateDatabase" Overridable="yes">Creating Databases</String> | ||
14 | <String Id="DropDatabase" Overridable="yes">Dropping Databases</String> | ||
15 | <String Id="ExecuteSqlStrings" Overridable="yes">Executing SQL Strings</String> | ||
16 | <String Id="RollbackExecuteSqlStrings" Overridable="yes">Rolling back SQL Strings</String> | ||
17 | </WixLocalization> | ||
diff --git a/src/wixlib/es-es.wxl b/src/wixlib/es-es.wxl new file mode 100644 index 00000000..bc5d0582 --- /dev/null +++ b/src/wixlib/es-es.wxl | |||
@@ -0,0 +1,18 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | |||
5 | <WixLocalization Culture="es-es" xmlns="http://wixtoolset.org/schemas/v4/wxl"> | ||
6 | <String Id="msierrSQLFailedCreateDatabase" Overridable="yes">Error [2]: falla al crear la base de datos SQL: [3], detalle del error: [4].</String> | ||
7 | <String Id="msierrSQLFailedDropDatabase" Overridable="yes">Error [2]: falla al poner la base de datos SQL: [3], detalle del error: [4].</String> | ||
8 | <String Id="msierrSQLFailedConnectDatabase" Overridable="yes">Falla al conectarse con la base de datos SQL. ([2] [3] [4] [5])</String> | ||
9 | <String Id="msierrSQLFailedExecString" Overridable="yes">Error [2]: falla al ejecutar la cadena SQL, detalle del error: [3], Clave SQL: [4] Cadena SQL: [5]</String> | ||
10 | <String Id="msierrSQLDatabaseAlreadyExists" Overridable="yes">La base de datos [3] ya existe. ¿Desea continuar?</String> | ||
11 | |||
12 | <String Id="ConfigureSql" Overridable="yes">Configurando SQL Server</String> | ||
13 | <String Id="CreateDatabase" Overridable="yes">Creando Bases de Datos</String> | ||
14 | <String Id="DropDatabase" Overridable="yes">Colocando Bases de Datos</String> | ||
15 | <String Id="ExecuteSqlStrings" Overridable="yes">Ejecutando cadenas SQL</String> | ||
16 | <String Id="RollbackExecuteSqlStrings" Overridable="yes">Revirtiendo cadenas SQL</String> | ||
17 | </WixLocalization> | ||
18 | |||
diff --git a/src/wixlib/ja-jp.wxl b/src/wixlib/ja-jp.wxl new file mode 100644 index 00000000..23c9aebe --- /dev/null +++ b/src/wixlib/ja-jp.wxl | |||
@@ -0,0 +1,17 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | |||
5 | <WixLocalization Culture="ja-jp" xmlns="http://wixtoolset.org/schemas/v4/wxl"> | ||
6 | <String Id="msierrSQLFailedCreateDatabase" Overridable="yes">エラー [2]: SQL データベース [3] 作成に失敗しました、エラー詳細: [4]。</String> | ||
7 | <String Id="msierrSQLFailedDropDatabase" Overridable="yes">エラー [2]: SQL データベース [3] の削除に失敗しました、エラー詳細: [4]。</String> | ||
8 | <String Id="msierrSQLFailedConnectDatabase" Overridable="yes">SQL データベースへ接続できませんでした。 ([2] [3] [4] [5])</String> | ||
9 | <String Id="msierrSQLFailedExecString" Overridable="yes">エラー [2]: SQL ストリングの実行に失敗しました、エラー詳細: [3]、 SQL キー: [4] SQL ストリング: [5]</String> | ||
10 | <String Id="msierrSQLDatabaseAlreadyExists" Overridable="yes">データベース [3] は既に存在します。続行しますか?</String> | ||
11 | |||
12 | <String Id="ConfigureSql" Overridable="yes">SQL サーバーを構成しています</String> | ||
13 | <String Id="CreateDatabase" Overridable="yes">データベースを作成しています</String> | ||
14 | <String Id="DropDatabase" Overridable="yes">データベースを削除しています</String> | ||
15 | <String Id="ExecuteSqlStrings" Overridable="yes">SQL ストリングを実行しています</String> | ||
16 | <String Id="RollbackExecuteSqlStrings" Overridable="yes">SQL ストリングをロールバックしています</String> | ||
17 | </WixLocalization> | ||
diff --git a/src/wixlib/pl-pl.wxl b/src/wixlib/pl-pl.wxl new file mode 100644 index 00000000..4f0c7f75 --- /dev/null +++ b/src/wixlib/pl-pl.wxl | |||
@@ -0,0 +1,17 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | |||
5 | <WixLocalization Culture="pl-pl" xmlns="http://wixtoolset.org/schemas/v4/wxl"> | ||
6 | <String Id="msierrSQLFailedCreateDatabase" Overridable="yes">Błąd [2]: nie udało się utworzyć bazy danych: [3]. Szczegóły błędu: [4].</String> | ||
7 | <String Id="msierrSQLFailedDropDatabase" Overridable="yes">Błąd [2]: nie udało się usunąć bazy danych: [3]. Szczegóły błędu: [4].</String> | ||
8 | <String Id="msierrSQLFailedConnectDatabase" Overridable="yes">Nie udało się połączyć z bazą danych. ([2] [3] [4] [5])</String> | ||
9 | <String Id="msierrSQLFailedExecString" Overridable="yes">Błąd [2]: nie udało się wykonać zapytania SQL. Szczegóły błędu: [3], klucz: [4] zapytanie SQL: [5]</String> | ||
10 | <String Id="msierrSQLDatabaseAlreadyExists" Overridable="yes">Baza danych [3] już istnieje. Czy chcesz kontynuować?</String> | ||
11 | |||
12 | <String Id="ConfigureSql" Overridable="yes">Konfigurowanie programu SQL Server</String> | ||
13 | <String Id="CreateDatabase" Overridable="yes">Tworzenie baz danych</String> | ||
14 | <String Id="DropDatabase" Overridable="yes">Usuwanie baz danych</String> | ||
15 | <String Id="ExecuteSqlStrings" Overridable="yes">Wykonywanie zapytań SQL</String> | ||
16 | <String Id="RollbackExecuteSqlStrings" Overridable="yes">Cofanie zapytań SQL</String> | ||
17 | </WixLocalization> | ||
diff --git a/src/wixlib/pt-br.wxl b/src/wixlib/pt-br.wxl new file mode 100644 index 00000000..63bbc21e --- /dev/null +++ b/src/wixlib/pt-br.wxl | |||
@@ -0,0 +1,17 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | |||
5 | <WixLocalization Culture="pt-br" xmlns="http://wixtoolset.org/schemas/v4/wxl"> | ||
6 | <String Id="msierrSQLFailedCreateDatabase" Overridable="yes">Error [2]: falha ao criar o Banco de Dados: [3], detalhes: [4].</String> | ||
7 | <String Id="msierrSQLFailedDropDatabase" Overridable="yes">Error [2]: falha ao remover o Banco de Dados: [3], detalhes: [4].</String> | ||
8 | <String Id="msierrSQLFailedConnectDatabase" Overridable="yes">Falhou a ligação ao Banco de Dados. ([2] [3] [4] [5])</String> | ||
9 | <String Id="msierrSQLFailedExecString" Overridable="yes">Erro [2]: falha ao executar o comando de SQL, detalhes: [3], Comando: [4] Conteúdo: [5]</String> | ||
10 | <String Id="msierrSQLDatabaseAlreadyExists" Overridable="yes">O Banco de Dados [3] já existe. Deseja continuar?</String> | ||
11 | |||
12 | <String Id="ConfigureSql" Overridable="yes">Configurando o Servidor de SQL</String> | ||
13 | <String Id="CreateDatabase" Overridable="yes">Criando os Bancos de Dados</String> | ||
14 | <String Id="DropDatabase" Overridable="yes">Removendo os Bancos de Dados</String> | ||
15 | <String Id="ExecuteSqlStrings" Overridable="yes">Executando comandos de SQL</String> | ||
16 | <String Id="RollbackExecuteSqlStrings" Overridable="yes">Revertendo os comandos de SQL</String> | ||
17 | </WixLocalization> | ||
diff --git a/src/wixlib/pt-pt.wxl b/src/wixlib/pt-pt.wxl new file mode 100644 index 00000000..28c43878 --- /dev/null +++ b/src/wixlib/pt-pt.wxl | |||
@@ -0,0 +1,17 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | |||
5 | <WixLocalization Culture="pt-pt" xmlns="http://wixtoolset.org/schemas/v4/wxl"> | ||
6 | <String Id="msierrSQLFailedCreateDatabase" Overridable="yes">Error [2]: falha ao criar a Base de Dados: [3], detalhes: [4].</String> | ||
7 | <String Id="msierrSQLFailedDropDatabase" Overridable="yes">Error [2]: falha ao remover a Base de Dados: [3], detalhes: [4].</String> | ||
8 | <String Id="msierrSQLFailedConnectDatabase" Overridable="yes">Falhou a ligação à Base de Dados. ([2] [3] [4] [5])</String> | ||
9 | <String Id="msierrSQLFailedExecString" Overridable="yes">Erro [2]: falha ao executar o comando de SQL, detalhes: [3], Comando: [4] Conteúdo: [5]</String> | ||
10 | <String Id="msierrSQLDatabaseAlreadyExists" Overridable="yes">A Base de Dados [3] já existe. Deseja continuar?</String> | ||
11 | |||
12 | <String Id="ConfigureSql" Overridable="yes">Configurar o Servidor de SQL</String> | ||
13 | <String Id="CreateDatabase" Overridable="yes">Criar as Bases de Dados</String> | ||
14 | <String Id="DropDatabase" Overridable="yes">Remover as Bases de Dados</String> | ||
15 | <String Id="ExecuteSqlStrings" Overridable="yes">Executar comandos de SQL</String> | ||
16 | <String Id="RollbackExecuteSqlStrings" Overridable="yes">Reverter os comandos de SQL</String> | ||
17 | </WixLocalization> | ||