VirtualBox

source: vbox/trunk/src/VBox/Installer/win/VBoxMergeAppSeq.wxi@ 108453

最後變更 在這個檔案從108453是 108302,由 vboxsync 提交於 3 週 前

Host installer/win: Run our custom driver installation code in deferred custom actions rather in immediate ones, as this otherwise can make trouble on Windows 11 and/or 10 if the UAC prompt is configured differently. This makes use of the code committed in r167628. bugref:10762

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.3 KB
 
1<!--
2 VirtualBox Windows Installation Script (WiX)
3-->
4<!--
5 Copyright (C) 2006-2024 Oracle and/or its affiliates.
6
7 This file is part of VirtualBox base platform packages, as
8 available from https://www.alldomusa.eu.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 <Custom Action="ca_VBoxSupDrvInstParms" After="InstallFiles" Condition="NOT REMOVE" />
29 <Custom Action="ca_VBoxSupDrvInst" After="ca_VBoxSupDrvInstParms" Condition="NOT REMOVE" />
30
31 <!-- Start VBoxSUP.sys after installation. -->
32 <Custom Action="ca_VBoxSupDrvStartParms" After="ca_VBoxSupDrvInst" Condition="NOT REMOVE" />
33 <Custom Action="ca_VBoxSupDrvStart" After="ca_VBoxSupDrvStartParms" Condition="NOT REMOVE" />
34
35 <Custom Action="ca_VBoxSupDrvUninstParms" After="InstallInitialize"
36 Condition="NOT (UPGRADINGPRODUCTCODE) AND (Installed) AND (REMOVE=&quot;ALL&quot;)" />
37 <Custom Action="ca_VBoxSupDrvUninst" After="ca_VBoxSupDrvUninstParms"
38 Condition="NOT (UPGRADINGPRODUCTCODE) AND (Installed) AND (REMOVE=&quot;ALL&quot;)" />
39
40 <Custom Action="ca_GetPlatformArchitecture" Before="LaunchConditions"/>
41<?if $(env.VBOX_WITH_CRT_PACKING) = "no" ?>
42 <Custom Action="ca_IsMSCRTInstalled" Before="LaunchConditions"/>
43<?endif?>
44 <!-- Required for lauch conditions. See @bugref{10616} -->
45 <Custom Action="ca_CheckTargetDirPre" Before="LaunchConditions" />
46 <!-- Check if the installation directory still fits our security requirements after we finalized installation.
47 See @bugref{10616} -->
48 <Custom Action="ca_CheckTargetDirPost" After="InstallFinalize" Condition="NOT REMOVE"/>
49
50 <Custom Action="ca_IsWindowsSupported" After="FileCost"/>
51
52</Include>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette