Changeset 77351 in vbox
- Timestamp:
- Feb 18, 2019 6:46:41 PM (6 years ago)
- Location:
- trunk/src/VBox/Installer/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/Makefile.kmk
r77333 r77351 162 162 $(VBOX_WIN_INST_OUT_DIR) \ 163 163 $(VBOX_WIN_INST_REPACK_DIR)/ \ 164 $(foreach lang,$(VBOX_INSTALLER_LANGUAGES),$(VBOX_WIN_INST_OUT_DIR)/$(lang)/) \ 164 $(foreach lang,$(VBOX_INSTALLER_LANGUAGES), \ 165 $(VBOX_WIN_INST_OUT_DIR)/$(lang)/ \ 166 $(VBOX_WIN_INST_REPACK_DIR)/files-VirtualBox_$(lang)/ )\ 165 167 $(VBOX_WIN_INST_OUT_DIR)/NLS/ 166 168 … … 184 186 $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wix \ 185 187 $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wixobj \ 186 $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wixobj.dep )\188 $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wixobj.dep \ 187 189 $(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).wix \ 190 $(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).files \ 191 $(VBOX_WIN_INST_REPACK_DIR)/2-link-$(PACKAGE_NAME_LANG).cmd \ 192 $(VBOX_WIN_INST_REPACK_DIR)/files-VirtualBox_$(lang)/Language_$(lang).wxl \ 193 $(VBOX_WIN_INST_REPACK_DIR)/files-VirtualBox_$(lang)/License_$(lang).wxl )\ 188 194 $(VBOX_WIN_INST_OUT_DIR)/DirComponentsAndFiles_DTrace.wxi \ 189 195 $(VBOX_WIN_INST_OUT_DIR)/Files_Main.wxi \ … … 214 220 $(foreach module,$(VBOX_INSTALLER_MERGE_MODULES), \ 215 221 $(foreach lang,$(VBOX_INSTALLER_MERGE_LANGUAGES), \ 216 $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module).msm.dep \ 217 $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).msm \ 222 $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang)_$(KBUILD_TARGET_ARCH).msm \ 218 223 $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wixobj \ 224 $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wixobj.dep \ 219 225 $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wixpdb \ 220 $(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).wix)) 226 $(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).wix \ 227 $(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).files) 228 BLDDIRS += $foreach lang,$(VBOX_INSTALLER_MERGE_LANGUAGES), \ 229 $(VBOX_WIN_INST_REPACK_DIR)/files-VBoxMerge$(module)_$(lang)/) 221 230 endif 222 231 … … 454 463 $(if-expr defined(VBOX_WITH_COMBINED_PACKAGE) && !defined(VBOX_WITH_MSM_INSTALL),'@echo Created: common.cab',) 455 464 456 $(eval OTHER_CLEAN += $(VBOX_WIN_INST_REPACK_DIR)/files-VirtualBox_$(lang)/Language_$(lang).wxl \457 $(VBOX_WIN_INST_REPACK_DIR)/files-VirtualBox_$(lang)/License_$(lang).wxl \458 $(VBOX_WIN_INST_REPACK_DIR)/2-link-$(PACKAGE_NAME_LANG).cmd )459 465 endif 460 466 endef … … 470 476 # 471 477 define def_vbox_link_msm 472 $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang) .msm: \478 $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang)_$(KBUILD_TARGET_ARCH).msm: \ 473 479 $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wixobj \ 474 480 $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \ … … 503 509 ' $(VBOX_PATH_WIX)/difxapp_$(if-expr "$(KBUILD_TARGET_ARCH)" == "x86",x86,x64).wixlib ^' \ 504 510 ' || exit /b1' \ 505 'call sign-sha1.cmd $ (@F) || exit /b1' \511 'call sign-sha1.cmd $$(@F) || exit /b1' \ 506 512 ) \ 507 513 '@echo Created MSM module: $$(@F)' … … 558 564 $(if-expr defined(VBOX_WITH_MSM_INSTALL), \ 559 565 $(foreach module,$(VBOX_INSTALLER_MERGE_MODULES), \ 560 $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang) .msm), \566 $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang)_$(KBUILD_TARGET_ARCH).msm), \ 561 567 $(VBOX_WIN_INST_OUT_DIR)/Shortcuts_StartMenu.wxi \ 562 568 $(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib.wxi \ … … 597 603 $(if-expr defined(VBOX_WITH_MSM_INSTALL), \ 598 604 $(foreach module,$(VBOX_INSTALLER_MERGE_MODULES), \ 599 -E 'VBOX_WIN_INST_MERGE_$(toupper $(module))=$(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang) .msm'),) \605 -E 'VBOX_WIN_INST_MERGE_$(toupper $(module))=$(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang)_$(KBUILD_TARGET_ARCH).msm'),) \ 600 606 -E 'VBOX_WINDOWS_ICON_FILE=$(subst /,\,$(VBOX_WINDOWS_ICON_FILE))' \ 601 607 -E 'VBOX_QT_INFIX=$(VBOX_QT_INFIX)' \ … … 686 692 endif 687 693 688 $(eval BLDDIRS += $(VBOX_WIN_INST_REPACK_DIR)/files-VirtualBox_$(lang)/) 689 $(eval OTHER_CLEAN += $(VBOX_REPACK_FILES_VirtualBox_$(lang)) $(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).files $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wixobj.dep) 694 $(eval OTHER_CLEAN += $(VBOX_REPACK_FILES_VirtualBox_$(lang))) 690 695 endef 691 696 … … 787 792 -e 's,$(subst /,\\,$(PATH_OUT_BASE))\\win.amd64\\$(KBUILD_TYPE)\\bin,..\\..\\..\\win.amd64\\$(KBUILD_TYPE)\\bin,g' \ 788 793 -e 's,$(subst /,\\,$(PATH_OUT_BASE))\\win.x86\\$(KBUILD_TYPE)\\bin,..\\..\\..\\win.x86\\$(KBUILD_TYPE)\\bin,g' \ 789 -e 's,$(subst /,\\,$(PATH_ROOT))\\doc\\,files-VirtualBox_$(lang)\\,g' \ 790 -e 's,$(subst /,\\,$(VBOX_PATH_WIN_INST_SRC))\\Binary\\,files-VirtualBox_$(lang)\\,g' \ 791 -e 's,$(subst /,\\,$(dir $(VBOX_WINDOWS_ICON_FILE))),files-VirtualBox_$(lang)\\,g' \ 794 -e 's,$(subst /,\\,$(PATH_ROOT))\\doc\\,files-VBoxMerge$(module)_$(lang)\\,g' \ 795 -e 's,$(subst /,\\,$(VBOX_PATH_WIN_INST_SRC))\\Binary\\,files-VBoxMerge$(module)_$(lang)\\,g' \ 796 -e 's,$(subst /,\\,$(dir $(VBOX_WINDOWS_ICON_FILE))),files-VBoxMerge$(module)_$(lang)\\,g' \ 797 -e 's,$(subst /,\\,$(VBOX_PATH_WIN_INST_SRC))\\,,g' \ 792 798 --output "$(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).wix" \ 793 799 "$(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wix" … … 812 818 'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b1)' \ 813 819 $(subst $(KBUILD_DEVTOOLS),%KBUILD_DEVTOOLS%,\ 814 '$(VBOX_PATH_WIX)/candle.exe VBoxMerge$(module) $(lang).wix ^' \820 '$(VBOX_PATH_WIX)/candle.exe VBoxMerge$(module)_$(lang).wix ^' \ 815 821 ' -ext $(VBOX_PATH_WIX)/WixUIExtension.dll ^'\ 816 822 ' -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll ^' \ … … 830 836 endif 831 837 832 $(eval BLDDIRS += $(VBOX_WIN_INST_REPACK_DIR)/files-VBoxMerge$(module)_$(lang)/) 833 $(eval OTHER_CLEAN += $(VBOX_REPACK_FILES_VBoxMerge$(module)_$(lang)) $(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).files $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wixobj.dep) 838 $(eval OTHER_CLEAN += $(VBOX_REPACK_FILES_VBoxMerge$(module)_$(lang))) 834 839 endef 835 840 -
trunk/src/VBox/Installer/win/Scripts/Combined-3-Repack.cmd
r76553 r77351 80 80 81 81 :opt_h 82 echo Toplevel combined package: Prepare both x86 and amd64 for submission.83 echo . 84 echo Usage: Combined- 1-Prepare.cmd [-o output-dir] [-e/--extpack puel.vbox-extpack]82 echo Toplevel combined package: Repack the installer and extpacks. 83 echo . 84 echo Usage: Combined-3-Repack.cmd [-o output-dir] [-e/--extpack puel.vbox-extpack] 85 85 echo [-s/--extpack-enterprise puel-enterprise.vbox-extpack] 86 86 echo [-u/--vboxall-dir unpacked-vboxall-dir] [-t build-type] 87 echo [--signed-amd64 signed-amd64.zip] 88 echo [--signed-x86 signed-x86.zip] 87 89 echo 88 90 echo . … … 256 258 257 259 set _MY_OUT_FILES= 260 cd /d "%_MY_REPACK_DIR_AMD64%" || goto end_failed 261 for %%i in (VBoxMerge*msm) do ( 262 copy /y "%%i" "%_MY_OPT_OUTDIR%" || goto end_failed 263 call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~nxi 264 ) 265 cd /d "%_MY_REPACK_DIR_X86%" || goto end_failed 266 for %%i in (VBoxMerge*msm) do ( 267 copy /y "%%i" "%_MY_OPT_OUTDIR%" || goto end_failed 268 call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~nxi 269 ) 258 270 for %%i in (VirtualBox-*MultiArch*exe) do ( 259 271 copy /y "%%i" "%_MY_OPT_OUTDIR%" || goto end_failed … … 274 286 for %%i in (%_MY_TMP_OUT%) do ( 275 287 set _MY_TMP_OUT=%_MY_OPT_OUTDIR%\%%~nxi 276 call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~n ix288 call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~nxi 277 289 ) 278 290 call "%_MY_REPACK_DIR_X86%\RepackExtPack.cmd" --bindir-amd64 "%_MY_BINDIR_AMD64%" --bindir-x86 "%_MY_BINDIR_X86%" ^ … … 284 296 for %%i in (%_MY_TMP_OUT%) do ( 285 297 set _MY_TMP_OUT=%_MY_OPT_OUTDIR%\%%~nxi 286 call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~n ix298 call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~nxi 287 299 ) 288 300 call "%_MY_REPACK_DIR_X86%\RepackExtPack.cmd" --bindir-amd64 "%_MY_BINDIR_AMD64%" --bindir-x86 "%_MY_BINDIR_X86%" ^
Note:
See TracChangeset
for help on using the changeset viewer.