Neo4j Desktop is a convenient way for developers to work with local Neo4j databases. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Neo4j Desktop from the command line using the EXE installer.
How to Install Neo4j Desktop Silently
Neo4j Desktop Silent Install (EXE)
- Navigate to: https://neo4j.com/download-center/#desktop
- Download & Copy the “Neo4j Desktop Setup x.y.z.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: “Neo4j Desktop Setup x.y.z.exe” /allusers /S
- Press Enter
After a few moments you should see the Neo4j Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Neo4j Desktop |
Vendor: | Neo4j Inc. |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | "Neo4j Desktop Setup x.y.z.exe" /allusers /S |
Silent Uninstall Switch: | "%ProgramFiles%\Neo4j Desktop\Uninstall Neo4j Desktop.exe" /allusers /S |
Download Link: | https://neo4j.com/download-center/#desktop |
PowerShell Script: | https://silentinstallhq.com/neo4j-desktop-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 Neo4j Desktop Default Installation Directory
You can change the default installation directory by using the following command line parameters. In this example, I’m installing Neo4j Desktop to “C:\Neo4j Desktop”.
"Neo4j Desktop Setup x.y.z.exe" /allusers /S /D="C:\Neo4j Desktop" |
How to Uninstall Neo4j Desktop Silently
Check out the Neo4j Desktop 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 sets of commands:
Neo4j Desktop Silent Uninstall (EXE) – Program Files
"%ProgramFiles%\Neo4j Desktop\Uninstall Neo4j Desktop.exe" /allusers /S |
TASKKILL /F /IM Un_A.exe |
Neo4j Desktop Silent Uninstall (EXE) – User Profile
"%LocalAppData%\Programs\Neo4j Desktop\Uninstall Neo4j Desktop.exe" /currentuser /S |
TASKKILL /F /IM Un_A.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.