Skip to content

Commit 2f10877

Browse files
committed
Adds some console progress info
1 parent 8f6e2db commit 2f10877

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nova-havana-windows-install.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,14 @@ function PullInstall($path, $url)
146146
}
147147

148148
function InstallPythonDep($url, $filename) {
149+
Write-Host "Downloading and installing: $url"
149150
(new-object System.Net.WebClient).DownloadFile($url, "$pwd\$filename")
150151
Start-Process -Wait $filename
151152
del $filename
152153
}
153154

154155
function InstallMSI($url, $filename) {
156+
Write-Host "Downloading and installing: $url"
155157
(new-object System.Net.WebClient).DownloadFile($url, "$pwd\$filename")
156158
Start-Process -Wait msiexec.exe -ArgumentList "/i $filename /qn"
157159
del $filename
@@ -164,7 +166,9 @@ InstallMSI "http://freefr.dl.sourceforge.net/project/sevenzip/7-Zip/9.22/7z922-x
164166
$ENV:PATH += ";$ENV:ProgramFiles\7-Zip"
165167

166168
$filename = "Git-1.8.4-preview20130916.exe"
167-
(new-object System.Net.WebClient).DownloadFile("https://msysgit.googlecode.com/files/$filename", "$pwd\$filename")
169+
$url = "https://msysgit.googlecode.com/files/$filename"
170+
Write-Host "Downloading and installing: $url"
171+
(new-object System.Net.WebClient).DownloadFile($url, "$pwd\$filename")
168172
Start-Process -Wait -FilePath $filename -ArgumentList "/silent" -WindowStyle Hidden
169173
del $filename
170174
# In "%ProgramFiles% (x86)\Git\etc\gitconfig" set "autocrlf = false"

0 commit comments

Comments
 (0)