diff options
author | Maximilian Hils <git@maximilianhils.com> | 2017-05-31 17:10:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-31 17:10:55 +0200 |
commit | ab1087ed4ec69053cbd72e49f8a496959a119611 (patch) | |
tree | 194b1440b4cf7ce77335fde58bf802e862cdcf9b /.appveyor.yml | |
parent | acd568c6faa424f810cf7b1cfd3b4a8173b664d3 (diff) | |
download | mitmproxy-ab1087ed4ec69053cbd72e49f8a496959a119611.tar.gz mitmproxy-ab1087ed4ec69053cbd72e49f8a496959a119611.tar.bz2 mitmproxy-ab1087ed4ec69053cbd72e49f8a496959a119611.zip |
Update InstallBuilder (#2364)
update InstallBuilder
Diffstat (limited to '.appveyor.yml')
-rw-r--r-- | .appveyor.yml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 549a0607..909a9149 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -44,22 +44,28 @@ test_script: ($Env:TOXENV -match "py35") -and !$Env:APPVEYOR_PULL_REQUEST_NUMBER -and (($Env:APPVEYOR_REPO_BRANCH -In ("master", "pyinstaller")) -or ($Env:APPVEYOR_REPO_TAG -match "true")) ) { + echo "Decrypt license..." tox -e rtool -- decrypt release\installbuilder\license.xml.enc release\installbuilder\license.xml - if (!(Test-Path "C:\projects\mitmproxy\release\installbuilder-installer.exe")) { - "Download InstallBuilder..." + $ibSetup = "C:\projects\mitmproxy\release\installbuilder-installer.exe" + $ibVersion = "17.4.0" + if (!(Test-Path $ibSetup)) { + echo "Download InstallBuilder..." (New-Object System.Net.WebClient).DownloadFile( - "https://installbuilder.bitrock.com/installbuilder-enterprise-17.1.0-windows-installer.exe", - "C:\projects\mitmproxy\release\installbuilder-installer.exe" + "https://installbuilder.bitrock.com/installbuilder-enterprise-$ibVersion-windows-installer.exe", + $ibSetup ) } - Start-Process "C:\projects\mitmproxy\release\installbuilder-installer.exe" "--mode unattended --unattendedmodeui none" -Wait - & 'C:\Program Files (x86)\BitRock InstallBuilder Enterprise 17.1.0\bin\builder-cli.exe' ` + echo "Install InstallBuilder..." + Start-Process $ibSetup "--mode unattended --unattendedmodeui none" -Wait + echo "Run InstallBuilder..." + & "C:\Program Files (x86)\BitRock InstallBuilder Enterprise $ibVersion\bin\builder-cli.exe" ` build ` .\release\installbuilder\mitmproxy.xml ` windows ` --license .\release\installbuilder\license.xml ` --setvars project.version=$Env:VERSION ` --verbose + echo "Installer build completed." } deploy_script: |