diff options
author | allexzander <blackslayer4@gmail.com> | 2021-04-07 16:25:57 +0300 |
---|---|---|
committer | allexzander <blackslayer4@gmail.com> | 2021-04-15 13:47:37 +0300 |
commit | c88e76a4a989279d7630d95665001ff6b63c2828 (patch) | |
tree | bf82ccf51ce6b7a324885b27accee8afbeb98fa1 /admin | |
parent | a74d9ec516cb9c3502e9455b26a73ee4d6262fb8 (diff) |
Minimum supported Windows 10, build 1709.
Signed-off-by: allexzander <blackslayer4@gmail.com>
Diffstat (limited to 'admin')
-rw-r--r-- | admin/win/msi/Nextcloud.wxs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/win/msi/Nextcloud.wxs b/admin/win/msi/Nextcloud.wxs index 2f79911b7..5daabf41e 100644 --- a/admin/win/msi/Nextcloud.wxs +++ b/admin/win/msi/Nextcloud.wxs @@ -52,6 +52,9 @@ <Property Id="INSTALLDIR"> <RegistrySearch Id="RegistryInstallDir" Type="raw" Root="HKLM" Key="Software\$(var.AppVendor)\$(var.AppName)" Win64="no" /> </Property> + <Property Id="WINDOWSRELEASEID"> + <RegistrySearch Id="RegistryWindowsReleaseId" Type="raw" Root="HKLM" Key="Software\Microsoft\Windows NT\CurrentVersion" Name="ReleaseId"/> + </Property> <!-- Detect legacy NSIS installation --> <Property Id="NSIS_UNINSTALLEXE"> @@ -214,6 +217,6 @@ <Condition Level="0">(NO_DESKTOP_SHORTCUT=1)</Condition> </Feature> </Feature> - + <Condition Message="This application only runs on Windows 10, version 1709 or higher!">(VersionNT>=603 AND WINDOWSRELEASEID>=1709)</Condition> </Product> </Wix> |