From c6a54d09642ffe7fcf2c467a6e4ef95d86d2d3fa 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 f890635c461c2f..172399ca5c8703 100755 --- a/tools/msvs/msi/product.wxs +++ b/tools/msvs/msi/product.wxs @@ -44,6 +44,14 @@ + + + - + @@ -129,6 +138,20 @@ + + + + + @@ -151,18 +174,15 @@ - + + -