Commit 72e4f12c authored by Jean-Francois Rey's avatar Jean-Francois Rey
Browse files

double miktex download to be sur to get all packages

parent 63dd2313
......@@ -8,7 +8,7 @@ $output = 'c:\Windows\Temp\miktex.zip'
$wcR = New-Object System.Net.WebClient
Write-Output "Downloading $url"
#Download the exe
#Download the zip
$wcR.DownloadFile($url, $output)
Write-Output "Download completed $url"
......@@ -17,6 +17,8 @@ Expand-Archive -LiteralPath $output -DestinationPath 'C:\Windows\Temp\' -Force
Write-Output "Download repository"
C:\Windows\Temp\miktexsetup.exe --verbose --local-package-repository=C:\Windows\Temp\miktex --package-set=complete download
Write-Output "Download repository again in case of trouble"
C:\Windows\Temp\miktexsetup.exe --verbose --local-package-repository=C:\Windows\Temp\miktex --package-set=complete download
Write-Output "Install "
C:\Windows\Temp\miktexsetup.exe --quiet --local-package-repository=C:\Windows\Temp\miktex --package-set=basic --shared=yes --common-install='C:\miktex' install
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment