1 | ; $Id: VBoxGuestEarlyNT.inf 98626 2023-02-18 02:13:49Z vboxsync $
|
---|
2 | ;; @file
|
---|
3 | ; INF file for installing the VirtualBox Windows guest driver, pre-XP variant.
|
---|
4 | ;
|
---|
5 |
|
---|
6 | ;
|
---|
7 | ; Copyright (C) 2006-2023 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]
|
---|
38 | Signature="$WINDOWS NT$"
|
---|
39 | Provider=%ORACLE%
|
---|
40 | ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
|
---|
41 | Class=System
|
---|
42 | DriverPackageType=PlugAndPlay
|
---|
43 | ;edit-DriverVer=08/26/2008,2.00.0000
|
---|
44 | ;cat CatalogFile=VBoxGuestEarlyNT.cat
|
---|
45 |
|
---|
46 | [SourceDisksNames]
|
---|
47 | 1 = %VBoxGuest.MediaDesc%
|
---|
48 |
|
---|
49 | [SourceDisksFiles]
|
---|
50 | VBoxGuest.sys = 1
|
---|
51 | VBoxControl.exe = 1
|
---|
52 | VBoxTray.exe = 1
|
---|
53 |
|
---|
54 | [DestinationDirs]
|
---|
55 | DefaultDestDir = 12 ; drivers
|
---|
56 | VBoxTray_CopyFiles = 11 ; system32
|
---|
57 |
|
---|
58 | ; Windows 2000 and NT4 treats entries here as pure 'name=section' and will not
|
---|
59 | ; split the value on commas. Newer InfVerif.exe requires the comma stuff here.
|
---|
60 | [Manufacturer]
|
---|
61 | %ORACLE%=VBoxGuest
|
---|
62 |
|
---|
63 | [VBoxGuest]
|
---|
64 | %VBoxGuest.DeviceDesc%=VBoxGuest_Install,PCI\VEN_80ee&DEV_cafe
|
---|
65 |
|
---|
66 | [VBoxGuest_Install]
|
---|
67 | CopyFiles = VBoxGuest_CopyFiles, VBoxTray_CopyFiles
|
---|
68 | AddReg = VBoxTray_Add_Reg
|
---|
69 |
|
---|
70 | [VBoxGuest_CopyFiles]
|
---|
71 | VBoxGuest.sys
|
---|
72 |
|
---|
73 | [VBoxTray_CopyFiles]
|
---|
74 | VBoxTray.exe
|
---|
75 | VBoxControl.exe
|
---|
76 |
|
---|
77 | [VBoxGuest_Install.Services]
|
---|
78 | AddService = VBoxGuest, 0x00000002, VBoxGuest_ServiceInstallSection
|
---|
79 | DelService = VBoxTray, 0x00000004
|
---|
80 |
|
---|
81 | [VBoxGuest_ServiceInstallSection]
|
---|
82 | DisplayName = %VBoxGuest_svcdesc%
|
---|
83 | ServiceType = 0x00000001 ; kernel driver
|
---|
84 | StartType = 0x00000000 ; boot start
|
---|
85 | ErrorControl = 0x00000001 ; normal error handling
|
---|
86 | LoadOrderGroup = Base
|
---|
87 | ServiceBinary = %12%\VBoxGuest.sys
|
---|
88 |
|
---|
89 | [VBoxTray_Add_Reg]
|
---|
90 | HKLM, SOFTWARE\Microsoft\Windows\CurrentVersion\Run, VBoxTray, 0x00020000, %%SystemRoot%%\system32\VBoxTray.exe
|
---|
91 |
|
---|
92 | [ClassInstall32]
|
---|
93 | ; This should fix the error 0xe0000101 (The required section was not found in the INF).
|
---|
94 |
|
---|
95 | [Strings]
|
---|
96 | ORACLE = "Oracle Corporation"
|
---|
97 | VBoxGuest.DeviceDesc = "VirtualBox Guest Device"
|
---|
98 | VBoxGuest_svcdesc = "VirtualBox Guest Driver"
|
---|
99 | VBoxTray_svcdesc = "VirtualBox Guest Tray"
|
---|
100 | VBoxGuest.MediaDesc = "VirtualBox Guest Driver Installation Disk"
|
---|