PDA

View Full Version : Installing a Windows Service (New to IS2008)



JPRaven
10-18-2007, 11:19 AM
Hi All

I have successfully used IS2008Express to install a vb.net Windows Forms Application. I now want to do the same for a vb.net Windows Service. I'm able to install the service manually using InstallUtil.exe but would like to automate its installation in IS2008Express.

I could of course call InstallUtil.exe by using Custom Actions but it displays an ugly command line window while it runs and there's no guarantee that InstallUtil will complete successfully. Is there a more elegant way to do this?

Thanks

JP