c# - Installing a windows service without a set up project -
i have written standard simple .net windows service in c#. looking install , running it.
on msdn, says add installer project , create setup project deploy , install service. http://msdn.microsoft.com/en-us/library/aa984263%28v=vs.71%29.aspx
i have added installers project. have visual studio 2012 not come setup project templates. alternative this?
also know visual studio command prompt can call installutil.exe supposedly can install services. difference between , installing set project? still need installers in project if use installutil.exe?
you can use installutil.exe
in elevated command window this, stated.
the installer tool command-line utility allows install , uninstall server resources executing installer components in specified assemblies. tool works in conjunction classes in system.configuration.install namespace.
this no different using installer, far getting service setup.
Comments
Post a Comment