NetLogo is a multi-agent programmable modeling environment and is used by tens of thousands of students, teachers and researchers worldwide. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of NetLogo from the command line using the MSI installer.
How to Install NetLogo Silently
NetLogo 32-bit Silent Install (MSI)
- Navigate to: https://ccl.northwestern.edu/netlogo/download.shtml
- Select the 32-bit version of your choice
- Download the MSI 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:
- MsiExec.exe /i NetLogo-x.y.z-32.msi ALLUSERS=1 ADDLOCAL=BaseInstall /qn
- Press Enter
After a few moments you will find NetLogo entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | NetLogo (32-bit) |
Vendor: | CCL |
Architecture: | x86 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i NetLogo-x.y.z-32.msi ALLUSERS=1 ADDLOCAL=BaseInstall /qn |
Silent Uninstall Switch: | MsiExec.exe /x NetLogo-x.y.z-32.msi /qn |
Repair Command: | MsiExec.exe /fa NetLogo-x.y.z-32.msi /qn |
Download Link: | https://ccl.northwestern.edu/netlogo/download.shtml |
NetLogo 64-bit Silent Install (MSI)
- Navigate to: https://ccl.northwestern.edu/netlogo/download.shtml
- Select the 64-bit version of your choice
- Download the MSI 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:
- MsiExec.exe /i NetLogo-x.y.z-64.msi ALLUSERS=1 ADDLOCAL=BaseInstall /qn
- Press Enter
After a few moments you will find NetLogo entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | NetLogo (64-bit) |
Vendor: | CCL |
Architecture: | x64 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i NetLogo-x.y.z-64.msi ALLUSERS=1 ADDLOCAL=BaseInstall /qn |
Silent Uninstall Switch: | MsiExec.exe /x NetLogo-x.y.z-64.msi /qn |
Repair Command: | MsiExec.exe /fa NetLogo-x.y.z-64.msi /qn |
Download Link: | https://ccl.northwestern.edu/netlogo/download.shtml |
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 NetLogo 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.
NetLogo 32-bit Silent Install (MSI) with Logging
MsiExec.exe /i NetLogo-x.y.z-32.msi ALLUSERS=1 ADDLOCAL=BaseInstall /qn /L*v "%WINDIR%\Temp\NetLogo32-Install.log" |
NetLogo 64-bit Silent Install (MSI) with Logging
MsiExec.exe /i NetLogo-x.y.z-64.msi ALLUSERS=1 ADDLOCAL=BaseInstall /qn /L*v "%WINDIR%\Temp\NetLogo64-Install.log" |
Include Desktop Shortcuts During Install
The NetLogo installer does not create desktop shortcuts by default. If you want desktop shortcuts, then you can run the following command line switches to include them.
NetLogo 32-bit Silent Install (EXE) with Desktop Shortcuts
MsiExec.exe /i NetLogo-x.y.z-32.msi ALLUSERS=1 ADDLOCAL=Shortcuts /qn |
NetLogo 64-bit Silent Install (EXE) with Desktop Shortcuts
MsiExec.exe /i NetLogo-x.y.z-64.msi ALLUSERS=1 ADDLOCAL=Shortcuts /qn |
How to Uninstall NetLogo Silently
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Version | NetLogo Silent Uninstall String |
6.2.0 (32-bit) | MsiExec.exe /x {B7B5CFB3-0F15-4ABF-A267-A506810D0ED9} /qn |
6.2.0 (64-bit) | MsiExec.exe /x {B27B1DD2-F3BE-486B-9355-9052431A3E4D} /qn |
6.1.1 (32-bit) | MsiExec.exe /x {0D401249-82D3-4A85-ADD8-EFCA843A3E34} /qn |
6.1.1 (64-bit) | MsiExec.exe /x {CB451B00-0C4B-4568-8D69-D5D716E19585} /qn |
6.1.0 (32-bit) | MsiExec.exe /x {74E27869-5039-4C57-8437-363585FB9EC8} /qn |
6.1.0 (64-bit) | MsiExec.exe /x {948C4281-A454-4F3D-86AD-4745F2B5067E} /qn |
6.0.4 (32-bit) | MsiExec.exe /x {B30358BC-710B-44F1-9CCB-D618B270AC1C} /qn |
6.0.4 (64-bit) | MsiExec.exe /x {B84F1B18-119C-4DE8-B7E3-539155F74B03} /qn |
6.0.3 (32-bit) | MsiExec.exe /x {786D2959-ABAE-4F81-8FC5-18A98409CBE1} /qn |
6.0.3 (64-bit) | MsiExec.exe /x {35DA2B12-ABAE-4CE6-9A5F-A61C4CD9113C} /qn |
6.0.2 (32-bit) | MsiExec.exe /x {9332EB00-1FE3-4BCD-B4C2-69F31AD09E5C} /qn |
6.0.2 (64-bit) | MsiExec.exe /x {5474A2EE-5C17-40C8-848B-776BC1377352} /qn |
6.0.1 (32-bit) | MsiExec.exe /x {6C794772-523E-4855-8FF9-3264D9D28ACD} /qn |
6.0.1 (64-bit) | MsiExec.exe /x {0FD6F254-ACD0-43BA-A45C-4935D1666B7F} /qn |
6.0 (32-bit) | MsiExec.exe /x {0C8528A4-1B8B-4917-9310-B8EA6F76B147} /qn |
6.0 (64-bit) | MsiExec.exe /x {77FC7441-B216-4D2B-AD19-8F7AC1702B1F} /qn |
5.3.1 (32-bit) | MsiExec.exe /x {EB5AB27B-F791-490D-9C46-FC3A9BA5270B} /qn |
5.3.1 (64-bit) | MsiExec.exe /x {54AB7C31-BB52-4579-BAE7-B75968DECAE0} /qn |
5.3 (32-bit) | MsiExec.exe /x {A6C64B81-FC8D-42E0-A55F-983705E52879} /qn |
5.3 (64-bit) | MsiExec.exe /x {BE6BDFA6-8DB5-47DB-94EC-B7504A3F7EBC} /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.