Changeset 68057 in vbox for trunk/src/VBox/Installer/win
- Timestamp:
- Jul 20, 2017 10:38:12 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 117087
- Location:
- trunk/src/VBox/Installer/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/Makefile.kmk
r67067 r68057 168 168 $(if $(VBOX_WITH_QTGUI),$(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi) \ 169 169 $(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi \ 170 $(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi \ 170 171 $(foreach lang,$(VBOX_INSTALLER_LANGUAGES), \ 171 172 $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \ … … 503 504 $(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi \ 504 505 $(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi \ 505 $(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib.wxi 506 $(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib.wxi \ 507 $(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi 506 508 507 509 # … … 520 522 $(if $(VBOX_WITH_32_ON_64_MAIN_API),$(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib_x86.wxi,) \ 521 523 $(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi \ 524 $(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi \ 522 525 $(if $(VBOX_WITH_QTGUI),$(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi) \ 523 526 $(VBOX_MSI_DEPENDENCIES)) \ … … 580 583 -E 'VBOX_WITH_WEBSERVICES=$(if $(VBOX_WITH_WEBSERVICES),yes,no)' \ 581 584 -E 'VBOX_WITH_SDS=$(if $(VBOX_WITH_SDS),yes,no)' \ 582 -E 'VBOX_WITH_UNATTENDED=$(if $(VBOX_WITH_UNATTENDED),yes,no)' \583 585 -E 'BUILD_TYPE=$(KBUILD_TYPE)' \ 584 586 -E 'BUILD_TARGET_ARCH=$(KBUILD_TARGET_ARCH)' \ … … 614 616 $(if $(VBOX_WITH_32_ON_64_MAIN_API),$(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib_x86.wxi,) \ 615 617 $(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi \ 618 $(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi \ 616 619 $(if $(VBOX_WITH_QTGUI),$(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi) \ 617 620 $(VBOX_MSI_DEPENDENCIES) \ … … 671 674 -E 'VBOX_WITH_WEBSERVICES=$(if $(VBOX_WITH_WEBSERVICES),yes,no)' \ 672 675 -E 'VBOX_WITH_SDS=$(if $(VBOX_WITH_SDS),yes,no)' \ 673 -E 'VBOX_WITH_UNATTENDED=$(if $(VBOX_WITH_UNATTENDED),yes,no)' \674 676 -E 'BUILD_TYPE=$(KBUILD_TYPE)' \ 675 677 -E 'BUILD_TARGET_ARCH=$(KBUILD_TARGET_ARCH)' \ … … 718 720 # 719 721 include $(PATH_ROOT)/src/VBox/Frontends/VirtualBox/nls/ApprovedLanguages.kmk 720 $(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi: $(PATH_ROOT)/src/VBox/Frontends/VirtualBox/nls/ApprovedLanguages.kmk $(VBOX_WIN_INST_MAKEFILE_DEP) | $$(dir $$@) 722 $(call KB_FN_AUTO_CMD_DEPS,$(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi) 723 $(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi: $(PATH_ROOT)/src/VBox/Frontends/VirtualBox/nls/ApprovedLanguages.kmk | $$(dir $$@) 721 724 $(APPEND) -t $@ '<?xml version="1.0" ?>' 722 725 $(APPEND) $@ '<Include>' … … 729 732 # Edit the version stored in the registry. 730 733 # 734 $(call KB_FN_AUTO_CMD_DEPS,$(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi) 731 735 $(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi: $(PATH_SUB_CURRENT)/VBoxKey.wxi $(VBOX_VERSION_STAMP) | $$(dir $$@) 732 736 $(SED) -e 's/%VER%/$(VBOX_VERSION_STRING_RAW)/' \ 733 737 -e 's/%VER_EXT%/$(VBOX_VERSION_STRING)/' \ 734 738 --output $@ $< 739 740 # 741 # Generate the list of unattended template script files. 742 # 743 $(call KB_FN_AUTO_CMD_DEPS,$(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi) 744 $(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi: | $$(dir $$@) 745 $(APPEND) -t -n $@ \ 746 '<?xml version="1.0" ?>' \ 747 '<Include>' 748 ifdef VBOX_UNATTENDED_TEMPLATES 749 $(APPEND) -n $@ \ 750 ' <Directory Id="dir_VBoxUnattendedTemplates" Name="UnattendedTemplates">' \ 751 ' <Component Id="cp_UnattendedTemplates" Guid="0571550d-aaa5-4723-c17b-5ddcc29f5686" Win64="$$(var.Property_Win64)">' \ 752 $@ $(foreach file,$(VBOX_UNATTENDED_TEMPLATES), \ 753 ' <File Id="$(file)" Name="$(file)" Source="$$(env.PATH_OUT)\bin\UnattendedTemplates\$(file)" />') \ 754 ' </Component>' \ 755 ' </Directory>' 756 endif 757 $(APPEND) $@ '</Include>' 758 735 759 736 760 # -
trunk/src/VBox/Installer/win/VBoxMergeApp.wxi
r67067 r68057 423 423 </Component> 424 424 425 <?if $(env.VBOX_WITH_UNATTENDED) = "yes" ?> 426 <!-- Unattended templates --> 427 <Directory Id="dir_VBoxUnattendedTemplates" Name="unattended_templates"> 428 <Component Id="cp_UnattendedTemplates" Guid="8f89ec7e-ae83-490d-a293-c7ab276c5678" Win64="$(var.Property_Win64)"> 429 <!-- VBox unattended template files --> 430 <File Id="file_debian_preseed.cfg" Name="debian_preseed.cfg" 431 Source="$(env.PATH_OUT)\bin\unattended_templates\debian_preseed.cfg" /> 432 <File Id="file_fedora_ks.cfg" Name="fedora_ks.cfg" 433 Source="$(env.PATH_OUT)\bin\unattended_templates\fedora_ks.cfg" /> 434 <File Id="file_ol_ks.cfg" Name="ol_ks.cfg" 435 Source="$(env.PATH_OUT)\bin\unattended_templates\ol_ks.cfg" /> 436 <File Id="file_redhat67_ks.cfg" Name="redhat67_ks.cfg" 437 Source="$(env.PATH_OUT)\bin\unattended_templates\redhat67_ks.cfg" /> 438 <File Id="file_ubuntu_preseed.cfg" Name="ubuntu_preseed.cfg" 439 Source="$(env.PATH_OUT)\bin\unattended_templates\ubuntu_preseed.cfg" /> 440 <File Id="file_win_nt6_unattended.xml" Name="win_nt6_unattended.xml" 441 Source="$(env.PATH_OUT)\bin\unattended_templates\win_nt6_unattended.xml" /> 442 <File Id="file_win_nt5_unattended.sif" Name="win_nt5_unattended.sif" 443 Source="$(env.PATH_OUT)\bin\unattended_templates\win_nt5_unattended.sif" /> 444 </Component> 445 </Directory> 425 <!-- Unattended installation template scripts if enabled --> 426 <?include $(env.PATH_TARGET)\VBoxUnattendedTemplateComponent.wxi ?> 427 446 428 <?endif?> 447 429
Note:
See TracChangeset
for help on using the changeset viewer.