Is there a way to set the Start property of a Service defined in ServiceInstall via a command line argument to msiexec? You can do this for a lot of properties, but Start is an enumeration and the compiler seems to want to ensure it is one of the allowed values at compile time. Are there any ways to achieve this, simple or otherwise?
E.g. This: <Property Id="SERVER_STARTUP" Value="auto" /> <ServiceInstall Id="aservice" ErrorControl="normal" Start="[SERVER_STARTUP]" Type="ownProcess"> </ServiceInstall> Produces: error CNDL0021: The ServiceInstall/@Start attribute's value, '[SERVER_STARTUP]', is not one of the legal options: 'auto', 'demand', or 'disabled'. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Is-it-possible-to-set-Service-Start-from-command-line-tp7582210.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: BUILD Helping you discover the best ways to construct your parallel projects. http://goparallel.sourceforge.net _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users