From b4e278aed2619a96873f6e798f4628c99a19ee04 Mon Sep 17 00:00:00 2001
From: Ben <bennybuerger@web.de>
Date: Thu, 10 Nov 2022 15:39:52 +0100
Subject: [PATCH] Update Product.wxs

Changed name of the registrykey to pv according to the documentation
---
 SampleApps/WV2DeploymentWiXCustomActionSample/Product.wxs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SampleApps/WV2DeploymentWiXCustomActionSample/Product.wxs b/SampleApps/WV2DeploymentWiXCustomActionSample/Product.wxs
index 62d6603e..773a8075 100644
--- a/SampleApps/WV2DeploymentWiXCustomActionSample/Product.wxs
+++ b/SampleApps/WV2DeploymentWiXCustomActionSample/Product.wxs
@@ -7,7 +7,7 @@
 
     <!-- Precondition: Check whether WebView RunTime already installed or not -->
     <Property Id="WVRTINSTALLED">
-      <RegistrySearch Id="WVRTInstalled" Root="HKLM" Key="SOFTWARE\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" Name="EBWebView" Type="raw" Win64="no"/>
+      <RegistrySearch Id="WVRTInstalled" Root="HKLM" Key="SOFTWARE\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" Name="pv" Type="raw" Win64="no"/>
     </Property>
 
     <!-- Step 1: Define installation folder -->