- Timestamp:
- Apr 25, 2018 10:11:56 PM (7 years ago)
- Location:
- trunk/src/VBox/Installer/win
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/CommonProperties.wxi
r72024 r72028 17 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 18 19 <Property Id="VBOX_IS_WINDOW_10" > 19 <!-- MSI is soo messed up wrt NT versioning on Windows 10. msiexec runs in 20 Windows 8.1 compatibility mode, so everything returns 6.3 as the 21 version. This unfortunately include all system DLLs. Fortunately, 22 the build number is left as-is, so we ASSUME build numbers above 10000 23 means its Windows 10. 24 Note! "HKLM\Software\Microsoft\Windows NT\CurrentVersion\CurrentBuild" could 25 probably be read here as well (CurrentVersion is "6.3" of course). --> 26 <Property Id="VBOX_IS_WINDOWS_10" > 20 27 <DirectorySearch Id="DirSearchForWindows10NtDll" Path="[SystemFolder]" > 21 <FileSearch Name=" ntdll.dll" MinVersion="6.4.00000.0"/>28 <FileSearch Name="kernelbase.dll" MinVersion="6.3.10000.000" /> 22 29 </DirectorySearch> 23 30 </Property> -
trunk/src/VBox/Installer/win/VBoxMergeApp.wxi
r72020 r72028 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[(NOT VBOX_IS_WINDOW _10)]]></Condition>40 <Condition><![CDATA[(NOT VBOX_IS_WINDOWS_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[(VBOX_IS_WINDOW _10)]]></Condition>44 <Condition><![CDATA[(VBOX_IS_WINDOWS_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/VBoxMergeNetAdp6.wxi
r72020 r72028 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 (NOT VBOX_IS_WINDOW _10)]]></Condition>22 <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (NOT VBOX_IS_WINDOWS_10)]]></Condition> 23 23 <?else ?> 24 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (NOT VBOX_IS_WINDOW _10)]]></Condition>24 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (NOT VBOX_IS_WINDOWS_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 (VBOX_IS_WINDOW _10)]]></Condition>30 <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (VBOX_IS_WINDOWS_10)]]></Condition> 31 31 <?else ?> 32 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (VBOX_IS_WINDOW _10)]]></Condition>32 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (VBOX_IS_WINDOWS_10)]]></Condition> 33 33 <?endif ?> 34 34 </Component> -
trunk/src/VBox/Installer/win/VBoxMergeNetLwf.wxi
r72020 r72028 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 (NOT VBOX_IS_WINDOW _10)]]></Condition>24 <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (NOT VBOX_IS_WINDOWS_10)]]></Condition> 25 25 <?else ?> 26 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (NOT VBOX_IS_WINDOW _10)]]></Condition>26 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (NOT VBOX_IS_WINDOWS_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 (VBOX_IS_WINDOW _10)]]></Condition>32 <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (VBOX_IS_WINDOWS_10)]]></Condition> 33 33 <?else ?> 34 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (VBOX_IS_WINDOW _10)]]></Condition>34 <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (VBOX_IS_WINDOWS_10)]]></Condition> 35 35 <?endif ?> 36 36 </Component> -
trunk/src/VBox/Installer/win/VBoxMergeUSB.wxi
r72020 r72028 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[(NOT VBOX_IS_WINDOW _10)]]></Condition>22 <Condition><![CDATA[(NOT VBOX_IS_WINDOWS_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[(VBOX_IS_WINDOW _10)]]></Condition>26 <Condition><![CDATA[(VBOX_IS_WINDOWS_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[(NOT VBOX_IS_WINDOW _10)]]></Condition>43 <Condition><![CDATA[(NOT VBOX_IS_WINDOWS_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[(VBOX_IS_WINDOW _10)]]></Condition>47 <Condition><![CDATA[(VBOX_IS_WINDOWS_10)]]></Condition> 48 48 <File Id="file_VBoxUSB_W10.cat" Name="VBoxUSB.cat" Source="$(env.PATH_OUT)\bin\VBoxUSB.cat" /> 49 49 </Component>
Note:
See TracChangeset
for help on using the changeset viewer.