1 | ;
|
---|
2 | ; INF file for installing the VirtualBox Windows guest driver
|
---|
3 | ;
|
---|
4 | ; Copyright (C) 2006-2007 Oracle Corporation
|
---|
5 | ;
|
---|
6 | ; This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
7 | ; available from http://www.virtualbox.org. This file is free software;
|
---|
8 | ; you can redistribute it and/or modify it under the terms of the GNU
|
---|
9 | ; General Public License (GPL) as published by the Free Software
|
---|
10 | ; Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
11 | ; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
12 | ; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
13 | ;
|
---|
14 |
|
---|
15 | [Version]
|
---|
16 | Signature="$WINDOWS NT$"
|
---|
17 | Class=System
|
---|
18 | ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
|
---|
19 | Provider=%SUN%
|
---|
20 | LayoutFile=layout.inf
|
---|
21 | ;edit-DriverVer=08/26/2008,2.00.0000
|
---|
22 | ;cat CatalogFile=VBoxGuest.cat
|
---|
23 |
|
---|
24 | [SourceDisksNames]
|
---|
25 | 1 = %VBoxGuest.MediaDesc%
|
---|
26 | 2 = %VBoxControl.MediaDesc%
|
---|
27 | 3 = %VBoxTray.MediaDesc%
|
---|
28 | 4 = %vbcoinst.MediaDesc%
|
---|
29 |
|
---|
30 | [SourceDisksFiles]
|
---|
31 | VBoxGuest.sys = 1
|
---|
32 | VBoxControl.exe = 2
|
---|
33 | VBoxTray.exe = 3
|
---|
34 | vbcoinst.dll = 4
|
---|
35 |
|
---|
36 | [DestinationDirs]
|
---|
37 | DefaultDestDir = 12 ; drivers
|
---|
38 | VBox_CoInstaller_CopyFiles = 11 ; system32
|
---|
39 | VBoxTray_CopyFiles = 11 ; system32
|
---|
40 |
|
---|
41 | [Manufacturer]
|
---|
42 | ;x86 %SUN%=VBoxGuest
|
---|
43 | ;amd64 %SUN%=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 | [VBoxGuest_Install.CoInstallers]
|
---|
76 | AddReg = VBoxGuest_Install_CoInstallers_reg
|
---|
77 | CopyFiles = VBox_CoInstaller_CopyFiles
|
---|
78 |
|
---|
79 | [VBox_CoInstaller_CopyFiles]
|
---|
80 | vbcoinst.dll
|
---|
81 |
|
---|
82 | [VBoxGuest_Install_CoInstallers_reg]
|
---|
83 | HKR,,CoInstallers32,0x00010000,"vbcoinst.dll,VBoxCoInstaller"
|
---|
84 |
|
---|
85 | [ClassInstall32]
|
---|
86 | ; This should fix the error 0xe0000101 (The required section was not found in the INF).
|
---|
87 |
|
---|
88 | [Strings]
|
---|
89 | SUN = "Sun Microsystems, Inc."
|
---|
90 | VBoxGuest.DeviceDesc = "VirtualBox Device"
|
---|
91 | VBoxGuest_svcdesc = "VirtualBox Guest Driver"
|
---|
92 | VBoxTray_svcdesc = "VirtualBox Guest Tray"
|
---|
93 |
|
---|