VirtualBox

source: vbox/trunk/src/VBox/Installer/win/VBoxMergeNetLwf.wxs@ 105703

最後變更 在這個檔案從105703是 105703,由 vboxsync 提交於 7 月 前

Windows host installer: Fixed installation of network drivers in the non-MSM case; the conditions in the modules weren't updated, as WIX v4 has a different scheme for component conditions. bugref:10644

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.8 KB
 
1<!--
2 VirtualBox Windows Installation Script (WiX)
3-->
4<!--
5 Copyright (C) 2006-2023 Oracle and/or its affiliates.
6
7 This file is part of VirtualBox base platform packages, as
8 available from https://www.alldomusa.eu.org.
9
10 This program is free software; you can redistribute it and/or
11 modify it under the terms of the GNU General Public License
12 as published by the Free Software Foundation, in version 3 of the
13 License.
14
15 This program is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, see <https://www.gnu.org/licenses>.
22
23 SPDX-License-Identifier: GPL-3.0-only
24-->
25
26<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
27
28 <?include Defines.wxi ?>
29
30 <Module Id="msm_VBoxNetworkLwf" Language="!(loc.LANG)" Version="$(var.Property_Version)" Guid="5aca0331-4936-4c1b-820a-8359965d49a4" InstallerVersion="200">
31
32 <SummaryInformation Keywords="Installer, Setup"
33 Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) NetLwf installation package"
34 Manufacturer="$(env.VBOX_VENDOR)" />
35
36 <?include CommonProperties.wxi ?>
37 <?include PublicProperties.wxi ?>
38
39<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
40 <Property Id="localMSMNetworkType" Value="NDIS6" />
41 <Configuration Name="passedNetworkType" Format="Text" DefaultValue="Not passed" />
42 <Substitution Table="CustomAction" Row="setNetworkTypeLWF" Column="Target" Value="[=passedNetworkType]" />
43 <CustomAction Id="setNetworkTypeLWF" Property="NETWORKTYPE" Value="[localMSMNetworkType]" Execute="immediate" />
44 <CustomAction Id="correctNetworkTypeLWF" Property="NETWORKTYPE" Value="NDIS5" Execute="immediate" />
45
46 <!-- Here comes the file/directory list -->
47 <!-- TARGETDIR -->
48
49 <!-- Custom actions -->
50 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
51 <?include VBoxMergeNetLwfCA.wxi ?>
52
53 <InstallExecuteSequence>
54<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
55 <Custom Action="setNetworkTypeLWF" After="CostInitialize" />
56 <Custom Action="correctNetworkTypeLWF" After="setNetworkTypeLWF" Condition="(VersionNT &lt; 600)" />
57<?endif?>
58 <?include VBoxMergeNetLwfSeq.wxi ?>
59 </InstallExecuteSequence>
60
61
62 <Directory Id="msm_VBoxNetworkLwfFolder" FileSource=".">
63
64 <?include VBoxMergeNetLwf.wxi ?>
65
66 </Directory> <!-- msm_VBoxNetworkLwfFolder -->
67 </Module>
68</Wix>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette