VirtualBox

Ignore:
Timestamp:
Apr 29, 2024 8:09:47 AM (9 months ago)
Author:
vboxsync
Message:

Windows host installer: Upgraded to WIX v4 (4.0.5). This is a massive change that accumulates the transition from WIX v3 -> v4 where the WIX XML scheme as well as the build system has changed. See comments for details. bugref:10644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/VBoxMergeNetAdp.wxs

    r98103 r104453  
    1 <?xml version="1.0"?>
    2 <!--
     1<!--
    32    VirtualBox Windows Installation Script (WiX)
    43-->
     
    2524-->
    2625
    27 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
    28      xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
     26<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
    2927
    3028    <?include Defines.wxi ?>
    3129
    32     <Module Id="msm_VBoxNetworkAdp"
    33             Language="!(loc.LANG)"
    34             Version="$(var.Property_Version)">
    35 
    36         <Package Id="248b9371-ab62-48ee-8f23-270fb319bb46"
    37                  Keywords="Installer, Setup"
    38                  Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) NetAdp installation package"
    39                  Comments="$(env.VBOX_PRODUCT) NetAdp installation package"
    40                  Manufacturer="$(env.VBOX_VENDOR)"
    41                  InstallerVersion="200"
    42                  AdminImage="yes"
    43                  InstallPrivileges="elevated"
    44                  Platform="$(var.Property_Platform)"
    45                  SummaryCodepage="1252"/>
     30    <Module Id="msm_VBoxNetworkAdp" Language="!(loc.LANG)" Version="$(var.Property_Version)" Guid="248b9371-ab62-48ee-8f23-270fb319bb46" InstallerVersion="200">
     31   
     32        <SummaryInformation Keywords="Installer, Setup"
     33                            Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) NetAdp installation package"
     34                            Manufacturer="$(env.VBOX_VENDOR)" />
    4635
    4736        <?include CommonProperties.wxi ?>
     
    5039<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
    5140        <Property Id="localMSMNetworkType" Value="Empty" />
    52         <Configuration Name="passedNetworkType" Format="Text" DefaultValue="Not passed"/>
    53         <Substitution Table="CustomAction" Row="setNetworkTypeADP" Column="Target" Value="[=passedNetworkType]"/>
     41        <Configuration Name="passedNetworkType" Format="Text" DefaultValue="Not passed" />
     42        <Substitution Table="CustomAction" Row="setNetworkTypeADP" Column="Target" Value="[=passedNetworkType]" />
    5443        <CustomAction Id="setNetworkTypeADP" Property="localMSMNetworkType" Value="[localMSMNetworkType]" Execute="immediate" />
    5544        <CustomAction Id="correctNetworkTypeADP" Property="localMSMNetworkType" Value="NDIS5" Execute="immediate" />
    56 <?endif ?>
     45<?endif?>
    5746
    5847        <!-- Here comes the file/directory list -->
    59         <Directory Id="TARGETDIR" Name="SourceDir">
    60             <Directory Id="msm_VBoxNetworkAdpFolder" FileSource=".">
    61 
    62                 <?include VBoxMergeNetAdp.wxi ?>
    63 
    64             </Directory> <!-- msm_VBoxNetworkAdpFolder -->
    65         </Directory> <!-- TARGETDIR -->
     48         <!-- TARGETDIR -->
    6649
    6750        <!-- Custom actions -->
     
    7154        <InstallExecuteSequence>
    7255<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
    73             <Custom Action="setNetworkTypeADP" After="CostInitialize"/>
    74             <Custom Action="correctNetworkTypeADP" After="setNetworkTypeADP">
    75                 <![CDATA[(VersionNT < 600)]]>
    76             </Custom>
    77 <?endif ?>
     56            <Custom Action="setNetworkTypeADP" After="CostInitialize" />
     57            <Custom Action="correctNetworkTypeADP" After="setNetworkTypeADP" Condition="(VersionNT &lt; 600)" />
     58<?endif?>
    7859            <?include VBoxMergeNetAdpSeq.wxi ?>
    7960        </InstallExecuteSequence>
    8061
    81     </Module>
     62   
     63            <Directory Id="msm_VBoxNetworkAdpFolder" FileSource=".">
     64
     65                <?include VBoxMergeNetAdp.wxi ?>
     66
     67            </Directory> <!-- msm_VBoxNetworkAdpFolder -->
     68        </Module>
    8269</Wix>
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