I am trying to install a windows service.
running c:\windows\microsoft.net\Framework64\v4.0.30319\InstallUtil.exe c:\foo\MyAssembly.exe
i get a nice message that all phases (install, commit) completed successfully.
(i do not get prompted to enter service credentials)
afterwards i do not see the service in services console. nothing useful in install log.
the solution is built on a 64bit box, and i am trying to install the service on a 64bit machine. however, i do not see 64bit as an option in solution properties. i did manually edit all the csproj files to select "x64" for [platform] nodes..
i can run the service out of visual studio no problem.
installer.cs
[RunInstaller(true)]
public partial class Installer : System.Configuration.Install.Installer
{
public Installer() {
InitializeComponent();
}
}
this is the default installer provided by visual studio.