diff options
author | Rob Mensching <rob@firegiant.com> | 2018-01-01 16:35:30 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2018-01-01 16:35:30 -0800 |
commit | 58f9e097a445dbdf3139832ac471374e68678fc6 (patch) | |
tree | 641e3b0cff1287459ac29eb26a7f810f1d4afb7f /src | |
parent | 651ad904724f32f5e993fa73aa11a611d95a1a10 (diff) | |
download | wix-58f9e097a445dbdf3139832ac471374e68678fc6.tar.gz wix-58f9e097a445dbdf3139832ac471374e68678fc6.tar.bz2 wix-58f9e097a445dbdf3139832ac471374e68678fc6.zip |
Update to latest Wixtoolset.Data and simplify Project/Package reference condition
Diffstat (limited to 'src')
-rw-r--r-- | src/WixToolset.Core.TestPackage/WixToolset.Core.TestPackage.csproj | 11 | ||||
-rw-r--r-- | src/WixToolset.Core/Compiler.cs | 46 | ||||
-rw-r--r-- | src/WixToolset.Core/WixToolset.Core.csproj | 12 |
3 files changed, 22 insertions, 47 deletions
diff --git a/src/WixToolset.Core.TestPackage/WixToolset.Core.TestPackage.csproj b/src/WixToolset.Core.TestPackage/WixToolset.Core.TestPackage.csproj index 4c0fe92d..d9683030 100644 --- a/src/WixToolset.Core.TestPackage/WixToolset.Core.TestPackage.csproj +++ b/src/WixToolset.Core.TestPackage/WixToolset.Core.TestPackage.csproj | |||
@@ -23,9 +23,14 @@ | |||
23 | </ItemGroup> | 23 | </ItemGroup> |
24 | 24 | ||
25 | <ItemGroup> | 25 | <ItemGroup> |
26 | <PackageReference Include="WixToolset.Data" Version="4.0.*" /> | 26 | <ProjectReference Include="$(WixToolsetRootFolder)\Data\src\WixToolset.Data\WixToolset.Data.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Data\README.md') " /> |
27 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" /> | 27 | <PackageReference Include="WixToolset.Data" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Data\README.md') " /> |
28 | <PackageReference Include="WixToolset.Core.Native" Version="4.0.*" /> | 28 | |
29 | <ProjectReference Include="$(WixToolsetRootFolder)\Extensibility\src\WixToolset.Extensibility\WixToolset.Extensibility.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Extensibility\README.md') " /> | ||
30 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Extensibility\README.md') " /> | ||
31 | |||
32 | <ProjectReference Include="$(WixToolsetRootFolder)\Core.Native\src\WixToolset.Core.Native\WixToolset.Core.Native.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Core.Native\README.md') " /> | ||
33 | <PackageReference Include="WixToolset.Core.Native" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Core.Native\README.md') " /> | ||
29 | </ItemGroup> | 34 | </ItemGroup> |
30 | 35 | ||
31 | <ItemGroup> | 36 | <ItemGroup> |
diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs index c71a8ba4..cd51fed6 100644 --- a/src/WixToolset.Core/Compiler.cs +++ b/src/WixToolset.Core/Compiler.cs | |||
@@ -690,8 +690,7 @@ namespace WixToolset.Core | |||
690 | 690 | ||
691 | if (YesNoType.Yes == suppressModularization) | 691 | if (YesNoType.Yes == suppressModularization) |
692 | { | 692 | { |
693 | var wixSuppressModularizationRow = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.WixSuppressModularization); | 693 | var wixSuppressModularizationRow = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.WixSuppressModularization, id); |
694 | wixSuppressModularizationRow.Set(0, id); | ||
695 | } | 694 | } |
696 | } | 695 | } |
697 | 696 | ||
@@ -2474,8 +2473,7 @@ namespace WixToolset.Core | |||
2474 | 2473 | ||
2475 | if (multiInstance) | 2474 | if (multiInstance) |
2476 | { | 2475 | { |
2477 | var instanceComponentRow = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.WixInstanceComponent); | 2476 | var instanceComponentRow = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.WixInstanceComponent, id); |
2478 | instanceComponentRow.Set(0, id); | ||
2479 | } | 2477 | } |
2480 | 2478 | ||
2481 | if (0 < symbols.Count) | 2479 | if (0 < symbols.Count) |
@@ -2488,8 +2486,7 @@ namespace WixToolset.Core | |||
2488 | // Complus | 2486 | // Complus |
2489 | if (CompilerConstants.IntegerNotSet != comPlusBits) | 2487 | if (CompilerConstants.IntegerNotSet != comPlusBits) |
2490 | { | 2488 | { |
2491 | row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.Complus); | 2489 | row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.Complus, id); |
2492 | row.Set(0, id); | ||
2493 | row.Set(1, comPlusBits); | 2490 | row.Set(1, comPlusBits); |
2494 | } | 2491 | } |
2495 | 2492 | ||
@@ -4832,7 +4829,7 @@ namespace WixToolset.Core | |||
4832 | if (!this.Core.EncounteredError) | 4829 | if (!this.Core.EncounteredError) |
4833 | { | 4830 | { |
4834 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.Feature, id); | 4831 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.Feature, id); |
4835 | row.Set(1, null); // this column is set in the linker | 4832 | // row.Set(1, null); - this column is set in the linker |
4836 | row.Set(2, title); | 4833 | row.Set(2, title); |
4837 | row.Set(3, description); | 4834 | row.Set(3, description); |
4838 | if (0 < display.Length) | 4835 | if (0 < display.Length) |
@@ -9543,7 +9540,6 @@ namespace WixToolset.Core | |||
9543 | } | 9540 | } |
9544 | } | 9541 | } |
9545 | 9542 | ||
9546 | |||
9547 | if (!this.Core.EncounteredError) | 9543 | if (!this.Core.EncounteredError) |
9548 | { | 9544 | { |
9549 | var patchIdRow = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.WixPatchId); | 9545 | var patchIdRow = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.WixPatchId); |
@@ -9555,7 +9551,6 @@ namespace WixToolset.Core | |||
9555 | if (allowRemoval) | 9551 | if (allowRemoval) |
9556 | { | 9552 | { |
9557 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); | 9553 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); |
9558 | row.Set(0, null); | ||
9559 | row.Set(1, "AllowRemoval"); | 9554 | row.Set(1, "AllowRemoval"); |
9560 | row.Set(2, allowRemoval ? "1" : "0"); | 9555 | row.Set(2, allowRemoval ? "1" : "0"); |
9561 | } | 9556 | } |
@@ -9563,7 +9558,6 @@ namespace WixToolset.Core | |||
9563 | if (null != classification) | 9558 | if (null != classification) |
9564 | { | 9559 | { |
9565 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); | 9560 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); |
9566 | row.Set(0, null); | ||
9567 | row.Set(1, "Classification"); | 9561 | row.Set(1, "Classification"); |
9568 | row.Set(2, classification); | 9562 | row.Set(2, classification); |
9569 | } | 9563 | } |
@@ -9571,7 +9565,6 @@ namespace WixToolset.Core | |||
9571 | // always generate the CreationTimeUTC | 9565 | // always generate the CreationTimeUTC |
9572 | { | 9566 | { |
9573 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); | 9567 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); |
9574 | row.Set(0, null); | ||
9575 | row.Set(1, "CreationTimeUTC"); | 9568 | row.Set(1, "CreationTimeUTC"); |
9576 | row.Set(2, DateTime.UtcNow.ToString("MM-dd-yy HH:mm", CultureInfo.InvariantCulture)); | 9569 | row.Set(2, DateTime.UtcNow.ToString("MM-dd-yy HH:mm", CultureInfo.InvariantCulture)); |
9577 | } | 9570 | } |
@@ -9579,7 +9572,6 @@ namespace WixToolset.Core | |||
9579 | if (null != description) | 9572 | if (null != description) |
9580 | { | 9573 | { |
9581 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); | 9574 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); |
9582 | row.Set(0, null); | ||
9583 | row.Set(1, "Description"); | 9575 | row.Set(1, "Description"); |
9584 | row.Set(2, description); | 9576 | row.Set(2, description); |
9585 | } | 9577 | } |
@@ -9587,7 +9579,6 @@ namespace WixToolset.Core | |||
9587 | if (null != displayName) | 9579 | if (null != displayName) |
9588 | { | 9580 | { |
9589 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); | 9581 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); |
9590 | row.Set(0, null); | ||
9591 | row.Set(1, "DisplayName"); | 9582 | row.Set(1, "DisplayName"); |
9592 | row.Set(2, displayName); | 9583 | row.Set(2, displayName); |
9593 | } | 9584 | } |
@@ -9595,7 +9586,6 @@ namespace WixToolset.Core | |||
9595 | if (null != manufacturer) | 9586 | if (null != manufacturer) |
9596 | { | 9587 | { |
9597 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); | 9588 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); |
9598 | row.Set(0, null); | ||
9599 | row.Set(1, "ManufacturerName"); | 9589 | row.Set(1, "ManufacturerName"); |
9600 | row.Set(2, manufacturer); | 9590 | row.Set(2, manufacturer); |
9601 | } | 9591 | } |
@@ -9603,7 +9593,6 @@ namespace WixToolset.Core | |||
9603 | if (YesNoType.NotSet != minorUpdateTargetRTM) | 9593 | if (YesNoType.NotSet != minorUpdateTargetRTM) |
9604 | { | 9594 | { |
9605 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); | 9595 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); |
9606 | row.Set(0, null); | ||
9607 | row.Set(1, "MinorUpdateTargetRTM"); | 9596 | row.Set(1, "MinorUpdateTargetRTM"); |
9608 | row.Set(2, YesNoType.Yes == minorUpdateTargetRTM ? "1" : "0"); | 9597 | row.Set(2, YesNoType.Yes == minorUpdateTargetRTM ? "1" : "0"); |
9609 | } | 9598 | } |
@@ -9611,7 +9600,6 @@ namespace WixToolset.Core | |||
9611 | if (null != moreInfoUrl) | 9600 | if (null != moreInfoUrl) |
9612 | { | 9601 | { |
9613 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); | 9602 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); |
9614 | row.Set(0, null); | ||
9615 | row.Set(1, "MoreInfoURL"); | 9603 | row.Set(1, "MoreInfoURL"); |
9616 | row.Set(2, moreInfoUrl); | 9604 | row.Set(2, moreInfoUrl); |
9617 | } | 9605 | } |
@@ -9619,7 +9607,6 @@ namespace WixToolset.Core | |||
9619 | if (CompilerConstants.IntegerNotSet != optimizeCA) | 9607 | if (CompilerConstants.IntegerNotSet != optimizeCA) |
9620 | { | 9608 | { |
9621 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); | 9609 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); |
9622 | row.Set(0, null); | ||
9623 | row.Set(1, "OptimizeCA"); | 9610 | row.Set(1, "OptimizeCA"); |
9624 | row.Set(2, optimizeCA.ToString(CultureInfo.InvariantCulture)); | 9611 | row.Set(2, optimizeCA.ToString(CultureInfo.InvariantCulture)); |
9625 | } | 9612 | } |
@@ -9627,7 +9614,6 @@ namespace WixToolset.Core | |||
9627 | if (YesNoType.NotSet != optimizedInstallMode) | 9614 | if (YesNoType.NotSet != optimizedInstallMode) |
9628 | { | 9615 | { |
9629 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); | 9616 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); |
9630 | row.Set(0, null); | ||
9631 | row.Set(1, "OptimizedInstallMode"); | 9617 | row.Set(1, "OptimizedInstallMode"); |
9632 | row.Set(2, YesNoType.Yes == optimizedInstallMode ? "1" : "0"); | 9618 | row.Set(2, YesNoType.Yes == optimizedInstallMode ? "1" : "0"); |
9633 | } | 9619 | } |
@@ -9635,7 +9621,6 @@ namespace WixToolset.Core | |||
9635 | if (null != targetProductName) | 9621 | if (null != targetProductName) |
9636 | { | 9622 | { |
9637 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); | 9623 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiPatchMetadata); |
9638 | row.Set(0, null); | ||
9639 | row.Set(1, "TargetProductName"); | 9624 | row.Set(1, "TargetProductName"); |
9640 | row.Set(2, targetProductName); | 9625 | row.Set(2, targetProductName); |
9641 | } | 9626 | } |
@@ -11190,7 +11175,6 @@ namespace WixToolset.Core | |||
11190 | if (YesNoType.NotSet != allowRemoval) | 11175 | if (YesNoType.NotSet != allowRemoval) |
11191 | { | 11176 | { |
11192 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); | 11177 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); |
11193 | row.Set(0, null); | ||
11194 | row.Set(1, "AllowRemoval"); | 11178 | row.Set(1, "AllowRemoval"); |
11195 | row.Set(2, YesNoType.Yes == allowRemoval ? "1" : "0"); | 11179 | row.Set(2, YesNoType.Yes == allowRemoval ? "1" : "0"); |
11196 | } | 11180 | } |
@@ -11198,7 +11182,6 @@ namespace WixToolset.Core | |||
11198 | if (null != classification) | 11182 | if (null != classification) |
11199 | { | 11183 | { |
11200 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); | 11184 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); |
11201 | row.Set(0, null); | ||
11202 | row.Set(1, "Classification"); | 11185 | row.Set(1, "Classification"); |
11203 | row.Set(2, classification); | 11186 | row.Set(2, classification); |
11204 | } | 11187 | } |
@@ -11206,7 +11189,6 @@ namespace WixToolset.Core | |||
11206 | if (null != creationTimeUtc) | 11189 | if (null != creationTimeUtc) |
11207 | { | 11190 | { |
11208 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); | 11191 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); |
11209 | row.Set(0, null); | ||
11210 | row.Set(1, "CreationTimeUTC"); | 11192 | row.Set(1, "CreationTimeUTC"); |
11211 | row.Set(2, creationTimeUtc); | 11193 | row.Set(2, creationTimeUtc); |
11212 | } | 11194 | } |
@@ -11214,7 +11196,6 @@ namespace WixToolset.Core | |||
11214 | if (null != description) | 11196 | if (null != description) |
11215 | { | 11197 | { |
11216 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); | 11198 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); |
11217 | row.Set(0, null); | ||
11218 | row.Set(1, "Description"); | 11199 | row.Set(1, "Description"); |
11219 | row.Set(2, description); | 11200 | row.Set(2, description); |
11220 | } | 11201 | } |
@@ -11222,7 +11203,6 @@ namespace WixToolset.Core | |||
11222 | if (null != displayName) | 11203 | if (null != displayName) |
11223 | { | 11204 | { |
11224 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); | 11205 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); |
11225 | row.Set(0, null); | ||
11226 | row.Set(1, "DisplayName"); | 11206 | row.Set(1, "DisplayName"); |
11227 | row.Set(2, displayName); | 11207 | row.Set(2, displayName); |
11228 | } | 11208 | } |
@@ -11230,7 +11210,6 @@ namespace WixToolset.Core | |||
11230 | if (null != manufacturerName) | 11210 | if (null != manufacturerName) |
11231 | { | 11211 | { |
11232 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); | 11212 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); |
11233 | row.Set(0, null); | ||
11234 | row.Set(1, "ManufacturerName"); | 11213 | row.Set(1, "ManufacturerName"); |
11235 | row.Set(2, manufacturerName); | 11214 | row.Set(2, manufacturerName); |
11236 | } | 11215 | } |
@@ -11238,7 +11217,6 @@ namespace WixToolset.Core | |||
11238 | if (null != minorUpdateTargetRTM) | 11217 | if (null != minorUpdateTargetRTM) |
11239 | { | 11218 | { |
11240 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); | 11219 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); |
11241 | row.Set(0, null); | ||
11242 | row.Set(1, "MinorUpdateTargetRTM"); | 11220 | row.Set(1, "MinorUpdateTargetRTM"); |
11243 | row.Set(2, minorUpdateTargetRTM); | 11221 | row.Set(2, minorUpdateTargetRTM); |
11244 | } | 11222 | } |
@@ -11246,7 +11224,6 @@ namespace WixToolset.Core | |||
11246 | if (null != moreInfoUrl) | 11224 | if (null != moreInfoUrl) |
11247 | { | 11225 | { |
11248 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); | 11226 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); |
11249 | row.Set(0, null); | ||
11250 | row.Set(1, "MoreInfoURL"); | 11227 | row.Set(1, "MoreInfoURL"); |
11251 | row.Set(2, moreInfoUrl); | 11228 | row.Set(2, moreInfoUrl); |
11252 | } | 11229 | } |
@@ -11254,7 +11231,6 @@ namespace WixToolset.Core | |||
11254 | if (CompilerConstants.IntegerNotSet != optimizeCA) | 11231 | if (CompilerConstants.IntegerNotSet != optimizeCA) |
11255 | { | 11232 | { |
11256 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); | 11233 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); |
11257 | row.Set(0, null); | ||
11258 | row.Set(1, "OptimizeCA"); | 11234 | row.Set(1, "OptimizeCA"); |
11259 | row.Set(2, optimizeCA.ToString(CultureInfo.InvariantCulture)); | 11235 | row.Set(2, optimizeCA.ToString(CultureInfo.InvariantCulture)); |
11260 | } | 11236 | } |
@@ -11262,7 +11238,6 @@ namespace WixToolset.Core | |||
11262 | if (YesNoType.NotSet != optimizedInstallMode) | 11238 | if (YesNoType.NotSet != optimizedInstallMode) |
11263 | { | 11239 | { |
11264 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); | 11240 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); |
11265 | row.Set(0, null); | ||
11266 | row.Set(1, "OptimizedInstallMode"); | 11241 | row.Set(1, "OptimizedInstallMode"); |
11267 | row.Set(2, YesNoType.Yes == optimizedInstallMode ? "1" : "0"); | 11242 | row.Set(2, YesNoType.Yes == optimizedInstallMode ? "1" : "0"); |
11268 | } | 11243 | } |
@@ -11270,7 +11245,6 @@ namespace WixToolset.Core | |||
11270 | if (null != targetProductName) | 11245 | if (null != targetProductName) |
11271 | { | 11246 | { |
11272 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); | 11247 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.PatchMetadata); |
11273 | row.Set(0, null); | ||
11274 | row.Set(1, "TargetProductName"); | 11248 | row.Set(1, "TargetProductName"); |
11275 | row.Set(2, targetProductName); | 11249 | row.Set(2, targetProductName); |
11276 | } | 11250 | } |
@@ -12587,7 +12561,7 @@ namespace WixToolset.Core | |||
12587 | row.Set(1, root); | 12561 | row.Set(1, root); |
12588 | row.Set(2, key); | 12562 | row.Set(2, key); |
12589 | row.Set(3, name); | 12563 | row.Set(3, name); |
12590 | row.Set(4, null); | 12564 | //row.Set(4, null); |
12591 | row.Set(5, componentId); | 12565 | row.Set(5, componentId); |
12592 | } | 12566 | } |
12593 | 12567 | ||
@@ -12914,7 +12888,7 @@ namespace WixToolset.Core | |||
12914 | row.Set(3, name); | 12888 | row.Set(3, name); |
12915 | if (Wix.RemoveRegistryKey.ActionType.removeOnUninstall == actionType) // Registry table | 12889 | if (Wix.RemoveRegistryKey.ActionType.removeOnUninstall == actionType) // Registry table |
12916 | { | 12890 | { |
12917 | row.Set(4, null); | 12891 | //row.Set(4, null); |
12918 | row.Set(5, componentId); | 12892 | row.Set(5, componentId); |
12919 | } | 12893 | } |
12920 | else // RemoveRegistry table | 12894 | else // RemoveRegistry table |
@@ -13206,7 +13180,7 @@ namespace WixToolset.Core | |||
13206 | { | 13180 | { |
13207 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.RemoveFile, id); | 13181 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.RemoveFile, id); |
13208 | row.Set(1, componentId); | 13182 | row.Set(1, componentId); |
13209 | row.Set(2, null); | 13183 | //row.Set(2, null); |
13210 | if (null != directory) | 13184 | if (null != directory) |
13211 | { | 13185 | { |
13212 | row.Set(3, directory); | 13186 | row.Set(3, directory); |
@@ -16848,7 +16822,7 @@ namespace WixToolset.Core | |||
16848 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiEmbeddedUI, id); | 16822 | var row = this.Core.CreateRow(sourceLineNumbers, TupleDefinitionType.MsiEmbeddedUI, id); |
16849 | row.Set(1, name); | 16823 | row.Set(1, name); |
16850 | row.Set(2, 0); // embedded UI resources always set this to 0 | 16824 | row.Set(2, 0); // embedded UI resources always set this to 0 |
16851 | row.Set(3, null); | 16825 | //row.Set(3, null); |
16852 | row.Set(4, sourceFile); | 16826 | row.Set(4, sourceFile); |
16853 | } | 16827 | } |
16854 | } | 16828 | } |
@@ -19611,10 +19585,6 @@ namespace WixToolset.Core | |||
19611 | { | 19585 | { |
19612 | sourceFile = Path.Combine("SourceDir", name); | 19586 | sourceFile = Path.Combine("SourceDir", name); |
19613 | } | 19587 | } |
19614 | else | ||
19615 | { | ||
19616 | sourceFile = String.Empty; // SourceFile is required it cannot be null. | ||
19617 | } | ||
19618 | } | 19588 | } |
19619 | else if (null != remotePayload) | 19589 | else if (null != remotePayload) |
19620 | { | 19590 | { |
diff --git a/src/WixToolset.Core/WixToolset.Core.csproj b/src/WixToolset.Core/WixToolset.Core.csproj index bfa84aa8..07cc692c 100644 --- a/src/WixToolset.Core/WixToolset.Core.csproj +++ b/src/WixToolset.Core/WixToolset.Core.csproj | |||
@@ -9,14 +9,14 @@ | |||
9 | </PropertyGroup> | 9 | </PropertyGroup> |
10 | 10 | ||
11 | <ItemGroup> | 11 | <ItemGroup> |
12 | <ProjectReference Include="$(WixToolsetRootFolder)\Data\src\WixToolset.Data\WixToolset.Data.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Data\src\WixToolset.Data\WixToolset.Data.csproj') " /> | 12 | <ProjectReference Include="$(WixToolsetRootFolder)\Data\src\WixToolset.Data\WixToolset.Data.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Data\README.md') " /> |
13 | <PackageReference Include="WixToolset.Data" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Data\src\WixToolset.Data\WixToolset.Data.csproj') " /> | 13 | <PackageReference Include="WixToolset.Data" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Data\README.md') " /> |
14 | 14 | ||
15 | <ProjectReference Include="$(WixToolsetRootFolder)\Extensibility\src\WixToolset.Extensibility\WixToolset.Extensibility.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Extensibility\src\WixToolset.Extensibility\WixToolset.Extensibility.csproj') " /> | 15 | <ProjectReference Include="$(WixToolsetRootFolder)\Extensibility\src\WixToolset.Extensibility\WixToolset.Extensibility.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Extensibility\README.md') " /> |
16 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Extensibility\src\WixToolset.Extensibility\WixToolset.Extensibility.csproj') " /> | 16 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Extensibility\README.md') " /> |
17 | 17 | ||
18 | <ProjectReference Include="$(WixToolsetRootFolder)\Core.Native\src\WixToolset.Core.Native\WixToolset.Core.Native.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Core.Native\src\WixToolset.Core.Native\WixToolset.Core.Native.csproj') " /> | 18 | <ProjectReference Include="$(WixToolsetRootFolder)\Core.Native\src\WixToolset.Core.Native\WixToolset.Core.Native.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Core.Native\README.md') " /> |
19 | <PackageReference Include="WixToolset.Core.Native" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Core.Native\src\WixToolset.Core.Native\WixToolset.Core.Native.csproj') " /> | 19 | <PackageReference Include="WixToolset.Core.Native" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Core.Native\README.md') " /> |
20 | </ItemGroup> | 20 | </ItemGroup> |
21 | 21 | ||
22 | <ItemGroup> | 22 | <ItemGroup> |