diff options
author | Rob Mensching <rob@firegiant.com> | 2021-03-23 02:44:02 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-03-23 02:47:41 -0700 |
commit | 8a3ce82d689e16424620e3b52161f19771d19d1d (patch) | |
tree | 698c5a996226696ce4a45094a62358a1fc0461f8 /src/test | |
parent | 734be59ad7edaa1444f713338fcdbc0c4b9c273b (diff) | |
download | wix-8a3ce82d689e16424620e3b52161f19771d19d1d.tar.gz wix-8a3ce82d689e16424620e3b52161f19771d19d1d.tar.bz2 wix-8a3ce82d689e16424620e3b52161f19771d19d1d.zip |
Correctly set Compressed, Description, DisplayName in BootstrapperApplicationData
Fixes wixtoolset/issues#6371
Fixes wixtoolset/issues#6372
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/BundleManifestFixture.cs | 8 | ||||
-rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/TestData/CustomPackageDescription/CustomPackageDescription.wxs | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/BundleManifestFixture.cs b/src/test/WixToolsetTest.CoreIntegration/BundleManifestFixture.cs index 7ec3104c..43386789 100644 --- a/src/test/WixToolsetTest.CoreIntegration/BundleManifestFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/BundleManifestFixture.cs | |||
@@ -51,7 +51,7 @@ namespace WixToolsetTest.CoreIntegration | |||
51 | } | 51 | } |
52 | } | 52 | } |
53 | 53 | ||
54 | [Fact(Skip = "https://github.com/wixtoolset/issues/issues/6372")] | 54 | [Fact] |
55 | public void PopulatesBAManifestWithPackageInformation() | 55 | public void PopulatesBAManifestWithPackageInformation() |
56 | { | 56 | { |
57 | var folder = TestData.Get(@"TestData"); | 57 | var folder = TestData.Get(@"TestData"); |
@@ -278,7 +278,7 @@ namespace WixToolsetTest.CoreIntegration | |||
278 | } | 278 | } |
279 | } | 279 | } |
280 | 280 | ||
281 | [Fact(Skip = "https://github.com/wixtoolset/issues/issues/6370")] | 281 | [Fact] |
282 | public void PopulatesManifestWithExePackages() | 282 | public void PopulatesManifestWithExePackages() |
283 | { | 283 | { |
284 | var folder = TestData.Get(@"TestData"); | 284 | var folder = TestData.Get(@"TestData"); |
@@ -315,8 +315,8 @@ namespace WixToolsetTest.CoreIntegration | |||
315 | { "ExePackage", new List<string> { "CacheId", "InstallSize", "Size" } }, | 315 | { "ExePackage", new List<string> { "CacheId", "InstallSize", "Size" } }, |
316 | }; | 316 | }; |
317 | Assert.Equal(2, exePackageElements.Count); | 317 | Assert.Equal(2, exePackageElements.Count); |
318 | Assert.Equal("<ExePackage Id='credwiz.exe' Cache='yes' CacheId='*' InstallSize='*' Size='*' PerMachine='yes' Permanent='yes' Vital='yes' RollbackBoundaryForward='WixDefaultBoundary' LogPathVariable='WixBundleLog_credwiz.exe' RollbackLogPathVariable='WixBundleRollbackLog_credwiz.exe' DetectCondition='' InstallArguments='' UninstallArguments='' RepairArguments='' Repairable='no'><PayloadRef Id='credwiz.exe' /><PayloadRef Id='payue_e5DuhsDGlzJxWYPhqr6S7rkc' /></ExePackage>", exePackageElements[0].GetTestXml(ignoreAttributesByElementName)); | 318 | Assert.Equal("<ExePackage Id='credwiz.exe' Cache='yes' CacheId='*' InstallSize='*' Size='*' PerMachine='yes' Permanent='yes' Vital='yes' RollbackBoundaryForward='WixDefaultBoundary' LogPathVariable='WixBundleLog_credwiz.exe' RollbackLogPathVariable='WixBundleRollbackLog_credwiz.exe' DetectCondition='' InstallArguments='' UninstallArguments='' RepairArguments='' Repairable='no'><PayloadRef Id='credwiz.exe' /><PayloadRef Id='SourceFilePayload' /></ExePackage>", exePackageElements[0].GetTestXml(ignoreAttributesByElementName)); |
319 | Assert.Equal("<ExePackage Id='cscript.exe' Cache='yes' CacheId='*' InstallSize='*' Size='*' PerMachine='yes' Permanent='yes' Vital='yes' RollbackBoundaryBackward='WixDefaultBoundary' LogPathVariable='WixBundleLog_cscript.exe' RollbackLogPathVariable='WixBundleRollbackLog_cscript.exe' DetectCondition='' InstallArguments='' UninstallArguments='' RepairArguments='' Repairable='no'><PayloadRef Id='cscript.exe' /><PayloadRef Id='payue_e5DuhsDGlzJxWYPhqr6S7rkc' /></ExePackage>", exePackageElements[1].GetTestXml(ignoreAttributesByElementName)); | 319 | Assert.Equal("<ExePackage Id='cscript.exe' Cache='yes' CacheId='*' InstallSize='*' Size='*' PerMachine='yes' Permanent='yes' Vital='yes' RollbackBoundaryBackward='WixDefaultBoundary' LogPathVariable='WixBundleLog_cscript.exe' RollbackLogPathVariable='WixBundleRollbackLog_cscript.exe' DetectCondition='' InstallArguments='' UninstallArguments='' RepairArguments='' Repairable='no'><PayloadRef Id='cscript.exe' /><PayloadRef Id='SourceFilePayload' /></ExePackage>", exePackageElements[1].GetTestXml(ignoreAttributesByElementName)); |
320 | } | 320 | } |
321 | } | 321 | } |
322 | 322 | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/CustomPackageDescription/CustomPackageDescription.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/CustomPackageDescription/CustomPackageDescription.wxs index db8b05f2..10c4f91f 100644 --- a/src/test/WixToolsetTest.CoreIntegration/TestData/CustomPackageDescription/CustomPackageDescription.wxs +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/CustomPackageDescription/CustomPackageDescription.wxs | |||
@@ -2,11 +2,11 @@ | |||
2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
3 | <Fragment> | 3 | <Fragment> |
4 | <PackageGroup Id="BundlePackages"> | 4 | <PackageGroup Id="BundlePackages"> |
5 | <ExePackage SourceFile="burn.exe" Permanent="yes" /> | 5 | <ExePackage DetectCondition="ForTestPurposesOnly" SourceFile="burn.exe" Permanent="yes" /> |
6 | <ExePackage Id="RemotePayloadExe" Name="fake.exe" Compressed="no" DownloadUrl="example.com" Description="Override RemotePayload description" DisplayName="Override RemotePayload display name" Permanent="yes"> | 6 | <ExePackage Id="RemotePayloadExe" DetectCondition="ForTestPurposesOnly" Description="Override RemotePayload description" DisplayName="Override RemotePayload display name" Permanent="yes"> |
7 | <RemotePayload Description="RemotePayload description" Hash="a" ProductName="RemotePayload product name" Size="1" Version="1.0.0.0" /> | 7 | <ExePackagePayload Description="RemotePayload description" Hash="a" ProductName="RemotePayload product name" Size="1" Version="1.0.0.0" Name="fake.exe" DownloadUrl="example.com" /> |
8 | </ExePackage> | 8 | </ExePackage> |
9 | <ExePackage SourceFile="C:\Windows\system32\calc.exe" Permanent="yes" Description="Override harvested description" DisplayName="Override harvested display name" /> | 9 | <ExePackage DetectCondition="ForTestPurposesOnly" SourceFile="C:\Windows\system32\calc.exe" Permanent="yes" Description="Override harvested description" DisplayName="Override harvested display name" /> |
10 | </PackageGroup> | 10 | </PackageGroup> |
11 | </Fragment> | 11 | </Fragment> |
12 | </Wix> | 12 | </Wix> |