VirtualBox

Ignore:
Timestamp:
Oct 15, 2024 1:06:30 PM (3 months ago)
Author:
vboxsync
Message:

Windows installers: Big revamp for removing all DIFxApp-related / DIFxApi-related code and build dependencies for the host and guest installers. bugref:10762

This implements an own framework (VBoxWinDrvInst and VBoxWinDrvStore) for installing Windows drivers and querying / handling the Windows driver store,
along with testcases for the Windows guest and host installers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Mouse/NT5/VBoxMouse.inf

    r106061 r106321  
    3434;edit-DriverVer=08/26/2008,2.00.0000
    3535;cat CatalogFile=VBoxMouse.cat
     36;PnpLockdown=1
    3637
    3738[SourceDisksNames]
    38 1 = %VBoxMouse.MediaDesc%
     391 = %VBoxMouse_DiskDesc%,,,
    3940
    4041[SourceDisksFiles]
     
    4445DefaultDestDir = 12     ; DIRID_DRIVERS
    4546
    46 ; Disabled install via [Manufacturer], not working. See [DefaultInstall].
    47 ;[Manufacturer]
    48 ;%ORACLE%=VBoxMouse@COMMA-NT-ARCH@
    49 ;
    50 ;[VBoxMouse@DOT-NT-ARCH@]
    51 ;%VBoxMouse.SvcDesc%=VBoxMouse_Install
    52 ;
    53 ;[VBoxMouse_Install]
    54 ;CopyFiles = @VBoxMouse.sys
    55 ;
    56 ;[VBoxMouse_Install.Services]
    57 ;AddService = VBoxMouse,,VBoxMouse.Service
     47; Do *not* add a [Manufacturer] section, as this is a so-called "primitive driver".
     48; Adding such a section will make InfVerif.exe fail.
    5849
    5950[DefaultInstall@DOT-NT-ARCH@]
    60 CopyFiles = @VBoxMouse.sys
     51%ORACLE%=VBoxMouse@COMMA-NT-ARCH@
     52CopyFiles = VBoxMouse_CopyFiles
    6153
    6254[DefaultInstall@[email protected]]
    63 AddService = VBoxMouse,,VBoxMouse.Service
     55AddService = VBoxMouse,0x00000002,VBoxMouse_Service
    6456
    65 [VBoxMouse.AddRegistry]
     57[DefaultUninstall@DOT-NT-ARCH@]
     58[email protected]
     59LegacyUninstall=1
     60
     61[DefaultUninstall@[email protected]]
     62DelService = VBoxMouse,0x00000200
     63LegacyUninstall = 1
     64
     65[VBoxMouse_AddReg]
    6666HKLM, System\CurrentControlSet\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318}, UpperFilters, 0x00010000, "VBoxMouse", "mouclass"
    6767
    68 [VBoxMouse.Service]
    69 DisplayName    = %VBoxMouse.SvcDesc%
     68[VBoxMouse_CopyFiles]
     69VBoxMouse.sys
     70
     71[VBoxMouse_Service]
     72DisplayName    = %VBoxMouse_SvcDesc%
    7073ServiceType    = %SERVICE_KERNEL_DRIVER%
    7174StartType      = %SERVICE_DEMAND_START%
    7275ErrorControl   = %SERVICE_ERROR_IGNORE%
    7376ServiceBinary  = %12%\VBoxMouse.sys
    74 AddReg         = VBoxMouse.AddRegistry
     77AddReg         = VBoxMouse_AddReg
    7578
    7679[Strings]
    77 VBoxMouse.SvcDesc       = "VirtualBox Guest Mouse Service"
    78 VBoxMouse.MediaDesc     = "VirtualBox Guest Mouse Driver Installation Media"
    79 ORACLE                  = "Oracle Corporation"
     80ORACLE = "Oracle Corporation"
     81VBoxMouse_SvcDesc  ="VirtualBox Guest Mouse Service"
     82VBoxMouse_DrvDesc  ="VirtualBox Guest Mouse Driver"
     83VBoxMouse_DiskDesc ="VBoxMouse Installation Disk"
    8084
    8185; Useful constants
     
    8387SERVICE_DEMAND_START  = 3
    8488SERVICE_ERROR_IGNORE  = 0
     89SERVICE_ERROR_NORMAL  = 1
     90
Note: See TracChangeset for help on using the changeset viewer.

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