; $Id: VBoxSup.inf 149329 2022-01-17 11:03:08Z bird $
;; @file
; VirtualBox Support Driver - Windows Driver INF file.
;

;
; Copyright (C) 2006-2022 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it under the terms of the GNU
; General Public License (GPL) as published by the Free Software
; Foundation, in version 2 as it comes in the "COPYING" file of the
; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
;
; The contents of this file may alternatively be used under the terms
; of the Common Development and Distribution License Version 1.0
; (CDDL) only, as it comes in the "COPYING.CDDL" file of the
; VirtualBox OSE distribution, in which case the provisions of the
; CDDL are applicable instead of those of the GPL.
;
; You may elect to license modified versions of this file under the
; terms and conditions of either the GPL or the CDDL or both.
;

[Version]
Signature="$Windows NT$"
Class=System
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%ORACLE%
DriverVer = 03/22/2022,6.1.34.636 ; r150636
DriverPackageType=KernelService
CatalogFile=VBoxSup.cat

[DestinationDirs]
DefaultDestDir = 12

[DefaultInstall.ntamd64]
CopyFiles=VBoxSup_CopyFiles

[DefaultInstall.ntamd64.Services]
AddService=VBoxSup,0x00000002,VBoxSup_Service

[DefaultUninstall.ntamd64]
DefFiles=VBoxSup_CopyFiles

[DefaultUninstall.ntamd64.Services]
DelService=VBoxSup,0x00000200

;; This doesn't actually work either (see VBoxUSBMon), though it triggers in the
;; installer rather at manual installation on my test system (could be polluted & confused).
;; This may apparently also causes unloading trouble due to 'root\VBoxSup' or something related to that.
;; [Manufacturer]
;; %ORACLE%=Oracle,ntamd64
;;
;; ; Models section (referenced by [Manufacturer]).
;; [Oracle.ntamd64]
;; %VBoxSup.DRVDESC%=VBoxSupInstall,root\VBoxSup
;;
;; [VBoxSupInstall.ntamd64]
;; CopyFiles=VBoxSup_CopyFiles
;;
;; [VBoxSupInstall.ntamd64.Services]
;; AddService=VBoxSup,0x00000002,VBoxSup_Service

[SourceDisksFiles]
VBoxSup.sys=1

[SourceDisksNames]
1=%VBoxSup.DSKDESC%,

[VBoxSup_CopyFiles]
VBoxSup.sys

[VBoxSup_Service]
DisplayName    = %VBoxSup.SVCDESC%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
;StartType      = 3                  ; SERVICE_DEMAND_START
StartType      = 1                  ; autostart to fix Vista problem
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\VBoxSup.sys

[Strings]
ORACLE = "Oracle Corporation"
VBoxSup.SVCDESC = "VirtualBox Service"
VBoxSup.DRVDESC = "VirtualBox Support Driver"
VBoxSup.DSKDESC = "VirtualBox Support Driver Installation Disk"
