VirtualBox

source: vbox/trunk/src/VBox/Additions/common/VBoxGuest/win/VBoxGuest.inf@ 106908

Last change on this file since 106908 was 106487, checked in by vboxsync, 4 months ago

Additions/VBoxGuest.inf: Try fixing installation errors. bugref:10762

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.4 KB
Line 
1; $Id: VBoxGuest.inf 106487 2024-10-18 18:53:10Z vboxsync $
2;; @file
3; INF file for installing the VirtualBox Windows guest driver, XP and later.
4;
5
6;
7; Copyright (C) 2006-2024 Oracle and/or its affiliates.
8;
9; This file is part of VirtualBox base platform packages, as
10; available from https://www.virtualbox.org.
11;
12; This program is free software; you can redistribute it and/or
13; modify it under the terms of the GNU General Public License
14; as published by the Free Software Foundation, in version 3 of the
15; License.
16;
17; This program is distributed in the hope that it will be useful, but
18; WITHOUT ANY WARRANTY; without even the implied warranty of
19; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20; General Public License for more details.
21;
22; You should have received a copy of the GNU General Public License
23; along with this program; if not, see <https://www.gnu.org/licenses>.
24;
25; The contents of this file may alternatively be used under the terms
26; of the Common Development and Distribution License Version 1.0
27; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
28; in the VirtualBox distribution, in which case the provisions of the
29; CDDL are applicable instead of those of the GPL.
30;
31; You may elect to license modified versions of this file under the
32; terms and conditions of either the GPL or the CDDL or both.
33;
34; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
35;
36
37[Version]
38Signature="$WINDOWS NT$"
39Provider=%ORACLE%
40ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
41Class=System
42DriverPackageType=PlugAndPlay
43;edit-DriverVer=08/26/2008,2.00.0000
44;cat CatalogFile=VBoxGuest.cat
45;PnpLockdown=1
46
47[SourceDisksNames]
481 = %VBoxGuest_MediaDesc%,,,
49
50[SourceDisksFiles]
51VBoxGuest.sys = 1
52VBoxControl.exe = 1
53VBoxTray.exe = 1
54
55[DestinationDirs]
56VBoxGuest_CopyFiles = 12 ; drivers
57VBoxTray_CopyFiles = 11 ; system32
58
59[Manufacturer]
60%ORACLE%=VBoxGuest@COMMA-NT-ARCH@
61
62[VBoxGuest@DOT-NT-ARCH@]
63%VBoxGuest_DeviceDesc%=VBoxGuest,PCI\VEN_80ee&DEV_cafe
64CopyFiles = VBoxGuest_CopyFiles
65CopyFiles = VBoxTray_CopyFiles ; Separate CopyFiles directive to make InfVerif.exe happy. Bug?
66AddReg = VBoxTray_Registry
67
68[VBoxGuest@DOT-NT-ARCH@.Services]
69AddService = VBoxGuest, 0x00000002, VBoxGuest_AddService
70DelService = VBoxTray, 0x00000004
71
72[VBoxGuest_CopyFiles]
73VBoxGuest.sys,,,0x4000 ; COPYFLG_IN_USE_TRY_RENAME
74
75[VBoxTray_CopyFiles]
76VBoxTray.exe,,,0x4000 ; COPYFLG_IN_USE_TRY_RENAME
77VBoxControl.exe,,,0x4000 ; COPYFLG_IN_USE_TRY_RENAME
78
79[VBoxGuest_AddService]
80DisplayName = %VBoxGuest_SvcDesc%
81ServiceType = %SERVICE_TYPE_KERNEL_DRIVER%
82StartType = %SERVICE_STARTTYPE_BOOT%
83ErrorControl = %SERVICE_ERRORCTL_NORMAL%
84LoadOrderGroup = Base
85ServiceBinary = %12%\VBoxGuest.sys
86
87[DefaultUninstall@DOT-NT-ARCH@.Services]
88DelService = VBoxGuest,0x00000200
89DelReg = VBoxTray_Registry
90LegacyUninstall=1
91
92[VBoxTray_Registry]
93HKLM, SOFTWARE\Microsoft\Windows\CurrentVersion\Run, VBoxTray, 0x00020000, %%SystemRoot%%\system32\VBoxTray.exe
94
95[ClassInstall32]
96; This should fix the error 0xe0000101 (The required section was not found in the INF).
97
98[Strings]
99ORACLE = "Oracle Corporation"
100VBoxGuest_DeviceDesc = "VirtualBox Guest Device"
101VBoxGuest_SvcDesc = "VirtualBox Guest Driver"
102VBoxTray_SvcDesc = "VirtualBox Guest Tray"
103VBoxGuest_MediaDesc = "VirtualBox Guest Driver Installation Disk"
104
105; Useful constants
106SERVICE_TYPE_KERNEL_DRIVER = 1
107SERVICE_STARTTYPE_BOOT = 0
108SERVICE_STARTTYPE_DEMAND = 3
109SERVICE_ERRORCTL_IGNORE = 0
110SERVICE_ERRORCTL_NORMAL = 1
111
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