Python
Installation procedure

Download file from the web and install silently on the computer
$Install ={
function run{
Import-Module BitsTransfer
Start-BitsTransfer -Source $url -Destination $dest
Expand-Archive -LiteralPath $source_zip -DestinationPath $dest_zip
[System.Environment]::SetEnvironmentVariable('PATH', $Env:Path + ';' + $data, 'Machine')
}
}
Start-Process powershell -Wait -Verb runAs -ArgumentList "-NoExit -NoProfile -ExecutionPolicy Bypass -Command & {$Install run}"

Last updated
Was this helpful?