Restart IIS

Got a problem you cannot solve? Try here.
Post Reply
rlangham
Posts: 14
Joined: Tue Mar 27, 2007 12:01 pm

Restart IIS

Post by rlangham »

I am needing to restart IIS after the install. I see that I can Stop and Stop a specific IIS, but is there a way to wait for the Stop to complete before doing a Start.

In previous install using another vendor's installation package (which I am desperately trying to get out of .. IS ), I would do a Start and Stop on the World Wide Web Service. I see that there are methods to Start and Stop service, so if I need to use this, then similar question, is there a way to know when Stop is done before doing Start.

Thanks,
Ron
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

You can use the Run Program, command to run "net stop w3svc" and wait for the program to return before completion.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply