|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Problems installing a windows serviceSo I'm trying to convert an existing Console test project (just used the console part for output) into a Windows Service application. How ever, even though I've changed the project to Windows Application under Output Type, added a class and derived it from ServiceBase, added an installer using the "add installer" link on the property page. Set all the necessary propertoes on both the service and installer, built the project and tried installing it with installutil.exe I keep getting "No public installers with the RunInstallerAttribute.Yes attribute could be found" I have checked, the attribute is on the Project Installer and it's set to true. I even created a new Windows Service project from scratch and made sure it would install, then I copied the EXACT files over to my console application, with the same results. I have checked all properties (class and project) that I can think of with the same results. Sure I could move the files from the old console project over to the service projects that worked, but I would like to figure out WHY this is happening (you know; learning experience, hehe). Any suggestions what I'm obviously missing out here? I've tried doing it 10 times and I can't get it to work. Hello, Andreas!
AH> "No public installers with the RunInstallerAttribute.Yes attribute AH> could be found" You can it check manually if this attribute is present there, via Reflector or do it with small test program... Hi,
Like I said, I know the attribute is there since I've checked the code. Show quote "Vadym Stetsyak" <vady***@ukr.net> skrev i meddelandet news:%23JXzBTDeGHA.4040@TK2MSFTNGP05.phx.gbl... > Hello, Andreas! > > AH> "No public installers with the RunInstallerAttribute.Yes attribute > AH> could be found" > > You can it check manually if this attribute is present there, via > Reflector or do it with small test program... > > -- > Regards, Vadym Stetsyak > www: http://vadmyst.blogspot.com |
|||||||||||||||||||||||