G
Guest
i tried to create a very simple Windows Service using C#, after i install the exe as Windows Service by using installutil ... the Windows Service does not displayed in Services ... can anyone help ?
i get this for mcWebService.InstallLog file where [mcWebService] is my ServiceName
========================================================================
Installing assembly 'c:\mcwebservice\bin\debug\mcwebservice.exe'.
Affected parameters are:
assemblypath = c:\mcwebservice\bin\debug\mcwebservice.exe
logfile = c:\mcwebservice\bin\debug\mcwebservice.InstallLog
No public installers with the RunInstallerAttribute.Yes attribute could be found in the c:\mcwebservice\bin\debug\mcwebservice.exe assembly.
Committing assembly 'c:\mcwebservice\bin\debug\mcwebservice.exe'.
Affected parameters are:
assemblypath = c:\mcwebservice\bin\debug\mcwebservice.exe
logfile = c:\mcwebservice\bin\debug\mcwebservice.InstallLog
No public installers with the RunInstallerAttribute.Yes attribute could be found in the c:\mcwebservice\bin\debug\mcwebservice.exe assembly.
Remove InstallState file because there are no installers.
====================================================================
and i get this for InstallUtil.IinstallLog file ...
====================================================================
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the c:\mcwebservice\bin\debug\mcwebservice.exe assembly's progress.
The file is located at c:\mcwebservice\bin\debug\mcwebservice.InstallLog.
The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the c:\mcwebservice\bin\debug\mcwebservice.exe assembly's progress.
The file is located at c:\mcwebservice\bin\debug\mcwebservice.InstallLog.
The Commit phase completed successfully.
The transacted install has completed.
======================================================================
i get this for mcWebService.InstallLog file where [mcWebService] is my ServiceName
========================================================================
Installing assembly 'c:\mcwebservice\bin\debug\mcwebservice.exe'.
Affected parameters are:
assemblypath = c:\mcwebservice\bin\debug\mcwebservice.exe
logfile = c:\mcwebservice\bin\debug\mcwebservice.InstallLog
No public installers with the RunInstallerAttribute.Yes attribute could be found in the c:\mcwebservice\bin\debug\mcwebservice.exe assembly.
Committing assembly 'c:\mcwebservice\bin\debug\mcwebservice.exe'.
Affected parameters are:
assemblypath = c:\mcwebservice\bin\debug\mcwebservice.exe
logfile = c:\mcwebservice\bin\debug\mcwebservice.InstallLog
No public installers with the RunInstallerAttribute.Yes attribute could be found in the c:\mcwebservice\bin\debug\mcwebservice.exe assembly.
Remove InstallState file because there are no installers.
====================================================================
and i get this for InstallUtil.IinstallLog file ...
====================================================================
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the c:\mcwebservice\bin\debug\mcwebservice.exe assembly's progress.
The file is located at c:\mcwebservice\bin\debug\mcwebservice.InstallLog.
The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the c:\mcwebservice\bin\debug\mcwebservice.exe assembly's progress.
The file is located at c:\mcwebservice\bin\debug\mcwebservice.InstallLog.
The Commit phase completed successfully.
The transacted install has completed.
======================================================================