Service already exists (when it clearly doesn't)

前端 未结 4 1622
轮回少年
轮回少年 2020-12-16 11:45

I\'m trying to create an installer for a Windows Service I developed. This installer has a custom UI at one point and it\'s the first time I do something like that so I ins

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-16 12:38

    Run in command line (adm mode):

    sc delete service_name
    

    Service names with spaces must be quoted.

    Update: Try this:

    sc query type= service > services.txt
    

    and verify that the service does not appear with another name.

提交回复
热议问题