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

update miktex install

parent 1efb43c1
......@@ -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=basic --shared=yes --common-install='C:\miktex' install
C:\Windows\Temp\miktexsetup.exe --quiet --local-package-repository=C:\Windows\Temp\miktex --package-set=complete --shared=yes --common-install='C:\miktex' install
Write-Output "MiKTeX installed into C:\miktex"
......
......@@ -29,3 +29,4 @@ $oldpath = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentC
$newPath = "$oldpath;C:\Rtools\usr\bin"
Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH -Value $newPath
[System.Environment]::SetEnvironmentVariable('MSYS2_PATH_TYPE', 'inherit', [System.EnvironmentVariableTarget]::Machine)
Add-Content C:\Rtools\msys2.ini "MSYS2_PATH_TYPE=inherit"
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