From 0e5d9a5a6bf1ddfe869c2331d05932f0ba664c69 Mon Sep 17 00:00:00 2001 From: Michael Schuster Date: Tue, 29 Sep 2020 17:59:39 +0200 Subject: [PATCH 1/7] Docs: Update macOS version info Signed-off-by: Michael Schuster --- doc/installing.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/installing.rst b/doc/installing.rst index c3be14073a..54f24c31b6 100644 --- a/doc/installing.rst +++ b/doc/installing.rst @@ -28,7 +28,8 @@ System Requirements ---------------------------------- - Windows 8.1+ -- macOS 10.7+ (**64-bit only**) +- macOS 10.12+ (**64-bit only**) +- macOS 10.10 & 10.11 (**64-bit and up to client legacy version 2.6.5 only**) - CentOS 6 & 7 (64-bit only) - Debian 8.0 & 9.0 - Fedora 25 & 26 & 27 From 8e48d53b04df66ec76177732f182c446641dd2c5 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Tue, 29 Sep 2020 18:21:29 +0200 Subject: [PATCH 2/7] Docs: Adopt upstream commit fe04300 for MSI installation See: https://github.com/owncloud/client/commit/fe043006c8f4a43b033243a85c294d21c7450238 Signed-off-by: Michael Schuster --- doc/installing.rst | 127 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) diff --git a/doc/installing.rst b/doc/installing.rst index 54f24c31b6..7613e4f65a 100644 --- a/doc/installing.rst +++ b/doc/installing.rst @@ -39,6 +39,133 @@ System Requirements .. note:: For Linux distributions, we support, if technically feasible, the latest 2 versions per platform and the previous LTS. +Customizing the Windows installation +------------------------------------ + +If you just want to install ownCloud Desktop Synchronization Client on your local +system, you can simply launch the .msi file and configure it in the wizard +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 +the installation:: + + msiexec /passive /i ownCloud-x.y.z.msi + +will install the ownCloud Desktop Synchronization Client into the default location +with the default features enabled. If you want to disable, e.g., desktop shortcut +icons you can simply change the above command to:: + + msiexec /passive /i ownCloud-x.y.z.msi REMOVE=DesktopShortcut + +See the following table for a list of available features: + ++--------------------+--------------------+----------------------------------+---------------------------+ +| 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 shortcuts to the start menu |``NO_START_MENU_SHORTCUTS``| ++--------------------+--------------------+----------------------------------+---------------------------+ +| ShellExtensions | Yes | Adds Explorer integration |``NO_SHELL_EXTENSIONS`` | ++--------------------+--------------------+----------------------------------+---------------------------+ + +Installation +~~~~~~~~~~~~ + +You can also choose to only install the client itself by using the following command:: + + msiexec /passive /i ownCloud-x.y.z.msi ADDDEFAULT=Client + +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:: + + msiexec /passive /i ownCloud-x.y.z.msi ADDDEFAULT=StartMenuShortcuts + +2. You pass the `NO_DESKTOP_SHORTCUT` and `NO_SHELL_EXTENSIONS` properties:: + + msiexec /passive /i ownCloud-x.y.z.msi NO_DESKTOP_SHORTCUT="1" NO_SHELL_EXTENSIONS="1" + +.. NOTE:: +The ownCloud .msi remembers these properties, so you don't need to specify them on upgrades. + +.. NOTE:: +You cannot use these to change the installed features, if you want to do that, see the next section. + +Changing installed features +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can change the installed features later by using `REMOVE` and `ADDDEFAULT` properties. + +1. If you want to add the the desktop shortcut later:: + + msiexec /passive /i ownCloud-x.y.z.msi ADDDEFAULT="DesktopShortcut" + +2. If you want to remove it, simply do:: + + msiexec /passive /i ownCloud-x.y.z.msi REMOVE="DesktopShortcut" + +Windows keeps track of the installed features and using `REMOVE` or `ADDDEFAULT` will only affect the mentioned features. + +Compare `REMOVE `_ +and `ADDDEFAULT `_ +on the Windows Installer Guide. + +.. NOTE:: +You cannot specify `REMOVE` on initial installation as it will disable all features. + +Installation folder +^^^^^^^^^^^^^^^^^^^ + +You can adjust the installation folder by specifying the `INSTALLDIR` +property like this:: + + msiexec /passive /i ownCloud-x.y.z.msi INSTALLDIR="C:\Program Files (x86)\Non Standard ownCloud Client Folder" + +Be careful when using PowerShell instead of `cmd.exe`, it can be tricky to get +the whitespace escaping right there. Specifying the `INSTALLDIR` like this +only works on first installation, you cannot simply reinvoke the .msi with a +different path. If you still need to change it, uninstall it first and reinstall +it with the new path. + +Disabling automatic updates +^^^^^^^^^^^^^^^^^^^^^^^^^^^ +To disable automatic updates, you can pass the `SKIPAUTOUPDATE` property.:: + + msiexec /passive /i ownCloud-x.y.z.msi SKIPAUTOUPDATE="1" + +Launch after installation +^^^^^^^^^^^^^^^^^^^^^^^^^ + +To launch the client automatically after installation, you can pass the `LAUNCH` property.:: + + msiexec /i ownCloud-x.y.z.msi LAUNCH="1" + +This option also removes the checkbox to let users decide if they want to launch the client +for non passive/quiet mode. + +.. NOTE:: +This option does not have any effect without GUI. + +No reboot after installation +^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The ownCloud Client schedules a reboot after installation to make sure the Explorer extension is correctly (un)loaded. +If you're taking care of the reboot yourself, you can set the `REBOOT` property:: + + msiexec /i ownCloud-x.y.z.msi REBOOT=ReallySuppress + +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:: + + msiexec /i ownCloud-x.y.z.msi DO_NOT_SCHEDULE_REBOOT="1" + Installation Wizard ------------------- From bf6980d31a9d4a5d64df8fd30fc5be71e4678752 Mon Sep 17 00:00:00 2001 From: Michael Schuster Date: Tue, 29 Sep 2020 19:04:08 +0200 Subject: [PATCH 3/7] Docs: Adopt latest MSI doc enhancements from upstream master Signed-off-by: Michael Schuster --- doc/installing.rst | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/doc/installing.rst b/doc/installing.rst index 7613e4f65a..25e4e2b081 100644 --- a/doc/installing.rst +++ b/doc/installing.rst @@ -39,11 +39,11 @@ System Requirements .. note:: For Linux distributions, we support, if technically feasible, the latest 2 versions per platform and the previous LTS. -Customizing the Windows installation +Customizing the Windows Installation ------------------------------------ If you just want to install ownCloud Desktop Synchronization Client on your local -system, you can simply launch the .msi file and configure it in the wizard +system, you can simply launch the `.msi` file and configure it in the wizard that pops up. Features @@ -51,13 +51,13 @@ 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 -the installation:: +the installation, then run the following command:: msiexec /passive /i ownCloud-x.y.z.msi -will install the ownCloud Desktop Synchronization Client into the default location -with the default features enabled. If you want to disable, e.g., desktop shortcut -icons you can simply change the above command to:: +The command will install the ownCloud Desktop Synchronization Client into the default location +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:: msiexec /passive /i ownCloud-x.y.z.msi REMOVE=DesktopShortcut @@ -93,21 +93,21 @@ If you for instance want to install everything but the ``DesktopShortcut`` and t msiexec /passive /i ownCloud-x.y.z.msi NO_DESKTOP_SHORTCUT="1" NO_SHELL_EXTENSIONS="1" .. NOTE:: -The ownCloud .msi remembers these properties, so you don't need to specify them on upgrades. +The ownCloud `.msi` remembers these properties, so you don't need to specify them on upgrades. .. NOTE:: You cannot use these to change the installed features, if you want to do that, see the next section. -Changing installed features +Changing Installed Features ~~~~~~~~~~~~~~~~~~~~~~~~~~~ You can change the installed features later by using `REMOVE` and `ADDDEFAULT` properties. -1. If you want to add the the desktop shortcut later:: +1. If you want to add the the desktop shortcut later, run the following command:: msiexec /passive /i ownCloud-x.y.z.msi ADDDEFAULT="DesktopShortcut" -2. If you want to remove it, simply do:: +2. If you want to remove it, simply run the following command:: msiexec /passive /i ownCloud-x.y.z.msi REMOVE="DesktopShortcut" @@ -120,7 +120,7 @@ on the Windows Installer Guide. .. NOTE:: You cannot specify `REMOVE` on initial installation as it will disable all features. -Installation folder +Installation Folder ^^^^^^^^^^^^^^^^^^^ You can adjust the installation folder by specifying the `INSTALLDIR` @@ -129,18 +129,17 @@ property like this:: msiexec /passive /i ownCloud-x.y.z.msi INSTALLDIR="C:\Program Files (x86)\Non Standard ownCloud Client Folder" Be careful when using PowerShell instead of `cmd.exe`, it can be tricky to get -the whitespace escaping right there. Specifying the `INSTALLDIR` like this -only works on first installation, you cannot simply reinvoke the .msi with a -different path. If you still need to change it, uninstall it first and reinstall -it with the new path. +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. -Disabling automatic updates +Disabling Automatic Updates ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + To disable automatic updates, you can pass the `SKIPAUTOUPDATE` property.:: msiexec /passive /i ownCloud-x.y.z.msi SKIPAUTOUPDATE="1" -Launch after installation +Launch After Installation ^^^^^^^^^^^^^^^^^^^^^^^^^ To launch the client automatically after installation, you can pass the `LAUNCH` property.:: @@ -153,7 +152,7 @@ for non passive/quiet mode. .. NOTE:: This option does not have any effect without GUI. -No reboot after installation +No Reboot After Installation ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The ownCloud Client schedules a reboot after installation to make sure the Explorer extension is correctly (un)loaded. From 2476dcb4250c2e7f941dbdeebb9270e344bb75f4 Mon Sep 17 00:00:00 2001 From: Michael Schuster Date: Tue, 29 Sep 2020 19:05:39 +0200 Subject: [PATCH 4/7] Windows MSI: Stay compatible with the upstream "StartMenuShortcuts" feature Even though we only create a program shortcut in the Start Menu, try to make administrators lives easier by not diverging feature and option naming. Signed-off-by: Michael Schuster --- admin/win/msi/Nextcloud.wxs | 2 +- doc/installing.rst | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/admin/win/msi/Nextcloud.wxs b/admin/win/msi/Nextcloud.wxs index 7e8406d325..4adaeba3b3 100644 --- a/admin/win/msi/Nextcloud.wxs +++ b/admin/win/msi/Nextcloud.wxs @@ -192,7 +192,7 @@ (NO_SHELL_EXTENSIONS=1) - + (NO_START_MENU_SHORTCUTS=1) diff --git a/doc/installing.rst b/doc/installing.rst index 25e4e2b081..7e4d9495c0 100644 --- a/doc/installing.rst +++ b/doc/installing.rst @@ -63,17 +63,17 @@ If you want to disable, e.g., desktop shortcut icons you can simply change the a See the following table for a list of available features: -+--------------------+--------------------+----------------------------------+---------------------------+ -| 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 shortcuts to the start menu |``NO_START_MENU_SHORTCUTS``| -+--------------------+--------------------+----------------------------------+---------------------------+ -| ShellExtensions | Yes | Adds Explorer integration |``NO_SHELL_EXTENSIONS`` | -+--------------------+--------------------+----------------------------------+---------------------------+ ++--------------------+--------------------+-----------------------------------+---------------------------+ +| 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`` | ++--------------------+--------------------+-----------------------------------+---------------------------+ Installation ~~~~~~~~~~~~ From c5ff288b3734b2e0d0eed92c38ec6140d16bbdd6 Mon Sep 17 00:00:00 2001 From: Michael Schuster Date: Tue, 29 Sep 2020 19:11:01 +0200 Subject: [PATCH 5/7] Docs: Use our app name in the MSI docs Signed-off-by: Michael Schuster --- doc/installing.rst | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/doc/installing.rst b/doc/installing.rst index 7e4d9495c0..9b88e958a5 100644 --- a/doc/installing.rst +++ b/doc/installing.rst @@ -2,7 +2,7 @@ Installing the Desktop Synchronization Client ============================================= -You can download the latest version of the Nextcloud Desktop Synchronization +You can download the latest version of the Nextcloud Desktop Synchronization Client from the `Nextcloud download page`_. There are clients for Linux, macOs, and Microsoft Windows. @@ -42,7 +42,7 @@ System Requirements Customizing the Windows Installation ------------------------------------ -If you just want to install ownCloud Desktop Synchronization Client on your local +If you just want to install Nextcloud Desktop Synchronization Client on your local system, you can simply launch the `.msi` file and configure it in the wizard that pops up. @@ -53,13 +53,13 @@ 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 the installation, then run the following command:: - msiexec /passive /i ownCloud-x.y.z.msi + msiexec /passive /i Nextcloud-x.y.z.msi -The command will install the ownCloud Desktop Synchronization Client into the default location +The command will install the Nextcloud Desktop Synchronization Client into the default location 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:: - msiexec /passive /i ownCloud-x.y.z.msi REMOVE=DesktopShortcut + msiexec /passive /i Nextcloud-x.y.z.msi REMOVE=DesktopShortcut See the following table for a list of available features: @@ -80,20 +80,20 @@ Installation You can also choose to only install the client itself by using the following command:: - msiexec /passive /i ownCloud-x.y.z.msi ADDDEFAULT=Client + msiexec /passive /i Nextcloud-x.y.z.msi ADDDEFAULT=Client 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:: - msiexec /passive /i ownCloud-x.y.z.msi ADDDEFAULT=StartMenuShortcuts + msiexec /passive /i Nextcloud-x.y.z.msi ADDDEFAULT=StartMenuShortcuts 2. You pass the `NO_DESKTOP_SHORTCUT` and `NO_SHELL_EXTENSIONS` properties:: - msiexec /passive /i ownCloud-x.y.z.msi NO_DESKTOP_SHORTCUT="1" NO_SHELL_EXTENSIONS="1" + msiexec /passive /i Nextcloud-x.y.z.msi NO_DESKTOP_SHORTCUT="1" NO_SHELL_EXTENSIONS="1" .. NOTE:: -The ownCloud `.msi` remembers these properties, so you don't need to specify them on upgrades. +The Nextcloud `.msi` remembers these properties, so you don't need to specify them on upgrades. .. NOTE:: You cannot use these to change the installed features, if you want to do that, see the next section. @@ -105,11 +105,11 @@ You can change the installed features later by using `REMOVE` and `ADDDEFAULT` p 1. If you want to add the the desktop shortcut later, run the following command:: - msiexec /passive /i ownCloud-x.y.z.msi ADDDEFAULT="DesktopShortcut" + msiexec /passive /i Nextcloud-x.y.z.msi ADDDEFAULT="DesktopShortcut" 2. If you want to remove it, simply run the following command:: - msiexec /passive /i ownCloud-x.y.z.msi REMOVE="DesktopShortcut" + msiexec /passive /i Nextcloud-x.y.z.msi REMOVE="DesktopShortcut" Windows keeps track of the installed features and using `REMOVE` or `ADDDEFAULT` will only affect the mentioned features. @@ -126,7 +126,7 @@ Installation Folder You can adjust the installation folder by specifying the `INSTALLDIR` property like this:: - msiexec /passive /i ownCloud-x.y.z.msi INSTALLDIR="C:\Program Files (x86)\Non Standard ownCloud Client Folder" + msiexec /passive /i Nextcloud-x.y.z.msi INSTALLDIR="C:\Program Files (x86)\Non Standard Nextcloud Client Folder" Be careful when using PowerShell instead of `cmd.exe`, it can be tricky to get the whitespace escaping right there. @@ -137,14 +137,14 @@ Disabling Automatic Updates To disable automatic updates, you can pass the `SKIPAUTOUPDATE` property.:: - msiexec /passive /i ownCloud-x.y.z.msi SKIPAUTOUPDATE="1" + msiexec /passive /i Nextcloud-x.y.z.msi SKIPAUTOUPDATE="1" Launch After Installation ^^^^^^^^^^^^^^^^^^^^^^^^^ To launch the client automatically after installation, you can pass the `LAUNCH` property.:: - msiexec /i ownCloud-x.y.z.msi LAUNCH="1" + msiexec /i Nextcloud-x.y.z.msi LAUNCH="1" This option also removes the checkbox to let users decide if they want to launch the client for non passive/quiet mode. @@ -155,15 +155,15 @@ This option does not have any effect without GUI. No Reboot After Installation ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -The ownCloud Client schedules a reboot after installation to make sure the Explorer extension is correctly (un)loaded. +The Nextcloud Client schedules a reboot after installation to make sure the Explorer extension is correctly (un)loaded. If you're taking care of the reboot yourself, you can set the `REBOOT` property:: - msiexec /i ownCloud-x.y.z.msi REBOOT=ReallySuppress + msiexec /i Nextcloud-x.y.z.msi REBOOT=ReallySuppress 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:: - msiexec /i ownCloud-x.y.z.msi DO_NOT_SCHEDULE_REBOOT="1" + msiexec /i Nextcloud-x.y.z.msi DO_NOT_SCHEDULE_REBOOT="1" Installation Wizard ------------------- From ce279d0bbd1b99bbc557806589c8417313e6bf10 Mon Sep 17 00:00:00 2001 From: Michael Schuster Date: Fri, 2 Oct 2020 02:36:29 +0200 Subject: [PATCH 6/7] Windows MSI: Add SKIPAUTOUPDATE property for the skipUpdateCheck setting Signed-off-by: Michael Schuster --- admin/win/msi/Nextcloud.wxs | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/admin/win/msi/Nextcloud.wxs b/admin/win/msi/Nextcloud.wxs index 4adaeba3b3..59d1db237e 100644 --- a/admin/win/msi/Nextcloud.wxs +++ b/admin/win/msi/Nextcloud.wxs @@ -60,6 +60,9 @@ + + + @@ -163,8 +166,8 @@ - - + + @@ -176,6 +179,14 @@ + + + + + + + + @@ -183,7 +194,8 @@ Description="$(var.AppName) $(var.VerDesc)"> - + + From b552c771282311864e4ea11e23d77f2b8c3ae43d Mon Sep 17 00:00:00 2001 From: Michael Schuster Date: Fri, 2 Oct 2020 20:28:36 +0200 Subject: [PATCH 7/7] Docs: Be slightly more modern and use 64-bit examples Signed-off-by: Michael Schuster --- doc/installing.rst | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/installing.rst b/doc/installing.rst index 9b88e958a5..6dd522722e 100644 --- a/doc/installing.rst +++ b/doc/installing.rst @@ -53,13 +53,13 @@ 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 the installation, then run the following command:: - msiexec /passive /i Nextcloud-x.y.z.msi + msiexec /passive /i Nextcloud-x.y.z-x64.msi The command will install the Nextcloud Desktop Synchronization Client into the default location 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:: - msiexec /passive /i Nextcloud-x.y.z.msi REMOVE=DesktopShortcut + msiexec /passive /i Nextcloud-x.y.z-x64.msi REMOVE=DesktopShortcut See the following table for a list of available features: @@ -80,17 +80,17 @@ Installation You can also choose to only install the client itself by using the following command:: - msiexec /passive /i Nextcloud-x.y.z.msi ADDDEFAULT=Client + msiexec /passive /i Nextcloud-x.y.z-x64.msi ADDDEFAULT=Client 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:: - msiexec /passive /i Nextcloud-x.y.z.msi ADDDEFAULT=StartMenuShortcuts + msiexec /passive /i Nextcloud-x.y.z-x64.msi ADDDEFAULT=StartMenuShortcuts 2. You pass the `NO_DESKTOP_SHORTCUT` and `NO_SHELL_EXTENSIONS` properties:: - msiexec /passive /i Nextcloud-x.y.z.msi NO_DESKTOP_SHORTCUT="1" NO_SHELL_EXTENSIONS="1" + msiexec /passive /i Nextcloud-x.y.z-x64.msi NO_DESKTOP_SHORTCUT="1" NO_SHELL_EXTENSIONS="1" .. NOTE:: The Nextcloud `.msi` remembers these properties, so you don't need to specify them on upgrades. @@ -105,11 +105,11 @@ You can change the installed features later by using `REMOVE` and `ADDDEFAULT` p 1. If you want to add the the desktop shortcut later, run the following command:: - msiexec /passive /i Nextcloud-x.y.z.msi ADDDEFAULT="DesktopShortcut" + msiexec /passive /i Nextcloud-x.y.z-x64.msi ADDDEFAULT="DesktopShortcut" 2. If you want to remove it, simply run the following command:: - msiexec /passive /i Nextcloud-x.y.z.msi REMOVE="DesktopShortcut" + msiexec /passive /i Nextcloud-x.y.z-x64.msi REMOVE="DesktopShortcut" Windows keeps track of the installed features and using `REMOVE` or `ADDDEFAULT` will only affect the mentioned features. @@ -126,7 +126,7 @@ Installation Folder You can adjust the installation folder by specifying the `INSTALLDIR` property like this:: - msiexec /passive /i Nextcloud-x.y.z.msi INSTALLDIR="C:\Program Files (x86)\Non Standard Nextcloud Client Folder" + msiexec /passive /i Nextcloud-x.y.z-x64.msi INSTALLDIR="C:\Program Files\Non Standard Nextcloud Client Folder" Be careful when using PowerShell instead of `cmd.exe`, it can be tricky to get the whitespace escaping right there. @@ -137,14 +137,14 @@ Disabling Automatic Updates To disable automatic updates, you can pass the `SKIPAUTOUPDATE` property.:: - msiexec /passive /i Nextcloud-x.y.z.msi SKIPAUTOUPDATE="1" + msiexec /passive /i Nextcloud-x.y.z-x64.msi SKIPAUTOUPDATE="1" Launch After Installation ^^^^^^^^^^^^^^^^^^^^^^^^^ To launch the client automatically after installation, you can pass the `LAUNCH` property.:: - msiexec /i Nextcloud-x.y.z.msi LAUNCH="1" + msiexec /i Nextcloud-x.y.z-x64.msi LAUNCH="1" This option also removes the checkbox to let users decide if they want to launch the client for non passive/quiet mode. @@ -158,12 +158,12 @@ No Reboot After Installation The Nextcloud Client schedules a reboot after installation to make sure the Explorer extension is correctly (un)loaded. If you're taking care of the reboot yourself, you can set the `REBOOT` property:: - msiexec /i Nextcloud-x.y.z.msi REBOOT=ReallySuppress + msiexec /i Nextcloud-x.y.z-x64.msi REBOOT=ReallySuppress 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:: - msiexec /i Nextcloud-x.y.z.msi DO_NOT_SCHEDULE_REBOOT="1" + msiexec /i Nextcloud-x.y.z-x64.msi DO_NOT_SCHEDULE_REBOOT="1" Installation Wizard -------------------