1 | ; $Id: VBoxSF.inf 106208 2024-10-02 15:33:29Z vboxsync $
|
---|
2 | ;; @file
|
---|
3 | ; INF file for installing the VirtualBox Windows guest driver
|
---|
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 | ; SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | ;
|
---|
27 |
|
---|
28 | [Version]
|
---|
29 | Signature="$Windows NT$"
|
---|
30 | Class=System
|
---|
31 | ClassGuid={ce4a90b5-1d8c-435d-b349-232ce55cb17f}
|
---|
32 | Provider=%ORACLE%
|
---|
33 | ;edit-DriverVer=08/26/2008,2.00.0000
|
---|
34 | DriverPackageType=Network
|
---|
35 | ;cat CatalogFile=VBoxSF.cat
|
---|
36 |
|
---|
37 | ;cat [SourceDisksNames]
|
---|
38 | ;cat 1 = %VBoxSF.MediaDesc%
|
---|
39 | ;cat
|
---|
40 | ;cat [SourceDisksFiles]
|
---|
41 | ;cat VBoxSF.sys = 1
|
---|
42 |
|
---|
43 | [DestinationDirs]
|
---|
44 | DefaultDestDir = 12 ; drivers
|
---|
45 | VBoxMRXNP_CopyFiles = 11 ; system32
|
---|
46 |
|
---|
47 | [Manufacturer]
|
---|
48 | %ORACLE%=VBoxSF@COMMA-NT-ARCH@
|
---|
49 |
|
---|
50 | [VBoxSF@DOT-NT-ARCH@]
|
---|
51 | %VBoxSF.DeviceDesc%=VBoxSF_Install,PCI\VEN_80ee&DEV_cafe
|
---|
52 |
|
---|
53 | [VBoxSF_Install]
|
---|
54 | CopyFiles = VBoxSF_CopyFiles, VBoxMRXNP_CopyFiles
|
---|
55 | AddReg = VBoxMRXNP_Add_Reg
|
---|
56 |
|
---|
57 | [VBoxSF_CopyFiles]
|
---|
58 | VBoxSF.sys,,,0x4000 ; COPYFLG_IN_USE_TRY_RENAME
|
---|
59 |
|
---|
60 | [VBoxMRXNP_CopyFiles]
|
---|
61 | VBoxMRXNP.dll,,,0x4000 ; COPYFLG_IN_USE_TRY_RENAME
|
---|
62 |
|
---|
63 | [VBoxSF_Install.Services]
|
---|
64 | AddService = VBoxSF, 0x00000002, VBoxSF_ServiceInstallSection
|
---|
65 | DelService = VBoxMRXNP, 0x00000004
|
---|
66 |
|
---|
67 | [VBoxSF_ServiceInstallSection]
|
---|
68 | DisplayName = %VBoxSF_svcdesc%
|
---|
69 | ServiceType = 0x00000001 ; kernel driver
|
---|
70 | StartType = 0x00000003 ; demand start
|
---|
71 | ErrorControl = 0x00000001 ; normal error handling
|
---|
72 | ServiceBinary = %12%\VBoxSF.sys
|
---|
73 |
|
---|
74 | [VBoxMRXNP_Add_Reg]
|
---|
75 | HKLM, SOFTWARE\Microsoft\Windows\CurrentVersion\Run, VBoxMRXNP, 0x00000000, %11%\VBoxMRXNP.exe
|
---|
76 |
|
---|
77 | [Strings]
|
---|
78 | ORACLE = "Oracle Corporation"
|
---|
79 | VBoxSF.DeviceDesc = "VirtualBox Device"
|
---|
80 | VBoxSF_svcdesc = "VirtualBox Shared Folders Driver"
|
---|
81 | VBoxMRXNP_svcdesc = "VirtualBox Network Provider Service"
|
---|
82 |
|
---|