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

clean miktex after install

parent c877c574
......@@ -32,6 +32,9 @@ else {
throw "ERROR: Can't install MiKTeX"
}
Remove-Item 'C:\windows\Temp\miktex' -Recurse
Remove-Item $output -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"
......
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