File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 1- # https://www.python.org/ftp/python/3.7.3/python-3.7.3-amd64.exe
2- # https://www.python.org/ftp/python/3.7.3/python-3.7.3.exe
3- # https://www.python.org/ftp/python/3.5.1/python-3.5.1-amd64.exe.asc
4-
5- # https://www.python.org/ftp/python/3.5.1/python-3.5.1-amd64.exe
6- # https://www.python.org/ftp/python/3.5.1/python-3.5.1.exe
7- # https://www.python.org/ftp/python/3.5.1/python-3.5.1.exe.asc
8-
91if ($env: PYARCH -eq " 64" ) {
102 $filename = " python-${env: PYVERSION} -amd64.exe"
113} else {
@@ -25,12 +17,7 @@ Write-Output "Log file: $logfile"
2517$client = New-Object System.Net.WebClient
2618$client.DownloadFile ($url , $target )
2719
20+ # Replace TARGET_DIR in unattend.xml.in with our target directory
2821((Get-Content - path unattend.xml.in - raw) -replace ' TARGET_DIR' , $targetdir ) | Set-Content - path unattend.xml
2922
30- if (Test-Path env:CI) {
31- Remove-Item - Force - Recurse HKCU:\Software\Python
32- Remove-Item - Force - Recurse HKLM:\Software\Python
33- Remove-Item - Force - Recurse HKLM:\Software\Wow6432Node\Python
34- }
35-
3623Start-Process - FilePath " $target " - ArgumentList " /quiet" , " /log" , " $logfile " - Wait
You can’t perform that action at this time.
0 commit comments