Set service Startup type in WiX installer

前端 未结 3 607
感情败类
感情败类 2021-01-22 22:43

I am trying to set a pre-installed service\'s startup type to Automatic, using WiX. Another task was to start the service on install, which I achieved with:

3条回答
  •  孤城傲影
    2021-01-22 22:56

    Solved by editing the registry via RegistryKey, see example:

    
        
        
    
    

    Note service may appear as Automatic (Delayed Start) in Services GUI. However, after restarting, Services GUI displayed the service startup type as Automatic.

提交回复
热议问题