Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Service Woes (Partially Installs)

Status
Not open for further replies.

jfrost10

Programmer
Jun 3, 2001
2,004
CA
I have a windows service that I'm trying to install on a server (utilizes the Microsoft Application Updater Block).

The problem is that when I install the service, it takes a LONG time, and finally says that it installed...but when I check my services, its not there. It does show up in the add/remove programs however, but when I go to uninstall it, it bunks out saying that no service was found.

What would be causing this? Any thoughts?

Thanks,

D'Arcy
 
using msiexec in a batch file calling the msi, and then using net start to start the service.

D
 
Yes...the install file was built within the IDE, and I'm using a batch file to launch the msiexec command.

D
 
No, but if you add

net start <servicename>

right after the msiexec line in the batchfile, it will install the service.
;)

D
 
Just to clarify: that's how I'm currently doing it (using the net start command), but its not installing properly. I've installed other services this way, so I know its not with the batch file. I suspect its something with the actual installer class, but I'm just not sure where a good place to start looking is.

D
 
The issue turned out to be my own code...I was calling Me.Install instead of MyBase.Install, so it just kept looping until it hit a buffer overrun exception.

All good now!
:)

D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top