Signed-off-by: Nate DeSimone <[email protected]>
Cc: Ashley E Desimone <[email protected]>
Cc: Puja Pandya <[email protected]>
---
edkrepo_installer/EdkRepoInstaller/App.xaml.cs | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/edkrepo_installer/EdkRepoInstaller/App.xaml.cs
b/edkrepo_installer/EdkRepoInstaller/App.xaml.cs
index 3e56f60..58186c9 100644
--- a/edkrepo_installer/EdkRepoInstaller/App.xaml.cs
+++ b/edkrepo_installer/EdkRepoInstaller/App.xaml.cs
@@ -214,7 +214,15 @@ namespace TianoCore.EdkRepoInstaller
private bool FoundVendorCustomizedEdkRepoAlreadyInstalled(out
RegistryKey FoundVendorUninstallKey)
{
- string ProductCode = InstallerStrings.ProductCode;
+ string ProductCode = null;
+ if (VendorCustomizer.Instance != null)
+ {
+ ProductCode = VendorCustomizer.Instance.ProductCode;
+ }
+ else
+ {
+ ProductCode = InstallerStrings.ProductCode;
+ }
RegistryKey hklm =
RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry64);
RegistryKey winUninstallRegistryKey =
hklm.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall", true);
foreach (string VendorCustomizerProductCode in
InstallerStrings.KnownVendorProductCodes)
--
2.23.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#49683): https://edk2.groups.io/g/devel/message/49683
Mute This Topic: https://groups.io/mt/40038557/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-