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

install miktex first due to space disk limit

parent ec0df042
......@@ -15,7 +15,7 @@ Vagrant.configure("2") do |config|
vb.gui = false
vb.name = "windows10R4"
vb.customize ["modifyvm", :id, "--memory", 4096]
vb.customize ["modifyvm", :id, "--cpus", 4]
vb.customize ["modifyvm", :id, "--cpus", 3]
vb.customize ["modifyvm", :id, "--vram", 128]
vb.customize ["modifyvm", :id, "--graphicscontroller","vboxsvga"]
vb.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
......
......@@ -28,3 +28,4 @@ else
$oldpath = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).path
$newPath = "$oldpath;C:\pandoc\pandoc-2.10.1\\"
Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH -Value $newPath
Remove-Item $output -Force
......@@ -38,3 +38,4 @@ else {
$oldpath = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).path
$newPath = "$oldpath;C:\R\bin"
Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH -Value $newPath
Remove-Item $outputR -Force
......@@ -30,3 +30,4 @@ $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"
Remove-Item $outputRtools -Force
......@@ -9,6 +9,13 @@
# category_names:
# - SecurityUpdates
# reboot: yes
- name: copy MiKTeX install script
win_copy:
src: ./files/install-miktex.ps1
dest: 'C:\Windows\Temp\'
remote_src: no
- name: Install MiKTeX
win_command: powershell.exe -File C:\Windows\Temp\install-miktex.ps1
- name: copy R script
win_copy:
src: ./files/install-r.ps1
......@@ -56,14 +63,7 @@
remote_src: no
- name: Install GitLab Runner
win_command: powershell.exe -File C:\Windows\Temp\install-gitlab-runner.ps1
- name: copy MiKTeX install script
win_copy:
src: ./files/install-miktex.ps1
dest: 'C:\Windows\Temp\'
remote_src: no
- name: Install MiKTeX
win_command: powershell.exe -File C:\Windows\Temp\install-miktex.ps1
- name: copy pandoc install script
- name: copy pandoc install script
win_copy:
src: ./files/install-pandoc.ps1
dest: 'C:\Windows\Temp\'
......
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