Update NSIS to version 2.51
Use Chocolatey to install since we don't require custom plugins.
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
version: 1.0.{build}
|
version: 1.0.{build}
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
NSIS_ROOT: C:\nsis
|
|
||||||
CoverityProjectToken:
|
CoverityProjectToken:
|
||||||
secure: BYP5qnptMazSCwTwgiFHlfqZd7BM3bwTRq2Cbs++ofg=
|
secure: BYP5qnptMazSCwTwgiFHlfqZd7BM3bwTRq2Cbs++ofg=
|
||||||
CoverityNotificationEmail:
|
CoverityNotificationEmail:
|
||||||
@@ -10,7 +9,6 @@ environment:
|
|||||||
install:
|
install:
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
- nsissetup.exe -> appveyor.yaml
|
|
||||||
- thirdparty\download -> thirdparty\fetch-thirdparty-deps.ps1
|
- thirdparty\download -> thirdparty\fetch-thirdparty-deps.ps1
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
@@ -61,9 +59,8 @@ after_test:
|
|||||||
- '"%ProgramFiles(x86)%\Pandoc\pandoc.exe" -o DOCUMENTATION.html DOCUMENTATION.md'
|
- '"%ProgramFiles(x86)%\Pandoc\pandoc.exe" -o DOCUMENTATION.html DOCUMENTATION.md'
|
||||||
- '"%ProgramFiles(x86)%\Pandoc\pandoc.exe" -o Lua-API.html Lua-API.md'
|
- '"%ProgramFiles(x86)%\Pandoc\pandoc.exe" -o Lua-API.html Lua-API.md'
|
||||||
- ps: cp OpenRA.Game/OpenRA.ico .
|
- 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
|
- choco install nsis.install -version 2.51 -y
|
||||||
- nsissetup /S /D=%NSIS_ROOT%
|
- '"%ProgramFiles(x86)%\NSIS\makensis.exe" /DSRCDIR="%APPVEYOR_BUILD_FOLDER%" /DDEPSDIR="%APPVEYOR_BUILD_FOLDER%\thirdparty\download\windows" /V3 packaging/windows/OpenRA.nsi'
|
||||||
- '%NSIS_ROOT%\makensis /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 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%
|
- 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
|
- move /Y %APPVEYOR_BUILD_FOLDER%\packaging\windows\OpenRA.Setup.exe %APPVEYOR_BUILD_FOLDER%\OpenRA-%VERSION%.exe
|
||||||
|
|||||||
Reference in New Issue
Block a user