EnergyPlus is a whole building energy simulation program that engineers, architects, and researchers use to model both energy consumption—for heating, cooling, ventilation, lighting and plug and process loads—and water use in buildings. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of EnergyPlus from the command line using the EXE installer.
How to Install EnergyPlus Silently
EnergyPlus 32-bit Silent Install (EXE)
- Navigate to: https://energyplus.net/downloads
- Select the Windows (x32) download link
- Download the EnergyPlus-x.y.z-Windows-i386.exe to a folder created at (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:
EnergyPlus-x.y.z-Windows-i386.exe install --auto-answer installationErrorWithCancel=Ignore --accept-licenses --confirm-command |
After a few moments you will find EnergyPlus entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | EnergyPlus |
Vendor: | US Department of Energy |
Version: | 9.5.0 & Newer |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | EnergyPlus-x.y.z-Windows-i386.exe install --auto-answer installationErrorWithCancel=Ignore --accept-licenses --confirm-command |
Silent Uninstall Switch: | "C:\EnergyPlusVx-y-z\maintenancetool.exe" purge --confirm-command |
Download Link: | https://energyplus.net/downloads |
PowerShell Script: | https://silentinstallhq.com/energyplus-install-and-uninstall-powershell/ |
EnergyPlus 64-bit Silent Install (EXE)
- Navigate to: https://energyplus.net/downloads
- Select the Windows (x64) download link
- Download the EnergyPlus-x.y.z-Windows-x86_64.exe to a folder created at (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:
EnergyPlus-x.y.z-Windows-x86_64.exe install --auto-answer installationErrorWithCancel=Ignore --accept-licenses --confirm-command |
After a few moments you will find EnergyPlus entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | EnergyPlus |
Vendor: | US Department of Energy |
Version: | 9.5.0 & Newer |
Architecture: | x64 |
Installer Type: | EXE |
Silent Install Switch: | EnergyPlus-x.y.z-Windows-x86_64.exe install --auto-answer installationErrorWithCancel=Ignore --accept-licenses --confirm-command |
Silent Uninstall Switch: | "C:\EnergyPlusVx-y-z\maintenancetool.exe" purge --confirm-command |
Download Link: | https://energyplus.net/downloads |
PowerShell Script: | https://silentinstallhq.com/energyplus-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
Change the EnergyPlus Default Installation Directory
You can change the default installation directory by using the following command line parameters. In this example, I’m installing EnergyPlus to “C:\EnergyPlus”.
EnergyPlus-x.y.z-Windows-x86_64.exe install --root C:\EnergyPlus --auto-answer installationErrorWithCancel=Ignore --accept-licenses --confirm-command |
How to Uninstall EnergyPlus Silently
Check out the EnergyPlus 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 the following command:
EnergyPlus Silent Uninstall (EXE)
|
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.