VirtualBox

source: vbox/trunk/src/VBox/Installer/win/Defines.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: 2.7 KB
Line 
1<!--
2 VirtualBox Windows Installation Script (WiX), preprocessor defines.
3-->
4<!--
5 Copyright (C) 2014-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
28 <!-- TODO: Add "VBox" prefix! -->
29 <?define Property_RegKey = "Software\$(env.VBOX_VENDOR_SHORT)\VirtualBox" ?>
30 <?define Property_RegKeyInstall = "Software\$(env.VBOX_VENDOR_SHORT)\VirtualBox\Install" ?>
31 <?define Property_Upgrade = "yes" ?>
32 <?define Property_Version = "$(env.VBOX_VERSION_STRING_RAW)" ?>
33 <?define Property_VersionExt = "$(env.VBOX_VERSION_STRING)" ?>
34
35 <?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
36 <?define Property_ProgramFiles = "StandardDirectory" ?>
37 <?define Property_Platform = "x64" ?>
38 <?define Property_IsWin64 = "yes" ?>
39 <?define Property_Bitness = "always64" ?>
40
41 <?if $(env.VBOX_SIGNING_MODE)!= none ?>
42 <?define Property_DriverLegacy = "no" ?>
43 <?else?>
44 <?define Property_DriverLegacy = "yes" ?>
45 <?endif?>
46
47 <?else?>
48 <?define Property_ProgramFiles = "ProgramFilesFolder" ?>
49 <?define Property_Platform = "x86" ?>
50 <?define Property_IsWin64 = "no" ?>
51 <?define Property_Bitness = "always32" ?>
52
53 <?if $(env.VBOX_SIGNING_MODE)!= none ?>
54 <!-- Note: Settings this to 'no' breaks Windows 2000 installs (!) -->
55 <?define Property_DriverLegacy = "yes" ?>
56 <?else?>
57 <?define Property_DriverLegacy = "yes" ?>
58 <?endif?>
59
60 <?endif?>
61
62 <!-- If we build a combined installer (32- and 64-bit in one installer), we
63 use two installer "disks": One for all platform-specific stuff and one which
64 contains all common (platform independent) stuff (like manuals, bitmaps etc) -->
65 <?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
66 <?define Property_DiskIdCommon = "2" ?>
67 <?else?>
68 <?define Property_DiskIdCommon = "1" ?>
69 <?endif?>
70
71</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