diff --git a/development/Win32/packaging/Microsoft.VC80.CRT.manifest b/development/Win32/packaging/Microsoft.VC80.CRT.manifest new file mode 100644 index 0000000000..217731fbb2 --- /dev/null +++ b/development/Win32/packaging/Microsoft.VC80.CRT.manifest @@ -0,0 +1,15 @@ + + + + + + + + + diff --git a/development/Win32/packaging/installer/components/core.nsh b/development/Win32/packaging/installer/components/core.nsh index dfab249922..eb0c7e042e 100644 --- a/development/Win32/packaging/installer/components/core.nsh +++ b/development/Win32/packaging/installer/components/core.nsh @@ -22,7 +22,11 @@ Section -Core SecCore RMDir /r "$INSTDIR\python\DLLs" RMDir /r "$INSTDIR\python\libs" - RMDir /r "$INSTDIR\python\python25.dll" + RMDir /r "$INSTDIR\python\python25.dll" + + ;Remove previous latextools folder (moved to bin) + + RMDir /r "$INSTDIR\latextools" ;Binaries @@ -36,6 +40,7 @@ Section -Core SecCore !insertmacro FileListDllMSVCBin File "${FILES_DEPS}\bin\" !insertmacro FileListMSVCBin File "${FILES_MSVC}\" + !insertmacro FileListMSVCManifest File "..\" !else !insertmacro FileListDllMSVCBin Delete "$INSTDIR\bin\" !insertmacro FileListMSVCBin Delete "$INSTDIR\bin\" @@ -44,9 +49,6 @@ Section -Core SecCore !insertmacro FileListMinGWBin File "${FILES_MINGW}\bin\" !endif - ;LaTeX tools - - SetOutPath "$INSTDIR\latextools" !insertmacro FileListNetpbmBin File "${FILES_NETPBM}\" !insertmacro FileListDvipostBin File "${FILES_DVIPOST}\" !insertmacro FileListDTLBin File "${FILES_DTL}\" diff --git a/development/Win32/packaging/installer/components/uninstall.nsh b/development/Win32/packaging/installer/components/uninstall.nsh index 6d8447fab3..e00dab3aa2 100644 --- a/development/Win32/packaging/installer/components/uninstall.nsh +++ b/development/Win32/packaging/installer/components/uninstall.nsh @@ -18,17 +18,15 @@ Section "un.Program Files" un.SecProgramFiles !ifdef BUILD_MSVC !insertmacro FileListDllMSVCBin Delete "$INSTDIR\bin\" !insertmacro FileListMSVCBin Delete "$INSTDIR\bin\" + !insertmacro FileListMSVCManifest Delete "$INSTDIR\bin\" !else !insertmacro FileListDllMinGWBin Delete "$INSTDIR\bin\" !insertmacro FileListMinGWBin Delete "$INSTDIR\bin\" !endif - - ;LaTeX Tools - !insertmacro FileListNetpbmBin Delete "$INSTDIR\latextools\" - !insertmacro FileListDvipostBin Delete "$INSTDIR\latextools\" - !insertmacro FileListDTLBin Delete "$INSTDIR\latextools\" - RMDir "$INSTDIR\latextools" + !insertmacro FileListNetpbmBin Delete "$INSTDIR\bin\" + !insertmacro FileListDvipostBin Delete "$INSTDIR\bin\" + !insertmacro FileListDTLBin Delete "$INSTDIR\bin\" ;Icons diff --git a/development/Win32/packaging/installer/include/detection.nsh b/development/Win32/packaging/installer/include/detection.nsh index 8f8e245034..e95c3672a6 100644 --- a/development/Win32/packaging/installer/include/detection.nsh +++ b/development/Win32/packaging/installer/include/detection.nsh @@ -107,7 +107,7 @@ Function GetPathPrefix Push $R0 - StrCpy $R0 "$INSTDIR\bin;$INSTDIR\latextools;$INSTDIR\python" + StrCpy $R0 "$INSTDIR\python" ${if} $PathLaTeX != "" StrCpy $R0 "$R0;$PathLaTeX" diff --git a/development/Win32/packaging/installer/include/filelists.nsh b/development/Win32/packaging/installer/include/filelists.nsh index 0ced899a5c..c34a2fa3ef 100644 --- a/development/Win32/packaging/installer/include/filelists.nsh +++ b/development/Win32/packaging/installer/include/filelists.nsh @@ -37,6 +37,12 @@ Lists of files to include in the installer !macroend +!macro FileListMSVCManifest COMMAND DIRECTORY + + ${COMMAND} "${DIRECTORY}\Microsoft.VC80.CRT.manifest" + +!macroend + !macro FileListMinGWBin COMMAND DIRECTORY ${COMMAND} "${DIRECTORY}mingwm10.dll" diff --git a/development/Win32/packaging/installer/include/gui.nsh b/development/Win32/packaging/installer/include/gui.nsh index 02bd3913b4..b51d34f71a 100644 --- a/development/Win32/packaging/installer/include/gui.nsh +++ b/development/Win32/packaging/installer/include/gui.nsh @@ -85,6 +85,8 @@ Page custom PageLanguage PageLanguageValidate ;Languages !insertmacro IncludeLang "english" +!insertmacro IncludeLang "french" +!insertmacro IncludeLang "german" !insertmacro IncludeLang "italian" ;-------------------------------- diff --git a/development/Win32/packaging/installer/lyx.nsi b/development/Win32/packaging/installer/lyx.nsi index 6ef6986c54..9ec5c833ac 100644 --- a/development/Win32/packaging/installer/lyx.nsi +++ b/development/Win32/packaging/installer/lyx.nsi @@ -26,7 +26,6 @@ Function .onInit ${unless} ${silent} Banner::destroy - !insertmacro MUI_LANGDLL_DISPLAY ${endif} FunctionEnd