summaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorKonstantin Tokarev <annulen@yandex.ru>2019-07-23 00:53:36 +0300
committerKonstantin Tokarev <annulen@yandex.ru>2019-07-26 07:50:41 +0300
commit22c427b3699c1b191373af93adadb66e0f39b755 (patch)
treedc85e8c09206c87ed1a58f4628328d4e6148dcc1 /coin
parent645bd71404dde95c0eb1679b798b4349fe8ceca4 (diff)
Use msiexec to install Strawberry Perl from msi package
Currently provisioning fails with following error: "This command cannot be run due to the error: %1 is not a valid Win32 application." Change-Id: I59290d394f231c37af10f27d07dbb9f5d2d2470a Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'coin')
-rw-r--r--coin/provisioning/common/windows/install-strawberry-perl.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/coin/provisioning/common/windows/install-strawberry-perl.ps1 b/coin/provisioning/common/windows/install-strawberry-perl.ps1
index c80f16a4..7e288603 100644
--- a/coin/provisioning/common/windows/install-strawberry-perl.ps1
+++ b/coin/provisioning/common/windows/install-strawberry-perl.ps1
@@ -50,7 +50,7 @@ $strawberryPackage = "C:\Windows\Temp\" + $installer_name
Download $url_official $url_cache $strawberryPackage
Verify-Checksum $strawberryPackage $sha1
-Run-Executable "$strawberryPackage" "/QB INSTALLDIR=C:\strawberry REBOOT=REALLYSUPPRESS"
+Run-Executable "msiexec" "/quiet /i $strawberryPackage INSTALLDIR=C:\strawberry REBOOT=REALLYSUPPRESS"
Write-Host "Cleaning $strawberryPackage.."
Remove-Item -Recurse -Force -Path "$strawberryPackage"