mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Provisioning: Invoke installer with Start-Process
By launching an installer with Start-Process and -Wait, we make sure no handles are left holding on to the installer when we try to delete it at cleanup. Change-Id: Ic9b700ea1ce9e70089ba4cb7e91d9765ca976333 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
This commit is contained in:
committed by
Jani Heikkinen
parent
a9cf936a63
commit
892833cda9
@@ -59,6 +59,6 @@ echo "Fetching from URL..."
|
||||
Download $externalUrl $internalUrl $package
|
||||
Verify-Checksum $package $sha1
|
||||
echo "Installing $package..."
|
||||
cmd /c "$package /q"
|
||||
Start-Process -FilePath $package -ArgumentList "/q" -Wait
|
||||
echo "Remove $package..."
|
||||
del $package
|
||||
|
||||
Reference in New Issue
Block a user