Silent Deployment again:)

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?

Arduino IDE 2.0.0 avoid check For Updates - #2 by ptillisch has a description how to disable the check-for-update.

Thanks, that looks good. I will try it out.

Is there a single IP, which I can give access over a proxy to give users the chance to download libraries?
I tried

https://downloads.arduino.cc

It seems not to fit. It goes over some (cloudflare?) adresses:

1731578449.731 53539 10.68.87.223 TCP_TUNNEL/200 3909 CONNECT downloads.arduino.cc:443 - HIER_DIRECT/104.18.11.21 -
1731578449.921 0 10.68.87.223 TCP_DENIED/403 4104 CONNECT **ipv4.icanhazip.com:443** - HIER_NONE/- text/html
1731578449.928 0 10.68.87.223 TCP_DENIED/403 4089 CONNECT **api.ipify.org:4** **43** - HIER_NONE/- text/html

Is there a sample "silent deployment" script for such environments?

regards
Steffen

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.

https://arduino.esp8266.com/stable/package_esp8266com_index.json
https://espressif.github.io/arduino-esp32/package_esp32_index.json
https://github.com/HelTecAutomation/CubeCell-Arduino/releases/download/V1.5.0/package_CubeCell_index.json
https://mcudude.github.io/MegaCore/package_MCUdude_MegaCore_index.json
https://mcudude.github.io/MegaCoreX/package_MCUdude_MegaCoreX_index.json
https://mcudude.github.io/MicroCore/package_MCUdude_MicroCore_index.json
https://mcudude.github.io/MightyCore/package_MCUdude_MightyCore_index.json
https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json
https://raw.githubusercontent.com/MHEtLive/arduino-boards-index/master/package_mhetlive_index.json
https://raw.githubusercontent.com/sparkfun/Arduino_Boards/main/IDE_Board_Manager/package_sparkfun_index.json
https://www.pjrc.com/teensy/package_teensy_index.json

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.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.