Commit 18daef4f authored by Jean-Francois Rey's avatar Jean-Francois Rey
Browse files

update miktex

parent 946c8011
......@@ -21,7 +21,7 @@ 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=complete --shared=yes --common-install='C:\miktex' install
C:\Windows\Temp\miktexsetup.exe --quiet --local-package-repository=C:\Windows\Temp\miktex --package-set=basic --shared=no --common-install='C:\miktex' install
Write-Output "MiKTeX installed into C:\miktex"
......@@ -32,9 +32,9 @@ else {
throw "ERROR: Can't install MiKTeX"
Remove-Item 'C:\windows\Temp\miktex' -Recurse
#Remove-Item 'C:\windows\Temp\miktex' -Recurse
Remove-Item $output -Force
Remove-Item 'C:\Windows\Temp\miktexsetup.exe' -Force
#Remove-Item 'C:\Windows\Temp\miktexsetup.exe' -Force
# Add miktex to PATH <- done at install
#$oldpath = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).path
#$newPath = "$oldpath;C:\miktek\miktex\bin\x64"
......@@ -72,4 +72,6 @@
win_command: powershell.exe -File C:\Windows\Temp\install-pandoc.ps1
- name: Clean
win_command: cmd.exe /c DEL /F/Q/S C:\Windows\Temp\*.*
- name: Reboot after 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