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:
authorMichael Schuster <michael@schuster.ms>2020-10-02 03:36:29 +0300
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>2020-10-05 10:18:35 +0300
commitce279d0bbd1b99bbc557806589c8417313e6bf10 (patch)
tree39ef112c21f55943ebd1587c8f8f20601c8a7ea8 /admin
parentc5ff288b3734b2e0d0eed92c38ec6140d16bbdd6 (diff)
Windows MSI: Add SKIPAUTOUPDATE property for the skipUpdateCheck setting
Signed-off-by: Michael Schuster <michael@schuster.ms>
Diffstat (limited to 'admin')
-rw-r--r--admin/win/msi/Nextcloud.wxs18
1 files changed, 15 insertions, 3 deletions
diff --git a/admin/win/msi/Nextcloud.wxs b/admin/win/msi/Nextcloud.wxs
index 4adaeba3b..59d1db237 100644
--- a/admin/win/msi/Nextcloud.wxs
+++ b/admin/win/msi/Nextcloud.wxs
@@ -60,6 +60,9 @@
</DirectorySearch>
</Property>
+ <!-- Property to disable update checks -->
+ <Property Id="SKIPAUTOUPDATE" Value="0" />
+
<!-- Quit / restart application -->
<util:RestartResource ProcessName="$(var.AppExe)" />
@@ -163,8 +166,8 @@
</Directory>
<DirectoryRef Id="TARGETDIR">
- <Component Id="RegistryEntries" Guid="*" Win64="no">
- <!-- Version numbers used to detect existing installation (use 32-bit registry like NSIS does) -->
+ <!-- Version numbers used to detect existing installation (use 32-bit registry like NSIS does) -->
+ <Component Id="RegistryVersionInfo" Guid="*" Win64="no">
<RegistryKey Root="HKLM" Key="Software\$(var.AppVendor)\$(var.AppName)" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes">
<RegistryValue Type="string" Value="[INSTALLDIR]" />
<RegistryValue Type="integer" Name="VersionMajor" Value="$(var.VerMajor)" />
@@ -176,6 +179,14 @@
<RegistryValue Type="string" Name="InstallerProductCode" Value="[ProductCode]" />
</RegistryKey>
</Component>
+
+ <!-- Platform bitness-dependent settings -->
+ <Component Id="RegistryDefaultSettings" Guid="*" Win64="$(var.PlatformWin64)">
+ <RegistryKey Root="HKLM" Key="Software\$(var.AppVendor)\$(var.AppName)">
+ <!-- Property to disable update checks -->
+ <RegistryValue Type="integer" Name="skipUpdateCheck" Value="[SKIPAUTOUPDATE]" />
+ </RegistryKey>
+ </Component>
</DirectoryRef>
<!-- Features -->
@@ -183,7 +194,8 @@
Description="$(var.AppName) $(var.VerDesc)">
<ComponentGroupRef Id="ClientFiles" />
- <ComponentRef Id="RegistryEntries" />
+ <ComponentRef Id="RegistryVersionInfo" />
+ <ComponentRef Id="RegistryDefaultSettings" />
<Feature Id="ShellExtensions" Title="Integration for Windows Explorer"
Description="This feature requires a reboot." >