Provisioning: Invoke installer with Start-Process
authorTony Sarajärvi <tony.sarajarvi@qt.io>
Mon, 4 Sep 2017 09:49:20 +0000 (12:49 +0300)
committerJani Heikkinen <jani.heikkinen@qt.io>
Thu, 14 Sep 2017 12:08:32 +0000 (12:08 +0000)
commit892833cda910143a8cfd73062c90c8ac080dd8fe
tree8c5f2ce4a8a742515cad7efe53a9dc95d298244c
parenta9cf936a6304550b923bd325d05bdb209ca82371
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>
coin/provisioning/common/vc_redist.ps1