From 9d2816544ea811e2d1793c5a92c14697aa8e43c1 Mon Sep 17 00:00:00 2001 From: Patrick Storz Date: Sat, 4 Jan 2020 18:20:04 +0100 Subject: CPack/NSIS: Also preload the "UserInfo.dll" plugin This is currently used to provide UserInfo::GetName and UserInfo::GetAccountType functions. --- Modules/Internal/CPack/NSIS.template.in | 3 +++ 1 file changed, 3 insertions(+) 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@ -- cgit v0.12