VirtualBox

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

Last change on this file since 98715 was 98103, checked in by vboxsync, 23 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: 2.7 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 -->
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\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___init__.py" Name="__init__.py"
41 Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapi\__init__.py"
42 DiskId="$(var.Property_DiskIdCommon)" />
43 <File Id="file_VirtualBox_constants.py" Name="VirtualBox_constants.py"
44 Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapi\VirtualBox_constants.py"
45 DiskId="$(var.Property_DiskIdCommon)" />
46 </Component>
47 </Directory>
48 <Component Id="cp_VBoxPyDel" Guid="D3C59511-E148-49FA-ADFF-718F2FF1B07A" Win64="$(var.Property_Win64)">
49 <RegistryValue Root="HKLM" Key="$(var.Property_RegKey)" Name="PythonApiInstallDir" Type="string"
50 Value="[msm_VBoxPythonFolder]" KeyPath="yes" />
51 <util:RemoveFolderEx On="uninstall" Property="EXISTING_PYTHON_API_FOLDER" />
52 </Component>
53
54<?endif?>
55 <Component Id="cp_VBoxPythonBinding" KeyPath="yes"
56 Guid="293D7E11-78DA-4C31-AEED-AE2FE42F6881" Win64="$(var.Property_Win64)">
57 <Condition>VBOX_PYTHON_IS_INSTALLED</Condition>
58 </Component>
59
60</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