Nextcloud is an on-premises file share and collaboration platform. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Nextcloud from the command line using the MSI installer.
How to Install Nextcloud Silently
Nextcloud Silent Install (MSI)
- Navigate to: https://github.com/nextcloud-releases/desktop/releases/latest
- Download the Nextcloud-x.y.z-x64.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 Nextcloud-x.y.z-x64.msi REBOOT=ReallySuppress /qn |
After a few moments you should see the Nextcloud Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Nextcloud |
Vendor: | Nextcloud GmbH |
Architecture: | x64 |
Installer Type: | MSI |
Silent Install Switch: |
|
Silent Uninstall Switch: | MsiExec.exe /x Nextcloud-x.y.z-x64.msi REBOOT=ReallySuppress /qn |
Repair Command: | MsiExec.exe /fa Nextcloud-x.y.z-x64.msi REBOOT=ReallySuppress /qn |
Download Link: | https://github.com/nextcloud-releases/desktop/releases/latest |
PowerShell Script: | Nextcloud | PowerShell Script |
PSADT v4: | Nextcloud | PSADT v4 |
Detection Script: | Nextcloud | Custom Detection Script |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download link provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create a Nextcloud Installation Log File
The Nextcloud MSI installers offer the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.
Nextcloud Silent Install with Logging
MsiExec.exe /i Nextcloud-x.y.z-x64.msi REBOOT=ReallySuppress /qn /L*v "%WINDIR%\Temp\Nextcloud64-Install.log" |
Change the Nextcloud Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Nextcloud to “C:\Nextcloud”
MsiExec.exe /i Nextcloud-x.y.z-x64.msi INSTALLDIR="C:\Nextcloud\" REBOOT=ReallySuppress /qn |
Exclude the Nextcloud Desktop Shortcut During Install
The Nextcloud MSI installers create 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.
Nextcloud Silent Install with No Desktop Shortcut
MsiExec.exe /i Nextcloud-x.y.z-x64.msi NO_DESKTOP_SHORTCUT=1 REBOOT=ReallySuppress /qn |
Exclude the Nextcloud Windows Explorer Shell Extensions
Nextcloud Silent Install Excluding Shell Extensions
MsiExec.exe /i Nextcloud-x.y.z-x64.msi NO_SHELL_EXTENSIONS=1 REBOOT=ReallySuppress /qn |
Disable Nextcloud Automatic Updates
Nextcloud Silent Install with Auto Updates Disabled
MsiExec.exe /i Nextcloud-x.y.z-x64.msi SKIPAUTOUPDATE=1 REBOOT=ReallySuppress /qn |
How to Uninstall Nextcloud Silently
Check out the following posts for a scripted solution:
Nextcloud Install and Uninstall (PSADT v4) |
Nextcloud Install and Uninstall (PowerShell) |
Nextcloud Silent Uninstall (PowerShell) |
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Nextcloud 32-bit Silent Uninstall (MSI)
MsiExec.exe /x Nextcloud-x.y.z-x86.msi REBOOT=ReallySuppress /qn |
Nextcloud 64-bit Silent Uninstall (MSI)
MsiExec.exe /x Nextcloud-x.y.z-x64.msi REBOOT=ReallySuppress /qn |
Nextcloud Silent Uninstall (EXE)
"%ProgramFiles%\Nextcloud\Uninstall.exe" /S |
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.