2015-01-30 23:48:12 +03:00
=============================================
2014-12-31 22:27:52 +03:00
Installing the Desktop Synchronization Client
=============================================
2014-06-26 00:04:33 +04:00
2020-09-29 20:11:01 +03:00
You can download the latest version of the Nextcloud Desktop Synchronization
2018-06-04 12:44:03 +03:00
Client from the `Nextcloud download page`_ .
2017-12-13 16:03:58 +03:00
There are clients for Linux, macOs, and Microsoft Windows.
2018-06-04 12:44:03 +03:00
2021-04-26 12:55:49 +03:00
The currently supported server releases are the latest three stable versions
at time of publication. It means that the |version| release series is supporting
2021-12-18 13:35:23 +03:00
stable server major versions.
See https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule for
supported major versions.
2021-04-26 12:55:49 +03:00
2017-12-13 16:03:58 +03:00
Installation on Mac OS X and Windows is the same as for any software
2018-06-04 12:44:03 +03:00
application: download the program and then double-click it to launch the
installation, and then follow the installation wizard. After it is installed and
configured the sync client will automatically keep itself updated; see
2015-01-30 23:48:12 +03:00
:doc: `autoupdate` for more information.
2018-06-04 12:44:03 +03:00
Linux users must follow the instructions on the download page to add the
appropriate repository for their Linux distribution, install the signing key,
and then use their package managers to install the desktop sync client. Linux
users will also update their sync clients via package manager, and the client
will display a notification when an update is available.
2015-01-30 23:48:12 +03:00
2015-03-23 20:57:05 +03:00
Linux users must also have a password manager enabled, such as GNOME Keyring or
KWallet, so that the sync client can login automatically.
2018-06-04 12:44:03 +03:00
You will also find links to source code archives and older versions on the
2015-11-02 22:18:31 +03:00
download page.
2017-11-17 17:05:42 +03:00
System Requirements
----------------------------------
2021-11-12 17:18:53 +03:00
- Windows 8.1+
2021-06-25 14:43:20 +03:00
- macOS 10.12+ (64-bit only)
- Linux
2021-04-26 03:31:07 +03:00
- FreeBSD
2017-12-13 16:03:58 +03:00
.. note ::
2020-02-29 13:11:30 +03:00
For Linux distributions, we support, if technically feasible, the latest 2 versions per platform and the previous LTS.
2017-11-17 17:05:42 +03:00
2020-09-29 20:04:08 +03:00
Customizing the Windows Installation
2020-09-29 19:21:29 +03:00
------------------------------------
2020-09-29 20:11:01 +03:00
If you just want to install Nextcloud Desktop Synchronization Client on your local
2020-09-29 20:04:08 +03:00
system, you can simply launch the `.msi` file and configure it in the wizard
2020-09-29 19:21:29 +03:00
that pops up.
Features
^^^^^^^^
The MSI installer provides several features that can be installed or removed
individually, which you can also control via command-line, if you are automating
2020-09-29 20:04:08 +03:00
the installation, then run the following command::
2020-09-29 19:21:29 +03:00
2020-10-02 21:28:36 +03:00
msiexec /passive /i Nextcloud-x.y.z-x64.msi
2020-09-29 19:21:29 +03:00
2020-09-29 20:11:01 +03:00
The command will install the Nextcloud Desktop Synchronization Client into the default location
2020-09-29 20:04:08 +03:00
with the default features enabled.
If you want to disable, e.g., desktop shortcut icons you can simply change the above command to the following::
2020-09-29 19:21:29 +03:00
2020-10-02 21:28:36 +03:00
msiexec /passive /i Nextcloud-x.y.z-x64.msi REMOVE=DesktopShortcut
2020-09-29 19:21:29 +03:00
See the following table for a list of available features:
2020-09-29 20:05:39 +03:00
+--------------------+--------------------+-----------------------------------+---------------------------+
| Feature | Enabled by default | Description |Property to disable |
+====================+====================+===================================+===========================+
| Client | Yes, required | The actual client | |
+--------------------+--------------------+-----------------------------------+---------------------------+
| DesktopShortcut | Yes | Adds a shortcut to the desktop |`` NO_DESKTOP_SHORTCUT `` |
+--------------------+--------------------+-----------------------------------+---------------------------+
| StartMenuShortcuts | Yes | Adds a shortcut to the start menu |`` NO_START_MENU_SHORTCUTS ` ` |
+--------------------+--------------------+-----------------------------------+---------------------------+
| ShellExtensions | Yes | Adds Explorer integration |`` NO_SHELL_EXTENSIONS `` |
+--------------------+--------------------+-----------------------------------+---------------------------+
2020-09-29 19:21:29 +03:00
Installation
~~~~~~~~~~~~
You can also choose to only install the client itself by using the following command::
2020-10-02 21:28:36 +03:00
msiexec /passive /i Nextcloud-x.y.z-x64.msi ADDDEFAULT=Client
2020-09-29 19:21:29 +03:00
If you for instance want to install everything but the `` DesktopShortcut `` and the `` ShellExtensions `` feature, you have two possibilities:
1. You explicitly name all the features you actually want to install (whitelist) where `Client` is always installed anyway::
2021-04-19 10:32:53 +03:00
msiexec /passive /i Nextcloud-x.y.z-x64.msi ADDDEFAULT=StartMenuShortcuts
2020-09-29 19:21:29 +03:00
2. You pass the `NO_DESKTOP_SHORTCUT` and `NO_SHELL_EXTENSIONS` properties::
2021-04-19 10:32:53 +03:00
msiexec /passive /i Nextcloud-x.y.z-x64.msi NO_DESKTOP_SHORTCUT="1" NO_SHELL_EXTENSIONS="1"
2020-09-29 19:21:29 +03:00
.. NOTE ::
2021-04-19 10:32:53 +03:00
The Nextcloud `.msi` remembers these properties, so you don't need to specify them on upgrades.
2020-09-29 19:21:29 +03:00
.. NOTE ::
2021-04-19 10:32:53 +03:00
You cannot use these to change the installed features, if you want to do that, see the next section.
2020-09-29 19:21:29 +03:00
2020-09-29 20:04:08 +03:00
Changing Installed Features
2020-09-29 19:21:29 +03:00
~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can change the installed features later by using `REMOVE` and `ADDDEFAULT` properties.
2020-09-29 20:04:08 +03:00
1. If you want to add the the desktop shortcut later, run the following command::
2020-09-29 19:21:29 +03:00
2021-04-19 10:32:53 +03:00
msiexec /passive /i Nextcloud-x.y.z-x64.msi ADDDEFAULT="DesktopShortcut"
2020-09-29 19:21:29 +03:00
2020-09-29 20:04:08 +03:00
2. If you want to remove it, simply run the following command::
2020-09-29 19:21:29 +03:00
2021-04-19 10:32:53 +03:00
msiexec /passive /i Nextcloud-x.y.z-x64.msi REMOVE="DesktopShortcut"
2020-09-29 19:21:29 +03:00
Windows keeps track of the installed features and using `REMOVE` or `ADDDEFAULT` will only affect the mentioned features.
Compare `REMOVE <https://msdn.microsoft.com/en-us/library/windows/desktop/aa371194(v=vs.85).aspx> `_
and `ADDDEFAULT <https://msdn.microsoft.com/en-us/library/windows/desktop/aa367518(v=vs.85).aspx> `_
on the Windows Installer Guide.
.. NOTE ::
2021-04-19 10:32:53 +03:00
You cannot specify `REMOVE` on initial installation as it will disable all features.
2020-09-29 19:21:29 +03:00
2020-09-29 20:04:08 +03:00
Installation Folder
2020-09-29 19:21:29 +03:00
^^^^^^^^^^^^^^^^^^^
You can adjust the installation folder by specifying the `INSTALLDIR`
property like this::
2020-10-02 21:28:36 +03:00
msiexec /passive /i Nextcloud-x.y.z-x64.msi INSTALLDIR="C:\Program Files\Non Standard Nextcloud Client Folder"
2020-09-29 19:21:29 +03:00
Be careful when using PowerShell instead of `cmd.exe` , it can be tricky to get
2020-09-29 20:04:08 +03:00
the whitespace escaping right there.
Specifying the `INSTALLDIR` like this only works on first installation, you cannot simply re-invoke the `.msi` with a different path. If you still need to change it, uninstall it first and reinstall it with the new path.
2020-09-29 19:21:29 +03:00
2020-09-29 20:04:08 +03:00
Disabling Automatic Updates
2020-09-29 19:21:29 +03:00
^^^^^^^^^^^^^^^^^^^^^^^^^^^
2020-09-29 20:04:08 +03:00
2020-09-29 19:21:29 +03:00
To disable automatic updates, you can pass the `SKIPAUTOUPDATE` property.::
2020-10-02 21:28:36 +03:00
msiexec /passive /i Nextcloud-x.y.z-x64.msi SKIPAUTOUPDATE="1"
2020-09-29 19:21:29 +03:00
2020-09-29 20:04:08 +03:00
Launch After Installation
2020-09-29 19:21:29 +03:00
^^^^^^^^^^^^^^^^^^^^^^^^^
To launch the client automatically after installation, you can pass the `LAUNCH` property.::
2020-10-02 21:28:36 +03:00
msiexec /i Nextcloud-x.y.z-x64.msi LAUNCH="1"
2020-09-29 19:21:29 +03:00
This option also removes the checkbox to let users decide if they want to launch the client
for non passive/quiet mode.
.. NOTE ::
2021-04-19 10:32:53 +03:00
This option does not have any effect without GUI.
2020-09-29 19:21:29 +03:00
2020-09-29 20:04:08 +03:00
No Reboot After Installation
2020-09-29 19:21:29 +03:00
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2020-09-29 20:11:01 +03:00
The Nextcloud Client schedules a reboot after installation to make sure the Explorer extension is correctly (un)loaded.
2020-09-29 19:21:29 +03:00
If you're taking care of the reboot yourself, you can set the `REBOOT` property::
2020-10-02 21:28:36 +03:00
msiexec /i Nextcloud-x.y.z-x64.msi REBOOT=ReallySuppress
2020-09-29 19:21:29 +03:00
This will make `msiexec` exit with error `ERROR_SUCCESS_REBOOT_REQUIRED` (3010).
If your deployment tooling interprets this as an actual error and you want to avoid that, you may want to set the `DO_NOT_SCHEDULE_REBOOT` instead::
2020-10-02 21:28:36 +03:00
msiexec /i Nextcloud-x.y.z-x64.msi DO_NOT_SCHEDULE_REBOOT="1"
2020-09-29 19:21:29 +03:00
2015-08-29 17:26:48 +03:00
Installation Wizard
-------------------
2015-01-30 23:48:12 +03:00
2018-06-04 12:44:03 +03:00
The installation wizard takes you step-by-step through configuration options and
2021-03-17 11:33:10 +03:00
account setup. First, you need to enter the URL of your Nextcloud server.
2015-01-30 23:48:12 +03:00
2021-03-17 11:33:10 +03:00
.. image :: images/wizard_welcome.png
:alt: form for choosing between login and registering
If you already have an account on a Nextcloud instance, you want to
press the button `` Login to your Nextcloud `` . If you don't have a
Nextcloud instance and an account there, you might want to register an
account with a provider. Press `` Create account with Provider `` in
that case. Please keep in mind that the desktop client might have
built without provider support. In that case, you won't see this
page. Instead, you will be prompted with the next page.
.. image :: images/wizard_setup.png
2018-01-29 03:15:00 +03:00
:alt: form for entering Nextcloud server URL
2018-06-04 12:44:03 +03:00
2021-03-17 11:33:10 +03:00
Enter the URL for your Nextcloud instance. The URL is the same URL that
you type into your browser when you try to access your Nextcloud
instance.
2015-01-30 23:48:12 +03:00
2021-03-17 11:33:10 +03:00
.. image :: images/wizard_flow2.png
:alt: form waiting for authorization
2015-01-30 23:48:12 +03:00
2021-03-17 11:33:10 +03:00
Now your web browser should open and prompt you to login into your
Nextcloud instance. Enter your username and password in your web
browser and grant access. After you did that, go back to the
wizard. Please keep in mind that you might not need to enter your
username and password if you are already logged in to your browser.
2015-01-30 23:48:12 +03:00
2021-03-17 11:33:10 +03:00
.. image :: images/wizard_advanced.png
2018-06-04 12:44:03 +03:00
:alt: Select which remote folders to sync, and which local folder to store
2015-09-16 02:34:45 +03:00
them in.
2018-06-04 12:44:03 +03:00
2021-03-17 11:33:10 +03:00
On the local folder options screen, you may sync all of your files on
the Nextcloud server, or select individual folders. The default local
sync folder is `` Nextcloud `` , in your home directory. You may change
this as well.
2015-01-30 23:48:12 +03:00
2021-03-17 11:33:10 +03:00
When you have completed selecting your sync folders, click the Connect
button at the bottom right. The client will attempt to connect to your
Nextcloud server, and when it is successful, the wizard closes
itself. You can now observe the sync activity if you open the main
dialogue by clicking on the tray icon.
2017-11-06 14:32:27 +03:00
.. Links
2018-06-04 12:44:03 +03:00
2018-01-29 03:15:00 +03:00
.. _Nextcloud download page: https://nextcloud.com/download/#install-clients