summaryrefslogtreecommitdiffstats
path: root/src/VBox/Installer/win/VBoxMergeCOM32On64.wxi
blob: 6e7522b17cd0ba34ad1928ad777db55696d32d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0"?>
<!--
    VirtualBox Windows Installation Script (WiX)
-->
<!--
    Copyright (C) 2006-2023 Oracle and/or its affiliates.

    This file is part of VirtualBox base platform packages, as
    available from https://www.virtualbox.org.

    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation, in version 3 of the
    License.

    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, see <https://www.gnu.org/licenses>.

    SPDX-License-Identifier: GPL-3.0-only
-->

<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
         xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">

<?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
    <Directory Id="dir_VBoxCOM32On64X86" Name="x86">
        <!-- The 32-bit client COM component (see also cp_MainCom in VBoxMergeApp.wxi) -->
        <Component Id="cp_MainCOM_x86" Guid="B600824E-4A25-2EB3-4B44-3D8CB7F9B92D" Win64="no">
            <!-- Note: This file ID *must not* be changed because of our typelib template generation file! -->
    <?if $(env.VBOX_WITH_MIDL_PROXY_STUB) != "yes" ?>
            <File Id="VBoxClient_x86" Name="VBoxClient-x86.dll"
                  Source="$(env.PATH_OUT)\bin\x86\VBoxClient-x86.dll" KeyPath="yes"
                  DiskId="$(var.Property_DiskIdCommon)">
            </File>
    <?else?>
            <File Id="VBoxClient_x86" Name="VBoxClient-x86.dll"
                  Source="$(env.PATH_OUT)\bin\x86\VBoxClient-x86.dll"
                  DiskId="$(var.Property_DiskIdCommon)">
            </File>
            <!-- Our key path, see VBoxMergeApp.wxi. -->
            <File Id="file_VBoxProxyStub_x86" Name="VBoxProxyStub-x86.dll" KeyPath="yes"
                Source="$(env.PATH_OUT)\bin\x86\VBoxProxyStub-x86.dll"
                DiskId="$(var.Property_DiskIdCommon)">
                <Class Id="$(env.VBOX_MIDL_PROXY_CLSID)" Context="InprocServer32"
                    Description="PSFactoryBuffer" ThreadingModel="both" />
            </File>
    <?endif?>
            <File Id="file_VBoxRT_x86" Name="VBoxRT-x86.dll"
                  Source="$(env.PATH_OUT)\bin\x86\VBoxRT-x86.dll"
                  DiskId="$(var.Property_DiskIdCommon)">
            </File>
            <?include $(env.PATH_TARGET)\VirtualBox_TypeLib_x86.wxi ?>

    <?if $(env.VBOX_WITH_CRT_PACKING) = "yes" ?>
            <!-- Include CRT Dlls (specific to the compiler). -->
            <?include $(env.PATH_TARGET)\VBoxCrtDlls32.wxi ?>
    <?endif?>
        </Component>
    </Directory>
<?endif?>

</Include>