none
[win10 INF] Will the service installed in INF file be deleted automatically when uninstalling? RRS feed

  • Question

  • I install a win32 service in INF file when installing the kernel driver, will the win32 service be deleted automatically when uninstalling the kernel driver?

    Or I must delete the win32 service manually?

    [MyDriver.Services]
    AddService = FilterDriver,FilterDriverService
    AddService = AppService,0x00000800,AppService

    [FilterDriverService]
    DisplayName    = "MyDriver"
    ServiceType    = 1 ; KERNEL_DRIVER
    StartType      = 3 ; DEMAND START
    ErrorControl   = 1 ; ERROR_NORMAL
    ServiceBinary  = %12%\mydriver.sys

    [AppService]
    DisplayName    = "AppService"
    ServiceType    = 0x10 ; SERVICE_WIN32_OWN_PROCESS
    StartType      = 2 ; SERVICE_AUTO_START
    ErrorControl   = 0 ; ERROR_NORMAL
    ServiceBinary  = %11%\AppService.exe

    Thursday, March 3, 2016 5:20 AM

Answers

  • it will not be deleted automatically

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, March 3, 2016 5:34 AM

All replies