|
I don't know if it would be considered antiquated, but I still just use sc.exe launched from custom actions.. For example, my application uses WCF services so I must make sure the NetTCPPortSharing service is set to automatic if it's not currently, so I do something like this:
sc.exe config nettcpportsharing start= auto
also sometimes I modify the identity of services:
sc.exe config ServiceName obj= [UserName] password= [Password]
I personally find it much easier, plus I associate the custom actions with feature states instead of associating to a component that is just loosely tied to what I'm actually doing.
|