VirtualBox

source: vbox/trunk/src/VBox/Additions/common/VBoxGuest/win/VBoxGuest.inf@ 106208

Last change on this file since 106208 was 106208, checked in by vboxsync, 2 months ago

VBoxGuest.inf,VBoxSF.inf: Try set the 0x4000/COPYFLG_IN_USE_TRY_RENAME/COPYFLG_IN_USE_RENAME flag to see if that helps with bugref:10766 & ticketref:22168.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
Line 
1; $Id: VBoxGuest.inf 106208 2024-10-02 15:33:29Z vboxsync $
2;; @file
3; INF file for installing the VirtualBox Windows guest driver, XP and later.
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; The contents of this file may alternatively be used under the terms
26; of the Common Development and Distribution License Version 1.0
27; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
28; in the VirtualBox distribution, in which case the provisions of the
29; CDDL are applicable instead of those of the GPL.
30;
31; You may elect to license modified versions of this file under the
32; terms and conditions of either the GPL or the CDDL or both.
33;
34; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
35;
36
37[Version]
38Signature="$WINDOWS NT$"
39Provider=%ORACLE%
40ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
41Class=System
42DriverPackageType=PlugAndPlay
43;edit-DriverVer=08/26/2008,2.00.0000
44;cat CatalogFile=VBoxGuest.cat
45
46[SourceDisksNames]
471 = %VBoxGuest.MediaDesc%
48
49[SourceDisksFiles]
50VBoxGuest.sys = 1
51VBoxControl.exe = 1
52VBoxTray.exe = 1
53
54[DestinationDirs]
55DefaultDestDir = 12 ; drivers
56VBoxTray_CopyFiles = 11 ; system32
57
58[Manufacturer]
59%ORACLE%=VBoxGuest@COMMA-NT-ARCH@
60
61[VBoxGuest@DOT-NT-ARCH@]
62%VBoxGuest.DeviceDesc%=VBoxGuest_Install,PCI\VEN_80ee&DEV_cafe
63
64[VBoxGuest_Install]
65CopyFiles = VBoxGuest_CopyFiles, VBoxTray_CopyFiles
66AddReg = VBoxTray_Add_Reg
67
68[VBoxGuest_CopyFiles]
69VBoxGuest.sys,,,0x4000 ; COPYFLG_IN_USE_TRY_RENAME
70
71[VBoxTray_CopyFiles]
72VBoxTray.exe,,,0x4000 ; COPYFLG_IN_USE_TRY_RENAME
73VBoxControl.exe,,,0x4000 ; COPYFLG_IN_USE_TRY_RENAME
74
75[VBoxGuest_Install.Services]
76AddService = VBoxGuest, 0x00000002, VBoxGuest_ServiceInstallSection
77DelService = VBoxTray, 0x00000004
78
79[VBoxGuest_ServiceInstallSection]
80DisplayName = %VBoxGuest_svcdesc%
81ServiceType = 0x00000001 ; kernel driver
82StartType = 0x00000000 ; boot start
83ErrorControl = 0x00000001 ; normal error handling
84LoadOrderGroup = Base
85ServiceBinary = %12%\VBoxGuest.sys
86
87[VBoxTray_Add_Reg]
88HKLM, SOFTWARE\Microsoft\Windows\CurrentVersion\Run, VBoxTray, 0x00020000, %%SystemRoot%%\system32\VBoxTray.exe
89
90[ClassInstall32]
91; This should fix the error 0xe0000101 (The required section was not found in the INF).
92
93[Strings]
94ORACLE = "Oracle Corporation"
95VBoxGuest.DeviceDesc = "VirtualBox Guest Device"
96VBoxGuest_svcdesc = "VirtualBox Guest Driver"
97VBoxTray_svcdesc = "VirtualBox Guest Tray"
98VBoxGuest.MediaDesc = "VirtualBox Guest Driver Installation Disk"
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette