Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
R ecosystem
WindowsR
Commits
ec0df042
Commit
ec0df042
authored
Nov 06, 2020
by
Jean-Francois Rey
☕
Browse files
update miktex install
parent
1efb43c1
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ansible_provisioning/files/install-miktex.ps1
View file @
ec0df042
...
...
@@ -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"
...
...
ansible_provisioning/files/install-rtools.ps1
View file @
ec0df042
...
...
@@ -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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment