Changeset 72020 in vbox for trunk/src/VBox/Installer/win
- Timestamp:
- Apr 25, 2018 2:19:58 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 122281
- Location:
- trunk/src/VBox/Installer/win
- Files:
-
- 14 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/CommonProperties.wxi
r72019 r72020 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <!-- 3 VirtualBox Windows Installation Script (WiX) 3 VirtualBox Windows Installation Script (WiX), common properties (private). 4 4 5 Copyright (C) 2014-201 6Oracle Corporation5 Copyright (C) 2014-2018 Oracle Corporation 6 6 7 7 This file is part of VirtualBox Open Source Edition (OSE), as … … 17 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 18 19 <!-- TODO: Add "VBox" prefix! --> 20 <?define Property_RegKey = "Software\$(env.VBOX_VENDOR_SHORT)\VirtualBox" ?> 21 <?define Property_RegKeyInstall = "Software\$(env.VBOX_VENDOR_SHORT)\VirtualBox\Install" ?> 22 <?define Property_Upgrade = "yes" ?> 23 <?define Property_Version = "$(env.VBOX_VERSION_STRING_RAW)" ?> 24 <?define Property_VersionExt = "$(env.VBOX_VERSION_STRING)" ?> 25 26 <?if $(env.BUILD_TARGET_ARCH) = "amd64" ?> 27 <?define Property_ProgramFiles = "ProgramFiles64Folder" ?> 28 <?define Property_Platform = "x64" ?> 29 <?define Property_Win64 = "yes" ?> 30 31 <?if $(env.VBOX_SIGNING_MODE)!= none ?> 32 <?define Property_DriverLegacy = "no" ?> 33 <?else ?> 34 <?define Property_DriverLegacy = "yes" ?> 35 <?endif ?> 36 37 <?else ?> 38 <?define Property_ProgramFiles = "ProgramFilesFolder" ?> 39 <?define Property_Platform = "x86" ?> 40 <?define Property_Win64 = "no" ?> 41 42 <?if $(env.VBOX_SIGNING_MODE)!= none ?> 43 <!-- Note: Settings this to 'no' breaks Windows 2000 installs (!) --> 44 <?define Property_DriverLegacy = "yes" ?> 45 <?else ?> 46 <?define Property_DriverLegacy = "yes" ?> 47 <?endif ?> 48 49 <?endif ?> 50 51 <!-- If we build a combined installer (32- and 64-bit in one installer), we 52 use two installer "disks": One for all platform-specific stuff and one which 53 contains all common (platform independent) stuff (like manuals, bitmaps etc) --> 54 <?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?> 55 <?define Property_DiskIdCommon = "2" ?> 56 <?else ?> 57 <?define Property_DiskIdCommon = "1" ?> 58 <?endif ?> 19 <Property Id="VBOX_IS_WINDOW_10"> 20 <DirectorySearch Id="DirSearchForWindows10NtDll" Path="[SystemFolder]" Depth="0"> 21 <FileSearch Name="ntdll.dll" MinVersion="6.4.10000.0"/> 22 </DirectorySearch> 23 </Property> 59 24 60 25 </Include> 26 -
trunk/src/VBox/Installer/win/Defines.wxi
r72012 r72020 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <!-- 3 VirtualBox Windows Installation Script (WiX) 3 VirtualBox Windows Installation Script (WiX), preprocessor defines. 4 4 5 5 Copyright (C) 2014-2016 Oracle Corporation -
trunk/src/VBox/Installer/win/Makefile.kmk
r71955 r72020 502 502 # 503 503 $(PATH_SUB_CURRENT)/VirtualBox.wxs: \ 504 $(PATH_SUB_CURRENT)/Properties.wxi \ 504 $(PATH_SUB_CURRENT)/CommonProperties.wxi \ 505 $(PATH_SUB_CURRENT)/Defines.wxi \ 505 506 $(PATH_SUB_CURRENT)/VBoxMergeApp.wxi 506 507 … … 658 659 659 660 $(eval BLDDIRS += $(VBOX_WIN_INST_REPACK_DIR)/files-VirtualBox_$(lang)/) 660 $(eval OTHER_CLEAN += $(VBOX_REPACK_FILES_VirtualBox_$(lang)) $(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).files )661 $(eval OTHER_CLEAN += $(VBOX_REPACK_FILES_VirtualBox_$(lang)) $(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).files $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wixobj.dep) 661 662 endef 662 663 … … 783 784 $(QUIET)$(VBOX_XSLTPROC) $(VBOX_PATH_WIN_INST_SRC)/dep2.xsl "$$@" | sort | $(SED) '$!N; /^\(.*\)\n\1$$$$/!P; D' >> "[email protected]" 784 785 $(QUIET)$(APPEND) -n '[email protected]' '' '' 786 787 $(eval OTHER_CLEAN += $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wixobj) 785 788 endef 786 789 … … 940 943 ) ) \ 941 944 'copy /y "$(@F)" "$(notdir $(PACKAGE_NAME_FINAL))" || exit /b1' \ 942 '@echo Create multilanguage MSI: $( @F)'945 '@echo Create multilanguage MSI: $(notdir $(PACKAGE_NAME_FINAL))' 943 946 944 947 # Copy multilingual installer to bin. -
trunk/src/VBox/Installer/win/VBoxMergeApp.wxi
r72004 r72020 38 38 <?if $(env.VBOX_SIGNING_MODE) != none ?> 39 39 <Component Id="cp_VBoxDrvCat_PreW10" Guid="673195c2-f315-42e7-ff00-5acbd91ea0bd" Win64="$(var.Property_Win64)"> 40 <Condition><![CDATA[( VersionNT < 1000)]]></Condition>40 <Condition><![CDATA[(NOT VBOX_IS_WINDOW_10)]]></Condition> 41 41 <File Id="file_VBoxDrv_PreW10.cat" Name="VBoxDrv.cat" Source="$(env.PATH_OUT)\bin\VBoxDrv-PreW10.cat" /> 42 42 </Component> 43 43 <Component Id="cp_VBoxDrvCat_W10" Guid="589be90d-0286-4684-503d-a1681f9587bc" Win64="$(var.Property_Win64)"> 44 <Condition><![CDATA[(V ersionNT >= 1000)]]></Condition>44 <Condition><![CDATA[(VBOX_IS_WINDOW_10)]]></Condition> 45 45 <File Id="file_VBoxDrv.cat" Name="VBoxDrv.cat" Source="$(env.PATH_OUT)\bin\VBoxDrv.cat" /> 46 46 </Component> -
trunk/src/VBox/Installer/win/VBoxMergeApp.wxs
r69407 r72020 14 14 --> 15 15 16 <?include Properties.wxi ?>17 18 16 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" 19 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 19 <?include Properties.wxi ?> 20 20 21 21 <!-- Note: GUIDs in WiX *must* be uppercase! --> … … 49 49 SummaryCodepage="1252"/> 50 50 51 <?include CommonProperties.wxi ?> 51 52 <?include PublicProperties.wxi ?> 52 53 -
trunk/src/VBox/Installer/win/VBoxMergeCOM32On64.wxs
r64339 r72020 14 14 --> 15 15 16 <?include Properties.wxi ?>17 18 16 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" 19 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 19 <?include Properties.wxi ?> 20 20 21 21 <Module Id="msm_VBoxCOM32On64" … … 34 34 SummaryCodepage="1252"/> 35 35 36 <?include CommonProperties.wxi ?> 36 37 <?include PublicProperties.wxi ?> 37 38 -
trunk/src/VBox/Installer/win/VBoxMergeNetAdp.wxs
r69407 r72020 14 14 --> 15 15 16 <?include Properties.wxi ?>17 18 16 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" 19 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 19 <?include Properties.wxi ?> 20 20 21 21 <Module Id="msm_VBoxNetworkAdp" … … 35 35 36 36 37 <?include CommonProperties.wxi ?> 37 38 <?include PublicProperties.wxi ?> 38 39 -
trunk/src/VBox/Installer/win/VBoxMergeNetAdp6.wxi
r72004 r72020 20 20 <File Id="file_VBoxNetAdp6_PreW10.cat" Name="VBoxNetAdp6.cat" Source="$(env.PATH_OUT)\bin\VBoxNetAdp6-PreW10.cat" /> 21 21 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 22 <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND ( VersionNT < 1000)]]></Condition>22 <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (NOT VBOX_IS_WINDOW_10)]]></Condition> 23 23 <?else ?> 24 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND ( VersionNT < 1000)]]></Condition>24 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (NOT VBOX_IS_WINDOW_10)]]></Condition> 25 25 <?endif ?> 26 26 </Component> … … 28 28 <File Id="file_VBoxNetAdp6_W10.cat" Name="VBoxNetAdp6.cat" Source="$(env.PATH_OUT)\bin\VBoxNetAdp6.cat" /> 29 29 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 30 <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (V ersionNT >= 1000)]]></Condition>30 <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (VBOX_IS_WINDOW_10)]]></Condition> 31 31 <?else ?> 32 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (V ersionNT >= 1000)]]></Condition>32 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (VBOX_IS_WINDOW_10)]]></Condition> 33 33 <?endif ?> 34 34 </Component> -
trunk/src/VBox/Installer/win/VBoxMergeNetAdp6.wxs
r69407 r72020 14 14 --> 15 15 16 <?include Properties.wxi ?>17 18 16 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" 19 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 19 <?include Properties.wxi ?> 20 20 21 21 <Module Id="msm_VBoxNetworkAdp6" … … 35 35 36 36 37 <?include CommonProperties.wxi ?> 37 38 <?include PublicProperties.wxi ?> 38 39 -
trunk/src/VBox/Installer/win/VBoxMergeNetFlt.wxs
r69407 r72020 14 14 --> 15 15 16 <?include Properties.wxi ?>17 18 16 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" 19 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 19 <?include Properties.wxi ?> 20 20 21 21 <Module Id="msm_VBoxNetworkFlt" … … 35 35 36 36 37 <?include CommonProperties.wxi ?> 37 38 <?include PublicProperties.wxi ?> 38 39 -
trunk/src/VBox/Installer/win/VBoxMergeNetLwf.wxi
r72004 r72020 22 22 <File Id="file_VBoxNetLwf_PreW10.cat" Name="VBoxNetLwf.cat" Source="$(env.PATH_OUT)\bin\VBoxNetLwf-PreW10.cat" /> 23 23 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 24 <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND ( VersionNT < 1000)]]></Condition>24 <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (NOT VBOX_IS_WINDOW_10)]]></Condition> 25 25 <?else ?> 26 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND ( VersionNT < 1000)]]></Condition>26 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (NOT VBOX_IS_WINDOW_10)]]></Condition> 27 27 <?endif ?> 28 28 </Component> … … 30 30 <File Id="file_VBoxNetLwf_W10.cat" Name="VBoxNetLwf.cat" Source="$(env.PATH_OUT)\bin\VBoxNetLwf.cat" /> 31 31 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 32 <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (V ersionNT >= 1000)]]></Condition>32 <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (VBOX_IS_WINDOW_10)]]></Condition> 33 33 <?else ?> 34 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (V ersionNT >= 1000)]]></Condition>34 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (VBOX_IS_WINDOW_10)]]></Condition> 35 35 <?endif ?> 36 36 </Component> -
trunk/src/VBox/Installer/win/VBoxMergeNetLwf.wxs
r69407 r72020 14 14 --> 15 15 16 <?include Properties.wxi ?>17 18 16 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" 19 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 19 <?include Properties.wxi ?> 20 20 21 21 <Module Id="msm_VBoxNetworkLwf" … … 35 35 36 36 37 <?include CommonProperties.wxi ?> 37 38 <?include PublicProperties.wxi ?> 38 39 -
trunk/src/VBox/Installer/win/VBoxMergePython.wxs
r58599 r72020 14 14 --> 15 15 16 <?include Properties.wxi ?>17 18 16 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" 19 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 19 <?include Properties.wxi ?> 20 20 21 21 <Module Id="msm_VBoxPython" … … 34 34 SummaryCodepage="1252"/> 35 35 36 <?include CommonProperties.wxi ?> 36 37 <?include PublicProperties.wxi ?> 37 38 -
trunk/src/VBox/Installer/win/VBoxMergeUSB.wxi
r72004 r72020 20 20 <?if $(env.VBOX_SIGNING_MODE)!= none ?> 21 21 <Component Id="cp_USBFilterDriverCat_PreW10" Guid="ef18fb4d-4530-40db-2957-de2dc90243ab" Win64="$(var.Property_Win64)"> 22 <Condition><![CDATA[( VersionNT < 1000)]]></Condition>22 <Condition><![CDATA[(NOT VBOX_IS_WINDOW_10)]]></Condition> 23 23 <File Id="file_VBoxUSBMon_PreW10.cat" Name="VBoxUSBMon.cat" Source="$(env.PATH_OUT)\bin\VBoxUSBMon-PreW10.cat" /> 24 24 </Component> 25 25 <Component Id="cp_USBFilterDriverCat_W10" Guid="341ce4ca-d00e-4a43-f4e3-453eacc6b493" Win64="$(var.Property_Win64)"> 26 <Condition><![CDATA[(V ersionNT >= 1000)]]></Condition>26 <Condition><![CDATA[(VBOX_IS_WINDOW_10)]]></Condition> 27 27 <File Id="file_VBoxUSBMon_W10.cat" Name="VBoxUSBMon.cat" Source="$(env.PATH_OUT)\bin\VBoxUSBMon.cat" /> 28 28 </Component> … … 41 41 <?if $(env.VBOX_SIGNING_MODE)!= none ?> 42 42 <Component Id="cp_USBDeviceDriverCat_PreW10" Guid="43cc14cb-06e9-46c2-d507-20423150ccbd" Win64="$(var.Property_Win64)"> 43 <Condition><![CDATA[( VersionNT < 1000)]]></Condition>43 <Condition><![CDATA[(NOT VBOX_IS_WINDOW_10)]]></Condition> 44 44 <File Id="file_VBoxUSB_PreW10.cat" Name="VBoxUSB.cat" Source="$(env.PATH_OUT)\bin\VBoxUSB-PreW10.cat" /> 45 45 </Component> 46 46 <Component Id="cp_USBDeviceDriverCat_W10" Guid="2127015e-7a96-4b8d-6015-b1e51a75b5ba" Win64="$(var.Property_Win64)"> 47 <Condition><![CDATA[(V ersionNT >= 1000)]]></Condition>47 <Condition><![CDATA[(VBOX_IS_WINDOW_10)]]></Condition> 48 48 <File Id="file_VBoxUSB_W10.cat" Name="VBoxUSB.cat" Source="$(env.PATH_OUT)\bin\VBoxUSB.cat" /> 49 49 </Component> -
trunk/src/VBox/Installer/win/VBoxMergeUSB.wxs
r58599 r72020 14 14 --> 15 15 16 <?include Properties.wxi ?>17 18 16 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" 19 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 19 <?include Properties.wxi ?> 20 20 21 21 <Module Id="msm_VBoxUSB" -
trunk/src/VBox/Installer/win/VirtualBox.wxs
r72004 r72020 17 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 18 19 <?include Properties.wxi ?>19 <?include Defines.wxi ?> 20 20 21 21 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> … … 56 56 InstallPrivileges="elevated" 57 57 Platform="$(var.Property_Platform)"/> 58 59 <?include CommonProperties.wxi ?> 58 60 59 61 <!-- Global properties -->
Note:
See TracChangeset
for help on using the changeset viewer.