diff options
| author | Bob Arnson <bob@firegiant.com> | 2019-11-05 19:27:06 -0500 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2019-11-05 19:32:42 -0500 |
| commit | 0f65aaaca2faf1b6fc233c445216d547f08c6fa5 (patch) | |
| tree | 656e070ac1fe3b8e609002196f325386f6220731 /src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs | |
| parent | e6f381b0ce2011ced88697ca7ddaae8a053b57d7 (diff) | |
| download | wix-0f65aaaca2faf1b6fc233c445216d547f08c6fa5.tar.gz wix-0f65aaaca2faf1b6fc233c445216d547f08c6fa5.tar.bz2 wix-0f65aaaca2faf1b6fc233c445216d547f08c6fa5.zip | |
Move creation of hidden properties...
...for deferred CAs with HideTarget="yes" to the MSI backend where it belongs.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs index fff37618..febf3b62 100644 --- a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | namespace WixToolsetTest.CoreIntegration | 3 | namespace WixToolsetTest.CoreIntegration |
| 4 | { | 4 | { |
| 5 | using System.IO; | 5 | using System.IO; |
| 6 | using System.Linq; | ||
| 6 | using WixBuildTools.TestSupport; | 7 | using WixBuildTools.TestSupport; |
| 7 | using WixToolset.Core.TestPackage; | 8 | using WixToolset.Core.TestPackage; |
| 8 | using Xunit; | 9 | using Xunit; |
| @@ -281,8 +282,12 @@ namespace WixToolsetTest.CoreIntegration | |||
| 281 | { | 282 | { |
| 282 | "Binary:Binary1\t[Binary data]", | 283 | "Binary:Binary1\t[Binary data]", |
| 283 | "CustomAction:CustomAction1\t1\tBinary1\tInvalidEntryPoint\t", | 284 | "CustomAction:CustomAction1\t1\tBinary1\tInvalidEntryPoint\t", |
| 285 | "CustomAction:CustomActionWithHiddenTarget\t9217\tBinary1\tInvalidEntryPoint\t", | ||
| 284 | "CustomAction:DiscardOptimismAllBeingsWhoProceed\t19\t\tAbandon hope all ye who enter here.\t", | 286 | "CustomAction:DiscardOptimismAllBeingsWhoProceed\t19\t\tAbandon hope all ye who enter here.\t", |
| 285 | }, results); | 287 | }, results); |
| 288 | var properties = Query.QueryDatabase(msiPath, new[] { "Property" }); | ||
| 289 | var hiddenProperties = properties.Where(q => q.StartsWith("Property:MsiHiddenProperties")).Single(); | ||
| 290 | Assert.Equal("Property:MsiHiddenProperties\tCustomActionWithHiddenTarget", hiddenProperties); | ||
| 286 | } | 291 | } |
| 287 | } | 292 | } |
| 288 | 293 | ||
