Windows Service in VC++.NET 2003

  • Thread starter Thread starter Leonid
  • Start date Start date
L

Leonid

Hello,

I'm trying to create Windows Service using VC++ .NET 2003
Standard similar to sample from 'Walkthrough: Creating a
Windows Service Application in the Component Designer'
from MSDN.com. When I try to install this service I got
message "Exception occurred while initializing
installation: System:IO:FileLoadException: Unverifiable
image 'MyFirstWinService.exe' can not be run". How to fix
it in VC++ .NET 2003 Standard?

Regards
Leonid
 
I think installutil can't deal with assemblies that have native code. You
need to write installer in C# and then use installutil or just do the
install entries in C++
 
Back
Top