8220264: msi installer does not remove some files if app installed into non-default location JDK-8200758-branch
authorherrick
Mon, 18 Mar 2019 09:09:36 -0400
branchJDK-8200758-branch
changeset 57269 d28d38406872
parent 57265 c93edb3dfb0c
child 57276 eac9018748b3
8220264: msi installer does not remove some files if app installed into non-default location Submitten-by: almatvee Reviewed-by: herrick
src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/template.jre.wxs
src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/template.wxs
--- 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">