VirtualBox

Changeset 42243 in vbox


Ignore:
Timestamp:
Jul 20, 2012 12:30:54 AM (12 years ago)
Author:
vboxsync
Message:

Installer and build fixes for VCC100.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r42241 r42243  
    18351835# Windows install tools...
    18361836VBOX_PATH_WIX       ?= $(PATH_DEVTOOLS)/win.x86/wix/v3.5.2519.0
     1837ifdef VBOX_USE_VCC100
     1838VBOX_PATH_MSITRAN   ?= $(PATH_DEVTOOLS)/win.x86/sdk/v7.1/Bin/MsiTran.Exe
     1839VBOX_PATH_MSIDB     ?= $(PATH_DEVTOOLS)/win.x86/sdk/v7.1/Bin/MsiDb.Exe
     1840VBOX_PATH_WISUBSTG  ?= $(PATH_DEVTOOLS)/win.x86/sdk/200504/Samples/SysMgmt/Msi/Scripts/WiSubStg.vbs
     1841VBOX_PATH_WISUMINFO ?= $(PATH_DEVTOOLS)/win.x86/sdk/200504/Samples/SysMgmt/Msi/Scripts/WiSumInf.vbs
     1842else
    18371843VBOX_PATH_MSITRAN   ?= $(PATH_DEVTOOLS)/win.x86/sdk/200504/Bin/MsiTran.Exe
    18381844VBOX_PATH_MSIDB     ?= $(PATH_DEVTOOLS)/win.x86/sdk/200504/Bin/MsiDb.Exe
    18391845VBOX_PATH_WISUBSTG  ?= $(PATH_DEVTOOLS)/win.x86/sdk/200504/Samples/SysMgmt/Msi/Scripts/WiSubStg.vbs
    18401846VBOX_PATH_WISUMINFO ?= $(PATH_DEVTOOLS)/win.x86/sdk/200504/Samples/SysMgmt/Msi/Scripts/WiSumInf.vbs
     1847endif
    18411848VBOX_PATH_DIFX      ?= $(PATH_DEVTOOLS)/win.$(KBUILD_TARGET_ARCH)/DIFx/v2.1-r3
    18421849VBOX_PATH_CABSDK    ?= $(PATH_DEVTOOLS)/win.x86/cabsdk/r1
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/Makefile.kmk

    r42226 r42243  
    2929VBoxDisp_SDKS          = ReorderCompilerIncs $(VBOX_WINDDK_GST_NT4)
    3030VBoxDisp_DEFS.x86     = _WIN32_WINNT=0x0501
    31 VBoxDisp_DEFS.amd64   = _WIN32_WINNT=0x0500 # <- otherwise the build will fail due to DDK header inconsistencies
     31ifndef VBOX_USE_VCC100
     32 VBoxDisp_DEFS.amd64  = _WIN32_WINNT=0x0500 # <- otherwise the build will fail due to DDK header inconsistencies
     33endif
    3234VBoxDisp_DEFS          = VBOX_WITH_DDRAW
    3335VBoxDisp_DEFS         += LOG_TO_BACKDOOR #LOG_ENABLED
  • trunk/src/VBox/Installer/win/Makefile.kmk

    r41477 r42243  
    324324 VBOX_MSI_DEPENDENCIES := $(filer-out %.cat, $(VBOX_MSI_DEPENDENCIES))
    325325endif
    326 ifdef VBOX_USE_VCC80
     326if !defined(VBOX_USE_VCC70) && !defined(VBOX_USE_VCC80) && !defined(VBOX_USE_VCC100)
     327$(error One VBOX_USE_VCC* must be defined)
     328endif
     329ifndef VBOX_USE_VCC100
     330 VBOX_MSI_DEPENDENCIES := $(filter-out \
     331        $(PATH_OUT)/bin/msvcr100.dll \
     332        $(PATH_OUT)/bin/msvcp100.dll \
     333        , $(VBOX_MSI_DEPENDENCIES))
     334endif
     335ifndef VBOX_USE_VCC80
     336 VBOX_MSI_DEPENDENCIES := $(filter-out \
     337        $(PATH_OUT)/bin/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest \
     338        $(PATH_OUT)/bin/Microsoft.VC80.CRT/msvcr80.dll \
     339        $(PATH_OUT)/bin/Microsoft.VC80.CRT/msvcp80.dll \
     340        $(PATH_OUT)/bin/Microsoft.VC80.CRT/msvcm80.dll \
     341        , $(VBOX_MSI_DEPENDENCIES))
     342endif
     343ifndef VBOX_USE_VCC70
    327344 VBOX_MSI_DEPENDENCIES := $(filter-out \
    328345        $(PATH_OUT)/bin/msvcrt.dll \
     
    330347        $(PATH_OUT)/bin/msvcp71.dll \
    331348        $(PATH_OUT)/bin/SDL_ttf.dll \
    332         , $(VBOX_MSI_DEPENDENCIES))
    333 else
    334  VBOX_MSI_DEPENDENCIES := $(filter-out \
    335         $(PATH_OUT)/bin/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest \
    336         $(PATH_OUT)/bin/Microsoft.VC80.CRT/msvcr80.dll \
    337         $(PATH_OUT)/bin/Microsoft.VC80.CRT/msvcp80.dll \
    338         $(PATH_OUT)/bin/Microsoft.VC80.CRT/msvcm80.dll \
    339349        , $(VBOX_MSI_DEPENDENCIES))
    340350endif
     
    455465                -E 'BUILD_TYPE=$(KBUILD_TYPE)' \
    456466                -E 'BUILD_TARGET_ARCH=$(KBUILD_TARGET_ARCH)' \
     467                -E 'VBOX_USE_VCC100=$(if $(VBOX_USE_VCC100),yes,no)' \
    457468                -E 'VBOX_USE_VCC80=$(if $(VBOX_USE_VCC80),yes,no)' \
     469                -E 'VBOX_USE_VCC70=$(if $(VBOX_USE_VCC70),yes,no)' \
    458470                -- \
    459471                $(VBOX_PATH_WIX)/candle.exe $(filter-out $(VBOX_VERSION_STAMP),$$<) \
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r41241 r42243  
    527527<?endif?>
    528528
     529<?if $(env.VBOX_USE_VCC100) = "yes" ?>
     530                        <!-- MS C/C++ v10.0 Runtime DLL files. -->
     531                        <File Id="file_msvcr100.dll" Name="msvcr100.dll"
     532                              Source="$(env.PATH_OUT)\bin\msvcr100.dll" />
     533                        <File Id="file_msvcp100.dll" Name="msvcp100.dll"
     534                              Source="$(env.PATH_OUT)\bin\msvcp100.dll" />
     535<?endif?>
     536
    529537<?if $(env.VBOX_USE_VCC80) = "yes" ?>
    530                         <!-- MS v8 Runtime DLL files (private assembly) -->
     538                        <!-- MS C/C++ v8 Runtime DLL files (private assembly). -->
    531539                        <File Id="file_Microsoft.VC80.CRT.manifest" Name="Microsoft.VC80.CRT.manifest"
    532540                              Source="$(env.PATH_OUT)\bin\Microsoft.VC80.CRT\Microsoft.VC80.CRT.manifest" />
     
    537545<?endif?>
    538546
    539                         <!-- MS v7 Runtime DLL files -->
    540 <?if $(env.VBOX_USE_VCC80) != "yes" ?>
     547<?if $(env.VBOX_USE_VCC70) = "yes" ?>
     548                        <!-- MS C/C++ v7 Runtime DLL files. -->
    541549                        <File Id="file_msvcp71.dll" Name="msvcp71.dll"
    542550                              Source="$(env.PATH_OUT)\bin\msvcp71.dll" />
     
    544552                              Source="$(env.PATH_OUT)\bin\msvcrt.dll" />
    545553<?endif?>
    546 <?if $(env.BUILD_TARGET_ARCH) != "amd64" ?>
     554<?if $(env.VBOX_USE_VCC100) != "yes" ?>
     555    <?if $(env.BUILD_TARGET_ARCH) != "amd64" ?>
    547556                        <File Id="msvcrdll" Name="msvcr71.dll"
    548557                              Source="$(env.PATH_OUT)\bin\msvcr71.dll" />
    549 <?endif?>
     558    <?endif?>
     559<?endif?>
     560
    550561                        <!-- EFI firmware -->
    551562<?if $(env.VBOX_WITH_EFIFW_PACKING) = "yes" ?>
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