VirtualBox

Changeset 77301 in vbox


Ignore:
Timestamp:
Feb 13, 2019 2:16:57 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128821
Message:

Installer/win: Added repacking support for the MSM packages

File:
1 edited

Legend:

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

    r76818 r77301  
    435435        $(CP) -f -- "$(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl" "$(VBOX_WIN_INST_OUT_DIR)/NLS/License_$(lang).wxl" \
    436436        "$(VBOX_WIN_INST_REPACK_DIR)/files-VirtualBox_$(lang)/"
     437# Create repack script for this step.
    437438        $(APPEND) -tn "$$(VBOX_WIN_INST_REPACK_DIR)/2-link-$$(PACKAGE_NAME_LANG).cmd" \
    438439        'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b1)' \
     
    489490        $(RM) -f $(VBOX_WIN_INST_OUT_DIR)/NLS/$(lang).mst
    490491        $(call VBOX_SIGN_FILE_FN,$$@,$(VBOX_PRODUCT) $(VBOX_VERSION_STRING)r$(VBOX_SVN_REV) ($(KBUILD_TARGET_ARCH)),,,disable-dual-signing)
    491 ## @todo repack script and files
     492# Create repack script for this step.
     493        $(APPEND) -tn "$$(VBOX_WIN_INST_REPACK_DIR)/2-link-VBoxMerge$(module)_$(lang).cmd" \
     494        'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b1)' \
     495                $(subst $(KBUILD_DEVTOOLS),%KBUILD_DEVTOOLS%,\
     496                '$(VBOX_PATH_WIX)/light.exe -v -nologo ^' \
     497                '  -loc files-VirtualBox_$(lang)/Language_$(lang).wxl ^' \
     498                '  -loc files-VirtualBox_$(lang)/License_$(lang).wxl ^' \
     499                '  -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll ^' \
     500                '  $(VBOX_MSI_ICE_IGNORE) ^' \
     501                '  -out $$(@F) ^' \
     502                '  $$(<F) ^' \
     503                '  $(VBOX_PATH_WIX)/difxapp_$(if-expr "$(KBUILD_TARGET_ARCH)" == "x86",x86,x64).wixlib ^' \
     504               '  || exit /b1' \
     505                'call sign-sha1.cmd $(@F) || exit /b1' \
     506               ) \
     507               '@echo Created MSM module: $$(@F)' \
    492508endef
    493509
     
    789805        set -xe && for file in  `$(CAT_EXT) "$(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).files"`; \
    790806                do $(CP_EXT) -f -- "$$(DOLLAR){file}" "$(VBOX_WIN_INST_REPACK_DIR)/files-VBoxMerge$(module)_$(lang)/"; done
    791 ## @todo repack script
     807# Create repack script for this step.
     808        $(APPEND) -tn "$(VBOX_WIN_INST_REPACK_DIR)/1-compile-VBoxMerge$(module)_$(lang).cmd" \
     809        'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b1)' \
     810                $(subst $(KBUILD_DEVTOOLS),%KBUILD_DEVTOOLS%,\
     811                '$(VBOX_PATH_WIX)/candle.exe VBoxMerge$(module)$(lang).wix ^' \
     812                '  -ext $(VBOX_PATH_WIX)/WixUIExtension.dll ^'\
     813                '  -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll ^' \
     814                '  -out $$(@F) || exit /b1' \
     815               ) \
     816               '@echo Created: $$(@F)'
    792817 endif
    793818# Generate wxi dependencies based on the sourceLineNumber references in the output.
Note: See TracChangeset for help on using the changeset viewer.

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