CPack/NSIS: Also preload the "UserInfo.dll" plugin

This is currently used to provide
UserInfo::GetName and UserInfo::GetAccountType functions.
This commit is contained in:
Patrick Storz 2020-01-04 18:20:04 +01:00
parent 13567bd186
commit 9d2816544e

View File

@ -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@