Safely setting service startup type to "Automatic (Delayed Start)" #8721
Unanswered
Tyler-Duckworth
asked this question in
Questions
Replies: 2 comments 3 replies
-
Hey! I wanted to comment on this and see if anyone had been able to see this post at all. It's been a little over a month since I posted this and so far I haven't been able to find out a recommended way to set up the delayed start to a Windows Service in WiX. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi Tyler. How did you get install a project as a service? I've been searching documentations about it, but i can't find use full info. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm in the process of creating a WiX v4 installer to install a Windows Service with a default Startup Type of "Automatic (Delayed Start)". I have been able to get it working using the
DelayedAutoStart
attribute in the (non-util)ServiceConfig
element (docs), but it does result in a WIX1149 warning about the functionality not working correctly in MSI 5.0 that recommendsutil:ServiceConfig
(docs) instead.However, I do not see any fields in
util:ServiceConfig
related to the starting of the service. Is there a way in WiX to do this without potentially using this incomplete functionality? (I've considered doing a custom action that callssc.exe
but didn't know if there was a more 'recommended' way to do it)Beta Was this translation helpful? Give feedback.
All reactions