aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-04-13 18:55:48 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-04-13 18:55:48 +1000
commit10f90c4a1fbac76278c3cccd565f7767060c8d5c (patch)
tree70435fd2478bcb39aa35f1e506597e0ed50069b4
parent2df59141a12979c9869ad2e62d01e9f7432e2f7c (diff)
downloadwix-10f90c4a1fbac76278c3cccd565f7767060c8d5c.tar.gz
wix-10f90c4a1fbac76278c3cccd565f7767060c8d5c.tar.bz2
wix-10f90c4a1fbac76278c3cccd565f7767060c8d5c.zip
Update dependencies.
-rw-r--r--appveyor.yml5
-rw-r--r--src/Cpp.Build.props18
-rw-r--r--src/wixext/SqlTableDefinitions.cs8
-rw-r--r--src/wixext/Tuples/SqlScriptTuple.cs4
-rw-r--r--src/wixext/Tuples/SqlStringTuple.cs4
-rw-r--r--src/wixlib/packages.config2
-rw-r--r--src/wixlib/sql.wixproj4
7 files changed, 16 insertions, 29 deletions
diff --git a/appveyor.yml b/appveyor.yml
index bbf880f0..7c686b04 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -3,6 +3,11 @@
3# Do NOT modify this file. Update the canonical version in Home\repo-template\src\appveyor.yml 3# Do NOT modify this file. Update the canonical version in Home\repo-template\src\appveyor.yml
4# then update all of the repos. 4# then update all of the repos.
5 5
6branches:
7 only:
8 - master
9 - develop
10
6image: Visual Studio 2019 11image: Visual Studio 2019
7 12
8version: 0.0.0.{build} 13version: 0.0.0.{build}
diff --git a/src/Cpp.Build.props b/src/Cpp.Build.props
index 44a042c7..9b7a1bb5 100644
--- a/src/Cpp.Build.props
+++ b/src/Cpp.Build.props
@@ -70,12 +70,6 @@
70 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 70 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
71 </ClCompile> 71 </ClCompile>
72 </ItemDefinitionGroup> 72 </ItemDefinitionGroup>
73 <ItemDefinitionGroup Condition=" '$(Configuration)'=='Debug' and '$(CLRSupport)'=='true' ">
74 <ClCompile>
75 <BasicRuntimeChecks></BasicRuntimeChecks>
76 <RuntimeLibrary>MultiThreadedDebugDll</RuntimeLibrary>
77 </ClCompile>
78 </ItemDefinitionGroup>
79 <ItemDefinitionGroup Condition=" '$(Configuration)'=='Release' "> 73 <ItemDefinitionGroup Condition=" '$(Configuration)'=='Release' ">
80 <ClCompile> 74 <ClCompile>
81 <Optimization>MinSpace</Optimization> 75 <Optimization>MinSpace</Optimization>
@@ -89,16 +83,4 @@
89 <OptimizeReferences>true</OptimizeReferences> 83 <OptimizeReferences>true</OptimizeReferences>
90 </Link> 84 </Link>
91 </ItemDefinitionGroup> 85 </ItemDefinitionGroup>
92 <ItemDefinitionGroup Condition=" '$(Configuration)'=='Release' and '$(CLRSupport)'=='true' ">
93 <ClCompile>
94 <BasicRuntimeChecks></BasicRuntimeChecks>
95 <RuntimeLibrary>MultiThreadedDll</RuntimeLibrary>
96 </ClCompile>
97 </ItemDefinitionGroup>
98 <ItemDefinitionGroup Condition=" '$(CLRSupport)'=='true' ">
99 <Link>
100 <KeyFile>$(LinkKeyFile)</KeyFile>
101 <DelaySign>$(LinkDelaySign)</DelaySign>
102 </Link>
103 </ItemDefinitionGroup>
104</Project> 86</Project>
diff --git a/src/wixext/SqlTableDefinitions.cs b/src/wixext/SqlTableDefinitions.cs
index e980aaae..3d1daee0 100644
--- a/src/wixext/SqlTableDefinitions.cs
+++ b/src/wixext/SqlTableDefinitions.cs
@@ -8,6 +8,7 @@ namespace WixToolset.Sql
8 { 8 {
9 public static readonly TableDefinition SqlDatabase = new TableDefinition( 9 public static readonly TableDefinition SqlDatabase = new TableDefinition(
10 "SqlDatabase", 10 "SqlDatabase",
11 SqlTupleDefinitions.SqlDatabase,
11 new[] 12 new[]
12 { 13 {
13 new ColumnDefinition("SqlDb", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), 14 new ColumnDefinition("SqlDb", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column),
@@ -20,12 +21,12 @@ namespace WixToolset.Sql
20 new ColumnDefinition("FileSpec_Log", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "SqlFileSpec", keyColumn: 1, description: "Foreign key referencing SqlFileSpec.", modularizeType: ColumnModularizeType.Column), 21 new ColumnDefinition("FileSpec_Log", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "SqlFileSpec", keyColumn: 1, description: "Foreign key referencing SqlFileSpec.", modularizeType: ColumnModularizeType.Column),
21 new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 255, description: "1 == create on install, 2 == drop on uninstall, 4 == continue on error, 8 == drop on install, 16 == create on uninstall, 32 == confirm update existing table, 64 == create on reinstall, 128 == drop on reinstall"), 22 new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 255, description: "1 == create on install, 2 == drop on uninstall, 4 == continue on error, 8 == drop on install, 16 == create on uninstall, 32 == confirm update existing table, 64 == create on reinstall, 128 == drop on reinstall"),
22 }, 23 },
23 tupleDefinitionName: "SqlDatabase",
24 tupleIdIsPrimaryKey: true 24 tupleIdIsPrimaryKey: true
25 ); 25 );
26 26
27 public static readonly TableDefinition SqlFileSpec = new TableDefinition( 27 public static readonly TableDefinition SqlFileSpec = new TableDefinition(
28 "SqlFileSpec", 28 "SqlFileSpec",
29 SqlTupleDefinitions.SqlFileSpec,
29 new[] 30 new[]
30 { 31 {
31 new ColumnDefinition("FileSpec", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), 32 new ColumnDefinition("FileSpec", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column),
@@ -35,12 +36,12 @@ namespace WixToolset.Sql
35 new ColumnDefinition("MaxSize", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Maximum size for file", modularizeType: ColumnModularizeType.Property), 36 new ColumnDefinition("MaxSize", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Maximum size for file", modularizeType: ColumnModularizeType.Property),
36 new ColumnDefinition("GrowthSize", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Size file should grow when necessary", modularizeType: ColumnModularizeType.Property), 37 new ColumnDefinition("GrowthSize", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Size file should grow when necessary", modularizeType: ColumnModularizeType.Property),
37 }, 38 },
38 tupleDefinitionName: "SqlFileSpec",
39 tupleIdIsPrimaryKey: true 39 tupleIdIsPrimaryKey: true
40 ); 40 );
41 41
42 public static readonly TableDefinition SqlScript = new TableDefinition( 42 public static readonly TableDefinition SqlScript = new TableDefinition(
43 "SqlScript", 43 "SqlScript",
44 SqlTupleDefinitions.SqlScript,
44 new[] 45 new[]
45 { 46 {
46 new ColumnDefinition("Script", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token"), 47 new ColumnDefinition("Script", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token"),
@@ -51,12 +52,12 @@ namespace WixToolset.Sql
51 new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, possibilities: "1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31", description: "1 == execute on install, 2 == execute on uninstall, 4 == continue on error, 8 == rollback on install, 16 == rollback on uninstall"), 52 new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, possibilities: "1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31", description: "1 == execute on install, 2 == execute on uninstall, 4 == continue on error, 8 == rollback on install, 16 == rollback on uninstall"),
52 new ColumnDefinition("Sequence", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Order to execute SQL Queries in"), 53 new ColumnDefinition("Sequence", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Order to execute SQL Queries in"),
53 }, 54 },
54 tupleDefinitionName: "SqlScript",
55 tupleIdIsPrimaryKey: true 55 tupleIdIsPrimaryKey: true
56 ); 56 );
57 57
58 public static readonly TableDefinition SqlString = new TableDefinition( 58 public static readonly TableDefinition SqlString = new TableDefinition(
59 "SqlString", 59 "SqlString",
60 SqlTupleDefinitions.SqlString,
60 new[] 61 new[]
61 { 62 {
62 new ColumnDefinition("String", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Id for the SqlString", modularizeType: ColumnModularizeType.Column), 63 new ColumnDefinition("String", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Id for the SqlString", modularizeType: ColumnModularizeType.Column),
@@ -67,7 +68,6 @@ namespace WixToolset.Sql
67 new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, possibilities: "1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31", description: "1 == execute on install, 2 == execute on uninstall, 4 == continue on error, 8 == rollback on install, 16 == rollback on uninstall"), 68 new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, possibilities: "1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31", description: "1 == execute on install, 2 == execute on uninstall, 4 == continue on error, 8 == rollback on install, 16 == rollback on uninstall"),
68 new ColumnDefinition("Sequence", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Order to execute SQL Queries in"), 69 new ColumnDefinition("Sequence", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Order to execute SQL Queries in"),
69 }, 70 },
70 tupleDefinitionName: "SqlString",
71 tupleIdIsPrimaryKey: true 71 tupleIdIsPrimaryKey: true
72 ); 72 );
73 73
diff --git a/src/wixext/Tuples/SqlScriptTuple.cs b/src/wixext/Tuples/SqlScriptTuple.cs
index de76d49d..6e4e484b 100644
--- a/src/wixext/Tuples/SqlScriptTuple.cs
+++ b/src/wixext/Tuples/SqlScriptTuple.cs
@@ -78,9 +78,9 @@ namespace WixToolset.Sql.Tuples
78 set => this.Set((int)SqlScriptTupleFields.Attributes, value); 78 set => this.Set((int)SqlScriptTupleFields.Attributes, value);
79 } 79 }
80 80
81 public int Sequence 81 public int? Sequence
82 { 82 {
83 get => this.Fields[(int)SqlScriptTupleFields.Sequence].AsNumber(); 83 get => this.Fields[(int)SqlScriptTupleFields.Sequence].AsNullableNumber();
84 set => this.Set((int)SqlScriptTupleFields.Sequence, value); 84 set => this.Set((int)SqlScriptTupleFields.Sequence, value);
85 } 85 }
86 } 86 }
diff --git a/src/wixext/Tuples/SqlStringTuple.cs b/src/wixext/Tuples/SqlStringTuple.cs
index 77882d33..7a73f271 100644
--- a/src/wixext/Tuples/SqlStringTuple.cs
+++ b/src/wixext/Tuples/SqlStringTuple.cs
@@ -78,9 +78,9 @@ namespace WixToolset.Sql.Tuples
78 set => this.Set((int)SqlStringTupleFields.Attributes, value); 78 set => this.Set((int)SqlStringTupleFields.Attributes, value);
79 } 79 }
80 80
81 public int Sequence 81 public int? Sequence
82 { 82 {
83 get => this.Fields[(int)SqlStringTupleFields.Sequence].AsNumber(); 83 get => this.Fields[(int)SqlStringTupleFields.Sequence].AsNullableNumber();
84 set => this.Set((int)SqlStringTupleFields.Sequence, value); 84 set => this.Set((int)SqlStringTupleFields.Sequence, value);
85 } 85 }
86 } 86 }
diff --git a/src/wixlib/packages.config b/src/wixlib/packages.config
index d73f4d3a..1e5a9850 100644
--- a/src/wixlib/packages.config
+++ b/src/wixlib/packages.config
@@ -1,5 +1,5 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2<packages> 2<packages>
3 <package id="Nerdbank.GitVersioning" version="2.1.65" developmentDependency="true" targetFramework="net40" /> 3 <package id="Nerdbank.GitVersioning" version="2.1.65" developmentDependency="true" targetFramework="net40" />
4 <package id="WixToolset.MSBuild" version="4.0.0-build-0083" developmentDependency="true" targetFramework="net40" /> 4 <package id="WixToolset.MSBuild" version="4.0.0-build-0086" developmentDependency="true" targetFramework="net40" />
5</packages> \ No newline at end of file 5</packages> \ No newline at end of file
diff --git a/src/wixlib/sql.wixproj b/src/wixlib/sql.wixproj
index 7274acff..e4efb34e 100644
--- a/src/wixlib/sql.wixproj
+++ b/src/wixlib/sql.wixproj
@@ -1,7 +1,7 @@
1<?xml version="1.0" encoding="utf-8"?> 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. --> 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<Project DefaultTargets="Build" InitialTargets="EnsureWixToolsetInstalled" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="15.0"> 3<Project DefaultTargets="Build" InitialTargets="EnsureWixToolsetInstalled" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="15.0">
4 <Import Project="..\..\packages\WixToolset.MSBuild.4.0.0-build-0083\build\WixToolset.MSBuild.props" Condition="Exists('..\..\packages\WixToolset.MSBuild.4.0.0-build-0083\build\WixToolset.MSBuild.props')" /> 4 <Import Project="..\..\packages\WixToolset.MSBuild.4.0.0-build-0086\build\WixToolset.MSBuild.props" Condition="Exists('..\..\packages\WixToolset.MSBuild.4.0.0-build-0086\build\WixToolset.MSBuild.props')" />
5 <Import Project="..\FindLocalWix.props" /> 5 <Import Project="..\FindLocalWix.props" />
6 <PropertyGroup> 6 <PropertyGroup>
7 <ProjectGuid>{9ACF1A20-D801-45CC-A463-F9D13E506AA3}</ProjectGuid> 7 <ProjectGuid>{9ACF1A20-D801-45CC-A463-F9D13E506AA3}</ProjectGuid>
@@ -40,7 +40,7 @@
40 <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> 40 <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
41 </PropertyGroup> 41 </PropertyGroup>
42 <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets'))" /> 42 <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets'))" />
43 <Error Condition="!Exists('..\..\packages\WixToolset.MSBuild.4.0.0-build-0083\build\WixToolset.MSBuild.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.MSBuild.4.0.0-build-0083\build\WixToolset.MSBuild.props'))" /> 43 <Error Condition="!Exists('..\..\packages\WixToolset.MSBuild.4.0.0-build-0086\build\WixToolset.MSBuild.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.MSBuild.4.0.0-build-0086\build\WixToolset.MSBuild.props'))" />
44 </Target> 44 </Target>
45 <Import Project="..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" /> 45 <Import Project="..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" />
46</Project> \ No newline at end of file 46</Project> \ No newline at end of file