Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorallexzander <blackslayer4@gmail.com>2021-03-30 01:26:00 +0300
committerallexzander (Rebase PR Action) <allexzander@users.noreply.github.com>2021-04-14 09:59:21 +0300
commit7d2ab1f3fe273ce9301d56b7708da72a3fb8e330 (patch)
tree1fbbaa1a2a450a32b35ad2fed2a1a9e9bcea125e /admin
parent32dd91e650d5eb4d333ef7777261cb3feb81233e (diff)
Do not schedule reboot when installing MSI in silent mode unless 'SCHEDULE_REBOOT' is set.
Signed-off-by: allexzander <blackslayer4@gmail.com>
Diffstat (limited to 'admin')
-rw-r--r--admin/win/msi/Nextcloud.wxs4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/win/msi/Nextcloud.wxs b/admin/win/msi/Nextcloud.wxs
index 98c466d54..2f79911b7 100644
--- a/admin/win/msi/Nextcloud.wxs
+++ b/admin/win/msi/Nextcloud.wxs
@@ -77,8 +77,8 @@
<!-- Uninstall: Remove sync folders from Explorer's Navigation Pane, only effective for the current user (home users) -->
<Custom Action="RemoveNavigationPaneEntries" After="RemoveFiles">(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")</Custom>
- <!-- Schedule Reboot for the Shell Extensions -->
- <ScheduleReboot After="InstallFinalize">NOT (DO_NOT_SCHEDULE_REBOOT=1)</ScheduleReboot>
+ <!-- Schedule Reboot for the Shell Extensions (in silent installation mode only, or if SCHEDULE_REBOOT argument is set-->
+ <ScheduleReboot After="InstallFinalize">(SCHEDULE_REBOOT=1) OR NOT (UILevel=2)</ScheduleReboot>
</InstallExecuteSequence>
<!-- "Add or Remove" Programs Entries -->