From 4f07cab9df06f026ba354ed25ff0b2f50ec5e1aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Reis?= Date: Wed, 26 Aug 2015 20:11:27 +0100 Subject: [PATCH] win,msi: correct installation path registry keys This is a port of 14db629497d0eb97a5f0fbb70cf3e534e460deec. Original commit message: 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 joyent/node#5592 Fixes joyent/node#25087 PR-URL: https://github.com/joyent/node/pull/25640 Reviewed-By: Alexis Campailla Reviewed-By: Bert Belder PR-URL: https://github.com/nodejs/node/pull/2565 Reviewed-By: Alexis Campailla --- 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 bf40b8d420ace1..841aeaa64fa9b5 100755 --- a/tools/msvs/msi/product.wxs +++ b/tools/msvs/msi/product.wxs @@ -35,6 +35,14 @@ + + + - + @@ -133,6 +142,20 @@ + + + + + @@ -155,18 +178,15 @@ - + + -