diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2022-04-04 17:38:26 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2022-04-05 13:52:11 -0500 |
| commit | 75f4dce4ea53b82f99932573f27ccfc799d0c5c1 (patch) | |
| tree | 4225579b861b4998138c19e9108d3cf91b13ad80 /src/test/burn/WixTestTools | |
| parent | 44c2ca035c1a5d52a6b3299ba3abbb8b88f7f1c0 (diff) | |
| download | wix-75f4dce4ea53b82f99932573f27ccfc799d0c5c1.tar.gz wix-75f4dce4ea53b82f99932573f27ccfc799d0c5c1.tar.bz2 wix-75f4dce4ea53b82f99932573f27ccfc799d0c5c1.zip | |
Add option for BundlePackage to be hidden in ARP like MsiPackage.
Requires support for this feature in the nested bundle.
Simplest implementation of 4454
Diffstat (limited to 'src/test/burn/WixTestTools')
| -rw-r--r-- | src/test/burn/WixTestTools/BundleRegistration.cs | 3 | ||||
| -rw-r--r-- | src/test/burn/WixTestTools/BundleVerifier.cs | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/test/burn/WixTestTools/BundleRegistration.cs b/src/test/burn/WixTestTools/BundleRegistration.cs index 75660838..3541e7ea 100644 --- a/src/test/burn/WixTestTools/BundleRegistration.cs +++ b/src/test/burn/WixTestTools/BundleRegistration.cs | |||
| @@ -66,6 +66,8 @@ namespace WixTestTools | |||
| 66 | 66 | ||
| 67 | public string Publisher { get; set; } | 67 | public string Publisher { get; set; } |
| 68 | 68 | ||
| 69 | public int? SystemComponent { get; set; } | ||
| 70 | |||
| 69 | public string QuietUninstallString { get; set; } | 71 | public string QuietUninstallString { get; set; } |
| 70 | 72 | ||
| 71 | public string QuietUninstallCommand { get; set; } | 73 | public string QuietUninstallCommand { get; set; } |
| @@ -125,6 +127,7 @@ namespace WixTestTools | |||
| 125 | registration.Installed = idKey.GetValue(REGISTRY_BUNDLE_INSTALLED) as int?; | 127 | registration.Installed = idKey.GetValue(REGISTRY_BUNDLE_INSTALLED) as int?; |
| 126 | registration.ModifyPath = idKey.GetValue(REGISTRY_BUNDLE_MODIFY_PATH) as string; | 128 | registration.ModifyPath = idKey.GetValue(REGISTRY_BUNDLE_MODIFY_PATH) as string; |
| 127 | registration.Publisher = idKey.GetValue(REGISTRY_BUNDLE_PUBLISHER) as string; | 129 | registration.Publisher = idKey.GetValue(REGISTRY_BUNDLE_PUBLISHER) as string; |
| 130 | registration.SystemComponent = idKey.GetValue(REGISTRY_BUNDLE_SYSTEM_COMPONENT) as int?; | ||
| 128 | registration.UrlInfoAbout = idKey.GetValue(REGISTRY_BUNDLE_URL_INFO_ABOUT) as string; | 131 | registration.UrlInfoAbout = idKey.GetValue(REGISTRY_BUNDLE_URL_INFO_ABOUT) as string; |
| 129 | registration.UrlUpdateInfo = idKey.GetValue(REGISTRY_BUNDLE_URL_UPDATE_INFO) as string; | 132 | registration.UrlUpdateInfo = idKey.GetValue(REGISTRY_BUNDLE_URL_UPDATE_INFO) as string; |
| 130 | 133 | ||
diff --git a/src/test/burn/WixTestTools/BundleVerifier.cs b/src/test/burn/WixTestTools/BundleVerifier.cs index e0edb081..a5dbe0ec 100644 --- a/src/test/burn/WixTestTools/BundleVerifier.cs +++ b/src/test/burn/WixTestTools/BundleVerifier.cs | |||
| @@ -87,10 +87,12 @@ namespace WixTestTools | |||
| 87 | } | 87 | } |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | public string VerifyRegisteredAndInPackageCache() | 90 | public string VerifyRegisteredAndInPackageCache(int? expectedSystemComponent = null) |
| 91 | { | 91 | { |
| 92 | Assert.True(this.TryGetRegistration(out var registration)); | 92 | Assert.True(this.TryGetRegistration(out var registration)); |
| 93 | 93 | ||
| 94 | Assert.Equal(expectedSystemComponent, registration.SystemComponent); | ||
| 95 | |||
| 94 | Assert.NotNull(registration.CachePath); | 96 | Assert.NotNull(registration.CachePath); |
| 95 | Assert.True(File.Exists(registration.CachePath)); | 97 | Assert.True(File.Exists(registration.CachePath)); |
| 96 | 98 | ||
