1 | <!--
|
---|
2 | VirtualBox Windows Installation Script (WiX)
|
---|
3 | -->
|
---|
4 | <!--
|
---|
5 | Copyright (C) 2006-2024 Oracle and/or its affiliates.
|
---|
6 |
|
---|
7 | This file is part of VirtualBox base platform packages, as
|
---|
8 | available from https://www.virtualbox.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 | <Include xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
---|
27 |
|
---|
28 | <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
|
---|
29 | <Directory Id="dir_VBoxCOM32On64X86" Name="x86">
|
---|
30 | <!-- The 32-bit client COM component (see also cp_MainCom in VBoxMergeApp.wxi) -->
|
---|
31 | <Component Id="cp_MainCOM_x86" Guid="B600824E-4A25-2EB3-4B44-3D8CB7F9B92D" Bitness="always32">
|
---|
32 | <!-- Note: This file ID *must not* be changed because of our typelib template generation file! -->
|
---|
33 | <?if $(env.VBOX_WITH_MIDL_PROXY_STUB) != "yes" ?>
|
---|
34 | <File Id="VBoxClient_x86" Name="VBoxClient-x86.dll" Source="$(env.PATH_OUT)\bin\x86\VBoxClient-x86.dll" KeyPath="yes" DiskId="$(var.Property_DiskIdCommon)">
|
---|
35 | </File>
|
---|
36 | <?else?>
|
---|
37 | <File Id="VBoxClient_x86" Name="VBoxClient-x86.dll" Source="$(env.PATH_OUT)\bin\x86\VBoxClient-x86.dll" DiskId="$(var.Property_DiskIdCommon)">
|
---|
38 | </File>
|
---|
39 | <!-- Our key path, see VBoxMergeApp.wxi. -->
|
---|
40 | <File Id="file_VBoxProxyStub_x86" Name="VBoxProxyStub-x86.dll" KeyPath="yes" Source="$(env.PATH_OUT)\bin\x86\VBoxProxyStub-x86.dll" DiskId="$(var.Property_DiskIdCommon)">
|
---|
41 | <Class Id="$(env.VBOX_MIDL_PROXY_CLSID)" Context="InprocServer32" Description="PSFactoryBuffer" ThreadingModel="both" />
|
---|
42 | </File>
|
---|
43 | <?endif?>
|
---|
44 | <File Id="file_VBoxRT_x86" Name="VBoxRT-x86.dll" Source="$(env.PATH_OUT)\bin\x86\VBoxRT-x86.dll" DiskId="$(var.Property_DiskIdCommon)">
|
---|
45 | </File>
|
---|
46 | <File Id="file_VBoxCAPI_x86" Name="VBoxCAPI-x86.dll" Source="$(env.PATH_OUT)\bin\x86\VBoxCAPI-x86.dll" DiskId="$(var.Property_DiskIdCommon)">
|
---|
47 | </File>
|
---|
48 | <?include $(env.PATH_TARGET)\VirtualBox_TypeLib_x86.wxi ?>
|
---|
49 |
|
---|
50 | <?if $(env.VBOX_WITH_CRT_PACKING) = "yes" ?>
|
---|
51 | <!-- Include CRT Dlls (specific to the compiler). -->
|
---|
52 | <?include $(env.PATH_TARGET)\VBoxCrtDlls32.wxi ?>
|
---|
53 | <?endif?>
|
---|
54 | </Component>
|
---|
55 | </Directory>
|
---|
56 | <?endif?>
|
---|
57 |
|
---|
58 | </Include>
|
---|