Hi, I've to install silently on a no internet PC.
My script to deploy the software so far is:
`msiexc /i arduino-ide_2.3.3_Windows_64bit.msi
arduino-cli.exe core install --run-post-install arduino:avr
if (errorlevel = 7 )
copy server\:Arduino15 %localappdata%\Arduino15
`
When I start arduino-ide, it tries to download and I get errors in the log: Checking for update
How can I avoid this?
Not sure if you're talking about libraries or board packages.
Both however can be all over the web. To be able to install a board package like ESP32 using the board manager, you first of all need to grant access to the index file.
Below is an incomplete list for various json files for board packages that I have installed on my Win11 system.
To check which further access is needed, you can open the relevant one in a web browser. For e.g. the ESP32 board package, you will see a link to where the package is actually on github.
Note that the last entry in the above is privately hosted and the board package is also on that same server (so not github).
Note that you can install board packages manually but I'm not sure how exactly. Possibly just downloading the zip and extracting it somewhere (but don't take my word for that).
I do not know exactly how library installations using the library manager work. Not all libraries are available in library manager so need to be downloaded from the web; those that are available in library manager can also be downloaded from the web and usually they are on github but again this is not always the case. So if a user can browse the web and download files it should be a reasonable approach for libraries.