diff options
-rw-r--r-- | appveyor.yml | 5 | ||||
-rw-r--r-- | src/Cpp.Build.props | 18 | ||||
-rw-r--r-- | src/test/WixToolsetTest.Iis/IisExtensionFixture.cs | 2 | ||||
-rw-r--r-- | src/wixext/IisTableDefinitions.cs | 36 | ||||
-rw-r--r-- | src/wixext/Tuples/IIsAppPoolTuple.cs | 28 | ||||
-rw-r--r-- | src/wixext/Tuples/IIsFilterTuple.cs | 4 | ||||
-rw-r--r-- | src/wixext/Tuples/IIsHttpHeaderTuple.cs | 4 | ||||
-rw-r--r-- | src/wixext/Tuples/IIsWebAddressTuple.cs | 4 | ||||
-rw-r--r-- | src/wixext/Tuples/IIsWebApplicationTuple.cs | 28 | ||||
-rw-r--r-- | src/wixext/Tuples/IIsWebDirPropertiesTuple.cs | 36 | ||||
-rw-r--r-- | src/wixext/Tuples/IIsWebSiteTuple.cs | 12 | ||||
-rw-r--r-- | src/wixlib/iis.wixproj | 4 | ||||
-rw-r--r-- | src/wixlib/packages.config | 2 |
13 files changed, 85 insertions, 98 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 | ||
6 | branches: | ||
7 | only: | ||
8 | - master | ||
9 | - develop | ||
10 | |||
6 | image: Visual Studio 2019 | 11 | image: Visual Studio 2019 |
7 | 12 | ||
8 | version: 0.0.0.{build} | 13 | version: 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/test/WixToolsetTest.Iis/IisExtensionFixture.cs b/src/test/WixToolsetTest.Iis/IisExtensionFixture.cs index 5aa3f866..685e7126 100644 --- a/src/test/WixToolsetTest.Iis/IisExtensionFixture.cs +++ b/src/test/WixToolsetTest.Iis/IisExtensionFixture.cs | |||
@@ -20,7 +20,7 @@ namespace WixToolsetTest.Iis | |||
20 | Assert.Equal(new[] | 20 | Assert.Equal(new[] |
21 | { | 21 | { |
22 | "IIsWebAddress:TestAddress\tTest\t\t[PORT]\t\t0", | 22 | "IIsWebAddress:TestAddress\tTest\t\t[PORT]\t\t0", |
23 | }, results.OrderBy(s => s).ToArray()); | 23 | }, results); |
24 | } | 24 | } |
25 | 25 | ||
26 | private static void Build(string[] args) | 26 | private static void Build(string[] args) |
diff --git a/src/wixext/IisTableDefinitions.cs b/src/wixext/IisTableDefinitions.cs index eebfd26a..6c887e96 100644 --- a/src/wixext/IisTableDefinitions.cs +++ b/src/wixext/IisTableDefinitions.cs | |||
@@ -8,6 +8,7 @@ namespace WixToolset.Iis | |||
8 | { | 8 | { |
9 | public static readonly TableDefinition Certificate = new TableDefinition( | 9 | public static readonly TableDefinition Certificate = new TableDefinition( |
10 | "Certificate", | 10 | "Certificate", |
11 | IisTupleDefinitions.Certificate, | ||
11 | new[] | 12 | new[] |
12 | { | 13 | { |
13 | new ColumnDefinition("Certificate", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyColumn: 1, description: "Identifier for the certificate in the package.", modularizeType: ColumnModularizeType.Column), | 14 | new ColumnDefinition("Certificate", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyColumn: 1, description: "Identifier for the certificate in the package.", modularizeType: ColumnModularizeType.Column), |
@@ -20,34 +21,34 @@ namespace WixToolset.Iis | |||
20 | new ColumnDefinition("CertificatePath", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Property to path of certificate.", modularizeType: ColumnModularizeType.Property), | 21 | new ColumnDefinition("CertificatePath", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Property to path of certificate.", modularizeType: ColumnModularizeType.Property), |
21 | new ColumnDefinition("PFXPassword", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Hidden property to a pfx password", modularizeType: ColumnModularizeType.Property), | 22 | new ColumnDefinition("PFXPassword", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Hidden property to a pfx password", modularizeType: ColumnModularizeType.Property), |
22 | }, | 23 | }, |
23 | tupleDefinitionName: "Certificate", | ||
24 | tupleIdIsPrimaryKey: true | 24 | tupleIdIsPrimaryKey: true |
25 | ); | 25 | ); |
26 | 26 | ||
27 | public static readonly TableDefinition CertificateHash = new TableDefinition( | 27 | public static readonly TableDefinition CertificateHash = new TableDefinition( |
28 | "CertificateHash", | 28 | "CertificateHash", |
29 | IisTupleDefinitions.CertificateHash, | ||
29 | new[] | 30 | new[] |
30 | { | 31 | { |
31 | new ColumnDefinition("Certificate_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyColumn: 1, description: "Foreign key to certificate in Certificate table.", modularizeType: ColumnModularizeType.Column), | 32 | new ColumnDefinition("Certificate_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyColumn: 1, description: "Foreign key to certificate in Certificate table.", modularizeType: ColumnModularizeType.Column), |
32 | new ColumnDefinition("Hash", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Base64 encoded SHA1 hash of certificate populated at run-time."), | 33 | new ColumnDefinition("Hash", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Base64 encoded SHA1 hash of certificate populated at run-time."), |
33 | }, | 34 | }, |
34 | tupleDefinitionName: "CertificateHash", | ||
35 | tupleIdIsPrimaryKey: false | 35 | tupleIdIsPrimaryKey: false |
36 | ); | 36 | ); |
37 | 37 | ||
38 | public static readonly TableDefinition IIsWebSiteCertificates = new TableDefinition( | 38 | public static readonly TableDefinition IIsWebSiteCertificates = new TableDefinition( |
39 | "IIsWebSiteCertificates", | 39 | "IIsWebSiteCertificates", |
40 | IisTupleDefinitions.IIsWebSiteCertificates, | ||
40 | new[] | 41 | new[] |
41 | { | 42 | { |
42 | new ColumnDefinition("Web_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "IIsWebSite", keyColumn: 1, description: "The index into the IIsWebSite table.", modularizeType: ColumnModularizeType.Column), | 43 | new ColumnDefinition("Web_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "IIsWebSite", keyColumn: 1, description: "The index into the IIsWebSite table.", modularizeType: ColumnModularizeType.Column), |
43 | new ColumnDefinition("Certificate_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Text, keyTable: "Certificate", keyColumn: 1, description: "The index into the Certificate table.", modularizeType: ColumnModularizeType.Column), | 44 | new ColumnDefinition("Certificate_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Text, keyTable: "Certificate", keyColumn: 1, description: "The index into the Certificate table.", modularizeType: ColumnModularizeType.Column), |
44 | }, | 45 | }, |
45 | tupleDefinitionName: "IIsWebSiteCertificates", | ||
46 | tupleIdIsPrimaryKey: false | 46 | tupleIdIsPrimaryKey: false |
47 | ); | 47 | ); |
48 | 48 | ||
49 | public static readonly TableDefinition IIsAppPool = new TableDefinition( | 49 | public static readonly TableDefinition IIsAppPool = new TableDefinition( |
50 | "IIsAppPool", | 50 | "IIsAppPool", |
51 | IisTupleDefinitions.IIsAppPool, | ||
51 | new[] | 52 | new[] |
52 | { | 53 | { |
53 | new ColumnDefinition("AppPool", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for apppool", modularizeType: ColumnModularizeType.Column), | 54 | new ColumnDefinition("AppPool", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for apppool", modularizeType: ColumnModularizeType.Column), |
@@ -67,12 +68,12 @@ namespace WixToolset.Iis | |||
67 | new ColumnDefinition("ManagedRuntimeVersion", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Specifies the .NET Framework version to be used by the application pool."), | 68 | new ColumnDefinition("ManagedRuntimeVersion", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Specifies the .NET Framework version to be used by the application pool."), |
68 | new ColumnDefinition("ManagedPipelineMode", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Specifies the request-processing mode that is used to process requests for managed content."), | 69 | new ColumnDefinition("ManagedPipelineMode", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Specifies the request-processing mode that is used to process requests for managed content."), |
69 | }, | 70 | }, |
70 | tupleDefinitionName: "IIsAppPool", | ||
71 | tupleIdIsPrimaryKey: true | 71 | tupleIdIsPrimaryKey: true |
72 | ); | 72 | ); |
73 | 73 | ||
74 | public static readonly TableDefinition IIsMimeMap = new TableDefinition( | 74 | public static readonly TableDefinition IIsMimeMap = new TableDefinition( |
75 | "IIsMimeMap", | 75 | "IIsMimeMap", |
76 | IisTupleDefinitions.IIsMimeMap, | ||
76 | new[] | 77 | new[] |
77 | { | 78 | { |
78 | new ColumnDefinition("MimeMap", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for Mime Map definitions", modularizeType: ColumnModularizeType.Column), | 79 | new ColumnDefinition("MimeMap", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for Mime Map definitions", modularizeType: ColumnModularizeType.Column), |
@@ -81,12 +82,12 @@ namespace WixToolset.Iis | |||
81 | new ColumnDefinition("MimeType", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Text, description: "Mime-type covered by the MimeMap."), | 82 | new ColumnDefinition("MimeType", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Text, description: "Mime-type covered by the MimeMap."), |
82 | new ColumnDefinition("Extension", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Text, description: "Extension covered by the MimeMap."), | 83 | new ColumnDefinition("Extension", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Text, description: "Extension covered by the MimeMap."), |
83 | }, | 84 | }, |
84 | tupleDefinitionName: "IIsMimeMap", | ||
85 | tupleIdIsPrimaryKey: true | 85 | tupleIdIsPrimaryKey: true |
86 | ); | 86 | ); |
87 | 87 | ||
88 | public static readonly TableDefinition IIsProperty = new TableDefinition( | 88 | public static readonly TableDefinition IIsProperty = new TableDefinition( |
89 | "IIsProperty", | 89 | "IIsProperty", |
90 | IisTupleDefinitions.IIsProperty, | ||
90 | new[] | 91 | new[] |
91 | { | 92 | { |
92 | new ColumnDefinition("Property", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Unique name of the IIsProperty"), | 93 | new ColumnDefinition("Property", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Unique name of the IIsProperty"), |
@@ -94,12 +95,12 @@ namespace WixToolset.Iis | |||
94 | new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, description: "Attributes of the IIsProperty (unused)"), | 95 | new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, description: "Attributes of the IIsProperty (unused)"), |
95 | new ColumnDefinition("Value", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Value of the IIsProperty"), | 96 | new ColumnDefinition("Value", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Value of the IIsProperty"), |
96 | }, | 97 | }, |
97 | tupleDefinitionName: "IIsProperty", | ||
98 | tupleIdIsPrimaryKey: true | 98 | tupleIdIsPrimaryKey: true |
99 | ); | 99 | ); |
100 | 100 | ||
101 | public static readonly TableDefinition IIsWebDirProperties = new TableDefinition( | 101 | public static readonly TableDefinition IIsWebDirProperties = new TableDefinition( |
102 | "IIsWebDirProperties", | 102 | "IIsWebDirProperties", |
103 | IisTupleDefinitions.IIsWebDirProperties, | ||
103 | new[] | 104 | new[] |
104 | { | 105 | { |
105 | new ColumnDefinition("DirProperties", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for Web Properties", modularizeType: ColumnModularizeType.Column), | 106 | new ColumnDefinition("DirProperties", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for Web Properties", modularizeType: ColumnModularizeType.Column), |
@@ -118,12 +119,12 @@ namespace WixToolset.Iis | |||
118 | new ColumnDefinition("AccessSSLFlags", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Specifies AccessSSLFlags IIS metabase property."), | 119 | new ColumnDefinition("AccessSSLFlags", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Specifies AccessSSLFlags IIS metabase property."), |
119 | new ColumnDefinition("AuthenticationProviders", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Comma delimited list, in order of precedence, of Windows authentication providers that IIS will attempt to use: NTLM, Kerberos, Negotiate, and others."), | 120 | new ColumnDefinition("AuthenticationProviders", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Comma delimited list, in order of precedence, of Windows authentication providers that IIS will attempt to use: NTLM, Kerberos, Negotiate, and others."), |
120 | }, | 121 | }, |
121 | tupleDefinitionName: "IIsWebDirProperties", | ||
122 | tupleIdIsPrimaryKey: true | 122 | tupleIdIsPrimaryKey: true |
123 | ); | 123 | ); |
124 | 124 | ||
125 | public static readonly TableDefinition IIsWebAddress = new TableDefinition( | 125 | public static readonly TableDefinition IIsWebAddress = new TableDefinition( |
126 | "IIsWebAddress", | 126 | "IIsWebAddress", |
127 | IisTupleDefinitions.IIsWebAddress, | ||
127 | new[] | 128 | new[] |
128 | { | 129 | { |
129 | new ColumnDefinition("Address", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), | 130 | new ColumnDefinition("Address", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), |
@@ -133,12 +134,12 @@ namespace WixToolset.Iis | |||
133 | new ColumnDefinition("Header", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Special header information for the web site"), | 134 | new ColumnDefinition("Header", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Special header information for the web site"), |
134 | new ColumnDefinition("Secure", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, possibilities: "0;1", description: "Specifies whether SSL is used to communicate with web site"), | 135 | new ColumnDefinition("Secure", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, possibilities: "0;1", description: "Specifies whether SSL is used to communicate with web site"), |
135 | }, | 136 | }, |
136 | tupleDefinitionName: "IIsWebAddress", | ||
137 | tupleIdIsPrimaryKey: true | 137 | tupleIdIsPrimaryKey: true |
138 | ); | 138 | ); |
139 | 139 | ||
140 | public static readonly TableDefinition IIsWebSite = new TableDefinition( | 140 | public static readonly TableDefinition IIsWebSite = new TableDefinition( |
141 | "IIsWebSite", | 141 | "IIsWebSite", |
142 | IisTupleDefinitions.IIsWebSite, | ||
142 | new[] | 143 | new[] |
143 | { | 144 | { |
144 | new ColumnDefinition("Web", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), | 145 | new ColumnDefinition("Web", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), |
@@ -155,12 +156,12 @@ namespace WixToolset.Iis | |||
155 | new ColumnDefinition("Log_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, keyTable: "IIsWebLog", keyColumn: 1, description: "Foreign key reference to IIsWebLog data", modularizeType: ColumnModularizeType.Column), | 156 | new ColumnDefinition("Log_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, keyTable: "IIsWebLog", keyColumn: 1, description: "Foreign key reference to IIsWebLog data", modularizeType: ColumnModularizeType.Column), |
156 | new ColumnDefinition("Id", ColumnType.String, 74, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Optional number or formatted value that resolves to number that acts as the WebSite Id."), | 157 | new ColumnDefinition("Id", ColumnType.String, 74, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Optional number or formatted value that resolves to number that acts as the WebSite Id."), |
157 | }, | 158 | }, |
158 | tupleDefinitionName: "IIsWebSite", | ||
159 | tupleIdIsPrimaryKey: true | 159 | tupleIdIsPrimaryKey: true |
160 | ); | 160 | ); |
161 | 161 | ||
162 | public static readonly TableDefinition IIsWebApplication = new TableDefinition( | 162 | public static readonly TableDefinition IIsWebApplication = new TableDefinition( |
163 | "IIsWebApplication", | 163 | "IIsWebApplication", |
164 | IisTupleDefinitions.IIsWebApplication, | ||
164 | new[] | 165 | new[] |
165 | { | 166 | { |
166 | new ColumnDefinition("Application", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for ASP Application", modularizeType: ColumnModularizeType.Column), | 167 | new ColumnDefinition("Application", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for ASP Application", modularizeType: ColumnModularizeType.Column), |
@@ -176,12 +177,12 @@ namespace WixToolset.Iis | |||
176 | new ColumnDefinition("ClientDebugging", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, possibilities: "0;1", description: "Specifies whether to allow ASP client-side script debugging"), | 177 | new ColumnDefinition("ClientDebugging", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, possibilities: "0;1", description: "Specifies whether to allow ASP client-side script debugging"), |
177 | new ColumnDefinition("AppPool_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsAppPool", keyColumn: 1, description: "App Pool this application should run under", modularizeType: ColumnModularizeType.Column), | 178 | new ColumnDefinition("AppPool_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsAppPool", keyColumn: 1, description: "App Pool this application should run under", modularizeType: ColumnModularizeType.Column), |
178 | }, | 179 | }, |
179 | tupleDefinitionName: "IIsWebApplication", | ||
180 | tupleIdIsPrimaryKey: true | 180 | tupleIdIsPrimaryKey: true |
181 | ); | 181 | ); |
182 | 182 | ||
183 | public static readonly TableDefinition IIsWebApplicationExtension = new TableDefinition( | 183 | public static readonly TableDefinition IIsWebApplicationExtension = new TableDefinition( |
184 | "IIsWebApplicationExtension", | 184 | "IIsWebApplicationExtension", |
185 | IisTupleDefinitions.IIsWebApplicationExtension, | ||
185 | new[] | 186 | new[] |
186 | { | 187 | { |
187 | new ColumnDefinition("Application_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "IIsWebApplication", keyColumn: 1, description: "Foreign key referencing possible ASP application for the web site", modularizeType: ColumnModularizeType.Column), | 188 | new ColumnDefinition("Application_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "IIsWebApplication", keyColumn: 1, description: "Foreign key referencing possible ASP application for the web site", modularizeType: ColumnModularizeType.Column), |
@@ -190,12 +191,12 @@ namespace WixToolset.Iis | |||
190 | new ColumnDefinition("Executable", ColumnType.String, 255, primaryKey: false, nullable: false, ColumnCategory.Formatted, description: "Path to extension (usually file property: [#file])", modularizeType: ColumnModularizeType.Property), | 191 | new ColumnDefinition("Executable", ColumnType.String, 255, primaryKey: false, nullable: false, ColumnCategory.Formatted, description: "Path to extension (usually file property: [#file])", modularizeType: ColumnModularizeType.Property), |
191 | new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, possibilities: "1;4;5", description: "Attributes for extension: 1 == Script, 4 == Check Path Info"), | 192 | new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, possibilities: "1;4;5", description: "Attributes for extension: 1 == Script, 4 == Check Path Info"), |
192 | }, | 193 | }, |
193 | tupleDefinitionName: "IIsWebApplicationExtension", | ||
194 | tupleIdIsPrimaryKey: false | 194 | tupleIdIsPrimaryKey: false |
195 | ); | 195 | ); |
196 | 196 | ||
197 | public static readonly TableDefinition IIsFilter = new TableDefinition( | 197 | public static readonly TableDefinition IIsFilter = new TableDefinition( |
198 | "IIsFilter", | 198 | "IIsFilter", |
199 | IisTupleDefinitions.IIsFilter, | ||
199 | new[] | 200 | new[] |
200 | { | 201 | { |
201 | new ColumnDefinition("Filter", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), | 202 | new ColumnDefinition("Filter", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), |
@@ -207,12 +208,12 @@ namespace WixToolset.Iis | |||
207 | new ColumnDefinition("Flags", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647, description: "What do all these numbers mean?"), | 208 | new ColumnDefinition("Flags", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647, description: "What do all these numbers mean?"), |
208 | new ColumnDefinition("LoadOrder", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "-1 == last in order, 0 == first in order, # == place in order"), | 209 | new ColumnDefinition("LoadOrder", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "-1 == last in order, 0 == first in order, # == place in order"), |
209 | }, | 210 | }, |
210 | tupleDefinitionName: "IIsFilter", | ||
211 | tupleIdIsPrimaryKey: true | 211 | tupleIdIsPrimaryKey: true |
212 | ); | 212 | ); |
213 | 213 | ||
214 | public static readonly TableDefinition IIsWebDir = new TableDefinition( | 214 | public static readonly TableDefinition IIsWebDir = new TableDefinition( |
215 | "IIsWebDir", | 215 | "IIsWebDir", |
216 | IisTupleDefinitions.IIsWebDir, | ||
216 | new[] | 217 | new[] |
217 | { | 218 | { |
218 | new ColumnDefinition("WebDir", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), | 219 | new ColumnDefinition("WebDir", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), |
@@ -222,12 +223,12 @@ namespace WixToolset.Iis | |||
222 | new ColumnDefinition("DirProperties_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebDirProperties", keyColumn: 1, description: "Foreign key referencing possible security information for the virtual directory", modularizeType: ColumnModularizeType.Column), | 223 | new ColumnDefinition("DirProperties_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebDirProperties", keyColumn: 1, description: "Foreign key referencing possible security information for the virtual directory", modularizeType: ColumnModularizeType.Column), |
223 | new ColumnDefinition("Application_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebApplication", keyColumn: 1, description: "Foreign key referencing possible ASP application for the virtual directory. This column is currently unused, but maintained for compatibility reasons.", modularizeType: ColumnModularizeType.Column), | 224 | new ColumnDefinition("Application_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebApplication", keyColumn: 1, description: "Foreign key referencing possible ASP application for the virtual directory. This column is currently unused, but maintained for compatibility reasons.", modularizeType: ColumnModularizeType.Column), |
224 | }, | 225 | }, |
225 | tupleDefinitionName: "IIsWebDir", | ||
226 | tupleIdIsPrimaryKey: true | 226 | tupleIdIsPrimaryKey: true |
227 | ); | 227 | ); |
228 | 228 | ||
229 | public static readonly TableDefinition IIsWebError = new TableDefinition( | 229 | public static readonly TableDefinition IIsWebError = new TableDefinition( |
230 | "IIsWebError", | 230 | "IIsWebError", |
231 | IisTupleDefinitions.IIsWebError, | ||
231 | new[] | 232 | new[] |
232 | { | 233 | { |
233 | new ColumnDefinition("ErrorCode", ColumnType.Number, 2, primaryKey: true, nullable: false, ColumnCategory.Unknown, minValue: 400, maxValue: 599, description: "HTTP status code indicating error."), | 234 | new ColumnDefinition("ErrorCode", ColumnType.Number, 2, primaryKey: true, nullable: false, ColumnCategory.Unknown, minValue: 400, maxValue: 599, description: "HTTP status code indicating error."), |
@@ -237,12 +238,12 @@ namespace WixToolset.Iis | |||
237 | new ColumnDefinition("File", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Path to file for this custom error (usually file property: [#file]). Must be null if URL is not null."), | 238 | new ColumnDefinition("File", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Path to file for this custom error (usually file property: [#file]). Must be null if URL is not null."), |
238 | new ColumnDefinition("URL", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "URL for this custom error. Must be null if File is not null."), | 239 | new ColumnDefinition("URL", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "URL for this custom error. Must be null if File is not null."), |
239 | }, | 240 | }, |
240 | tupleDefinitionName: "IIsWebError", | ||
241 | tupleIdIsPrimaryKey: false | 241 | tupleIdIsPrimaryKey: false |
242 | ); | 242 | ); |
243 | 243 | ||
244 | public static readonly TableDefinition IIsHttpHeader = new TableDefinition( | 244 | public static readonly TableDefinition IIsHttpHeader = new TableDefinition( |
245 | "IIsHttpHeader", | 245 | "IIsHttpHeader", |
246 | IisTupleDefinitions.IIsHttpHeader, | ||
246 | new[] | 247 | new[] |
247 | { | 248 | { |
248 | new ColumnDefinition("HttpHeader", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), | 249 | new ColumnDefinition("HttpHeader", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), |
@@ -253,12 +254,12 @@ namespace WixToolset.Iis | |||
253 | new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 0, description: "Attributes for HTTP Header: none"), | 254 | new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 0, description: "Attributes for HTTP Header: none"), |
254 | new ColumnDefinition("Sequence", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Order to add the HTTP Headers."), | 255 | new ColumnDefinition("Sequence", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Order to add the HTTP Headers."), |
255 | }, | 256 | }, |
256 | tupleDefinitionName: "IIsHttpHeader", | ||
257 | tupleIdIsPrimaryKey: false | 257 | tupleIdIsPrimaryKey: false |
258 | ); | 258 | ); |
259 | 259 | ||
260 | public static readonly TableDefinition IIsWebServiceExtension = new TableDefinition( | 260 | public static readonly TableDefinition IIsWebServiceExtension = new TableDefinition( |
261 | "IIsWebServiceExtension", | 261 | "IIsWebServiceExtension", |
262 | IisTupleDefinitions.IIsWebServiceExtension, | ||
262 | new[] | 263 | new[] |
263 | { | 264 | { |
264 | new ColumnDefinition("WebServiceExtension", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), | 265 | new ColumnDefinition("WebServiceExtension", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), |
@@ -268,12 +269,12 @@ namespace WixToolset.Iis | |||
268 | new ColumnDefinition("Group", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "String used to identify groups of extensions.", modularizeType: ColumnModularizeType.Property), | 269 | new ColumnDefinition("Group", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "String used to identify groups of extensions.", modularizeType: ColumnModularizeType.Property), |
269 | new ColumnDefinition("Attributes", ColumnType.Number, 1, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 3, description: "Attributes for WebServiceExtension: 1 = Allow, 2 = UIDeletable"), | 270 | new ColumnDefinition("Attributes", ColumnType.Number, 1, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 3, description: "Attributes for WebServiceExtension: 1 = Allow, 2 = UIDeletable"), |
270 | }, | 271 | }, |
271 | tupleDefinitionName: "IIsWebServiceExtension", | ||
272 | tupleIdIsPrimaryKey: true | 272 | tupleIdIsPrimaryKey: true |
273 | ); | 273 | ); |
274 | 274 | ||
275 | public static readonly TableDefinition IIsWebVirtualDir = new TableDefinition( | 275 | public static readonly TableDefinition IIsWebVirtualDir = new TableDefinition( |
276 | "IIsWebVirtualDir", | 276 | "IIsWebVirtualDir", |
277 | IisTupleDefinitions.IIsWebVirtualDir, | ||
277 | new[] | 278 | new[] |
278 | { | 279 | { |
279 | new ColumnDefinition("VirtualDir", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), | 280 | new ColumnDefinition("VirtualDir", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), |
@@ -284,18 +285,17 @@ namespace WixToolset.Iis | |||
284 | new ColumnDefinition("DirProperties_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebDirProperties", keyColumn: 1, description: "Foreign key referencing possible security information for the virtual directory", modularizeType: ColumnModularizeType.Column), | 285 | new ColumnDefinition("DirProperties_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebDirProperties", keyColumn: 1, description: "Foreign key referencing possible security information for the virtual directory", modularizeType: ColumnModularizeType.Column), |
285 | new ColumnDefinition("Application_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebApplication", keyColumn: 1, description: "Foreign key referencing possible ASP application for the virtual directory", modularizeType: ColumnModularizeType.Column), | 286 | new ColumnDefinition("Application_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebApplication", keyColumn: 1, description: "Foreign key referencing possible ASP application for the virtual directory", modularizeType: ColumnModularizeType.Column), |
286 | }, | 287 | }, |
287 | tupleDefinitionName: "IIsWebVirtualDir", | ||
288 | tupleIdIsPrimaryKey: true | 288 | tupleIdIsPrimaryKey: true |
289 | ); | 289 | ); |
290 | 290 | ||
291 | public static readonly TableDefinition IIsWebLog = new TableDefinition( | 291 | public static readonly TableDefinition IIsWebLog = new TableDefinition( |
292 | "IIsWebLog", | 292 | "IIsWebLog", |
293 | IisTupleDefinitions.IIsWebLog, | ||
293 | new[] | 294 | new[] |
294 | { | 295 | { |
295 | new ColumnDefinition("Log", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), | 296 | new ColumnDefinition("Log", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), |
296 | new ColumnDefinition("Format", ColumnType.String, 255, primaryKey: false, nullable: false, ColumnCategory.Text, description: "Type of log format"), | 297 | new ColumnDefinition("Format", ColumnType.String, 255, primaryKey: false, nullable: false, ColumnCategory.Text, description: "Type of log format"), |
297 | }, | 298 | }, |
298 | tupleDefinitionName: "IIsWebLog", | ||
299 | tupleIdIsPrimaryKey: true | 299 | tupleIdIsPrimaryKey: true |
300 | ); | 300 | ); |
301 | 301 | ||
diff --git a/src/wixext/Tuples/IIsAppPoolTuple.cs b/src/wixext/Tuples/IIsAppPoolTuple.cs index d14ec7ad..ee8dca51 100644 --- a/src/wixext/Tuples/IIsAppPoolTuple.cs +++ b/src/wixext/Tuples/IIsAppPoolTuple.cs | |||
@@ -90,15 +90,15 @@ namespace WixToolset.Iis.Tuples | |||
90 | set => this.Set((int)IIsAppPoolTupleFields.UserRef, value); | 90 | set => this.Set((int)IIsAppPoolTupleFields.UserRef, value); |
91 | } | 91 | } |
92 | 92 | ||
93 | public int RecycleMinutes | 93 | public int? RecycleMinutes |
94 | { | 94 | { |
95 | get => this.Fields[(int)IIsAppPoolTupleFields.RecycleMinutes].AsNumber(); | 95 | get => this.Fields[(int)IIsAppPoolTupleFields.RecycleMinutes].AsNullableNumber(); |
96 | set => this.Set((int)IIsAppPoolTupleFields.RecycleMinutes, value); | 96 | set => this.Set((int)IIsAppPoolTupleFields.RecycleMinutes, value); |
97 | } | 97 | } |
98 | 98 | ||
99 | public int RecycleRequests | 99 | public int? RecycleRequests |
100 | { | 100 | { |
101 | get => this.Fields[(int)IIsAppPoolTupleFields.RecycleRequests].AsNumber(); | 101 | get => this.Fields[(int)IIsAppPoolTupleFields.RecycleRequests].AsNullableNumber(); |
102 | set => this.Set((int)IIsAppPoolTupleFields.RecycleRequests, value); | 102 | set => this.Set((int)IIsAppPoolTupleFields.RecycleRequests, value); |
103 | } | 103 | } |
104 | 104 | ||
@@ -108,15 +108,15 @@ namespace WixToolset.Iis.Tuples | |||
108 | set => this.Set((int)IIsAppPoolTupleFields.RecycleTimes, value); | 108 | set => this.Set((int)IIsAppPoolTupleFields.RecycleTimes, value); |
109 | } | 109 | } |
110 | 110 | ||
111 | public int IdleTimeout | 111 | public int? IdleTimeout |
112 | { | 112 | { |
113 | get => this.Fields[(int)IIsAppPoolTupleFields.IdleTimeout].AsNumber(); | 113 | get => this.Fields[(int)IIsAppPoolTupleFields.IdleTimeout].AsNullableNumber(); |
114 | set => this.Set((int)IIsAppPoolTupleFields.IdleTimeout, value); | 114 | set => this.Set((int)IIsAppPoolTupleFields.IdleTimeout, value); |
115 | } | 115 | } |
116 | 116 | ||
117 | public int QueueLimit | 117 | public int? QueueLimit |
118 | { | 118 | { |
119 | get => this.Fields[(int)IIsAppPoolTupleFields.QueueLimit].AsNumber(); | 119 | get => this.Fields[(int)IIsAppPoolTupleFields.QueueLimit].AsNullableNumber(); |
120 | set => this.Set((int)IIsAppPoolTupleFields.QueueLimit, value); | 120 | set => this.Set((int)IIsAppPoolTupleFields.QueueLimit, value); |
121 | } | 121 | } |
122 | 122 | ||
@@ -126,21 +126,21 @@ namespace WixToolset.Iis.Tuples | |||
126 | set => this.Set((int)IIsAppPoolTupleFields.CPUMon, value); | 126 | set => this.Set((int)IIsAppPoolTupleFields.CPUMon, value); |
127 | } | 127 | } |
128 | 128 | ||
129 | public int MaxProc | 129 | public int? MaxProc |
130 | { | 130 | { |
131 | get => this.Fields[(int)IIsAppPoolTupleFields.MaxProc].AsNumber(); | 131 | get => this.Fields[(int)IIsAppPoolTupleFields.MaxProc].AsNullableNumber(); |
132 | set => this.Set((int)IIsAppPoolTupleFields.MaxProc, value); | 132 | set => this.Set((int)IIsAppPoolTupleFields.MaxProc, value); |
133 | } | 133 | } |
134 | 134 | ||
135 | public int VirtualMemory | 135 | public int? VirtualMemory |
136 | { | 136 | { |
137 | get => this.Fields[(int)IIsAppPoolTupleFields.VirtualMemory].AsNumber(); | 137 | get => this.Fields[(int)IIsAppPoolTupleFields.VirtualMemory].AsNullableNumber(); |
138 | set => this.Set((int)IIsAppPoolTupleFields.VirtualMemory, value); | 138 | set => this.Set((int)IIsAppPoolTupleFields.VirtualMemory, value); |
139 | } | 139 | } |
140 | 140 | ||
141 | public int PrivateMemory | 141 | public int? PrivateMemory |
142 | { | 142 | { |
143 | get => this.Fields[(int)IIsAppPoolTupleFields.PrivateMemory].AsNumber(); | 143 | get => this.Fields[(int)IIsAppPoolTupleFields.PrivateMemory].AsNullableNumber(); |
144 | set => this.Set((int)IIsAppPoolTupleFields.PrivateMemory, value); | 144 | set => this.Set((int)IIsAppPoolTupleFields.PrivateMemory, value); |
145 | } | 145 | } |
146 | 146 | ||
diff --git a/src/wixext/Tuples/IIsFilterTuple.cs b/src/wixext/Tuples/IIsFilterTuple.cs index 5dda8878..e681a235 100644 --- a/src/wixext/Tuples/IIsFilterTuple.cs +++ b/src/wixext/Tuples/IIsFilterTuple.cs | |||
@@ -86,9 +86,9 @@ namespace WixToolset.Iis.Tuples | |||
86 | set => this.Set((int)IIsFilterTupleFields.Flags, value); | 86 | set => this.Set((int)IIsFilterTupleFields.Flags, value); |
87 | } | 87 | } |
88 | 88 | ||
89 | public int LoadOrder | 89 | public int? LoadOrder |
90 | { | 90 | { |
91 | get => this.Fields[(int)IIsFilterTupleFields.LoadOrder].AsNumber(); | 91 | get => this.Fields[(int)IIsFilterTupleFields.LoadOrder].AsNullableNumber(); |
92 | set => this.Set((int)IIsFilterTupleFields.LoadOrder, value); | 92 | set => this.Set((int)IIsFilterTupleFields.LoadOrder, value); |
93 | } | 93 | } |
94 | } | 94 | } |
diff --git a/src/wixext/Tuples/IIsHttpHeaderTuple.cs b/src/wixext/Tuples/IIsHttpHeaderTuple.cs index 3d0e029c..43ebbe16 100644 --- a/src/wixext/Tuples/IIsHttpHeaderTuple.cs +++ b/src/wixext/Tuples/IIsHttpHeaderTuple.cs | |||
@@ -86,9 +86,9 @@ namespace WixToolset.Iis.Tuples | |||
86 | set => this.Set((int)IIsHttpHeaderTupleFields.Attributes, value); | 86 | set => this.Set((int)IIsHttpHeaderTupleFields.Attributes, value); |
87 | } | 87 | } |
88 | 88 | ||
89 | public int Sequence | 89 | public int? Sequence |
90 | { | 90 | { |
91 | get => this.Fields[(int)IIsHttpHeaderTupleFields.Sequence].AsNumber(); | 91 | get => this.Fields[(int)IIsHttpHeaderTupleFields.Sequence].AsNullableNumber(); |
92 | set => this.Set((int)IIsHttpHeaderTupleFields.Sequence, value); | 92 | set => this.Set((int)IIsHttpHeaderTupleFields.Sequence, value); |
93 | } | 93 | } |
94 | } | 94 | } |
diff --git a/src/wixext/Tuples/IIsWebAddressTuple.cs b/src/wixext/Tuples/IIsWebAddressTuple.cs index 603f62cb..b6e61ccc 100644 --- a/src/wixext/Tuples/IIsWebAddressTuple.cs +++ b/src/wixext/Tuples/IIsWebAddressTuple.cs | |||
@@ -70,9 +70,9 @@ namespace WixToolset.Iis.Tuples | |||
70 | set => this.Set((int)IIsWebAddressTupleFields.Header, value); | 70 | set => this.Set((int)IIsWebAddressTupleFields.Header, value); |
71 | } | 71 | } |
72 | 72 | ||
73 | public int Secure | 73 | public int? Secure |
74 | { | 74 | { |
75 | get => this.Fields[(int)IIsWebAddressTupleFields.Secure].AsNumber(); | 75 | get => this.Fields[(int)IIsWebAddressTupleFields.Secure].AsNullableNumber(); |
76 | set => this.Set((int)IIsWebAddressTupleFields.Secure, value); | 76 | set => this.Set((int)IIsWebAddressTupleFields.Secure, value); |
77 | } | 77 | } |
78 | } | 78 | } |
diff --git a/src/wixext/Tuples/IIsWebApplicationTuple.cs b/src/wixext/Tuples/IIsWebApplicationTuple.cs index 6af3a2f7..31ea955e 100644 --- a/src/wixext/Tuples/IIsWebApplicationTuple.cs +++ b/src/wixext/Tuples/IIsWebApplicationTuple.cs | |||
@@ -70,27 +70,27 @@ namespace WixToolset.Iis.Tuples | |||
70 | set => this.Set((int)IIsWebApplicationTupleFields.Isolation, value); | 70 | set => this.Set((int)IIsWebApplicationTupleFields.Isolation, value); |
71 | } | 71 | } |
72 | 72 | ||
73 | public int AllowSessions | 73 | public int? AllowSessions |
74 | { | 74 | { |
75 | get => this.Fields[(int)IIsWebApplicationTupleFields.AllowSessions].AsNumber(); | 75 | get => this.Fields[(int)IIsWebApplicationTupleFields.AllowSessions].AsNullableNumber(); |
76 | set => this.Set((int)IIsWebApplicationTupleFields.AllowSessions, value); | 76 | set => this.Set((int)IIsWebApplicationTupleFields.AllowSessions, value); |
77 | } | 77 | } |
78 | 78 | ||
79 | public int SessionTimeout | 79 | public int? SessionTimeout |
80 | { | 80 | { |
81 | get => this.Fields[(int)IIsWebApplicationTupleFields.SessionTimeout].AsNumber(); | 81 | get => this.Fields[(int)IIsWebApplicationTupleFields.SessionTimeout].AsNullableNumber(); |
82 | set => this.Set((int)IIsWebApplicationTupleFields.SessionTimeout, value); | 82 | set => this.Set((int)IIsWebApplicationTupleFields.SessionTimeout, value); |
83 | } | 83 | } |
84 | 84 | ||
85 | public int Buffer | 85 | public int? Buffer |
86 | { | 86 | { |
87 | get => this.Fields[(int)IIsWebApplicationTupleFields.Buffer].AsNumber(); | 87 | get => this.Fields[(int)IIsWebApplicationTupleFields.Buffer].AsNullableNumber(); |
88 | set => this.Set((int)IIsWebApplicationTupleFields.Buffer, value); | 88 | set => this.Set((int)IIsWebApplicationTupleFields.Buffer, value); |
89 | } | 89 | } |
90 | 90 | ||
91 | public int ParentPaths | 91 | public int? ParentPaths |
92 | { | 92 | { |
93 | get => this.Fields[(int)IIsWebApplicationTupleFields.ParentPaths].AsNumber(); | 93 | get => this.Fields[(int)IIsWebApplicationTupleFields.ParentPaths].AsNullableNumber(); |
94 | set => this.Set((int)IIsWebApplicationTupleFields.ParentPaths, value); | 94 | set => this.Set((int)IIsWebApplicationTupleFields.ParentPaths, value); |
95 | } | 95 | } |
96 | 96 | ||
@@ -100,21 +100,21 @@ namespace WixToolset.Iis.Tuples | |||
100 | set => this.Set((int)IIsWebApplicationTupleFields.DefaultScript, value); | 100 | set => this.Set((int)IIsWebApplicationTupleFields.DefaultScript, value); |
101 | } | 101 | } |
102 | 102 | ||
103 | public int ScriptTimeout | 103 | public int? ScriptTimeout |
104 | { | 104 | { |
105 | get => this.Fields[(int)IIsWebApplicationTupleFields.ScriptTimeout].AsNumber(); | 105 | get => this.Fields[(int)IIsWebApplicationTupleFields.ScriptTimeout].AsNullableNumber(); |
106 | set => this.Set((int)IIsWebApplicationTupleFields.ScriptTimeout, value); | 106 | set => this.Set((int)IIsWebApplicationTupleFields.ScriptTimeout, value); |
107 | } | 107 | } |
108 | 108 | ||
109 | public int ServerDebugging | 109 | public int? ServerDebugging |
110 | { | 110 | { |
111 | get => this.Fields[(int)IIsWebApplicationTupleFields.ServerDebugging].AsNumber(); | 111 | get => this.Fields[(int)IIsWebApplicationTupleFields.ServerDebugging].AsNullableNumber(); |
112 | set => this.Set((int)IIsWebApplicationTupleFields.ServerDebugging, value); | 112 | set => this.Set((int)IIsWebApplicationTupleFields.ServerDebugging, value); |
113 | } | 113 | } |
114 | 114 | ||
115 | public int ClientDebugging | 115 | public int? ClientDebugging |
116 | { | 116 | { |
117 | get => this.Fields[(int)IIsWebApplicationTupleFields.ClientDebugging].AsNumber(); | 117 | get => this.Fields[(int)IIsWebApplicationTupleFields.ClientDebugging].AsNullableNumber(); |
118 | set => this.Set((int)IIsWebApplicationTupleFields.ClientDebugging, value); | 118 | set => this.Set((int)IIsWebApplicationTupleFields.ClientDebugging, value); |
119 | } | 119 | } |
120 | 120 | ||
diff --git a/src/wixext/Tuples/IIsWebDirPropertiesTuple.cs b/src/wixext/Tuples/IIsWebDirPropertiesTuple.cs index 1c7cd8bf..48e2c932 100644 --- a/src/wixext/Tuples/IIsWebDirPropertiesTuple.cs +++ b/src/wixext/Tuples/IIsWebDirPropertiesTuple.cs | |||
@@ -64,15 +64,15 @@ namespace WixToolset.Iis.Tuples | |||
64 | 64 | ||
65 | public IntermediateField this[IIsWebDirPropertiesTupleFields index] => this.Fields[(int)index]; | 65 | public IntermediateField this[IIsWebDirPropertiesTupleFields index] => this.Fields[(int)index]; |
66 | 66 | ||
67 | public int Access | 67 | public int? Access |
68 | { | 68 | { |
69 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.Access].AsNumber(); | 69 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.Access].AsNullableNumber(); |
70 | set => this.Set((int)IIsWebDirPropertiesTupleFields.Access, value); | 70 | set => this.Set((int)IIsWebDirPropertiesTupleFields.Access, value); |
71 | } | 71 | } |
72 | 72 | ||
73 | public int Authorization | 73 | public int? Authorization |
74 | { | 74 | { |
75 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.Authorization].AsNumber(); | 75 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.Authorization].AsNullableNumber(); |
76 | set => this.Set((int)IIsWebDirPropertiesTupleFields.Authorization, value); | 76 | set => this.Set((int)IIsWebDirPropertiesTupleFields.Authorization, value); |
77 | } | 77 | } |
78 | 78 | ||
@@ -82,21 +82,21 @@ namespace WixToolset.Iis.Tuples | |||
82 | set => this.Set((int)IIsWebDirPropertiesTupleFields.AnonymousUserRef, value); | 82 | set => this.Set((int)IIsWebDirPropertiesTupleFields.AnonymousUserRef, value); |
83 | } | 83 | } |
84 | 84 | ||
85 | public int IIsControlledPassword | 85 | public int? IIsControlledPassword |
86 | { | 86 | { |
87 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.IIsControlledPassword].AsNumber(); | 87 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.IIsControlledPassword].AsNullableNumber(); |
88 | set => this.Set((int)IIsWebDirPropertiesTupleFields.IIsControlledPassword, value); | 88 | set => this.Set((int)IIsWebDirPropertiesTupleFields.IIsControlledPassword, value); |
89 | } | 89 | } |
90 | 90 | ||
91 | public int LogVisits | 91 | public int? LogVisits |
92 | { | 92 | { |
93 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.LogVisits].AsNumber(); | 93 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.LogVisits].AsNullableNumber(); |
94 | set => this.Set((int)IIsWebDirPropertiesTupleFields.LogVisits, value); | 94 | set => this.Set((int)IIsWebDirPropertiesTupleFields.LogVisits, value); |
95 | } | 95 | } |
96 | 96 | ||
97 | public int Index | 97 | public int? Index |
98 | { | 98 | { |
99 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.Index].AsNumber(); | 99 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.Index].AsNullableNumber(); |
100 | set => this.Set((int)IIsWebDirPropertiesTupleFields.Index, value); | 100 | set => this.Set((int)IIsWebDirPropertiesTupleFields.Index, value); |
101 | } | 101 | } |
102 | 102 | ||
@@ -106,9 +106,9 @@ namespace WixToolset.Iis.Tuples | |||
106 | set => this.Set((int)IIsWebDirPropertiesTupleFields.DefaultDoc, value); | 106 | set => this.Set((int)IIsWebDirPropertiesTupleFields.DefaultDoc, value); |
107 | } | 107 | } |
108 | 108 | ||
109 | public int AspDetailedError | 109 | public int? AspDetailedError |
110 | { | 110 | { |
111 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.AspDetailedError].AsNumber(); | 111 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.AspDetailedError].AsNullableNumber(); |
112 | set => this.Set((int)IIsWebDirPropertiesTupleFields.AspDetailedError, value); | 112 | set => this.Set((int)IIsWebDirPropertiesTupleFields.AspDetailedError, value); |
113 | } | 113 | } |
114 | 114 | ||
@@ -118,9 +118,9 @@ namespace WixToolset.Iis.Tuples | |||
118 | set => this.Set((int)IIsWebDirPropertiesTupleFields.HttpExpires, value); | 118 | set => this.Set((int)IIsWebDirPropertiesTupleFields.HttpExpires, value); |
119 | } | 119 | } |
120 | 120 | ||
121 | public int CacheControlMaxAge | 121 | public int? CacheControlMaxAge |
122 | { | 122 | { |
123 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.CacheControlMaxAge].AsNumber(); | 123 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.CacheControlMaxAge].AsNullableNumber(); |
124 | set => this.Set((int)IIsWebDirPropertiesTupleFields.CacheControlMaxAge, value); | 124 | set => this.Set((int)IIsWebDirPropertiesTupleFields.CacheControlMaxAge, value); |
125 | } | 125 | } |
126 | 126 | ||
@@ -130,15 +130,15 @@ namespace WixToolset.Iis.Tuples | |||
130 | set => this.Set((int)IIsWebDirPropertiesTupleFields.CacheControlCustom, value); | 130 | set => this.Set((int)IIsWebDirPropertiesTupleFields.CacheControlCustom, value); |
131 | } | 131 | } |
132 | 132 | ||
133 | public int NoCustomError | 133 | public int? NoCustomError |
134 | { | 134 | { |
135 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.NoCustomError].AsNumber(); | 135 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.NoCustomError].AsNullableNumber(); |
136 | set => this.Set((int)IIsWebDirPropertiesTupleFields.NoCustomError, value); | 136 | set => this.Set((int)IIsWebDirPropertiesTupleFields.NoCustomError, value); |
137 | } | 137 | } |
138 | 138 | ||
139 | public int AccessSSLFlags | 139 | public int? AccessSSLFlags |
140 | { | 140 | { |
141 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.AccessSSLFlags].AsNumber(); | 141 | get => this.Fields[(int)IIsWebDirPropertiesTupleFields.AccessSSLFlags].AsNullableNumber(); |
142 | set => this.Set((int)IIsWebDirPropertiesTupleFields.AccessSSLFlags, value); | 142 | set => this.Set((int)IIsWebDirPropertiesTupleFields.AccessSSLFlags, value); |
143 | } | 143 | } |
144 | 144 | ||
diff --git a/src/wixext/Tuples/IIsWebSiteTuple.cs b/src/wixext/Tuples/IIsWebSiteTuple.cs index 610f1c59..1cce69fb 100644 --- a/src/wixext/Tuples/IIsWebSiteTuple.cs +++ b/src/wixext/Tuples/IIsWebSiteTuple.cs | |||
@@ -72,9 +72,9 @@ namespace WixToolset.Iis.Tuples | |||
72 | set => this.Set((int)IIsWebSiteTupleFields.Description, value); | 72 | set => this.Set((int)IIsWebSiteTupleFields.Description, value); |
73 | } | 73 | } |
74 | 74 | ||
75 | public int ConnectionTimeout | 75 | public int? ConnectionTimeout |
76 | { | 76 | { |
77 | get => this.Fields[(int)IIsWebSiteTupleFields.ConnectionTimeout].AsNumber(); | 77 | get => this.Fields[(int)IIsWebSiteTupleFields.ConnectionTimeout].AsNullableNumber(); |
78 | set => this.Set((int)IIsWebSiteTupleFields.ConnectionTimeout, value); | 78 | set => this.Set((int)IIsWebSiteTupleFields.ConnectionTimeout, value); |
79 | } | 79 | } |
80 | 80 | ||
@@ -84,9 +84,9 @@ namespace WixToolset.Iis.Tuples | |||
84 | set => this.Set((int)IIsWebSiteTupleFields.DirectoryRef, value); | 84 | set => this.Set((int)IIsWebSiteTupleFields.DirectoryRef, value); |
85 | } | 85 | } |
86 | 86 | ||
87 | public int State | 87 | public int? State |
88 | { | 88 | { |
89 | get => this.Fields[(int)IIsWebSiteTupleFields.State].AsNumber(); | 89 | get => this.Fields[(int)IIsWebSiteTupleFields.State].AsNullableNumber(); |
90 | set => this.Set((int)IIsWebSiteTupleFields.State, value); | 90 | set => this.Set((int)IIsWebSiteTupleFields.State, value); |
91 | } | 91 | } |
92 | 92 | ||
@@ -114,9 +114,9 @@ namespace WixToolset.Iis.Tuples | |||
114 | set => this.Set((int)IIsWebSiteTupleFields.ApplicationRef, value); | 114 | set => this.Set((int)IIsWebSiteTupleFields.ApplicationRef, value); |
115 | } | 115 | } |
116 | 116 | ||
117 | public int Sequence | 117 | public int? Sequence |
118 | { | 118 | { |
119 | get => this.Fields[(int)IIsWebSiteTupleFields.Sequence].AsNumber(); | 119 | get => this.Fields[(int)IIsWebSiteTupleFields.Sequence].AsNullableNumber(); |
120 | set => this.Set((int)IIsWebSiteTupleFields.Sequence, value); | 120 | set => this.Set((int)IIsWebSiteTupleFields.Sequence, value); |
121 | } | 121 | } |
122 | 122 | ||
diff --git a/src/wixlib/iis.wixproj b/src/wixlib/iis.wixproj index 79403583..f3adff1c 100644 --- a/src/wixlib/iis.wixproj +++ b/src/wixlib/iis.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>{92FE99D2-355D-4F52-A7C1-10EECB4A5BB1}</ProjectGuid> | 7 | <ProjectGuid>{92FE99D2-355D-4F52-A7C1-10EECB4A5BB1}</ProjectGuid> |
@@ -38,7 +38,7 @@ | |||
38 | <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> | 38 | <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> |
39 | </PropertyGroup> | 39 | </PropertyGroup> |
40 | <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'))" /> | 40 | <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'))" /> |
41 | <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'))" /> | 41 | <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'))" /> |
42 | </Target> | 42 | </Target> |
43 | <Import Project="..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" /> | 43 | <Import Project="..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" /> |
44 | </Project> \ No newline at end of file | 44 | </Project> \ No newline at end of file |
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 |