1 | ; $Id: VBoxSup.inf 106321 2024-10-15 13:06:30Z vboxsync $
|
---|
2 | ;; @file
|
---|
3 | ; VirtualBox Support Driver - Windows Driver INF file.
|
---|
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]
|
---|
38 | Signature="$Windows NT$"
|
---|
39 | Class=System
|
---|
40 | ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
|
---|
41 | Provider=%ORACLE%
|
---|
42 | ;edit-DriverVer=08/26/2008,2.00.0000
|
---|
43 | DriverPackageType=KernelService
|
---|
44 | ;cat CatalogFile=VBoxSup.cat
|
---|
45 | ;PnpLockdown=1
|
---|
46 |
|
---|
47 | [DestinationDirs]
|
---|
48 | DefaultDestDir = 12
|
---|
49 |
|
---|
50 | [DefaultInstall@DOT-NT-ARCH@]
|
---|
51 | %ORACLE%=VBoxSup@COMMA-NT-ARCH@
|
---|
52 | CopyFiles=VBoxSup_CopyFiles
|
---|
53 |
|
---|
54 | [DefaultInstall@[email protected]]
|
---|
55 | AddService=VBoxSup,0x00000002,VBoxSup_Service
|
---|
56 |
|
---|
57 | [DefaultUninstall@DOT-NT-ARCH@]
|
---|
58 | DefFiles=VBoxSup_CopyFiles
|
---|
59 | LegacyUninstall=1
|
---|
60 |
|
---|
61 | [DefaultUninstall@[email protected]]
|
---|
62 | DelService=VBoxSup,0x00000200
|
---|
63 | LegacyUninstall=1
|
---|
64 |
|
---|
65 | [Manufacturer]
|
---|
66 | %ORACLE%=VBoxSup@COMMA-NT-ARCH@
|
---|
67 |
|
---|
68 | [VBoxSup@DOT-NT-ARCH@]
|
---|
69 | %VBoxSup.DRVDESC%=VBoxSup_Install
|
---|
70 |
|
---|
71 | [VBoxSup_Install@DOT-NT-ARCH@]
|
---|
72 | CopyFiles=VBoxSup_CopyFiles
|
---|
73 |
|
---|
74 | [VBoxSup_Install@[email protected]]
|
---|
75 | AddService=VBoxSup,0x00000002,VBoxSup_Service
|
---|
76 |
|
---|
77 | [SourceDisksFiles]
|
---|
78 | VBoxSup.sys=1
|
---|
79 |
|
---|
80 | [SourceDisksNames]
|
---|
81 | 1=%VBoxSup.DSKDESC%,
|
---|
82 |
|
---|
83 | [VBoxSup_CopyFiles]
|
---|
84 | VBoxSup.sys
|
---|
85 |
|
---|
86 | [VBoxSup_Service]
|
---|
87 | DisplayName = %VBoxSup.SVCDESC%
|
---|
88 | ServiceType = %SERVICE_TYPE_KERNEL_DRIVER%
|
---|
89 | StartType = %SERVICE_STARTTYPE_AUTO%
|
---|
90 | ErrorControl = %SERVICE_ERRORCTL_NORMAL%
|
---|
91 | ServiceBinary = %12%\VBoxSup.sys
|
---|
92 |
|
---|
93 | [Strings]
|
---|
94 | ORACLE = "Oracle Corporation"
|
---|
95 | VBoxSup.SVCDESC = "VirtualBox Service"
|
---|
96 | VBoxSup.DRVDESC = "VirtualBox Support Driver"
|
---|
97 | VBoxSup.DSKDESC = "VirtualBox Support Driver Installation Disk"
|
---|
98 |
|
---|
99 | ; Useful constants
|
---|
100 | SERVICE_TYPE_KERNEL_DRIVER = 1
|
---|
101 | SERVICE_STARTTYPE_BOOT = 0
|
---|
102 | SERVICE_STARTTYPE_AUTO = 1
|
---|
103 | SERVICE_STARTTYPE_DEMAND = 3
|
---|
104 | SERVICE_ERRORCTL_IGNORE = 0
|
---|
105 | SERVICE_ERRORCTL_NORMAL = 1
|
---|
106 |
|
---|