From nobody Fri Apr 19 17:52:05 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+49683+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+49683+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1572479322; cv=none; d=zoho.com; s=zohoarc; b=XSbGLmQQ2tzEXigciTIxIY3Rd1nurL2ozYs5JxVcFrZfkdZ9n/SIQgLabl96g+5XVojWIwFecvRxTP3B6FGCZ1xh+pGaOWmm3+zscg68lMMTBEZ22P40A/gQ1GUMbBB1zrtkLzgaUdumqWANl0C45fCcUpCTirvMxYCSZ+R5IIM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1572479322; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=VLSvZQjHTpn37YToi/xqCasFERbEyXOb+8/z7I/7qFo=; b=S2NfHcDR66Lq2hGisjNQZixrdrGE2BGFbm6P10ZlgDnASs17DPhlhqV4WQTX/6/2L2HHRZvv2hIO/iAjzprRSdYTXyneaTb0Rrdwe8ZwHmyQeRScZj6Yl59aZA6BojIJ2RFVt+iBt6oB8rBUYBfaTeq5m4hzEjMiYM/Z0mtlHwA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+49683+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1572479322596613.6486315796351; Wed, 30 Oct 2019 16:48:42 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 9YWaYY1788612x3XSz1SMQqd; Wed, 30 Oct 2019 16:48:42 -0700 X-Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web09.290.1572479321429093396 for ; Wed, 30 Oct 2019 16:48:41 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Oct 2019 16:48:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,248,1569308400"; d="scan'208";a="283708739" X-Received: from nldesimo-desk1.amr.corp.intel.com ([10.7.159.63]) by orsmga001.jf.intel.com with ESMTP; 30 Oct 2019 16:48:40 -0700 From: "Nate DeSimone" To: devel@edk2.groups.io Cc: Ashley E Desimone , Puja Pandya Subject: [edk2-devel] [edk2-staging/EdkRepo] [PATCH] EdkRepo: Make Installer use ProductCode from Vendor Customizer Date: Wed, 30 Oct 2019 16:48:39 -0700 Message-Id: <20191030234839.4557-1-nathaniel.l.desimone@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,nathaniel.l.desimone@intel.com X-Gm-Message-State: vmsmwmXbGnEfvw3n2Upq0I1dx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1572479322; bh=H0e5QJ4H4Xp7QxFl7+bB+70y11Bbee2JzYU9tmYZ9iQ=; h=Cc:Date:From:Reply-To:Subject:To; b=GhgArBus00heGxmhIYey3m+dBRXAiXy58CIER+m2coElLA1sAQcauJVtMESEUWWPXhf moPvVrq5xkSB37PW7gdgjiF9vpmRQ504RzCFER/SLPbtFHDK27XPJTYCAa5txHVGgHCyz +8mRk/HO4O2Ei6Rn2VJdyWJl9RD8qtJD2Ak= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Signed-off-by: Nate DeSimone Cc: Ashley E Desimone Cc: Puja Pandya Reviewed-by: Ashley DeSimone --- 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_insta= ller/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 =20 private bool FoundVendorCustomizedEdkRepoAlreadyInstalled(out Regi= stryKey FoundVendorUninstallKey) { - string ProductCode =3D InstallerStrings.ProductCode; + string ProductCode =3D null; + if (VendorCustomizer.Instance !=3D null) + { + ProductCode =3D VendorCustomizer.Instance.ProductCode; + } + else + { + ProductCode =3D InstallerStrings.ProductCode; + } RegistryKey hklm =3D RegistryKey.OpenBaseKey(RegistryHive.Loca= lMachine, RegistryView.Registry64); RegistryKey winUninstallRegistryKey =3D hklm.OpenSubKey(@"SOFT= WARE\Microsoft\Windows\CurrentVersion\Uninstall", true); foreach (string VendorCustomizerProductCode in InstallerString= s.KnownVendorProductCodes) --=20 2.23.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- 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/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-