diff --git a/JamiInstaller/Product.wxs b/JamiInstaller/Product.wxs
index 7970d274217e91e671aa0fbdc728499b801dd059..d11ecd21f33724c38557ed0bcb0dab115425e741 100644
--- a/JamiInstaller/Product.wxs
+++ b/JamiInstaller/Product.wxs
@@ -30,16 +30,6 @@
         <MergeRef Id="VCRedist"/>
       </Feature>
 
-      <!--Find User Defined Installition Registry If User changes the Default Registry-->
-      <Property Id="APPLICATIONFOLDER" Secure="yes">
-        <RegistrySearch Id="FindInstallLocation"
-            Root="HKLM"
-            Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[WIX_UPGRADE_DETECTED]"
-            Name="InstallLocation"
-            Type="raw"
-            Win64="yes" />
-      </Property>
-
       <!--SetDirectory of APPLICATIONFOLDER -->
       <SetDirectory
           Id="APPLICATIONFOLDER"
@@ -53,7 +43,7 @@
         <WixVariable Id="WixUISupportPerUser" Value="0" />
 
       <CustomAction Id="removeOldJamiFiles" Directory="APPLICATIONFOLDER"
-                    ExeCommand="cmd /c &quot;del vc_redist.x64.exe; del uninstall.exe;&quot;"
+                    ExeCommand="cmd /c &quot;del vc_redist.x64.exe; del uninstall.exe; del WinSparkle.dll;&quot;"
                     Execute="deferred" Return="ignore" HideTarget="no" Impersonate="no" />
 
     </Product>