r-windows / docs

Documentation for rtools40 and R for Windows
31 stars 10 forks source link

R Tools Silent install #32

Closed itsjimbo closed 2 years ago

itsjimbo commented 2 years ago

Are there any silent install options?

I tried following along with https://silentinstallhq.com/msys2-silent-install-how-to-guide/ something like

rtools40v2-x86_64.exe  --platform minimal --script silent-install.js InstallDir=C:\test_r_tools\

but variables do not change, and I cannot get silent mode to work without modal windows popping up prompting for path.

jeroen commented 2 years ago

Our installer uses innosetup so you can use /VERYSILENT /SUPPRESSMSGBOXES, see for here for a powershell example, or here for a third party example in github actions.