VirtualBox

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

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

Windows installers: Big revamp for removing all DIFxApp-related / DIFxApi-related code and build dependencies for the host and guest installers. bugref:10762

This implements an own framework (VBoxWinDrvInst and VBoxWinDrvStore) for installing Windows drivers and querying / handling the Windows driver store,
along with testcases for the Windows guest and host installers.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
1; $Id: VBoxGuest.inf 106321 2024-10-15 13:06:30Z 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_Install,PCI\VEN_80ee&DEV_cafe
64
65[VBoxGuest_Install]
66CopyFiles = VBoxGuest_CopyFiles, VBoxTray_CopyFiles
67AddReg = VBoxTray_AddReg
68
69[VBoxGuest_CopyFiles]
70VBoxGuest.sys,,,0x4000 ; COPYFLG_IN_USE_TRY_RENAME
71
72[VBoxTray_CopyFiles]
73VBoxTray.exe,,,0x4000 ; COPYFLG_IN_USE_TRY_RENAME
74VBoxControl.exe,,,0x4000 ; COPYFLG_IN_USE_TRY_RENAME
75
76[VBoxGuest_Install.Services]
77AddService = VBoxGuest, 0x00000002, VBoxGuest_AddService
78DelService = VBoxTray, 0x00000004
79
80[VBoxGuest_AddService]
81DisplayName = %VBoxGuest_SvcDesc%
82ServiceType = %SERVICE_TYPE_KERNEL_DRIVER%
83StartType = %SERVICE_STARTTYPE_BOOT%
84ErrorControl = %SERVICE_ERRORCTL_NORMAL%
85LoadOrderGroup = Base
86ServiceBinary = %12%\VBoxGuest.sys
87
88[VBoxTray_AddReg]
89HKLM, SOFTWARE\Microsoft\Windows\CurrentVersion\Run, VBoxTray, 0x00020000, %%SystemRoot%%\system32\VBoxTray.exe
90
91[ClassInstall32]
92; This should fix the error 0xe0000101 (The required section was not found in the INF).
93
94[Strings]
95ORACLE = "Oracle Corporation"
96VBoxGuest.DeviceDesc = "VirtualBox Guest Device"
97VBoxGuest_SvcDesc = "VirtualBox Guest Driver"
98VBoxTray_SvcDesc = "VirtualBox Guest Tray"
99VBoxGuest_MediaDesc = "VirtualBox Guest Driver Installation Disk"
100
101; Useful constants
102SERVICE_TYPE_KERNEL_DRIVER = 1
103SERVICE_STARTTYPE_BOOT = 0
104SERVICE_STARTTYPE_DEMAND = 3
105SERVICE_ERRORCTL_IGNORE = 0
106SERVICE_ERRORCTL_NORMAL = 1
107
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