From c403345fed5b77d03068f70b18f6e3554751c26c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 11 Jun 2016 19:36:06 +0200 Subject: [PATCH] Update NSIS to version 2.51 Use Chocolatey to install since we don't require custom plugins. --- appveyor.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 1b0f932cca..d916478274 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,6 @@ version: 1.0.{build} environment: - NSIS_ROOT: C:\nsis CoverityProjectToken: secure: BYP5qnptMazSCwTwgiFHlfqZd7BM3bwTRq2Cbs++ofg= CoverityNotificationEmail: @@ -10,7 +9,6 @@ environment: install: cache: - - nsissetup.exe -> appveyor.yaml - thirdparty\download -> thirdparty\fetch-thirdparty-deps.ps1 before_build: @@ -61,9 +59,8 @@ after_test: - '"%ProgramFiles(x86)%\Pandoc\pandoc.exe" -o DOCUMENTATION.html DOCUMENTATION.md' - '"%ProgramFiles(x86)%\Pandoc\pandoc.exe" -o Lua-API.html Lua-API.md' - ps: cp OpenRA.Game/OpenRA.ico . - - if not exist nsissetup.exe appveyor DownloadFile "http://downloads.sourceforge.net/project/nsis/NSIS 2/2.46/nsis-2.46-setup.exe" -FileName nsissetup.exe - - nsissetup /S /D=%NSIS_ROOT% - - '%NSIS_ROOT%\makensis /DSRCDIR="%APPVEYOR_BUILD_FOLDER%" /DDEPSDIR="%APPVEYOR_BUILD_FOLDER%\thirdparty\download\windows" /V3 packaging/windows/OpenRA.nsi' + - choco install nsis.install -version 2.51 -y + - '"%ProgramFiles(x86)%\NSIS\makensis.exe" /DSRCDIR="%APPVEYOR_BUILD_FOLDER%" /DDEPSDIR="%APPVEYOR_BUILD_FOLDER%\thirdparty\download\windows" /V3 packaging/windows/OpenRA.nsi' - if defined APPVEYOR_REPO_TAG_NAME set VERSION=%APPVEYOR_REPO_TAG_NAME% - if not defined APPVEYOR_REPO_TAG_NAME set VERSION=%APPVEYOR_REPO_COMMIT:~0,7% - move /Y %APPVEYOR_BUILD_FOLDER%\packaging\windows\OpenRA.Setup.exe %APPVEYOR_BUILD_FOLDER%\OpenRA-%VERSION%.exe