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/VBoxMergeApp.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 ?>
     
    4543         Old upgrade code of innotek: UpgradeCode="F5FFAEBF-97AE-4038-8F91-4DE719456127" -->
    4644
    47     <Module Id="msm_VBoxApp"
    48             Language="!(loc.LANG)"
    49             Version="$(var.Property_Version)">
    50 
    51         <Package Id="d255feb6-597d-4f49-a170-e34f289fa0d3"
    52                  Keywords="Installer, Setup"
    53                  Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) installation package"
    54                  Comments="$(env.VBOX_PRODUCT) installation package"
    55                  Manufacturer="$(env.VBOX_VENDOR)"
    56                  InstallerVersion="200"
    57                  AdminImage="yes"
    58                  InstallPrivileges="elevated"
    59                  Platform="$(var.Property_Platform)"
    60                  SummaryCodepage="1252"/>
     45    <Module Id="msm_VBoxApp" Language="!(loc.LANG)" Version="$(var.Property_Version)" Guid="d255feb6-597d-4f49-a170-e34f289fa0d3"
     46            InstallerVersion="200">
     47           
     48        <SummaryInformation Keywords="Installer, Setup"
     49                            Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) installation package"
     50                            Manufacturer="$(env.VBOX_VENDOR)" />
    6151
    6252        <?include CommonProperties.wxi ?>
     
    6454
    6555        <Property Id="local_VBOX_REGISTERFILEEXTENSIONS" Value="Empty" />
    66         <Configuration Name="argRegisterExtensions" Format="Text" DefaultValue="Not passed"/>
    67         <Substitution Table="CustomAction" Row="registerExtensions" Column="Target" Value="[=argRegisterExtensions]"/>
     56        <Configuration Name="argRegisterExtensions" Format="Text" DefaultValue="Not passed" />
     57        <Substitution Table="CustomAction" Row="registerExtensions" Column="Target" Value="[=argRegisterExtensions]" />
    6858        <CustomAction Id="registerExtensions" Property="local_VBOX_REGISTERFILEEXTENSIONS" Value="[local_VBOX_REGISTERFILEEXTENSIONS]" Execute="immediate" />
    6959
    7060        <!-- Here comes the file/directory list -->
    71         <Directory Id="TARGETDIR" Name="SourceDir">
    72             <Directory Id="msm_VBoxApplicationFolder" FileSource=".">
    73 
    74                 <?include VBoxMergeApp.wxi ?>
    75 
    76             </Directory> <!-- msm_VBoxApplicationFolder directory -->
    77         </Directory> <!-- TARGETDIR -->
     61         <!-- TARGETDIR -->
    7862
    7963        <!-- Custom actions -->
     
    8266
    8367        <InstallExecuteSequence>
    84             <Custom Action="registerExtensions" After="AppSearch"/>
     68            <Custom Action="registerExtensions" After="AppSearch" />
    8569            <?include VBoxMergeAppSeq.wxi ?>
    8670        </InstallExecuteSequence>
    8771
    88     </Module>
     72   
     73            <Directory Id="msm_VBoxApplicationFolder" FileSource=".">
     74
     75                <?include VBoxMergeApp.wxi ?>
     76
     77            </Directory> <!-- msm_VBoxApplicationFolder directory -->
     78        </Module>
    8979</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