Commit 772f4741 authored by Daniel Amm's avatar Daniel Amm Committed by Jean-Baptiste Kempf

NSIS: improve the installation of folders

Do not search for all matching folders/files, but only the specified folder.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent ca4c538e
......@@ -30,7 +30,9 @@
!macroend
!macro InstallFolder FOLDER
File /r /x sdk "${FOLDER}"
SetOutPath "$INSTDIR\${FOLDER}"
File /r "${FOLDER}\*.*"
SetOutPath "$INSTDIR"
Push "${FOLDER}"
Call InstallFolderInternal
!macroend
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment