aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2017-05-31 17:10:55 +0200
committerGitHub <noreply@github.com>2017-05-31 17:10:55 +0200
commitab1087ed4ec69053cbd72e49f8a496959a119611 (patch)
tree194b1440b4cf7ce77335fde58bf802e862cdcf9b
parentacd568c6faa424f810cf7b1cfd3b4a8173b664d3 (diff)
downloadmitmproxy-ab1087ed4ec69053cbd72e49f8a496959a119611.tar.gz
mitmproxy-ab1087ed4ec69053cbd72e49f8a496959a119611.tar.bz2
mitmproxy-ab1087ed4ec69053cbd72e49f8a496959a119611.zip
Update InstallBuilder (#2364)
update InstallBuilder
-rw-r--r--.appveyor.yml18
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: