From a5a8fc697534335537ab535ea0c2c57e5f415229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Reis?= Date: Thu, 2 Jul 2015 16:48:59 +0100 Subject: [PATCH] win,msi: correct installation path registry keys Since install is per machine only, installation path should be stored in local machine instead of current user. The registry stores HKLM in different places for 32 and 64 bit applications, so the installer will not suggest the old path when upgrading from 32 to 64 bit version. Fixes #5592 Fixes #25087 PR-URL: https://github.com/joyent/node/pull/25640 Reviewed-By: Alexis Campailla Reviewed-By: Bert Belder --- tools/msvs/msi/product.wxs | 42 ++++++++++++++++++++++++++++---------- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/tools/msvs/msi/product.wxs b/tools/msvs/msi/product.wxs index 2ce00a44b1df..3c3eb685bcca 100755 --- a/tools/msvs/msi/product.wxs +++ b/tools/msvs/msi/product.wxs @@ -32,6 +32,14 @@ + + + - + @@ -117,6 +126,20 @@ + + + + + @@ -139,18 +162,15 @@ - + + -