Changeset 81583 in vbox for trunk/src/VBox/Installer/win
- Timestamp:
- Oct 30, 2019 11:16:43 AM (5 years ago)
- Location:
- trunk/src/VBox/Installer/win
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/Makefile.kmk
r81568 r81583 36 36 endif 37 37 38 38 # 39 # Profile for quickly testing the actual mechanisms of our installer. 40 # This leaves out most of the optional stuff to make compilation / linking much 41 # faster for development cycles. Tweak to your likings if needed. 42 # 43 ifdef VBOX_INSTALLER_QUICK 44 VBOX_INSTALLER_LANGUAGES := en_US 45 VBOX_WITH_ADDITIONS_PACKING := 46 VBOX_WITH_DEBUGGER_GUI := 47 VBOX_WITH_EFIFW_PACKING := 48 VBOX_WITH_EXTPACK := 49 VBOX_WITH_NETADP := 50 VBOX_WITH_NETFLT := 51 VBOX_WITH_PYTHON := 52 VBOX_WITH_SDS := 53 VBOX_WITH_WEBSERVICES := 54 VBOX_WITH_UNATTENDED := 55 VBOX_WITH_DOCS_PACKING := 56 VBOX_WITH_QTGUI := 57 VBOX_WITH_USB := 58 VBOX_WITH_VBOX_IMG := 59 VBOX_WITH_VBOXSDL := 60 endif 39 61 40 62 # … … 61 83 # List of merge modules to use. 62 84 # 63 VBOX_INSTALLER_MERGE_MODULES = App USB NetAdp NetFlt NetAdp6 NetLwf Python 85 ifndef VBOX_INSTALLER_MERGE_MODULES 86 VBOX_INSTALLER_MERGE_MODULES = App 87 ifdef VBOX_WITH_NETADP 88 VBOX_INSTALLER_MERGE_MODULES += NetAdp NetAdp6 89 endif 90 ifdef VBOX_WITH_NETFLT 91 VBOX_INSTALLER_MERGE_MODULES += NetLwf NetFlt 92 endif 93 ifdef VBOX_WITH_USB 94 VBOX_INSTALLER_MERGE_MODULES += USB 95 endif 96 ifdef VBOX_WITH_PYTHON 97 VBOX_INSTALLER_MERGE_MODULES += Python 98 endif 99 endif 64 100 ifeq ($(KBUILD_TARGET_ARCH),amd64) 65 101 VBOX_INSTALLER_MERGE_MODULES += COM32On64 … … 625 661 -E 'VBOX_WITH_MIDL_PROXY_STUB=$(if $(VBOX_WITH_MIDL_PROXY_STUB),yes,no)' \ 626 662 -E 'VBOX_WITH_MSM_INSTALL=$(if-expr defined(VBOX_WITH_MSM_INSTALL),yes,no)' \ 663 -E 'VBOX_WITH_NETADP=$(if $(VBOX_WITH_NETADP),yes,no)' \ 627 664 -E 'VBOX_WITH_NETFLT=$(if $(VBOX_WITH_NETFLT),yes,no)' \ 628 665 -E 'VBOX_WITH_PYTHON=$(if $(VBOX_WITH_PYTHON),yes,no)' \ … … 636 673 -E 'VBOX_WITH_SDS=$(if $(VBOX_WITH_SDS),yes,no)' \ 637 674 -E 'VBOX_WITH_UNATTENDED=$(if $(VBOX_WITH_UNATTENDED),yes,no)' \ 675 -E 'VBOX_WITH_USB=$(if $(VBOX_WITH_USB),yes,no)' \ 638 676 -E 'VBOX_WITH_VBOX_IMG=$(if $(VBOX_WITH_VBOX_IMG),yes,no)' \ 677 -E 'VBOX_WITH_VBOXSDL=$(if $(VBOX_WITH_VBOXSDL),yes,no)' \ 639 678 -E 'BUILD_TYPE=$(KBUILD_TYPE)' \ 640 679 -E 'BUILD_TARGET_ARCH=$(KBUILD_TARGET_ARCH)' \ 680 -E 'VBOX_INSTALLER_QUICK=$(VBOX_INSTALLER_QUICK)' \ 641 681 -E 'VBOX_VCC_TOOL_STEM=$(VBOX_VCC_TOOL_STEM)' \ 642 682 -- \ … … 773 813 -E 'VBOX_WITH_MIDL_PROXY_STUB=$(if $(VBOX_WITH_MIDL_PROXY_STUB),yes,no)' \ 774 814 -E 'VBOX_WITH_MSM_INSTALL=$(if-expr defined(VBOX_WITH_MSM_INSTALL),yes,no)' \ 815 -E 'VBOX_WITH_NETADP=$(if $(VBOX_WITH_NETADP),yes,no)' \ 775 816 -E 'VBOX_WITH_NETFLT=$(if $(VBOX_WITH_NETFLT),yes,no)' \ 776 817 -E 'VBOX_WITH_PYTHON=$(if $(VBOX_WITH_PYTHON),yes,no)' \ … … 785 826 -E 'VBOX_WITH_UNATTENDED=$(if $(VBOX_WITH_UNATTENDED),yes,no)' \ 786 827 -E 'VBOX_WITH_VBOX_IMG=$(if $(VBOX_WITH_VBOX_IMG),yes,no)' \ 828 -E 'VBOX_WITH_VBOXSDL=$(if $(VBOX_WITH_VBOXSDL),yes,no)' \ 787 829 -E 'BUILD_TYPE=$(KBUILD_TYPE)' \ 788 830 -E 'BUILD_TARGET_ARCH=$(KBUILD_TARGET_ARCH)' \ 831 -E 'VBOX_INSTALLER_QUICK=$(VBOX_INSTALLER_QUICK)' \ 789 832 -E 'VBOX_VCC_TOOL_STEM=$(VBOX_VCC_TOOL_STEM)' \ 790 833 -- \ -
trunk/src/VBox/Installer/win/UserInterface.wxi
r71308 r81583 386 386 <Text>!(loc.Customize2Dlg_Desc)</Text> 387 387 </Control> 388 <?if $(env.VBOX_WITH_QTGUI) = "yes" ?> 388 389 <!-- Note the gray background behind the checkboxes. Unfortunately there's no easy way to 389 390 fix this, without fixing it in the WiX source code. Because the control's background … … 409 410 <Text>!(loc.Customize2Dlg_RegisterFileExtensions)</Text> 410 411 </Control> 412 <?endif?> <!-- VBOX_WITH_QTGUI --> 411 413 <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" 412 414 Default="yes" Cancel="yes" Text="!(loc.ButtonText_Next)"> -
trunk/src/VBox/Installer/win/VBoxMergeApp.wxi
r81184 r81583 406 406 <?endif ?> 407 407 408 <!-- SDL plugins --> 408 <?if $(env.VBOX_WITH_VBOXSDL) = "yes" ?> 409 <!-- SDL frontend --> 409 410 <Component Id="cp_VBoxSDLBinaries" Guid="F09D5FD9-E176-42B0-90A9-481BB18B0CB4" 410 411 Win64="$(var.Property_Win64)"> 411 412 <File Id="file_VBoxSDL.exe" Name="VBoxSDL.exe" 412 413 Source="$(env.PATH_OUT)\bin\VBoxSDL.exe" /> 413 <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>414 <File Id="file_VBoxSDL.dll" Name="VBoxSDL.dll"415 Source="$(env.PATH_OUT)\bin\VBoxSDL.dll">416 </File>417 <?endif ?>414 <?if $(env.VBOX_WITH_HARDENING) = "yes" ?> 415 <File Id="file_VBoxSDL.dll" Name="VBoxSDL.dll" 416 Source="$(env.PATH_OUT)\bin\VBoxSDL.dll"> 417 </File> 418 <?endif ?> 418 419 <File Id="file_SDL.dll" Name="SDL.dll" 419 420 Source="$(env.PATH_OUT)\bin\SDL.dll" /> 420 <?if $(env.VBOX_WITH_SECURELABEL) = "yes" ?> 421 <File Id="file_SDL_ttf.dll" Name="SDL_ttf.dll" 422 Source="$(env.PATH_OUT)\bin\SDL_ttf.dll" /> 423 <?endif?> 424 </Component> <!-- SDL plugins --> 421 <?if $(env.VBOX_WITH_SECURELABEL) = "yes" ?> 422 <File Id="file_SDL_ttf.dll" Name="SDL_ttf.dll" 423 Source="$(env.PATH_OUT)\bin\SDL_ttf.dll" /> 424 <?endif?> 425 </Component> <!-- SDL frontend --> 426 <?endif ?> 425 427 426 428 <?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?> -
trunk/src/VBox/Installer/win/VirtualBox.wxs
r81434 r81583 26 26 <?define Property_VBoxMergeCOM32On64 = "$(env.VBOX_WIN_INST_MERGE_COM32ON64)" ?> 27 27 <?endif ?> 28 <?define Property_VBoxMergeUSB = "$(env.VBOX_WIN_INST_MERGE_USB)" ?> 28 <?if $(env.VBOX_WITH_USB) = "yes" ?> 29 <?define Property_VBoxMergeUSB = "$(env.VBOX_WIN_INST_MERGE_USB)" ?> 30 <?endif ?> 29 31 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?> 30 32 <?define Property_VBoxMergeNetworkFlt = "$(env.VBOX_WIN_INST_MERGE_NETFLT)" ?> 31 33 <?endif ?> 32 <?define Property_VBoxMergeNetworkAdp = "$(env.VBOX_WIN_INST_MERGE_NETADP)" ?> 34 <?if $(env.VBOX_WITH_NETADP) = "yes" ?> 35 <?define Property_VBoxMergeNetworkAdp = "$(env.VBOX_WIN_INST_MERGE_NETADP)" ?> 36 <?define Property_VBoxMergeNetworkAdp6 = "$(env.VBOX_WIN_INST_MERGE_NETADP6)" ?> 37 <?endif ?> 33 38 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?> 34 39 <?define Property_VBoxMergeNetworkLwf = "$(env.VBOX_WIN_INST_MERGE_NETLWF)" ?> 35 40 <?endif ?> 36 <?define Property_VBoxMergeNetworkAdp6 = "$(env.VBOX_WIN_INST_MERGE_NETADP6)" ?>37 41 <?if $(env.VBOX_WITH_PYTHON) = "yes" ?> 38 42 <?define Property_VBoxMergePython = "$(env.VBOX_WIN_INST_MERGE_PYTHON)" ?> … … 227 231 </Condition>--> 228 232 229 <CustomAction Id="ca_StartVBox" FileKey="file_VirtualBox.exe" ExeCommand="" Return="asyncNoWait" Impersonate="yes" /> 233 <!-- Note: When we don't include FE/Qt, we just start *something* (e.g. Windows' calc.exe) to see if the custom action works. --> 234 <?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?> 235 <?if $(env.VBOX_WITH_QTGUI) = "yes" ?> 236 <CustomAction Id="ca_StartVBox" FileKey="file_VirtualBox.exe" ExeCommand="" Return="asyncNoWait" Impersonate="yes" /> 237 <?else ?> 238 <CustomAction Id="ca_StartVBox" Directory="INSTALLDIR" ExeCommand='"[INSTALLDIR]\VBoxBugReport.exe"' Return="asyncNoWait" Impersonate="yes" /> 239 <?endif ?> 240 <?else ?> 241 <?if $(env.VBOX_WITH_QTGUI) = "yes" ?> 242 <CustomAction Id="ca_StartVBox" Directory="file_VBoxBugReport.exe" ExeCommand="" Return="asyncNoWait" Impersonate="yes" /> 243 <?else ?> 244 <CustomAction Id="ca_StartVBox" Directory="INSTALLDIR" ExeCommand='"[INSTALLDIR]\VBoxBugReport.exe"' Return="asyncNoWait" Impersonate="yes" /> 245 <?endif ?> 246 <?endif ?> 247 230 248 <CustomAction Id="ca_CheckSerial" BinaryKey="VBoxInstallHelper" DllEntry="CheckSerial" Impersonate="no"/> 231 249 … … 273 291 <?endif ?> 274 292 <Directory Id="dir_Drivers" Name="drivers"> 293 <?if $(env.VBOX_WITH_USB) = "yes" ?> 275 294 <Directory Id="dir_USB" Name="USB"> 276 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>295 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 277 296 <Merge Id="msm_VBoxUSB" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeUSB)" DiskId="1" /> 278 <?else ?>297 <?else ?> 279 298 <Directory Id="msm_VBoxUSBFolder" FileSource="."> 280 299 <?include VBoxMergeUSB.wxi ?> 281 300 </Directory> 282 <?endif ?>301 <?endif ?> 283 302 </Directory> 303 <?endif ?> 284 304 <Directory Id="dir_Network" Name="network"> 285 305 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?> … … 296 316 </Directory> 297 317 <?endif ?> 318 <?if $(env.VBOX_WITH_NETADP) = "yes" ?> 298 319 <Directory Id="dir_NetAdp" Name="netadp"> 299 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>320 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 300 321 <Merge Id="msm_VBoxNetworkAdp" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkAdp)" DiskId="1"> 301 322 <ConfigurationData Name="passedNetworkType" Value="[NETWORKTYPE]"/> 302 323 </Merge> 303 <?else ?>324 <?else ?> 304 325 <Directory Id="msm_VBoxNetworkAdpFolder" FileSource="."> 305 326 <?include VBoxMergeNetAdp.wxi ?> 306 327 </Directory> 307 <?endif ?>328 <?endif ?> 308 329 </Directory> 330 <?endif ?> 309 331 310 332 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?> … … 321 343 </Directory> 322 344 <?endif ?> 345 346 <?if $(env.VBOX_WITH_NETADP) = "yes" ?> 323 347 <Directory Id="dir_NetAdp6" Name="netadp6"> 324 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>348 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 325 349 <Merge Id="msm_VBoxNetworkAdp6" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkAdp6)" DiskId="1"> 326 350 <ConfigurationData Name="passedNetworkType" Value="[NETWORKTYPE]"/> 327 351 </Merge> 328 <?else ?>352 <?else ?> 329 353 <Directory Id="msm_VBoxNetworkAdp6Folder" FileSource="."> 330 354 <?include VBoxMergeNetAdp6.wxi ?> 331 355 </Directory> 332 <?endif ?>356 <?endif ?> 333 357 </Directory> 358 <?endif ?> 334 359 </Directory> 335 360 </Directory> … … 347 372 </Directory> 348 373 <?endif ?> 374 375 <?if $(env.VBOX_WITH_QTGUI) = "yes" ?> 349 376 <!-- Set up special directory IDs for referencing to the start menu 350 377 or the Quick Launch bar. … … 393 420 Type="string" Value="installed" KeyPath="yes" /> 394 421 </Component> 422 <?endif ?> 395 423 </Directory> 396 424 </Directory> … … 405 433 ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" 406 434 Absent="disallow" AllowAdvertise="no" > 435 436 <?if $(env.VBOX_WITH_QTGUI) = "yes" ?> 407 437 <!-- Components which are handled only by this installer itself --> 408 438 <ComponentRef Id="cp_StartMenuVBox" /> 409 439 <ComponentRef Id="cp_DesktopShortcut" /> 410 440 <ComponentRef Id="cp_QuickLaunchVBox" /> 441 <?endif ?> 411 442 <!-- Components handled either by the installer itself or 412 443 the merge module --> … … 448 479 <ComponentRef Id="cp_VBoxPyMod" /> 449 480 <?endif ?> 450 451 <ComponentRef Id="cp_VBoxSDLBinaries" /> 481 <?if $(env.VBOX_WITH_VBOXSDL) = "yes" ?> 482 <ComponentRef Id="cp_VBoxSDLBinaries" /> 483 <?endif ?> 452 484 <?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?> 453 485 <ComponentRef Id="cp_VBoxWebService" /> … … 465 497 <?endif ?> 466 498 499 <?if $(env.VBOX_WITH_USB) = "yes" ?> 467 500 <Feature Id="VBoxUSB" Title="VirtualBox USB Support" Level="1" 468 501 Description="!(loc.VB_USBDriver)" 469 502 ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" 470 503 Absent="allow" AllowAdvertise="no" > 471 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>504 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 472 505 <MergeRef Id="msm_VBoxUSB" /> 473 <?else ?>474 <?if $(env.VBOX_SIGNING_MODE) != none ?>506 <?else ?> 507 <?if $(env.VBOX_SIGNING_MODE) != none ?> 475 508 <ComponentRef Id="cp_USBFilterDriverCat_PreW10" /> 476 509 <ComponentRef Id="cp_USBFilterDriverCat_W10" /> 477 <?endif ?>510 <?endif ?> 478 511 <ComponentRef Id="cp_USBFilterDriver" /> 479 <?if $(env.VBOX_SIGNING_MODE) != none ?>512 <?if $(env.VBOX_SIGNING_MODE) != none ?> 480 513 <ComponentRef Id="cp_USBDeviceDriverCat_PreW10" /> 481 514 <ComponentRef Id="cp_USBDeviceDriverCat_W10" /> 482 <?endif ?>515 <?endif ?> 483 516 <ComponentRef Id="cp_USBDeviceDriver" /> 484 <?endif ?>517 <?endif ?> 485 518 </Feature> 519 <?endif ?> 486 520 487 521 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
Note:
See TracChangeset
for help on using the changeset viewer.