diff --git a/build/geany-plugins.nsi b/build/geany-plugins.nsi index 8e7929b22..20ca8a2eb 100644 --- a/build/geany-plugins.nsi +++ b/build/geany-plugins.nsi @@ -26,6 +26,8 @@ ; Do a Cyclic Redundancy Check to make sure the installer was not corrupted by the download CRCCheck force RequestExecutionLevel highest ; set execution level for Windows Vista +; NSIS 3 Unicode support +Unicode true ;;;;;;;;;;;;;;;;;;; ; helper defines ; @@ -51,12 +53,13 @@ VIAddVersionKey "ProductVersion" "${PRODUCT_VERSION}" VIAddVersionKey "LegalCopyright" "Copyright 2009-2019 by the Geany developer team" VIAddVersionKey "FileDescription" "${PRODUCT_NAME} Installer" -BrandingText "$(^NAME) installer (NSIS 2.51)" +BrandingText "$(^NAME) installer (NSIS 3.04)" Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" SetCompressor /SOLID lzma ShowInstDetails hide ShowUnInstDetails hide XPStyle on +ManifestSupportedOS all OutFile "geany-plugins-${PRODUCT_VERSION}_setup.exe" Var Answer @@ -69,10 +72,10 @@ Var UNINSTDIR !include "MUI2.nsh" ;Reserve files used in .onInit, for faster start-up -ReserveFile "${NSISDIR}\Plugins\System.dll" -ReserveFile "${NSISDIR}\Plugins\UserInfo.dll" -ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll" -ReserveFile "${NSISDIR}\Plugins\LangDLL.dll" +ReserveFile "${NSISDIR}\Plugins\x86-unicode\System.dll" +ReserveFile "${NSISDIR}\Plugins\x86-unicode\UserInfo.dll" +ReserveFile "${NSISDIR}\Plugins\x86-unicode\InstallOptions.dll" +ReserveFile "${NSISDIR}\Plugins\x86-unicode\LangDLL.dll" !define MUI_ABORTWARNING ; FIXME hard-coded path...should we add geany.ico to the geany-plugins repo?