1 | ; $Id: VBoxGuest.inf 62521 2016-07-22 19:16:33Z vboxsync $
|
---|
2 | ;; @file
|
---|
3 | ; INF file for installing the VirtualBox Windows guest driver.
|
---|
4 | ;
|
---|
5 |
|
---|
6 | ;
|
---|
7 | ; Copyright (C) 2006-2016 Oracle Corporation
|
---|
8 | ;
|
---|
9 | ; This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | ; available from http://www.virtualbox.org. This file is free software;
|
---|
11 | ; you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | ; General Public License (GPL) as published by the Free Software
|
---|
13 | ; Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | ; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | ; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | ;
|
---|
17 |
|
---|
18 | [Version]
|
---|
19 | Signature="$WINDOWS NT$"
|
---|
20 | Provider=%ORACLE%
|
---|
21 | ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
|
---|
22 | Class=System
|
---|
23 | DriverPackageType=PlugAndPlay
|
---|
24 | ;edit-DriverVer=08/26/2008,2.00.0000
|
---|
25 | ;cat CatalogFile=VBoxGuest.cat
|
---|
26 |
|
---|
27 | [SourceDisksNames]
|
---|
28 | 1 = %VBoxGuest.MediaDesc%
|
---|
29 | 2 = %VBoxControl.MediaDesc%
|
---|
30 | 3 = %VBoxTray.MediaDesc%
|
---|
31 |
|
---|
32 | [SourceDisksFiles]
|
---|
33 | VBoxGuest.sys = 1
|
---|
34 | VBoxControl.exe = 2
|
---|
35 | VBoxTray.exe = 3
|
---|
36 |
|
---|
37 | [DestinationDirs]
|
---|
38 | DefaultDestDir = 12 ; drivers
|
---|
39 | VBoxTray_CopyFiles = 11 ; system32
|
---|
40 |
|
---|
41 | [Manufacturer]
|
---|
42 | ;x86 %ORACLE%=VBoxGuest
|
---|
43 | ;amd64 %ORACLE%=VBoxGuest, NTamd64
|
---|
44 |
|
---|
45 | ;x86 [VBoxGuest]
|
---|
46 | ;amd64 [VBoxGuest.NTamd64]
|
---|
47 | %VBoxGuest.DeviceDesc%=VBoxGuest_Install,PCI\VEN_80ee&DEV_cafe
|
---|
48 |
|
---|
49 | [VBoxGuest_Install]
|
---|
50 | CopyFiles = VBoxGuest_CopyFiles, VBoxTray_CopyFiles
|
---|
51 | AddReg = VBoxTray_Add_Reg
|
---|
52 |
|
---|
53 | [VBoxGuest_CopyFiles]
|
---|
54 | VBoxGuest.sys
|
---|
55 |
|
---|
56 | [VBoxTray_CopyFiles]
|
---|
57 | VBoxTray.exe
|
---|
58 | VBoxControl.exe
|
---|
59 |
|
---|
60 | [VBoxGuest_Install.Services]
|
---|
61 | AddService = VBoxGuest, 0x00000002, VBoxGuest_ServiceInstallSection
|
---|
62 | DelService = VBoxTray, 0x00000004
|
---|
63 |
|
---|
64 | [VBoxGuest_ServiceInstallSection]
|
---|
65 | DisplayName = %VBoxGuest_svcdesc%
|
---|
66 | ServiceType = 0x00000001 ; kernel driver
|
---|
67 | StartType = 0x00000000 ; boot start
|
---|
68 | ErrorControl = 0x00000001 ; normal error handling
|
---|
69 | LoadOrderGroup = Base
|
---|
70 | ServiceBinary = %12%\VBoxGuest.sys
|
---|
71 |
|
---|
72 | [VBoxTray_Add_Reg]
|
---|
73 | HKLM, SOFTWARE\Microsoft\Windows\CurrentVersion\Run, VBoxTray, 0x00000000, %11%\VBoxTray.exe
|
---|
74 |
|
---|
75 | [ClassInstall32]
|
---|
76 | ; This should fix the error 0xe0000101 (The required section was not found in the INF).
|
---|
77 |
|
---|
78 | [Strings]
|
---|
79 | ORACLE = "Oracle Corporation"
|
---|
80 | VBoxGuest.DeviceDesc = "VirtualBox Device"
|
---|
81 | VBoxGuest_svcdesc = "VirtualBox Guest Driver"
|
---|
82 | VBoxTray_svcdesc = "VirtualBox Guest Tray"
|
---|
83 |
|
---|