Ensure Inno Setup 5 is installed in Azure Pipelines

This commit is contained in:
Nelson Chen 2019-07-08 20:25:49 -07:00 committed by Adrian Lucrèce Céleste
parent 8e8b38b493
commit af444a6932
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ jobs:
inputs: inputs:
pathtoPublish: $(Build.ArtifactStagingDirectory)\$(CI_ENV_BUILD_TYPE).zip pathtoPublish: $(Build.ArtifactStagingDirectory)\$(CI_ENV_BUILD_TYPE).zip
artifactName: Windows $(CI_ENV_BUILD_TYPE) artifactName: Windows $(CI_ENV_BUILD_TYPE)
- script: choco install innosetup --version 5.6.1.20190126 --allow-downgrade
displayName: Ensure desired version of Inno Setup is installed.
condition: eq(variables['CI_ENV_BUILD_TYPE'], 'Release')
- script: build_installer.bat - script: build_installer.bat
displayName: Build Installer displayName: Build Installer
condition: eq(variables['CI_ENV_BUILD_TYPE'], 'Release') condition: eq(variables['CI_ENV_BUILD_TYPE'], 'Release')