sc.exe - Create vs Config
Closed this issue · 1 comments
iKarthik commented
I was looking at ServiceManager.cs and noticed this
if (this.ServiceExists(settings.ServiceName, computer)) { //Create script = "& \"sc.exe\" create"; } else { //Config script = "& \"sc.exe\" config"; }
Which to me looks like we are calling "sc.exe create" if service specified exists and "sc.exe config" if the service doesn't exists. Shouldn't this be the other way around?
Thanks
Kay
SharpeRAD commented
Good catch 👍 its been resolved in v0.2.2