ec0a49ecc7
There is no simple "Windows is 10 or newer" check in MSI, with the Microsoft policy of "you don't need to know real Windows version". See also https://developercommunity.visualstudio.com/t/detect-a-windows-version-from-msi/412198 The values that MSI sees (e.g. on my Win11) are: Property(C): VersionNT = 603 Property(C): VersionNT64 = 603 Property(C): WindowsBuild = 9600 So those can't be used for the check. I use the WINMAJORVER that is read from registry (Software\Microsoft\Windows NT\CurrentVersion). There is no more need to check and install UCRT; it was dropped. Change-Id: Ic02d6aeb965e9684bafd4357f969980f77000e73 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178049 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_Module_Module,setup_native))
|
|
|
|
$(eval $(call gb_Module_add_targets,setup_native,\
|
|
$(if $(filter MACOSX,$(OS)),CustomTarget_mac) \
|
|
CustomTarget_spell \
|
|
$(if $(filter WNT,$(OS)),Package_misc) \
|
|
Package_packinfo \
|
|
$(if $(filter LINUX SOLARIS,$(OS)), \
|
|
CustomTarget_scripts \
|
|
$(if $(ENABLE_ONLINE_UPDATE),Package_scripts) \
|
|
) \
|
|
))
|
|
|
|
ifeq ($(OS),WNT)
|
|
$(eval $(call gb_Module_add_targets,setup_native,\
|
|
Library_instooofiltmsi \
|
|
Library_qslnkmsi \
|
|
Library_reg_dlls \
|
|
Library_reg4allmsdoc \
|
|
Library_regactivex \
|
|
Library_sdqsmsi \
|
|
Library_sellangmsi \
|
|
Library_shlxtmsi \
|
|
Library_sn_tools \
|
|
StaticLibrary_quickstarter \
|
|
StaticLibrary_seterror \
|
|
))
|
|
|
|
endif
|
|
|
|
# vim: set noet sw=4 ts=4:
|