VirtualBox

source: vbox/trunk/src/VBox/Installer/win/VBoxMergePython.wxi@ 106321

Last change on this file since 106321 was 106061, checked in by vboxsync, 2 months ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
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 xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
28
29<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
30 <!-- Python bindings ("installer\python" folder) -->
31 <Component Id="cp_VBoxPyInst" Guid="C9A40306-5102-11DE-A7BA-C3C555D89593" Bitness="$(var.Property_Bitness)">
32 <File Id="file_vboxapisetup.py" Name="vboxapisetup.py" Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapisetup.py" DiskId="$(var.Property_DiskIdCommon)" />
33 </Component>
34 <Directory Id="dir_VBoxPythonSDKVBoxAPI" Name="vboxapi">
35 <Component Id="cp_VBoxPySetup" Guid="49B68C11-E6BB-4798-B809-F522E64ACD4E" Bitness="$(var.Property_Bitness)">
36 <File Id="file_setup.py" Name="setup.py" Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapi\setup.py" DiskId="$(var.Property_DiskIdCommon)" />
37 <File Id="file_pyproject.toml" Name="pyproject.toml" Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapi\pyproject.toml" DiskId="$(var.Property_DiskIdCommon)" />
38 </Component>
39 <Directory Id="dir_VBoxPythonSDKVBoxAPISrc" Name="src">
40 <Directory Id="dir_VBoxPythonSDKVBoxAPISrcRoot" Name="vboxapi">
41 <Component Id="cp_VBoxPyMod" Guid="DF19CB76-5102-11DE-943B-13C755D89593" Bitness="$(var.Property_Bitness)">
42 <File Id="file___init__.py" Name="__init__.py" Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapi\src\vboxapi\__init__.py" DiskId="$(var.Property_DiskIdCommon)" />
43 <File Id="file_VirtualBox_constants.py" Name="VirtualBox_constants.py" Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapi\src\vboxapi\VirtualBox_constants.py" DiskId="$(var.Property_DiskIdCommon)" />
44 </Component>
45 </Directory>
46 </Directory>
47 </Directory>
48 <Component Id="cp_VBoxPyDel" Guid="D3C59511-E148-49FA-ADFF-718F2FF1B07A" Bitness="$(var.Property_Bitness)">
49 <RegistryValue Root="HKLM" Key="$(var.Property_RegKey)" Name="PythonApiInstallDir" Type="string" Value="[msm_VBoxPythonFolder]" KeyPath="yes" />
50 <util:RemoveFolderEx On="uninstall" Property="EXISTING_PYTHON_API_FOLDER" />
51 </Component>
52
53<?endif?>
54 <Component Id="cp_VBoxPythonBinding" KeyPath="yes" Guid="293D7E11-78DA-4C31-AEED-AE2FE42F6881" Bitness="$(var.Property_Bitness)" Condition="VBOX_PYTHON_IS_INSTALLED" />
55
56</Include>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette