[vlc-devel] [PATCH 4/4] NSIS: improve the installation of folders

Daniel Amm da2424 at t-online.de
Fri Jan 22 19:08:59 CET 2016


Do not search for all matching folders/files, but only the specified folder.
---
 extras/package/win32/NSIS/helpers/install.nsh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/extras/package/win32/NSIS/helpers/install.nsh b/extras/package/win32/NSIS/helpers/install.nsh
index 68adb79..e856b1e 100644
--- a/extras/package/win32/NSIS/helpers/install.nsh
+++ b/extras/package/win32/NSIS/helpers/install.nsh
@@ -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
-- 
2.7.0.windows.1



More information about the vlc-devel mailing list