From 063b7ff84954129d8488f24ef4e36f5acfddd09b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Thu, 14 Jan 2016 22:56:49 +0100 Subject: [PATCH] Win installer: we need to ship the Qt platform dlls - also remove now unnecessary file lists --- .../packaging/installer/include/filelist.nsh | 24 +++++++------------ .../packaging/installer/setup/install.nsh | 4 ++-- 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/development/Win32/packaging/installer/include/filelist.nsh b/development/Win32/packaging/installer/include/filelist.nsh index faafb633df..d4be8046a8 100644 --- a/development/Win32/packaging/installer/include/filelist.nsh +++ b/development/Win32/packaging/installer/include/filelist.nsh @@ -49,6 +49,14 @@ Lists of files to include in the installer !macroend +!macro FileListQtPlatforms COMMAND DIRECTORY + + ${FILE}qminimal.dll" + ${FILE}qoffscreen.dll" + ${FILE}qwindows.dll" + +!macroend + !macro FileListMSVC COMMAND DIRECTORY # Manifest not needed for 2010 @@ -57,15 +65,6 @@ Lists of files to include in the installer !macroend -!macro FileListDll COMMAND DIRECTORY - - ${FILE}iconv.dll" - ${FILE}intl.dll" - ${FILE}libhunspell.dll" - ${FILE}zlibwapi.dll" - -!macroend - !macro FileListNetpbmBin COMMAND DIRECTORY ${FILE}libnetpbm10.dll" @@ -108,13 +107,6 @@ Lists of files to include in the installer !macroend -!macro FileListPDFToolsBin COMMAND DIRECTORY - - ${FILE}pdfopen.exe" - ${FILE}pdfclose.exe" - -!macroend - !macro FileListPDFViewBin COMMAND DIRECTORY ${FILE}pdfview.exe" diff --git a/development/Win32/packaging/installer/setup/install.nsh b/development/Win32/packaging/installer/setup/install.nsh index d350c58684..c8f58b0551 100644 --- a/development/Win32/packaging/installer/setup/install.nsh +++ b/development/Win32/packaging/installer/setup/install.nsh @@ -47,20 +47,20 @@ Section -ProgramFiles SecProgramFiles SetOutPath "$INSTDIR\bin" !insertmacro FileListLyXBin File "${FILES_LYX}\bin\" !insertmacro FileListQtBin File "${FILES_QT}\bin\" - !insertmacro FileListDll File "${FILES_DEPS}\bin\" !insertmacro FileListMSVC File "${FILES_MSVC}\" !insertmacro FileListNetpbmBin File "${FILES_NETPBM}\" !insertmacro FileListDTLBin File "${FILES_DTL}\" !insertmacro FileListRsvg File "${FILES_RSVG}\" !insertmacro FileListDvipostBin File "${FILES_DVIPOST}\" !insertmacro FileListPDFViewBin File "${FILES_PDFVIEW}\" - !insertmacro FileListPDFToolsBin File "${FILES_PDFTOOLS}\" # Qt plugin DLLs SetOutPath "$INSTDIR\bin\imageformats" !insertmacro FileListQtImageformats File "${FILES_QT}\plugins\imageformats\" SetOutPath "$INSTDIR\bin\iconengines" !insertmacro FileListQtIconengines File "${FILES_QT}\plugins\iconengines\" + SetOutPath "$INSTDIR\bin\platforms" + !insertmacro FileListQtPlatforms File "${FILES_QT}\plugins\platforms\" # Resources SetOutPath "$INSTDIR" -- 2.39.2