1 | ; $Id: VBoxMouse.inf 82968 2020-02-04 10:35:17Z vboxsync $
|
---|
2 | ;; @file
|
---|
3 | ; INF file for installing the VBox Guest Mouse (driver for Windows NT5+).
|
---|
4 | ;
|
---|
5 |
|
---|
6 | ;
|
---|
7 | ; Copyright (C) 2011-2020 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={4D36E96F-E325-11CE-BFC1-08002BE10318}
|
---|
22 | Class=Mouse
|
---|
23 | DriverPackageType=ClassFilter
|
---|
24 | ;edit-DriverVer=08/26/2008,2.00.0000
|
---|
25 | ;cat CatalogFile=VBoxMouse.cat
|
---|
26 |
|
---|
27 | [SourceDisksNames]
|
---|
28 | 1 = %VBoxMouse.MediaDesc%
|
---|
29 |
|
---|
30 | [SourceDisksFiles]
|
---|
31 | VBoxMouse.sys = 1
|
---|
32 |
|
---|
33 | [DestinationDirs]
|
---|
34 | DefaultDestDir = 12 ; DIRID_DRIVERS
|
---|
35 |
|
---|
36 | ; Disabled install via [Manufacturer], not working. See [DefaultInstall].
|
---|
37 | ;[Manufacturer]
|
---|
38 | ;;x86 %ORACLE%=VBoxMouse
|
---|
39 | ;;amd64 %ORACLE%=VBoxMouse, NTamd64
|
---|
40 | ;
|
---|
41 | ;;x86 [VBoxMouse]
|
---|
42 | ;;amd64 [VBoxMouse.NTamd64]
|
---|
43 | ;%ORACLE%=VBoxMouse_Install
|
---|
44 | ;
|
---|
45 | ;[VBoxMouse_Install]
|
---|
46 | ;CopyFiles = @VBoxMouse.sys
|
---|
47 | ;
|
---|
48 | ;[VBoxMouse_Install.Services]
|
---|
49 | ;AddService = VBoxMouse,,VBoxMouse.Service
|
---|
50 |
|
---|
51 | [DefaultInstall@DOT-NT-ARCH@]
|
---|
52 | CopyFiles = @VBoxMouse.sys
|
---|
53 |
|
---|
54 | [DefaultInstall@[email protected]]
|
---|
55 | AddService = VBoxMouse,,VBoxMouse.Service
|
---|
56 |
|
---|
57 | [VBoxMouse.AddRegistry]
|
---|
58 | HKLM, System\CurrentControlSet\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318}, UpperFilters, 0x00010000, "VBoxMouse", "mouclass"
|
---|
59 |
|
---|
60 | [VBoxMouse.Service]
|
---|
61 | DisplayName = %VBoxMouse.SvcDesc%
|
---|
62 | ServiceType = %SERVICE_KERNEL_DRIVER%
|
---|
63 | StartType = %SERVICE_DEMAND_START%
|
---|
64 | ErrorControl = %SERVICE_ERROR_IGNORE%
|
---|
65 | ServiceBinary = %12%\VBoxMouse.sys
|
---|
66 | AddReg = VBoxMouse.AddRegistry
|
---|
67 |
|
---|
68 | [Strings]
|
---|
69 | VBoxMouse.SvcDesc = "VirtualBox Guest Mouse Service"
|
---|
70 | VBoxMouse.MediaDesc = "VirtualBox Guest Mouse Driver Installation Media"
|
---|
71 | ORACLE = "Oracle Corporation"
|
---|
72 |
|
---|
73 | ; Useful constants
|
---|
74 | SERVICE_KERNEL_DRIVER = 1
|
---|
75 | SERVICE_DEMAND_START = 3
|
---|
76 | SERVICE_ERROR_IGNORE = 0
|
---|