Silent install of arduino-1.8.7-windows.exe

Hello.

No question here, just want to provide some info that should be of benefit to others like myself.

To silently install the arduino-1.8.7-windows.exe I first had to extract the contents to a folder.
Inside of that folder is a folder named "drivers". Inside of that folder are several CAT files.

Extract the certificate from "AdafruitCircuitPlayground.cat", "arduino.cat", and "linino-boards_amd64.cat" by going into file properties Digital Signatures tab, click Details, click View Certificate, click Details tab, and finally click Copy to File...

Create a batch file in the same folder as the newly created CER files and use CERTUTIL to add each to Trusted Store:
certutil -addstore "TrustedPublisher" "%~dp0Drivers\arduino_driver.cer"
certutil -addstore "TrustedPublisher" "%~dp0Drivers\adafruit_driver.cer"
certutil -addstore "TrustedPublisher" "%~dp0Drivers\arduinoSRL_driver.cer"

Copy the original installation file, arduino-1.8.7-windows.exe, to the same folder as the batch and certificates and add the following to your script:
"%~dp0arduino-1.8.7-windows.exe" /S /NCRC

When the batch runs it will add the certificates and run the installer in silent mode. When the installer gets to the driver installation steps you will no longer be prompted for each driver.

Hope this helps others as I spent all afternoon figuring this out which saved me having to send out technicians to install this on over 200 computers.

You the man! Saved me probably a day myself figuring this out. Much appreciated your hard work. Just added to MDT and works like a charm! :slight_smile: