VirtualBox

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

Last change on this file since 103037 was 103037, checked in by vboxsync, 11 months ago

Main/Python: Windows installer fixes. bugref:10579

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.4 KB
Line 
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 xmlns:util="http://schemas.microsoft.com/wix/Util">
30
31<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
32 <!-- Python bindings ("installer\python" folder) -->
33 <Component Id="cp_VBoxPyInst" Guid="C9A40306-5102-11DE-A7BA-C3C555D89593" Win64="$(var.Property_Win64)">
34 <File Id="file_vboxapisetup.py" Name="vboxapisetup.py"
35 Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapisetup.py"
36 DiskId="$(var.Property_DiskIdCommon)" />
37 </Component>
38 <Directory Id="dir_VBoxPythonSDKVBoxAPI" Name="vboxapi">
39 <Component Id="cp_VBoxPyMod" Guid="DF19CB76-5102-11DE-943B-13C755D89593" Win64="$(var.Property_Win64)">
40 <File Id="file_setup.py" Name="setup.py"
41 Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapi\setup.py"
42 DiskId="$(var.Property_DiskIdCommon)" />
43 <File Id="file_pyproject.toml" Name="pyproject.toml"
44 Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapi\pyproject.toml"
45 DiskId="$(var.Property_DiskIdCommon)" />
46 <Directory Id="dir_VBoxPythonSDKVBoxAPISrc" Name="src">
47 <Directory Id="dir_VBoxPythonSDKVBoxAPISrcRoot" Name="vboxapi">
48 <File Id="file___init__.py" Name="__init__.py"
49 Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapi\src\vboxapi\__init__.py"
50 DiskId="$(var.Property_DiskIdCommon)" />
51 <File Id="file_VirtualBox_constants.py" Name="VirtualBox_constants.py"
52 Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapi\src\vboxapi\VirtualBox_constants.py"
53 DiskId="$(var.Property_DiskIdCommon)" />
54 </Directory>
55 </Directory>
56 </Component>
57 </Directory>
58 <Component Id="cp_VBoxPyDel" Guid="D3C59511-E148-49FA-ADFF-718F2FF1B07A" Win64="$(var.Property_Win64)">
59 <RegistryValue Root="HKLM" Key="$(var.Property_RegKey)" Name="PythonApiInstallDir" Type="string"
60 Value="[msm_VBoxPythonFolder]" KeyPath="yes" />
61 <util:RemoveFolderEx On="uninstall" Property="EXISTING_PYTHON_API_FOLDER" />
62 </Component>
63
64<?endif?>
65 <Component Id="cp_VBoxPythonBinding" KeyPath="yes"
66 Guid="293D7E11-78DA-4C31-AEED-AE2FE42F6881" Win64="$(var.Property_Win64)">
67 <Condition>VBOX_PYTHON_IS_INSTALLED</Condition>
68 </Component>
69
70</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