From bb24c4a418d08c0db5b1250953099bab5da41259 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 Cherry picked to v3.x by @rvagg, PR: https://github.com/nodejs/node/pull/2608 --- tools/msvs/msi/product.wxs | 44 +++++++++++++++++++++++++++----------- 1 file changed, 32 insertions(+), 12 deletions(-) diff --git a/tools/msvs/msi/product.wxs b/tools/msvs/msi/product.wxs index bf40b8d420ace1..9e7eadc845fde7 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 @@ - + + - + $NodeAlias = 3 -