Greenfoot Silent Install (How-To Guide)

Greenfoot is an integrated development environment using Java or Stride designed primarily for educational purposes at the high school and undergraduate level. It allows easy development of two-dimensional graphical applications, such as simulations and interactive games. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Greenfoot from the command line using the MSI installer.

How to Install Greenfoot Silently

Greenfoot Silent Install (MSI)

  1. Navigate to: https://www.greenfoot.org/download
  2. Download the Greenfoot-windows-xxx.msi to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the “C:\Downloads” folder
  5. Enter the following command: MsiExec.exe /i Greenfoot-windows-xxx.msi ALLUSERS=1 /qn
  6. Press Enter

After a few moments you should see the Greenfoot Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Greenfoot
Vendor:Greenfoot Team
Architecture:x86_x64
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i Greenfoot-windows-xxx.msi ALLUSERS=1 /qn
Silent Uninstall Switch:MsiExec.exe /x Greenfoot-windows-xxx.msi /qn
Repair Command:MsiExec.exe /fa Greenfoot-windows-xxx.msi /qn
Download Link:https://www.greenfoot.org/download
PowerShell Script:https://silentinstallhq.com/greenfoot-install-and-uninstall-powershell/
Detection Script:https://silentinstallhq.com/create-a-custom-detection-script-for-greenfoot-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 a Greenfoot Installation Log File

The Greenfoot MSI 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.

Greenfoot Silent Install (MSI) with Logging

MsiExec.exe /i Greenfoot-windows-xxx.msi ALLUSERS=1 /qn /L*v "%WINDIR%\Temp\Greenfoot-Install.log"

Change the Greenfoot Default Installation Directory

You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Greenfoot to “C:\Greenfoot”

MsiExec.exe /i Greenfoot-windows-xxx.msi ALLUSERS=1 INSTALLDIR=C:\Greenfoot /qn

Exclude the Greenfoot Desktop Shortcut During Install

The Greenfoot installer creates a desktop shortcut by default. If you do not want the desktop shortcut, then you can run the following command line switches to exclude it.

Greenfoot Silent Install (EXE) with No Desktop Shortcut

MsiExec.exe /i Greenfoot-windows-xxx.msi ALLUSERS=1 INSTALLDESKTOPSHORTCUT="" /qn

Greenfoot Silent User Install (Just Me)

MsiExec.exe /i Greenfoot-windows-xxx.msi ALLUSERS=2 MSIINSTALLPERUSER=1 /qn

How to Uninstall Greenfoot Silently

Check out the following posts for a scripted solution:

Greenfoot Install and Uninstall (PowerShell)
Greenfoot Silent Uninstall (PowerShell)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:
VersionGreenfoot Silent Uninstall String
3.7.1MsiExec.exe /x {54BBE388-BD06-4007-8DA6-2DA5DBDF2174} /qn
3.7.0MsiExec.exe /x {C835680C-C79D-4285-9107-7F25CAB1BBCD} /qn
3.6.1MsiExec.exe /x {CE3160A8-9E99-48A9-99FC-96796E162635} /qn
3.6.0MsiExec.exe /x {CE4A412D-B2EA-4FA7-8DCC-FEE510CF6495} /qn
3.5.4MsiExec.exe /x {84A63CD1-2467-43ED-9A6C-C238D528D72B} /qn
3.5.3MsiExec.exe /x {0DAAF1AD-312F-4875-8076-3689F28C3F49} /qn
3.5.2MsiExec.exe /x {7A320087-66E7-49E5-AEF8-BCC65F2BB5D8} /qn
3.5.1MsiExec.exe /x {1BFA3DDE-3EB4-4605-B6F9-5CAC1A1E80C7} /qn
3.5.0MsiExec.exe /x {F91F965F-9358-49A2-AB96-46F8F8CA8AF4} /qn
3.1.0MsiExec.exe /x {205FC5EB-E05A-4044-A27F-DCE3878DBDA4} /qn
3.0.4MsiExec.exe /x {86AC1814-F19C-4291-B79C-339CD3BE8550} /qn
3.0.3MsiExec.exe /x {CF37C608-A11D-466D-8F83-C35760B86D41} /qn
3.0.2MsiExec.exe /x {3EC7B829-9E53-4132-B2BF-FB7D4C08AEBC} /qn
3.0.1MsiExec.exe /x {3EC7B829-9E53-4132-B2BF-FB7D4C08AEBC} /qn
3.0.0MsiExec.exe /x {8C838B70-3A71-41E8-91A6-4ADCF2E483D0} /qn
2.4.2MsiExec.exe /x {8C838B70-3A71-41E8-91A6-4ADCF2E483D0} /qn
2.4.0MsiExec.exe /x {8C838B70-3A71-41E8-91A6-4ADCF2E483D0} /qn
2.3.0MsiExec.exe /x {8C838B70-3A71-41E8-91A6-4ADCF2E483D0} /qn
2.2.1MsiExec.exe /x {8C838B70-3A71-41E8-91A6-4ADCF2E483D0} /qn
2.2.0MsiExec.exe /x {8C838B70-3A71-41E8-91A6-4ADCF2E483D0} /qn
2.1.0MsiExec.exe /x {8C838B70-3A71-41E8-91A6-4ADCF2E483D0} /qn

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.

Jason Bergner

I am an accomplished Software Engineer at Patch My PC, leveraging more than 18 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.

Recent Posts