Changeset 63989 in vbox for trunk/src/VBox/Installer/win
- Timestamp:
- Sep 25, 2016 2:47:24 AM (8 years ago)
- Location:
- trunk/src/VBox/Installer/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/Makefile.kmk
r63987 r63989 44 44 45 45 include $(PATH_SUB_CURRENT)/Resources/Makefile.kmk 46 ifdef VBOX_WITH_MSI_HACK 47 include $(PATH_SUB_CURRENT)/MsiHack/Makefile.kmk 48 endif 46 49 47 50 … … 393 396 $(VBOX_SVN_REV_KMK) \ 394 397 $(MAKEFILE_CURRENT) \ 398 $(if-expr defined(VBOX_WITH_MSI_HACK),$(MsiHack_0_OUTDIR)/MsiHack.dll,) \ 399 $(if-expr defined(VBOX_WITH_MSI_HACK),$(MsiHack_0_OUTDIR)/MsiHackExtension.dll,) \ 395 400 | $$$$(dir $$$$@) 396 401 $$(call MSG_L1,Linking installer $$@) … … 398 403 $$(@D)/$(PACKAGE_BASE)-r*_$(lang).wixpdb $$(@D)/$(lang)/$(PACKAGE_BASE)-r*_$(lang).wixpdb) 399 404 $(QUIET)$(MKDIR) -p -- $$(@D)/$(lang)/ 405 kmk_time \ 400 406 $(VBOX_PATH_WIX)/light.exe -v -nologo \ 401 407 -loc $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \ … … 403 409 -ext $(VBOX_PATH_WIX)/WixUIExtension.dll \ 404 410 -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll \ 411 $(if-expr defined(VBOX_WITH_MSI_HACK),-ext $(MsiHack_0_OUTDIR)/MsiHackExtension.dll,) \ 405 412 $(VBOX_MSI_ICE_IGNORE) \ 406 413 -out $$(@D)/$(lang)/$$(@F) \ … … 530 537 -E 'VBOX_VERSION_MINOR_INST=$(VBOX_VERSION_MINOR)' \ 531 538 -E 'VBOX_SIGNING_MODE=$(strip $(if $(VBOX_SIGNING_MODE),$(VBOX_SIGNING_MODE),none))' \ 539 -E 'VBOX_CAB_COMPRESSION_LEVEL=$(if-expr $(lang) == "en_US",high,none)' \ 540 -E 'VBOX_CAB_COMPRESSION_LEVEL_COMMON=$(if-expr $(lang) == "en_US" && $(KBUILD_TARGET_ARCH) == "amd64",high,none)' \ 532 541 -E 'VBOX_GUI_USE_QGL=$(if $(VBOX_GUI_USE_QGL),yes,no)' \ 533 542 -E 'VBOX_MIDL_PROXY_CLSID=$(VBOX_MIDL_PROXY_CLSID)' \ … … 621 630 -E 'VBOX_VERSION_MINOR_INST=$(VBOX_VERSION_MINOR)' \ 622 631 -E 'VBOX_SIGNING_MODE=$(strip $(if $(VBOX_SIGNING_MODE),$(VBOX_SIGNING_MODE),none))' \ 632 -E 'VBOX_CAB_COMPRESSION_LEVEL=high' \ 633 -E 'VBOX_CAB_COMPRESSION_LEVEL_COMMON=high' \ 623 634 -E 'VBOX_GUI_USE_QGL=$(if $(VBOX_GUI_USE_QGL),yes,no)' \ 624 635 -E 'VBOX_MIDL_PROXY_CLSID=$(VBOX_MIDL_PROXY_CLSID)' \ -
trunk/src/VBox/Installer/win/VirtualBox.wxs
r62022 r63989 138 138 139 139 <!-- The media/binary IDs --> 140 <Media Id="1" Cabinet="product.cab" EmbedCab="yes" /> 140 <!-- 141 The effects of CompressionLevel options: 142 default/mszip, high: 32.54s 143 -rw-rw-rw- 1 bird 0 53 591 221 2016-09-25 03:56 common.cab 144 -rw-rw-rw- 1 bird 0 41 560 082 2016-09-25 03:56 VirtualBox-5.1.51-r110887_en_US.msi 145 high, high: 46.76s 146 -rw-rw-rw- 1 bird 0 53 591 221 2016-09-25 03:49 common.cab 147 -rw-rw-rw- 1 bird 0 34 056 210 2016-09-25 03:49 VirtualBox-5.1.51-r110887_en_US.msi 148 medium, medium: 29.95s 149 -rw-rw-rw- 1 bird 0 56 293 089 2016-09-25 03:53 common.cab 150 -rw-rw-rw- 1 bird 0 35 498 002 2016-09-25 03:54 VirtualBox-5.1.51-r110887_en_US.msi 151 low, low: 25.41s 152 -rw-rw-rw- 1 bird 0 57 616 155 2016-09-25 03:52 common.cab 153 -rw-rw-rw- 1 bird 0 37 181 458 2016-09-25 03:52 VirtualBox-5.1.51-r110887_en_US.msi 154 mszip/default, mszip/default: 16.13s 155 -rw-rw-rw- 1 bird 0 58 751 954 2016-09-25 03:49 common.cab 156 -rw-rw-rw- 1 bird 0 41 560 082 2016-09-25 03:50 VirtualBox-5.1.51-r110887_en_US.msi 157 none, none: 2.37s 158 -rw-rw-rw- 1 bird 0 92 470 301 2016-09-25 03:47 common.cab 159 -rw-rw-rw- 1 bird 0 135 874 578 2016-09-25 03:47 VirtualBox-5.1.51-r110887_en_US.msi 160 161 We set the level in the VBOX_CAB_COMPRESSION_LEVEL and VBOX_CAB_COMPRESSION_LEVEL_COMMON 162 environment variables so we don't waste time compressing and decompressing the intermediate 163 language MSIs and the common.cab that we're not going to use (x86). 164 --> 165 <Media Id="1" Cabinet="product.cab" EmbedCab="yes" CompressionLevel="$(env.VBOX_CAB_COMPRESSION_LEVEL)" /> 141 166 <?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?> 142 167 <?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?> 143 <Media Id="2" Cabinet="common.cab" EmbedCab="no" CompressionLevel=" high" />168 <Media Id="2" Cabinet="common.cab" EmbedCab="no" CompressionLevel="$(env.VBOX_CAB_COMPRESSION_LEVEL_COMMON)" /> 144 169 <?endif ?> 145 170 <?endif ?>
Note:
See TracChangeset
for help on using the changeset viewer.