Scratch for Arduino (S4A) is a modified version of Scratch that allows for simple programming of the Arduino open source hardware platform. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Scratch for Arduino (S4A) from the command line using the EXE installer.
How to Install Scratch for Arduino (S4A) Silently
Scratch for Arduino (S4A) Silent Install (EXE)
- Navigate to: http://s4a.cat/
- Select the Downloads tab
- Select the Windows link
- Download the S4Axx.zip to a folder created at (C:\Downloads)
- Extract the S4Axx.exe from the zip file and copy to C:\Downloads
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: S4Axx.exe /VERYSILENT /NORESTART
- Press Enter
After a few moments you will find S4A entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Scratch for Arduino (S4A) |
Vendor: | Citilab (Cornellà) |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | S4Axx.exe /VERYSILENT /NORESTART |
Silent Uninstall Switch (32-bit System) | "%ProgramFiles%\S4A\unins000.exe" /VERYSILENT /NORESTART |
Silent Uninstall Switch (64-bit System) | "%ProgramFiles(x86)%\S4A\unins000.exe" /VERYSILENT /NORESTART |
Download Link: | http://s4a.cat/ |
PowerShell Script: | https://silentinstallhq.com/scratch-for-arduino-s4a-install-and-uninstall-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create an Installation Log File
The Scratch for Arduino (S4A) installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following command to create a verbose log file with details about the installation.
Scratch for Arduino (S4A) Silent Install (EXE) with Logging
S4Axx.exe /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\S4A-Install.log" |
Change Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Scratch for Arduino (S4A) to “C:\S4A”
S4Axx.exe /DIR="C:\S4A" /VERYSILENT /NORESTART |
Include Desktop Shortcut During Install
The Scratch for Arduino (S4A) installer does not create a desktop shortcut by default. If you want the desktop shortcut, then you can run the following command line switches to include it.
Scratch for Arduino (S4A) Silent Install (EXE) with Desktop Shortcut
S4Axx.exe /VERYSILENT /NORESTART /MERGETASKS=desktopicon |
How to Uninstall Scratch for Arduino (S4A) Silently
Check out the Scratch for Arduino (S4A) Install and Uninstall (PowerShell) post for a scripted solution.
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Scratch for Arduino (S4A) Silent Uninstall (EXE) on 32-bit System
"%ProgramFiles%\S4A\unins000.exe" /VERYSILENT /NORESTART |
Scratch for Arduino (S4A) Silent Uninstall (EXE) on 64-bit System
"%ProgramFiles(x86)%\S4A\unins000.exe" /VERYSILENT /NORESTART |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.