Coin provisioning: overwrite files while unzipping
authorJędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
Fri, 27 May 2016 13:07:53 +0000 (15:07 +0200)
committerFrederik Gladhorn <frederik.gladhorn@qt.io>
Mon, 30 May 2016 14:08:20 +0000 (14:08 +0000)
Change-Id: I5cf59322f5a34cffe9fe8668755800bccb8cc13a
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
coin/provisioning/common/helpers.ps1

index f517e94..d7b957f 100644 (file)
@@ -27,5 +27,5 @@ function Extract-Zip
     $shell = new-object -com shell.application
     $zipfile = $shell.Namespace($Source)
     $destinationFolder = $shell.Namespace($Destination)
-    $destinationFolder.CopyHere($zipfile.Items())
+    $destinationFolder.CopyHere($zipfile.Items(), 16)
 }