diff --git a/setup-wix/Product.wxs b/setup-wix/Product.wxs
index db13744..b304871 100644
--- a/setup-wix/Product.wxs
+++ b/setup-wix/Product.wxs
@@ -39,12 +39,12 @@
+ Id="AppFolderRegistrySearch"
+ Type="raw"
+ Root="HKLM"
+ Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[WIX_UPGRADE_DETECTED]"
+ Name="$(var.ProductAppFolder)"
+ Win64="$(var.Win64)" />