1 | ;
|
---|
2 | ; INF file for installing the VBox Guest Mouse
|
---|
3 | ; (driver for Windows NT5+).
|
---|
4 | ;
|
---|
5 | ; Copyright (C) 2011 Oracle Corporation
|
---|
6 | ;
|
---|
7 | ; This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
8 | ; available from http://www.virtualbox.org. This file is free software;
|
---|
9 | ; you can redistribute it and/or modify it under the terms of the GNU
|
---|
10 | ; General Public License (GPL) as published by the Free Software
|
---|
11 | ; Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
12 | ; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
13 | ; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
14 | ;
|
---|
15 |
|
---|
16 | [Version]
|
---|
17 | Signature="$Windows NT$"
|
---|
18 | ClassGuid={4D36E96F-E325-11CE-BFC1-08002BE10318}
|
---|
19 | Class=Mouse
|
---|
20 | DriverPackageType=ClassFilter
|
---|
21 | ;edit-DriverVer=08/26/2008,2.00.0000
|
---|
22 | ;cat CatalogFile=VBoxMouse.cat
|
---|
23 |
|
---|
24 | [SourceDisksNames]
|
---|
25 | 1 = %VBoxMouse.MediaDesc%
|
---|
26 |
|
---|
27 | [SourceDisksFiles]
|
---|
28 | VBoxMouse.sys = 1
|
---|
29 |
|
---|
30 | [DestinationDirs]
|
---|
31 | DefaultDestDir = 12 ; DIRID_DRIVERS
|
---|
32 |
|
---|
33 | [Manufacturer]
|
---|
34 | ;x86 %ORACLE%=VBoxMouse
|
---|
35 | ;amd64 %ORACLE%=VBoxMouse, NTamd64
|
---|
36 |
|
---|
37 | [DefaultInstall]
|
---|
38 | ;
|
---|
39 | ; DefaultInstall section is used to install the class filter driver.
|
---|
40 | ;
|
---|
41 | CopyFiles = @VBoxMouse.sys
|
---|
42 | AddReg = VBoxMouse_AddReg
|
---|
43 |
|
---|
44 | [VBoxMouse_AddReg]
|
---|
45 | HKLM, System\CurrentControlSet\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318}, UpperFilters, 0x00010000, "VBoxMouse", "mouclass"
|
---|
46 |
|
---|
47 | [DefaultInstall.Services]
|
---|
48 | AddService = VBoxMouse, , VBoxMouse_Service_Inst
|
---|
49 |
|
---|
50 |
|
---|
51 | [VBoxMouse_Service_Inst]
|
---|
52 | DisplayName = %VBoxMouse.SvcDesc%
|
---|
53 | ServiceType = %SERVICE_KERNEL_DRIVER%
|
---|
54 | StartType = %SERVICE_DEMAND_START%
|
---|
55 | ErrorControl = %SERVICE_ERROR_IGNORE%
|
---|
56 | ServiceBinary = %12%\VBoxMouse.sys
|
---|
57 |
|
---|
58 |
|
---|
59 | [Strings]
|
---|
60 | VBoxMouse.SvcDesc = "VirtualBox Guest Mouse Service"
|
---|
61 | VBoxMouse.MediaDesc = "VirtualBox Guest Mouse Driver Installation Media"
|
---|
62 | ORACLE = "Oracle Corporation"
|
---|
63 |
|
---|
64 | ; Useful constants
|
---|
65 | SERVICE_KERNEL_DRIVER = 1
|
---|
66 | SERVICE_DEMAND_START = 3
|
---|
67 | SERVICE_ERROR_IGNORE = 0
|
---|