VirtualBox

Changeset 107003 in vbox for trunk


Ignore:
Timestamp:
Nov 14, 2024 2:41:59 PM (2 weeks ago)
Author:
vboxsync
Message:

Installer/win/Makefile.kmk: Fixed regressions from r165936, mostly. jiraref:VBP-1442

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/Makefile.kmk

    r107000 r107003  
    477477
    478478# Note! Keep the list sorted for easier lookup.
    479 VBOX_WIN_INST_ENV := \
     479VBOX_WIN_INST_ENV_FIXED := \
    480480        -E 'KBUILD_TARGET_ARCH=$(KBUILD_TARGET_ARCH)' \
    481481        -E 'KBUILD_TYPE=$(KBUILD_TYPE)' \
     
    489489        -E 'VBOX_BUILD_NR_FOR_INST=$(VBOX_VERSION_BUILD)' \
    490490        -E 'VBOX_C_YEAR=$(VBOX_C_YEAR)' \
    491         -E 'VBOX_CAB_COMPRESSION_LEVEL_COMMON=$(if-expr $(lang) == "en_US" && $(KBUILD_TARGET_ARCH) == "amd64",$(VBOX_CAB_COMPRESSION_LEVEL),none)' \
    492         -E 'VBOX_CAB_COMPRESSION_LEVEL=$(if-expr $(lang) == "en_US",$(VBOX_CAB_COMPRESSION_LEVEL),none)' \
    493491        $(foreach lang,$(VBOX_INSTALLER_LANGUAGES), \
    494492                -E 'VBOX_BRAND_$(lang)_LICENSE_RTF=$(subst /,\,$(VBOX_BRAND_$(subst en_US_,,$(lang)_)LICENSE_RTF))') \
     
    553551        -E 'VBOX_WITH_WEBSERVICES=$(if $(VBOX_WITH_WEBSERVICES),yes,no)'
    554552
     553# The bits that depends on $(lang) + the expand once stuff above.
     554VBOX_WIN_INST_ENV = $(VBOX_WIN_INST_ENV_FIXED) \
     555        -E 'VBOX_CAB_COMPRESSION_LEVEL_COMMON=$(if-expr $(lang) == "en_US" && $(KBUILD_TARGET_ARCH) == "amd64",$(VBOX_CAB_COMPRESSION_LEVEL),none)' \
     556        -E 'VBOX_CAB_COMPRESSION_LEVEL=$(if-expr $(lang) == "en_US",$(VBOX_CAB_COMPRESSION_LEVEL),none)'
     557
    555558#
    556559# Building the main installer (en_US).
     
    580583                $$(basename $$@).wixpdb \
    581584                $$(VBOX_WIN_INST_REPACK_DIR)/2-link-$$(PACKAGE_NAME_LANG).cmd ))
    582         kmk_time $$(REDIRECT_EXT) -E WIX_TEMP='$$(subst /,\,$$(@D))' $(VBOX_WIN_INST_ENV) \
     585        kmk_time $$(REDIRECT_EXT) $(VBOX_WIN_INST_ENV) -E WIX_TEMP='$$(subst /,\,$$(@D))' \
    583586                -- $(VBOX_TOOLS_WIN_WIX_BIN) build \
    584587                -intermediatefolder $$(@D)/wix-temp/ \
     
    639642        $$(call MSG_L1,Building merge module $$@)
    640643        $(QUIET)$(RM) -f $$(wildcard $(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_BASE)-r*_$(lang).msi)
    641         kmk_time $$(REDIRECT_EXT) -E WIX_TEMP='$$(subst /,\,$$(@D))' $(VBOX_WIN_INST_ENV) \
     644        kmk_time $$(REDIRECT_EXT) $(VBOX_WIN_INST_ENV) -E WIX_TEMP='$$(subst /,\,$$(@D))' \
    642645                -- $(VBOX_TOOLS_WIN_WIX_BIN) build \
    643646                -intermediatefolder $$(@D)/wix-temp/ \
     
    725728                        $(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi \
    726729                        $(if $(VBOX_WITH_QTGUI),$(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi) \
    727                         $(VBOX_MSI_DEPENDENCIES)) \
     730                        $(VBOX_MSI_DEPENDENCIES),) \
    728731                $(VBOX_VERSION_STAMP) \
    729732                | $$$$(dir $$$$@) $(if-expr "$(lang)" != "en_US",, \
     
    749752endef
    750753
    751 $(foreach lang,$(VBOX_INSTALLER_LANGUAGES), \
     754$(foreach lang,$(VBOX_INSTALLER_LANGUAGES),\
    752755        $(eval $(def_vbox_build_wixlib)))
    753756
     
    777780                | $$$$(dir $$$$@) $(VBOX_WIN_INST_REPACK_DIR)/
    778781        $(QUIET)$(RM) -f -- "$$@" "$(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wix" "$(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).wix"
    779         $(REDIRECT) \
     782        $(REDIRECT) \
    780783                $(VBOX_WIN_INST_ENV) \
    781784                -- \
     
    934937                -ext $(VBOX_TOOLS_WIN_WIXEXT_DIR)/WixToolset.Util.wixext.dll \
    935938                -pdbtype none \
     939                -defaultcompressionlevel none \
    936940                -out $$(@D)/$(PACKAGE_NAME_LANG)_$(lang).msi
    937941        $(REDIRECT) -C $$(@D) -- $$(VBOX_PATH_MSITRAN) -g $$< $(PACKAGE_NAME_LANG)_$(lang).msi $(lang).mst
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette