1 | <!--
|
---|
2 | VirtualBox Windows Installation Script (WiX)
|
---|
3 |
|
---|
4 | Copyright (C) 2006-2015 Oracle Corporation
|
---|
5 |
|
---|
6 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
7 | available from http://www.virtualbox.org. This file is free software;
|
---|
8 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
9 | General Public License (GPL) as published by the Free Software
|
---|
10 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
11 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
12 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
13 | -->
|
---|
14 |
|
---|
15 | <Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
---|
16 | xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
|
---|
17 |
|
---|
18 | <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
|
---|
19 | <!-- Python bindings -->
|
---|
20 | <Component Id="cp_VBoxPyInst" Guid="C9A40306-5102-11DE-A7BA-C3C555D89593" Win64="$(var.Property_Win64)">
|
---|
21 | <File Id="file_vboxapisetup.py" Name="vboxapisetup.py"
|
---|
22 | Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapisetup.py"
|
---|
23 | DiskId="$(var.Property_DiskIdCommon)" />
|
---|
24 | </Component>
|
---|
25 | <Directory Id="dir_VBoxPythonSDKVBoxAPI" Name="vboxapi">
|
---|
26 | <Component Id="cp_VBoxPyMod" Guid="DF19CB76-5102-11DE-943B-13C755D89593" Win64="$(var.Property_Win64)">
|
---|
27 | <File Id="file___init__.py" Name="__init__.py"
|
---|
28 | Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapi\__init__.py"
|
---|
29 | DiskId="$(var.Property_DiskIdCommon)" />
|
---|
30 | <File Id="file_VirtualBox_constants.py" Name="VirtualBox_constants.py"
|
---|
31 | Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapi\VirtualBox_constants.py"
|
---|
32 | DiskId="$(var.Property_DiskIdCommon)" />
|
---|
33 | </Component>
|
---|
34 | </Directory>
|
---|
35 | <?endif?>
|
---|
36 | <Component Id="cp_VBoxPythonBinding" KeyPath="yes"
|
---|
37 | Guid="293D7E11-78DA-4C31-AEED-AE2FE42F6881" Win64="$(var.Property_Win64)">
|
---|
38 | <Condition>VBOX_PYTHON_IS_INSTALLED</Condition>
|
---|
39 | </Component>
|
---|
40 |
|
---|
41 | </Include>
|
---|