summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2020-01-04 17:20:04 (GMT)
committerPatrick Storz <eduard.braun2@gmx.de>2020-01-04 17:20:27 (GMT)
commit9d2816544ea811e2d1793c5a92c14697aa8e43c1 (patch)
treed2966409669813b3e6f31b411dc25ff61b68e3b7
parent13567bd1861ab36cfcdd4aa1ffdc935c8fcf6cf7 (diff)
downloadCMake-9d2816544ea811e2d1793c5a92c14697aa8e43c1.zip
CMake-9d2816544ea811e2d1793c5a92c14697aa8e43c1.tar.gz
CMake-9d2816544ea811e2d1793c5a92c14697aa8e43c1.tar.bz2
CPack/NSIS: Also preload the "UserInfo.dll" plugin
This is currently used to provide UserInfo::GetName and UserInfo::GetAccountType functions.
-rw-r--r--Modules/Internal/CPack/NSIS.template.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Internal/CPack/NSIS.template.in b/Modules/Internal/CPack/NSIS.template.in
index 7d6a755..660bfa3 100644
--- a/Modules/Internal/CPack/NSIS.template.in
+++ b/Modules/Internal/CPack/NSIS.template.in
@@ -623,6 +623,9 @@ FunctionEnd
ReserveFile "NSIS.InstallOptions.ini"
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
+ ; for UserInfo::GetName and UserInfo::GetAccountType
+ ReserveFile /plugin 'UserInfo.dll'
+
;--------------------------------
; Installation types
@CPACK_NSIS_INSTALLATION_TYPES@