1 | <?xml version="1.0"?>
|
---|
2 | <!--
|
---|
3 | VirtualBox Windows Installation Script (WiX)
|
---|
4 | -->
|
---|
5 | <!--
|
---|
6 | Copyright (C) 2006-2023 Oracle and/or its affiliates.
|
---|
7 |
|
---|
8 | This file is part of VirtualBox base platform packages, as
|
---|
9 | available from https://www.virtualbox.org.
|
---|
10 |
|
---|
11 | This program is free software; you can redistribute it and/or
|
---|
12 | modify it under the terms of the GNU General Public License
|
---|
13 | as published by the Free Software Foundation, in version 3 of the
|
---|
14 | License.
|
---|
15 |
|
---|
16 | This program is distributed in the hope that it will be useful, but
|
---|
17 | WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
19 | General Public License for more details.
|
---|
20 |
|
---|
21 | You should have received a copy of the GNU General Public License
|
---|
22 | along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
23 |
|
---|
24 | SPDX-License-Identifier: GPL-3.0-only
|
---|
25 | -->
|
---|
26 |
|
---|
27 | <Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
---|
28 | xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
|
---|
29 |
|
---|
30 | <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
|
---|
31 | <Directory Id="dir_VBoxCOM32On64X86" Name="x86">
|
---|
32 | <!-- The 32-bit client COM component (see also cp_MainCom in VBoxMergeApp.wxi) -->
|
---|
33 | <Component Id="cp_MainCOM_x86" Guid="B600824E-4A25-2EB3-4B44-3D8CB7F9B92D" Win64="no">
|
---|
34 | <!-- Note: This file ID *must not* be changed because of our typelib template generation file! -->
|
---|
35 | <?if $(env.VBOX_WITH_MIDL_PROXY_STUB) != "yes" ?>
|
---|
36 | <File Id="VBoxClient_x86" Name="VBoxClient-x86.dll"
|
---|
37 | Source="$(env.PATH_OUT)\bin\x86\VBoxClient-x86.dll" KeyPath="yes"
|
---|
38 | DiskId="$(var.Property_DiskIdCommon)">
|
---|
39 | </File>
|
---|
40 | <?else?>
|
---|
41 | <File Id="VBoxClient_x86" Name="VBoxClient-x86.dll"
|
---|
42 | Source="$(env.PATH_OUT)\bin\x86\VBoxClient-x86.dll"
|
---|
43 | DiskId="$(var.Property_DiskIdCommon)">
|
---|
44 | </File>
|
---|
45 | <!-- Our key path, see VBoxMergeApp.wxi. -->
|
---|
46 | <File Id="file_VBoxProxyStub_x86" Name="VBoxProxyStub-x86.dll" KeyPath="yes"
|
---|
47 | Source="$(env.PATH_OUT)\bin\x86\VBoxProxyStub-x86.dll"
|
---|
48 | DiskId="$(var.Property_DiskIdCommon)">
|
---|
49 | <Class Id="$(env.VBOX_MIDL_PROXY_CLSID)" Context="InprocServer32"
|
---|
50 | Description="PSFactoryBuffer" ThreadingModel="both" />
|
---|
51 | </File>
|
---|
52 | <?endif?>
|
---|
53 | <File Id="file_VBoxRT_x86" Name="VBoxRT-x86.dll"
|
---|
54 | Source="$(env.PATH_OUT)\bin\x86\VBoxRT-x86.dll"
|
---|
55 | DiskId="$(var.Property_DiskIdCommon)">
|
---|
56 | </File>
|
---|
57 | <?include $(env.PATH_TARGET)\VirtualBox_TypeLib_x86.wxi ?>
|
---|
58 |
|
---|
59 | <?if $(env.VBOX_WITH_CRT_PACKING) = "yes" ?>
|
---|
60 | <!-- Include CRT Dlls (specific to the compiler). -->
|
---|
61 | <?include $(env.PATH_TARGET)\VBoxCrtDlls32.wxi ?>
|
---|
62 | <?endif?>
|
---|
63 | </Component>
|
---|
64 | </Directory>
|
---|
65 | <?endif?>
|
---|
66 |
|
---|
67 | </Include>
|
---|