[31659] | 1 | <?xml version="1.0"?>
|
---|
| 2 | <!--
|
---|
[35166] | 3 | VirtualBox Windows Installation Script (WiX)
|
---|
[96313] | 4 | -->
|
---|
| 5 | <!--
|
---|
[98103] | 6 | Copyright (C) 2014-2023 Oracle and/or its affiliates.
|
---|
[31659] | 7 |
|
---|
[96407] | 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
|
---|
[31659] | 25 | -->
|
---|
| 26 |
|
---|
[51023] | 27 | <Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
---|
| 28 | xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
|
---|
[31659] | 29 |
|
---|
[96428] | 30 | <?if $(env.VBOX_WITH_CRT_PACKING) = "no" ?>
|
---|
| 31 | <CustomAction Id="ca_IsMSCRTInstalled" BinaryKey="VBoxInstallHelper"
|
---|
| 32 | DllEntry="IsMSCRTInstalled" Execute="immediate" Return="ignore" Impersonate="no" />
|
---|
| 33 | <?endif?>
|
---|
| 34 |
|
---|
[95037] | 35 | <CustomAction Id="ca_IsWindows10" BinaryKey="VBoxInstallHelper"
|
---|
| 36 | DllEntry="IsWindows10" Execute="immediate" Return="ignore" Impersonate="no" />
|
---|
| 37 |
|
---|
[104162] | 38 | <!-- Makes sure we check if the chosen target directory is valid before allowing to install. See @bugref{10616} -->
|
---|
| 39 | <CustomAction Id="ca_CheckTargetDirPre" BinaryKey="VBoxInstallHelper"
|
---|
| 40 | DllEntry="CheckTargetDir" Execute="immediate" Return="ignore" Impersonate="no" />
|
---|
| 41 | <!-- Makes sure that the target directory we installed into still is valid. Rollback if it isn't. See @bugref{10616} -->
|
---|
| 42 | <CustomAction Id="ca_CheckTargetDirPost" BinaryKey="VBoxInstallHelper"
|
---|
| 43 | DllEntry="CheckTargetDir" Execute="immediate" Return="check" Impersonate="no" />
|
---|
[51023] | 44 | </Include>
|
---|
[96428] | 45 |
|
---|