VirtualBox

Changeset 63986 in vbox for trunk/src/VBox/Installer/win


Ignore:
Timestamp:
Sep 23, 2016 8:01:18 PM (8 years ago)
Author:
vboxsync
Message:

Installer/win/Makefile.kmk: Do point def_vbox_link_msi to a temporary language specific output directory to avoid common.cab copy clashes.

File:
1 edited

Legend:

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

    r63985 r63986  
    161161  OTHER_CLEAN += \
    162162        $(PATH_STAGE_BIN)/$(PACKAGE_NAME_MULTIARCH_FINAL) \
    163         $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.x86) \
    164         $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.am64) \
     163        $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.x86)
     164 else
     165  OTHER_CLEAN += \
    165166        $(PACKAGE_NAME_MULTIARCH_COMMONCAB)
    166  else
    167   # Nothing to do here yet.
    168167 endif
    169168else
     
    382381# .MSI link (all languages).
    383382#
    384 # Note: This will clean up any previous .msi to prevent dep build boxes from
    385 #       filling up with old files.
    386 #
    387 # Note: Disable parallel jobs here because of shared common.cab access issues.
     383# Note: This will clean up any previous .msi and .wixpdb files to prevent dep
     384#       build boxes from filling up with old files.
    388385#
    389386define def_vbox_link_msi
    390 #.NOTPARALLEL: $(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_NAME_LANG)_$(lang).msi - bird: works without for me. common.cab isn't shared here (it's in TEMP).
    391 $(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_NAME_LANG)_$(lang).msi: \
     387$(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_NAME_LANG)_$(lang).msi \
     388$(if-expr defined(VBOX_WITH_COMBINED_PACKAGE) && $(lang) == "en_US", + $(VBOX_WIN_INST_OUT_DIR)/common.cab,): \
    392389                $(VBOX_WIN_INST_OUT_DIR)/VirtualBox_$(lang).wixobj \
    393390                $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \
     
    398395                | $$$$(dir $$$$@)
    399396        $$(call MSG_L1,Linking installer $$@)
    400         $(QUIET)$(RM) -f $$(wildcard $(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_BASE)-r*_$(lang).msi)
     397        $(QUIET)$(RM) -f $$(wildcard $$(@D)/$(PACKAGE_BASE)-r*_$(lang).msi \
     398                $$(@D)/$(PACKAGE_BASE)-r*_$(lang).wixpdb $$(@D)/$(lang)/$(PACKAGE_BASE)-r*_$(lang).wixpdb)
     399        $(QUIET)$(MKDIR) -p -- $$(@D)/$(lang)/
    401400        $(VBOX_PATH_WIX)/light.exe -v -nologo \
    402401                -loc $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \
     
    405404                -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll \
    406405                $(VBOX_MSI_ICE_IGNORE) \
    407                 -out $$@ \
     406                -out $$(@D)/$(lang)/$$(@F) \
    408407                $$< \
    409408                $(if-expr "$(KBUILD_TARGET_ARCH)" == "x86", \
    410409                        $(VBOX_PATH_WIX)/difxapp_x86.wixlib, \
    411410                        $(VBOX_PATH_WIX)/difxapp_x64.wixlib)
    412         $(RM) -f $(VBOX_WIN_INST_OUT_DIR)/NLS/$(lang).mst
     411        $(MV) -f -- $$(@D)/$(lang)/$$(@F) $$@
     412ifdef VBOX_WITH_COMBINED_PACKAGE
     413 ifeq ($(lang),en_US)
     414        $(MV) -f -- $$(@D)/$(lang)/common.cab $$(@D)/common.cab
     415 endif
     416endif
     417        $(RM) -f -- $(VBOX_WIN_INST_OUT_DIR)/NLS/$(lang).mst \
     418                $$(@D)/$(lang)/$(PACKAGE_NAME_LANG)_$(lang).wixpdb \
     419                $$(@D)/$(lang)/common.cab \
    413420        $(call VBOX_SIGN_FILE_FN,$$@,$(VBOX_PRODUCT) $(VBOX_VERSION_STRING)r$(VBOX_SVN_REV) ($(KBUILD_TARGET_ARCH)),,,disable-dual-signing)
    414421endef
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