Browse Source

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>
v4.x
João Reis 8 years ago
committed by Myles Borins
parent
commit
bdb6cf92c7
  1. 2
      tools/msvs/msi/product.wxs

2
tools/msvs/msi/product.wxs

@ -42,7 +42,7 @@
<Property Id="ApplicationFolderName" Value="nodejs"/> <Property Id="ApplicationFolderName" Value="nodejs"/>
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR"/> <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR"/>
<Property Id="INSTALLDIR"> <Property Id="INSTALLDIR" Secure="yes">
<RegistrySearch Id="InstallPathRegistry" <RegistrySearch Id="InstallPathRegistry"
Type="raw" Type="raw"
Root="HKLM" Root="HKLM"

Loading…
Cancel
Save