VirtualBox

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

Last change on this file was 103039, checked in by vboxsync, 4 months ago

Main/Python: Use a GUID here for the Windows installer. ​bugref:10579

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.6 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_VBoxPySetup" Guid="49B68C11-E6BB-4798-B809-F522E64ACD4E" 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 </Component>
47 <Directory Id="dir_VBoxPythonSDKVBoxAPISrc" Name="src">
48 <Directory Id="dir_VBoxPythonSDKVBoxAPISrcRoot" Name="vboxapi">
49 <Component Id="cp_VBoxPyMod" Guid="DF19CB76-5102-11DE-943B-13C755D89593" Win64="$(var.Property_Win64)">
50 <File Id="file___init__.py" Name="__init__.py"
51 Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapi\src\vboxapi\__init__.py"
52 DiskId="$(var.Property_DiskIdCommon)" />
53 <File Id="file_VirtualBox_constants.py" Name="VirtualBox_constants.py"
54 Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapi\src\vboxapi\VirtualBox_constants.py"
55 DiskId="$(var.Property_DiskIdCommon)" />
56 </Component>
57 </Directory>
58 </Directory>
59 </Directory>
60 <Component Id="cp_VBoxPyDel" Guid="D3C59511-E148-49FA-ADFF-718F2FF1B07A" Win64="$(var.Property_Win64)">
61 <RegistryValue Root="HKLM" Key="$(var.Property_RegKey)" Name="PythonApiInstallDir" Type="string"
62 Value="[msm_VBoxPythonFolder]" KeyPath="yes" />
63 <util:RemoveFolderEx On="uninstall" Property="EXISTING_PYTHON_API_FOLDER" />
64 </Component>
65
66<?endif?>
67 <Component Id="cp_VBoxPythonBinding" KeyPath="yes"
68 Guid="293D7E11-78DA-4C31-AEED-AE2FE42F6881" Win64="$(var.Property_Win64)">
69 <Condition>VBOX_PYTHON_IS_INSTALLED</Condition>
70 </Component>
71
72</Include>
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use