summaryrefslogtreecommitdiffstats
path: root/Modules/Internal/CPack/NSIS.template.in
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Internal/CPack/NSIS.template.in')
-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@