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 both the MSI & EXE installers.
How to Install Nextcloud Silently
Nextcloud 32-bit Silent Install (MSI)
- Navigate to: https://download.nextcloud.com/desktop/releases/Windows/
- Select the x86 MSI Installer of your choice
- Download the Nextcloud-x.y.z-x86.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-x86.msi REBOOT=ReallySuppress /qn
- Press Enter
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: | x86 |
Installer Type: | MSI |
Silent Install Switch: |
|
Silent Uninstall Switch: | MsiExec.exe /x Nextcloud-x.y.z-x86.msi REBOOT=ReallySuppress /qn |
Repair Command: | MsiExec.exe /fa Nextcloud-x.y.z-x86.msi REBOOT=ReallySuppress /qn |
Download Link: | https://download.nextcloud.com/desktop/releases/Windows/ |
PowerShell Script: | https://silentinstallhq.com/nextcloud-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-nextcloud-powershell/ |
Nextcloud 64-bit Silent Install (MSI)
- Navigate to: https://download.nextcloud.com/desktop/releases/Windows/
- Select the x64 MSI Installer of your choice
- 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
- Press Enter
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://download.nextcloud.com/desktop/releases/Windows/ |
PowerShell Script: | https://silentinstallhq.com/nextcloud-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-nextcloud-powershell/ |
Nextcloud Silent Install (EXE) – Versions 3.1.3 and Older
- Navigate to: https://download.nextcloud.com/desktop/releases/Windows/
- Select the EXE Installer of your choice
- Download the Nextcloud-x.y.z-setup.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:
Nextcloud-x.y.z-setup.exe /S
- Press Enter
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: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: |
|
Silent Uninstall Switch: | "%ProgramFiles%\Nextcloud\Uninstall.exe" /S |
Download Link: | https://download.nextcloud.com/desktop/releases/Windows/ |
PowerShell Script: | https://silentinstallhq.com/nextcloud-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-nextcloud-powershell/ |
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 32-bit (MSI) Silent Install with Logging
MsiExec.exe /i Nextcloud-x.y.z-x86.msi REBOOT=ReallySuppress /qn /L*v "%WINDIR%\Temp\Nextcloud32-Install.log" |
Nextcloud 64-bit (MSI) 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”
Nextcloud 32-bit (MSI)
MsiExec.exe /i Nextcloud-x.y.z-x86.msi INSTALLDIR="C:\Nextcloud\" REBOOT=ReallySuppress /qn |
Nextcloud 64-bit (MSI)
MsiExec.exe /i Nextcloud-x.y.z-x64.msi INSTALLDIR="C:\Nextcloud\" REBOOT=ReallySuppress /qn |
Nextcloud (EXE)
Nextcloud-x.y.z-setup.exe /S /D=C:\Nextcloud |
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 32-bit (MSI) Silent Install with No Desktop Shortcut
MsiExec.exe /i Nextcloud-x.y.z-x86.msi NO_DESKTOP_SHORTCUT=1 REBOOT=ReallySuppress /qn |
Nextcloud 64-bit (MSI) 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 32-bit (MSI) Silent Install Excluding Shell Extensions
MsiExec.exe /i Nextcloud-x.y.z-x86.msi NO_SHELL_EXTENSIONS=1 REBOOT=ReallySuppress /qn |
Nextcloud 64-bit (MSI) 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 32-bit (MSI) Silent Install with Auto Updates Disabled
MsiExec.exe /i Nextcloud-x.y.z-x86.msi SKIPAUTOUPDATE=1 REBOOT=ReallySuppress /qn |
Nextcloud 64-bit (MSI) 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:
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Version | Nextcloud Silent Uninstall String (MSI) |
3.6.0 (x64) | MsiExec.exe /x {18DF37BE-F0C5-42E7-B1A7-80089FEF92EE} REBOOT=ReallySuppress /qn |
3.5.4 (x86) | MsiExec.exe /x {6EE413EC-B96E-4173-BFAD-A61EF21845B8} REBOOT=ReallySuppress /qn |
3.5.4 (x64) | MsiExec.exe /x {9DF2B913-F67F-456C-8635-F0F567AD6AB3} REBOOT=ReallySuppress /qn |
3.5.3 (x86) | MsiExec.exe /x {7661ACF6-B040-40F3-87AA-DA595C54DCF2} REBOOT=ReallySuppress /qn |
3.5.3 (x64) | MsiExec.exe /x {6AD36D53-67C5-4793-A3E2-28CE4D7734E5} REBOOT=ReallySuppress /qn |
3.5.2 (x86) | MsiExec.exe /x {BD68EEFF-8353-4D3E-BAAF-4C6E6C4B2956} REBOOT=ReallySuppress /qn |
3.5.2 (x64) | MsiExec.exe /x {07FC8573-559E-450F-8659-F770F50125DB} REBOOT=ReallySuppress /qn |
3.5.1 (x86) | MsiExec.exe /x {2D4CE316-2F38-4B07-B4F5-E2889D796662} REBOOT=ReallySuppress /qn |
3.5.1 (x64) | MsiExec.exe /x {AC782078-7F62-44E6-99C6-6AF09EB0C2B6} REBOOT=ReallySuppress /qn |
3.5.0 (x86) | MsiExec.exe /x {B619A861-B2AD-47B0-A9B6-3512D84175AA} REBOOT=ReallySuppress /qn |
3.5.0 (x64) | MsiExec.exe /x {4FC659E5-0AC1-4D3C-9024-AF5CF96F5DC1} REBOOT=ReallySuppress /qn |
3.4.4 (x86) | MsiExec.exe /x {4E64FB61-E87C-4FE7-9FBB-BF8F5425C305} REBOOT=ReallySuppress /qn |
3.4.4 (x64) | MsiExec.exe /x {9BD3E5E5-D9C0-423E-87E7-FCB6FE082121} REBOOT=ReallySuppress /qn |
3.4.3 (x86) | MsiExec.exe /x {DEC4CB74-D466-483F-B8BE-CBA7832D5A23} REBOOT=ReallySuppress /qn |
3.4.3 (x64) | MsiExec.exe /x {2F8EDE5C-B36F-4F09-974B-82DE33DA01AF} REBOOT=ReallySuppress /qn |
3.4.2 (x86) | MsiExec.exe /x {9B8D924A-762F-4488-9BF1-B51203BC08D1} REBOOT=ReallySuppress /qn |
3.4.2 (x64) | MsiExec.exe /x {4B7D3279-626A-4FBF-B593-35ABD4FC6A1E} REBOOT=ReallySuppress /qn |
3.4.1 (x86) | MsiExec.exe /x {8BEEE82C-0B4B-4578-8C28-022789516771} REBOOT=ReallySuppress /qn |
3.4.1 (x64) | MsiExec.exe /x {27596A6F-750F-4996-A5C2-A980522ED1C4} REBOOT=ReallySuppress /qn |
3.3.6 (x86) | MsiExec.exe /x {A6D99040-2CCD-4DFF-8778-47AC8EEB52B6} REBOOT=ReallySuppress /qn |
3.3.6 (x64) | MsiExec.exe /x {3A99002F-BABA-4378-BB20-44C94A159696} REBOOT=ReallySuppress /qn |
3.3.5 (x86) | MsiExec.exe /x {9D5502D4-D950-4B70-A2DA-8083B0E729AF} REBOOT=ReallySuppress /qn |
3.3.5 (x64) | MsiExec.exe /x {74BB4713-81B4-4A94-968A-9D64B970CBA4} REBOOT=ReallySuppress /qn |
3.3.4 (x86) | MsiExec.exe /x {80FA2A71-1F71-4E10-882B-4C67518D14BD} REBOOT=ReallySuppress /qn |
3.3.4 (x64) | MsiExec.exe /x {83FFDFF0-CE7B-4684-9A78-AD07972A17DC} REBOOT=ReallySuppress /qn |
3.3.3 (x86) | MsiExec.exe /x {80D1B99C-B219-4F2B-B90A-56B7BEED27BD} REBOOT=ReallySuppress /qn |
3.3.3 (x64) | MsiExec.exe /x {552D8312-4EBA-4718-A1EA-76BA338A6706} REBOOT=ReallySuppress /qn |
3.3.2 (x86) | MsiExec.exe /x {D287DE81-B738-4EA7-BBFA-8D89FC1CCD0C} REBOOT=ReallySuppress /qn |
3.3.2 (x64) | MsiExec.exe /x {ACF2B956-B9AF-454D-A3B9-D998F81C12B2} REBOOT=ReallySuppress /qn |
3.3.1 (x86) | MsiExec.exe /x {C5DD5014-C9D3-46A8-8507-4C3F0A424B34} REBOOT=ReallySuppress /qn |
3.3.1 (x64) | MsiExec.exe /x {4703A881-EDC1-4F7E-A498-02399CC3F9C8} REBOOT=ReallySuppress /qn |
3.3.0 (x86) | MsiExec.exe /x {A86E9DDA-8AFC-42BA-A2A5-1BDA9103FC0B} REBOOT=ReallySuppress /qn |
3.3.0 (x64) | MsiExec.exe /x {FD59BC11-469C-43DB-9184-4B751D42A3E9} REBOOT=ReallySuppress /qn |
3.2.4 (x86) | MsiExec.exe /x {79DDF3EF-4313-45B2-8CD8-D04704ABD01E} REBOOT=ReallySuppress /qn |
3.2.4 (x64) | MsiExec.exe /x {C92FFADD-2AE7-4BAE-B3EB-6DA081E7425C} REBOOT=ReallySuppress /qn |
3.2.3 (x86) | MsiExec.exe /x {3DCB75AC-5EFF-468E-ACAF-068FCC3912D0} REBOOT=ReallySuppress /qn |
3.2.3 (x64) | MsiExec.exe /x {E4F354C3-4074-484E-9158-A74D9588652F} REBOOT=ReallySuppress /qn |
3.2.2 (x86) | MsiExec.exe /x {6AD6650D-0698-4FAD-B34C-76D0F75AF90B} REBOOT=ReallySuppress /qn |
3.2.2 (x64) | MsiExec.exe /x {F05BC2A8-FD9A-4F1C-ADEF-FD286AA6BBF4} REBOOT=ReallySuppress /qn |
3.2.1 (x86) | MsiExec.exe /x {F5769D36-5F0A-41E8-9F64-003B55D3D6BE} REBOOT=ReallySuppress /qn |
3.2.1 (x64) | MsiExec.exe /x {146F877C-1C9C-4EBD-8C21-F33AD396E388} REBOOT=ReallySuppress /qn |
3.2.0 (x86) | MsiExec.exe /x {29224D38-F053-47A7-B352-C0CB9FEA31C8} REBOOT=ReallySuppress /qn |
3.2.0 (x64) | MsiExec.exe /x {0CF81574-B8CB-4809-8498-B3E604EF6E96} REBOOT=ReallySuppress /qn |
3.1.3 (x86) | MsiExec.exe /x {0126EB72-EEEA-4518-9ADC-AABF69E2BBA4} REBOOT=ReallySuppress /qn |
3.1.3 (x64) | MsiExec.exe /x {47699519-0B92-477C-8A38-8914CE77D606} REBOOT=ReallySuppress /qn |
3.1.2 (x86) | MsiExec.exe /x {26C74AD8-8613-4E7C-8A15-A2753B7844EB} REBOOT=ReallySuppress /qn |
3.1.2 (x64) | MsiExec.exe /x {1E7020AA-37F5-44BB-8AE6-C25708358778} REBOOT=ReallySuppress /qn |
3.1.1 (x86) | MsiExec.exe /x {018CD665-B475-4FAE-B171-B6AE4CDAF543} REBOOT=ReallySuppress /qn |
3.1.1 (x64) | MsiExec.exe /x {1176067E-B188-4875-B48E-91C2C845B865} REBOOT=ReallySuppress /qn |
3.1.0 (x86) | MsiExec.exe /x {48627B99-6133-4DFC-B6F4-F73A8971192D} REBOOT=ReallySuppress /qn |
3.1.0 (x64) | MsiExec.exe /x {A3FBD1BD-5A7F-4305-8D58-95B6EC2737DE} REBOOT=ReallySuppress /qn |
3.0.3 (x86) | MsiExec.exe /x {D0157B44-3282-468D-919E-9CFC0F475384} REBOOT=ReallySuppress /qn |
3.0.3 (x64) | MsiExec.exe /x {A6D6AE6F-BDF5-490E-B099-2A58AB21578D} 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.