summaryrefslogtreecommitdiff
path: root/tools/msvs/msi
diff options
context:
space:
mode:
authorJoão Reis <reis@janeasystems.com>2016-09-26 19:24:19 +0100
committerJoão Reis <reis@janeasystems.com>2016-10-10 17:36:05 +0100
commit4896f0f6103154da355606653606bc79b0f8f01d (patch)
treeca3c632e4c316277b4d09b1305119296546e353b /tools/msvs/msi
parenta60f6078a17b92cd944635ce19cdd6710a04b1a4 (diff)
downloadandroid-node-v8-4896f0f6103154da355606653606bc79b0f8f01d.tar.gz
android-node-v8-4896f0f6103154da355606653606bc79b0f8f01d.tar.bz2
android-node-v8-4896f0f6103154da355606653606bc79b0f8f01d.zip
win,msi: mark INSTALLDIR property as secure
Allows INSTALLDIR to be passed to the server MSIExec process during installation. PR-URL: https://github.com/nodejs/node/pull/8795 Fixes: https://github.com/nodejs/node/issues/6057 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'tools/msvs/msi')
-rwxr-xr-xtools/msvs/msi/product.wxs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/msvs/msi/product.wxs b/tools/msvs/msi/product.wxs
index eed53e4710..db2a74a705 100755
--- a/tools/msvs/msi/product.wxs
+++ b/tools/msvs/msi/product.wxs
@@ -46,7 +46,7 @@
<Property Id="ApplicationFolderName" Value="nodejs"/>
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR"/>
- <Property Id="INSTALLDIR">
+ <Property Id="INSTALLDIR" Secure="yes">
<RegistrySearch Id="InstallPathRegistry"
Type="raw"
Root="HKLM"