8220264: msi installer does not remove some files if app installed into non-default location
Submitten-by: almatvee
Reviewed-by: herrick
--- a/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/template.jre.wxs Wed Mar 13 17:18:35 2019 -0400
+++ b/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/template.jre.wxs Mon Mar 18 09:09:36 2019 -0400
@@ -24,7 +24,7 @@
-->
<Property Id="APPLICATIONFOLDER">
<RegistrySearch Key="SOFTWARE\APPLICATION_VENDOR\APPLICATION_NAME"
- Root="REGISTRY_ROOT" Type="raw"
+ Root="REGISTRY_ROOT" Type="raw" Win64="WIN64"
Id="APPLICATIONFOLDER_REGSEARCH" Name="Path" />
</Property>
<DirectoryRef Id="APPLICATIONFOLDER">
--- a/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/template.wxs Wed Mar 13 17:18:35 2019 -0400
+++ b/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/template.wxs Mon Mar 18 09:09:36 2019 -0400
@@ -24,7 +24,7 @@
-->
<Property Id="APPLICATIONFOLDER">
<RegistrySearch Key="SOFTWARE\APPLICATION_VENDOR\APPLICATION_NAME"
- Root="REGISTRY_ROOT" Type="raw"
+ Root="REGISTRY_ROOT" Type="raw" Win64="WIN64"
Id="APPLICATIONFOLDER_REGSEARCH" Name="Path" />
</Property>
<DirectoryRef Id="APPLICATIONFOLDER">