VirtualBox

Changeset 72004 in vbox


Ignore:
Timestamp:
Apr 24, 2018 2:40:13 PM (7 years ago)
Author:
vboxsync
Message:

Installer/win,HostDrivers/*/win: Ship two different .cat files, one for W10 w/ MS blessing and a pre-W10 that we created+signed during build.

Location:
trunk/src/VBox
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r70315 r72004  
    769769  VBoxDrv-inf_SOURCES += \
    770770        $(PATH_TARGET)/VBoxDrvCat.dir/VBoxDrv.sys \
    771         $(PATH_TARGET)/VBoxDrvCat.dir/VBoxDrv.cat
     771        $(PATH_TARGET)/VBoxDrvCat.dir/VBoxDrv.cat \
     772        $(PATH_TARGET)/VBoxDrvCat.dir/VBoxDrv.cat=>VBoxDrv-PreW10.cat
    772773
    773774  $(PATH_TARGET)/VBoxDrvCat.dir/VBoxDrv.sys: $$(VBoxDrv_1_TARGET) | $$(dir $$@)
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/Makefile.kmk

    r69250 r72004  
    138138VBoxNetAdp6-inf_SOURCES += \
    139139        $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys \
    140         $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat
     140        $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat \
     141        $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat=>VBoxNetAdp6-PreW10.cat
    141142
    142143$(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys: $$(VBoxNetAdp6_1_TARGET) | $$(dir $$@)
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk

    r69250 r72004  
    207207VBoxNetLwf-inf_SOURCES += \
    208208        $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.sys \
    209         $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.cat
     209        $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.cat \
     210        $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.cat=>VBoxNetLwf-PreW10.cat
    210211
    211212#       $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwfNobj.dll \
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/Makefile.kmk

    r69250 r72004  
    174174install-infs_SOURCES += \
    175175        $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.cat \
     176        $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.cat=>VBoxUSB-PreW10.cat \
    176177        $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.sys \
    177178        $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.cat \
     179        $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.cat=>VBoxUSBMon-PreW10.cat \
    178180        $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.sys
    179181
  • trunk/src/VBox/Installer/win/VBoxMergeApp.wxi

    r70229 r72004  
    3636    <Directory Id="dir_VBoxAppDrivers" Name="drivers">
    3737        <Directory Id="dir_VBoxAppVBoxDrv" Name="vboxdrv">
     38<?if $(env.VBOX_SIGNING_MODE) != none ?>
     39            <Component Id="cp_VBoxDrvCat_PreW10" Guid="673195c2-f315-42e7-ff00-5acbd91ea0bd" Win64="$(var.Property_Win64)">
     40                <Condition><![CDATA[(VersionNT < 1000)]]></Condition>
     41                <File Id="file_VBoxDrv_PreW10.cat" Name="VBoxDrv.cat" Source="$(env.PATH_OUT)\bin\VBoxDrv-PreW10.cat" />
     42            </Component>
     43            <Component Id="cp_VBoxDrvCat_W10" Guid="589be90d-0286-4684-503d-a1681f9587bc" Win64="$(var.Property_Win64)">
     44                <Condition><![CDATA[(VersionNT >= 1000)]]></Condition>
     45                <File Id="file_VBoxDrv.cat" Name="VBoxDrv.cat" Source="$(env.PATH_OUT)\bin\VBoxDrv.cat" />
     46            </Component>
     47<?endif ?>
    3848            <Component Id="cp_VBoxDrv" Guid="D3E2F2BB-569F-46A2-836C-BDF30FF1EDF8" Win64="$(var.Property_Win64)">
    3949                <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes" DeleteFiles="yes"
     
    4353                <File Id="file_VBoxDrv.inf" Name="VBoxDrv.inf"
    4454                      Source="$(env.PATH_OUT)\bin\VBoxDrv.inf" />
    45 <?if $(env.VBOX_SIGNING_MODE)!= none ?>
    46                 <File Id="file_VBoxDrv.cat" Name="VBoxDrv.cat"
    47                       Source="$(env.PATH_OUT)\bin\VBoxDrv.cat" />
    48 <?endif ?>
    4955            </Component>
    5056        </Directory>
  • trunk/src/VBox/Installer/win/VBoxMergeNetAdp6.wxi

    r62539 r72004  
    1616         xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
    1717
     18<?if $(env.VBOX_SIGNING_MODE) != none ?>
     19    <Component Id="cp_NetAdp6DriverCat_PreW10" Guid="40aab6d8-a9ca-41bd-3c5e-bd768d44faa7" Win64="$(var.Property_Win64)">
     20        <File Id="file_VBoxNetAdp6_PreW10.cat" Name="VBoxNetAdp6.cat" Source="$(env.PATH_OUT)\bin\VBoxNetAdp6-PreW10.cat" />
     21    <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
     22        <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (VersionNT < 1000)]]></Condition>
     23    <?else ?>
     24        <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (VersionNT < 1000)]]></Condition>
     25    <?endif ?>
     26    </Component>
     27    <Component Id="cp_NetAdp6DriverCat_W10" Guid="37431619-c0ac-4f6a-029e-6a8ac4cd58ad" Win64="$(var.Property_Win64)">
     28        <File Id="file_VBoxNetAdp6_W10.cat" Name="VBoxNetAdp6.cat" Source="$(env.PATH_OUT)\bin\VBoxNetAdp6.cat" />
     29    <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
     30        <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (VersionNT >= 1000)]]></Condition>
     31    <?else ?>
     32        <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (VersionNT >= 1000)]]></Condition>
     33    <?endif ?>
     34    </Component>
     35<?endif ?>
     36
    1837    <Component Id="cp_NetAdp6Driver" Guid="945d9537-e60d-4bbf-9422-239739e31092" Win64="$(var.Property_Win64)">
    1938        <File Id="file_VBoxNetAdp6.sys" Name="VBoxNetAdp6.sys" KeyPath="yes"
     
    2140        <File Id="file_VBoxNetAdp6.inf" Name="VBoxNetAdp6.inf"
    2241              Source="$(env.PATH_OUT)\bin\VBoxNetAdp6.inf" />
    23 <?if $(env.VBOX_SIGNING_MODE) != none ?>
    24         <File Id="file_VBoxNetAdp6.cat" Name="VBoxNetAdp6.cat"
    25               Source="$(env.PATH_OUT)\bin\VBoxNetAdp6.cat" />
    26 <?endif ?>
    2742
    2843<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
  • trunk/src/VBox/Installer/win/VBoxMergeNetLwf.wxi

    r62539 r72004  
    1717
    1818<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
     19
     20<?if $(env.VBOX_SIGNING_MODE) != none ?>
     21    <Component Id="cp_NetLwfDriverCat_PreW10" Guid="cede9469-b1bc-4194-348f-8799485a6283" Win64="$(var.Property_Win64)">
     22        <File Id="file_VBoxNetLwf_PreW10.cat" Name="VBoxNetLwf.cat" Source="$(env.PATH_OUT)\bin\VBoxNetLwf-PreW10.cat" />
     23    <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
     24        <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (VersionNT < 1000)]]></Condition>
     25    <?else ?>
     26        <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (VersionNT < 1000)]]></Condition>
     27    <?endif ?>
     28    </Component>
     29    <Component Id="cp_NetLwfDriverCat_W10" Guid="0932500d-4d45-4d79-8693-3192528d7cae" Win64="$(var.Property_Win64)">
     30        <File Id="file_VBoxNetLwf_W10.cat" Name="VBoxNetLwf.cat" Source="$(env.PATH_OUT)\bin\VBoxNetLwf.cat" />
     31    <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
     32        <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (VersionNT >= 1000)]]></Condition>
     33    <?else ?>
     34        <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (VersionNT >= 1000)]]></Condition>
     35    <?endif ?>
     36    </Component>
     37<?endif ?>
     38
    1939    <Component Id="cp_NetLwfDriver" Guid="831b909d-f09a-4281-b6b0-99393fa4769d" Win64="$(var.Property_Win64)">
    2040        <File Id="file_VBoxNetLwf.sys" Name="VBoxNetLwf.sys"   KeyPath="yes"
     
    2242        <File Id="file_VBoxNetLwf.inf" Name="VBoxNetLwf.inf"
    2343              Source="$(env.PATH_OUT)\bin\VBoxNetLwf.inf" />
    24 <?if $(env.VBOX_SIGNING_MODE) != none ?>
    25         <File Id="file_VBoxNetLwf.cat" Name="VBoxNetLwf.cat"
    26               Source="$(env.PATH_OUT)\bin\VBoxNetLwf.cat" />
    27 <?endif ?>
    28 
    2944<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
    3045        <Condition><![CDATA[(localMSMNetworkType="NDIS6")]]></Condition>
  • trunk/src/VBox/Installer/win/VBoxMergeUSB.wxi

    r66333 r72004  
    1818
    1919    <Directory Id="dir_VBoxUSBFilter" Name="filter">
     20<?if $(env.VBOX_SIGNING_MODE)!= none ?>
     21        <Component Id="cp_USBFilterDriverCat_PreW10" Guid="ef18fb4d-4530-40db-2957-de2dc90243ab" Win64="$(var.Property_Win64)">
     22            <Condition><![CDATA[(VersionNT < 1000)]]></Condition>
     23            <File Id="file_VBoxUSBMon_PreW10.cat" Name="VBoxUSBMon.cat" Source="$(env.PATH_OUT)\bin\VBoxUSBMon-PreW10.cat" />
     24        </Component>
     25        <Component Id="cp_USBFilterDriverCat_W10" Guid="341ce4ca-d00e-4a43-f4e3-453eacc6b493" Win64="$(var.Property_Win64)">
     26            <Condition><![CDATA[(VersionNT >= 1000)]]></Condition>
     27            <File Id="file_VBoxUSBMon_W10.cat" Name="VBoxUSBMon.cat" Source="$(env.PATH_OUT)\bin\VBoxUSBMon.cat" />
     28        </Component>
     29<?endif ?>
    2030        <Component Id="cp_USBFilterDriver" Guid="B7D782D2-96DF-4775-A0E1-A76CF7B04B65" Win64="$(var.Property_Win64)">
    2131            <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes" DeleteFiles="yes"
     
    2535            <File Id="file_VBoxUSBMon.inf" Name="VBoxUSBMon.inf"
    2636                  Source="$(env.PATH_OUT)\bin\VBoxUSBMon.inf" />
    27 <?if $(env.VBOX_SIGNING_MODE)!= none ?>
    28             <File Id="file_VBoxUSBMon.cat" Name="VBoxUSBMon.cat"
    29                   Source="$(env.PATH_OUT)\bin\VBoxUSBMon.cat" />
    30 <?endif ?>
    3137        </Component>
    3238    </Directory>
    3339
    3440    <Directory Id="dir_VBoxUSBDevice" Name="device">
     41<?if $(env.VBOX_SIGNING_MODE)!= none ?>
     42        <Component Id="cp_USBDeviceDriverCat_PreW10" Guid="43cc14cb-06e9-46c2-d507-20423150ccbd" Win64="$(var.Property_Win64)">
     43            <Condition><![CDATA[(VersionNT < 1000)]]></Condition>
     44            <File Id="file_VBoxUSB_PreW10.cat" Name="VBoxUSB.cat" Source="$(env.PATH_OUT)\bin\VBoxUSB-PreW10.cat" />
     45        </Component>
     46        <Component Id="cp_USBDeviceDriverCat_W10" Guid="2127015e-7a96-4b8d-6015-b1e51a75b5ba" Win64="$(var.Property_Win64)">
     47            <Condition><![CDATA[(VersionNT >= 1000)]]></Condition>
     48            <File Id="file_VBoxUSB_W10.cat" Name="VBoxUSB.cat" Source="$(env.PATH_OUT)\bin\VBoxUSB.cat" />
     49        </Component>
     50<?endif ?>
    3551        <Component Id="cp_USBDeviceDriver" Guid="010FE46A-E358-43E2-8BDC-38BC8BEC82E0" Win64="$(var.Property_Win64)">
    3652            <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes"  DeleteFiles="yes"
     
    4056            <File Id="file_VBoxUSB.inf" Name="VBoxUSB.inf"
    4157                  Source="$(env.PATH_OUT)\bin\VBoxUSB.inf" />
    42 <?if $(env.VBOX_SIGNING_MODE)!= none ?>
    43             <File Id="file_VBoxUSB.cat" Name="VBoxUSB.cat"
    44                   Source="$(env.PATH_OUT)\bin\VBoxUSB.cat" />
    45 <?endif ?>
    4658        </Component>
    4759    </Directory>
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r70636 r72004  
    456456        <ComponentRef Id="cp_UnattendedTemplates" />
    457457    <?endif ?>
     458    <?if $(env.VBOX_SIGNING_MODE) != none ?>
     459        <ComponentRef Id="cp_VBoxDrvCat_PreW10" />
     460        <ComponentRef Id="cp_VBoxDrvCat_W10" />
     461    <?endif ?>
    458462    <ComponentRef Id="cp_VBoxDrv" />
    459463<?endif ?>
     
    466470            <MergeRef Id="msm_VBoxUSB" />
    467471<?else ?>
     472    <?if $(env.VBOX_SIGNING_MODE) != none ?>
     473            <ComponentRef Id="cp_USBFilterDriverCat_PreW10" />
     474            <ComponentRef Id="cp_USBFilterDriverCat_W10" />
     475    <?endif ?>
    468476            <ComponentRef Id="cp_USBFilterDriver" />
     477    <?if $(env.VBOX_SIGNING_MODE) != none ?>
     478            <ComponentRef Id="cp_USBDeviceDriverCat_PreW10" />
     479            <ComponentRef Id="cp_USBDeviceDriverCat_W10" />
     480    <?endif ?>
    469481            <ComponentRef Id="cp_USBDeviceDriver" />
    470482<?endif ?>
     
    485497    <?else ?>
    486498                <ComponentRef Id="cp_NetFltDriver" />
     499        <?if $(env.VBOX_SIGNING_MODE) != none ?>
     500                <ComponentRef Id="cp_NetLwfDriverCat_PreW10" />
     501                <ComponentRef Id="cp_NetLwfDriverCat_W10" />
     502        <?endif ?>
    487503                <ComponentRef Id="cp_NetLwfDriver" />
    488504    <?endif ?>
     
    497513    <?else ?>
    498514                <ComponentRef Id="cp_NetAdpDriver" />
     515        <?if $(env.VBOX_SIGNING_MODE) != none ?>
     516                <ComponentRef Id="cp_NetAdp6DriverCat_PreW10" />
     517                <ComponentRef Id="cp_NetAdp6DriverCat_W10" />
     518        <?endif ?>
    499519                <ComponentRef Id="cp_NetAdp6Driver" />
    500520    <?endif ?>
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