VirtualBox

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


Ignore:
Timestamp:
May 22, 2020 11:26:31 AM (5 years ago)
Author:
vboxsync
Message:

Installer/win: CRT dll adjustments for VC++ 14.x and later. bugref:8489

Location:
trunk/src/VBox/Installer/win
Files:
3 edited

Legend:

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

    r84449 r84451  
    609609                                $(if $(VBOX_WITH_32_ON_64_MAIN_API),$(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib_x86.wxi,) \
    610610                                $(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi \
     611                                $(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls.wxi \
     612                                $(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls32.wxi \
    611613                                $(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi \
    612614                                $(if $(VBOX_WITH_QTGUI),$(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi) \
     
    765767                $(if $(VBOX_WITH_32_ON_64_MAIN_API),$(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib_x86.wxi,) \
    766768                $(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi \
     769                $(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls.wxi \
     770                $(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls32.wxi \
    767771                $(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi \
    768772                $(if $(VBOX_WITH_QTGUI),$(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi) \
     
    945949
    946950#
     951# Generate the list of CRT DLLs.
     952#
     953ifndef TOOL_$(VBOX_VCC_TOOL)
     954 include $(KBUILD_PATH)/tools/$(VBOX_VCC_TOOL).kmk
     955endif
     956$(call KB_FN_AUTO_CMD_DEPS,$(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls.wxi)
     957$(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls.wxi: | $$(dir $$@)
     958        $(APPEND) -t -n $@ \
     959                '<?xml version="1.0" ?>' \
     960                '<Include>' \
     961                $(foreach dll \
     962                ,$(if-expr "$(VBOX_VCC_TOOL_STEM)"=="VCC100",msvcr100.dll msvcp100.dll \
     963                  ,$(if-expr "$(VBOX_VCC_TOOL_STEM)"=="VCC110",msvcr110.dll msvcp110.dll \
     964                   ,$(TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CPP_DLLS))) \
     965               ,'  <File Id="file_$(dll)" Name="$(dll)" Source="$$(env.PATH_OUT)\bin\$(dll)" />') \
     966                '</Include>'
     967
     968#
     969# Generate the list of 32-bit CRT DLLs.
     970#
     971ifndef TOOL_$(VBOX_VCC_TOOL_STEM)X86
     972 include $(KBUILD_PATH)/tools/$(VBOX_VCC_TOOL_STEM)X86.kmk
     973endif
     974$(call KB_FN_AUTO_CMD_DEPS,$(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls32.wxi)
     975$(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls32.wxi: | $$(dir $$@)
     976        $(APPEND) -t -n $@ \
     977                '<?xml version="1.0" ?>' \
     978                '<Include>' \
     979                $(foreach dll \
     980                ,$(if-expr "$(VBOX_VCC_TOOL_STEM)"=="VCC100",msvcr100.dll msvcp100.dll \
     981                  ,$(if-expr "$(VBOX_VCC_TOOL_STEM)"=="VCC110",msvcr110.dll msvcp110.dll \
     982                   ,$(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CPP_DLLS))) \
     983               ,'  <File Id="file_$(dll)_x86" Name="$(dll)" Source="$$(env.PATH_OUT)\bin\x86\$(dll)" disk="$$(var.Property_DiskIdCommon)" />') \
     984                '</Include>'
     985#
    947986# Generate the list of unattended template script files.
    948987#
  • trunk/src/VBox/Installer/win/VBoxMergeApp.wxi

    r84449 r84451  
    356356<?endif?>
    357357
    358 <?if $(env.VBOX_VCC_TOOL_STEM) = "VCC100" ?>
    359         <!-- MS C/C++ v10.0 Runtime DLL files -->
    360         <File Id="file_msvcr100.dll" Name="msvcr100.dll"
    361               Source="$(env.PATH_OUT)\bin\msvcr100.dll" />
    362         <File Id="file_msvcp100.dll" Name="msvcp100.dll"
    363               Source="$(env.PATH_OUT)\bin\msvcp100.dll" />
    364 <?endif?>
    365 <?if $(env.VBOX_VCC_TOOL_STEM) = "VCC110" ?>
    366         <!-- MS C/C++ v11.0 Runtime DLL files -->
    367         <File Id="file_msvcr110.dll" Name="msvcr110.dll"
    368               Source="$(env.PATH_OUT)\bin\msvcr110.dll" />
    369         <File Id="file_msvcp110.dll" Name="msvcp110.dll"
    370               Source="$(env.PATH_OUT)\bin\msvcp110.dll" />
    371 <?endif?>
     358        <!-- Include CRT Dlls (specific to the compiler). -->
     359        <?include $(env.PATH_TARGET)\VBoxCrtDlls.wxi ?>
    372360
    373361        <!-- EFI firmware -->
     
    389377    <?endif ?>
    390378<?endif ?>
    391         <!-- Include key for VBox version -->
     379        <!-- Include registry key for VBox version -->
    392380        <?include $(env.PATH_TARGET)\VBoxKey.wxi ?>
    393381
  • trunk/src/VBox/Installer/win/VBoxMergeCOM32On64.wxi

    r84449 r84451  
    4545            </File>
    4646            <?include $(env.PATH_TARGET)\VirtualBox_TypeLib_x86.wxi ?>
    47     <?if $(env.VBOX_VCC_TOOL_STEM) = "VCC100" ?>
    48             <!-- MS C/C++ v10.0 32 bit Runtime DLL files -->
    49             <File Id="file_msvcr100_x86" Name="msvcr100.dll"
    50                   Source="$(env.PATH_OUT)\bin\x86\msvcr100.dll"
    51                   DiskId="$(var.Property_DiskIdCommon)" />
    52             <File Id="file_msvcp100_x86" Name="msvcp100.dll"
    53                   Source="$(env.PATH_OUT)\bin\x86\msvcp100.dll"
    54                   DiskId="$(var.Property_DiskIdCommon)" />
    55     <?endif?>
    56     <?if $(env.VBOX_VCC_TOOL_STEM) = "VCC110" ?>
    57             <!-- MS C/C++ v11.0 Runtime DLL files -->
    58             <File Id="file_msvcr110_x86" Name="msvcr110.dll"
    59                   Source="$(env.PATH_OUT)\bin\x86\msvcr110.dll"
    60                   DiskId="$(var.Property_DiskIdCommon)" />
    61             <File Id="file_msvcp110_x86" Name="msvcp110.dll"
    62                   Source="$(env.PATH_OUT)\bin\x86\msvcp110.dll"
    63                   DiskId="$(var.Property_DiskIdCommon)" />
    64     <?endif?>
     47
     48            <!-- Include CRT Dlls (specific to the compiler). -->
     49            <?include $(env.PATH_TARGET)\VBoxCrtDlls32.wxi ?>
    6550        </Component>
    6651    </Directory>
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