diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2019-06-23 21:26:03 +0300 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2019-06-23 21:26:03 +0300 |
| commit | 5ccf25699d8f0beda0d8bb5bf19dbd08692ee893 (patch) | |
| tree | d7fda0e1710cdc68350f00362d5600afac5a2ef6 | |
| parent | f95c1a668dbed1f8737bb7c2164a56813152d649 (diff) | |
| download | portablepython-5ccf25699d8f0beda0d8bb5bf19dbd08692ee893.tar.gz portablepython-5ccf25699d8f0beda0d8bb5bf19dbd08692ee893.zip | |
Use Start-Process with -Wait argument to execute msiexec
| -rw-r--r-- | download.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/download.ps1 b/download.ps1 index 78bb4a9..df06a92 100644 --- a/download.ps1 +++ b/download.ps1 @@ -34,6 +34,6 @@ if ($env:PYVERSION -like "3.*") { # Remove all __pycache__ directories Get-ChildItem -Include __pycache__ -Recurse -Force | Remove-Item -Force -Recurse } else { - msiexec /qn /i $target /L*V $logfile TARGETDIR=$targetdir ADDLOCAL=DefaultFeature,TclTk,Documentation,Tools REMOVE=Extensions,Testsuite + Start-Process -FilePath msiexec -ArgumentList "/qn","/i","$target","/L*V","$logfile","TARGETDIR=$targetdir","ADDLOCAL=DefaultFeature,TclTk,Documentation,Tools","REMOVE=Extensions,Testsuite" -Wait Get-ChildItem -Include "*.pyc" -Recurse -Force | Remove-Item -Force } |
