CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Ben Reichelt's Weblog


Synchronizing Windows Installer Custom Events



Comments

Raymond Lewallen said:

I remember not being able to get my code to work that way. I had to do something like this:

while (!(processStopIIS.HasExited))
{
System.Threading.Thread.Sleep(1000);
}
# June 23, 2005 5:41 AM

Josh said:

Your tip applies to installers in general... but in your specific example, why didn't you use a ServiceInstaller and ServiceProcessInstaller? What does your batch file do?
# June 23, 2005 10:47 AM

breichelt said:

The batch file was used to register the service by using the installutil.exe program. The service used to be installed by copying the exe and then running the batch file, this is just a first step towards making an install with some custom parameters.
# June 23, 2005 7:16 PM
Check out Devlicio.us!

Our Sponsors

Free Tech Publications